Commit graph

89 commits

Author SHA1 Message Date
Kijin Sung
fda92b368d Show error when unique index creation fails 2025-05-29 22:27:55 +09:00
Kijin Sung
4632a10a31 Show helpful error when unique_mid index creation fails, and remove unnecessary idx_mid index 2025-05-29 22:24:47 +09:00
Kijin Sung
b17c58f17f Implement admin scopes 2024-10-14 23:40:58 +09:00
Kijin Sung
fbfbaa48a5 Add unique index on mid 2023-06-22 22:03:43 +09:00
Kijin Sung
be1cad3182 Fix #2125 don't delete site_admin table if XML schema still exists 2023-06-22 22:03:21 +09:00
Kijin Sung
bd0687c502 Fix trying to delete and recreate the same index idx_lang 2023-06-18 03:05:01 +09:00
Kijin Sung
f596947d0e Add option to make pages available only on one domain
- 2021년에 next 브랜치 적용을 목표로 작업했던 것 가져옴
- modules 테이블에 domain_srl을 추가하여 특정 도메인에서만 유효하도록 설정 가능
- site_srl 변수를 사용하던 곳 중 삭제할 수 있는 곳은 모두 삭제함
2023-06-18 02:53:04 +09:00
Kijin Sung
f05d3b4ab6 Remove trailing whitespace in module module 2023-01-17 21:00:45 +09:00
Kijin Sung
f5bd3a15ef Fix incorrectly capitalized class names in module module 2022-12-27 23:05:01 +09:00
Kijin Sung
b7a975a54d Fix incorrect capitalization of URL class name 2022-12-26 01:01:36 +09:00
Kijin Sung
651859a7eb Fix #2009 reduce size of 'name' column of 'lang' table before trying to create index 2022-11-07 02:11:32 +09:00
Kijin Sung
59a1215c87 Fix #1934 add 'default' option to domain timezone 2022-07-03 01:03:00 +09:00
Kijin Sung
0710285582 Increase size of type column in module_trigger table 2021-12-13 15:20:30 +09:00
Kijin Sung
645f65315e Fix persistent module update prompt after fresh install 2020-11-25 00:27:53 +09:00
Kijin Sung
338951f5c8 Fix #1406 convert 'jp' to 'ja' in lang table 2020-10-03 01:30:28 +09:00
Kijin Sung
03c4d87cb9 Clear mid/module_srl cache when global cache is cleared 2020-10-01 16:42:42 +09:00
Kijin Sung
1c786d8cd5 Remove module update scripts from XE 1.7 and before
XE 1.7 이하 버전에서 테이블 스키마 조정, 인덱스 추가, 임시파일 처리 등을 위해
만들어 놓은 업데이트 스크립트를 대부분 제거하여 처리 효율을 향상시킵니다.

이 중 대부분은 XE 개발 초창기(1.2 이전) 스키마 변경이 빈번하던 시절에
하위호환성을 위해 추가된 것으로, 이미 10년 이상 불필요한 상태였습니다.

단, 앞으로는 XE 1.8 미만 버전에서 라이믹스로 업데이트하기 어려워질 수 있습니다.
XE 1.8 미만 버전을 사용하는 사이트에서는 먼저 XE 최신 버전으로 업데이트한 후
라이믹스를 덮어씌우는 방식으로 진행하여야 합니다.
2020-09-29 01:33:57 +09:00
Kijin Sung
c8a6b8de79 Support global routes 2020-06-18 16:36:27 +09:00
Kijin Sung
f92fc9c980 Use action_forward to register standalone routes from all modules 2020-06-17 16:56:42 +09:00
Kijin Sung
5dcb0d332b Extend action_forward feature to include route info 2020-06-17 15:52:06 +09:00
Kijin Sung
43f4a766c6 Remove unnecessary triggers at cache recompile
캐시파일 재생성 시점에 불필요한 트리거(현재 설치되어 있지 않은 모듈에서
등록한 트리거)를 일괄 삭제하여 평소 실행 속도를 개선함.
프로파일러 모듈에서 제공하는 것과 유사한 기능임.
단, 모듈 설정이나 애드온 설정은 재설치에 대비하여 그대로 둠.
2018-12-14 17:16:05 +09:00
Kijin Sung
1a2f6e5513 Fix #1085 index creation error if duplicate rows already exist
기존에 중복으로 저장된 데이터가 있는 경우 UNIQUE 인덱스를 생성할 수 없으므로
이런 경우에는 기존 방식 그대로 일반 인덱스를 생성하도록 함.
2018-10-02 14:04:01 +09:00
Kijin Sung
6c28f5ac5a Make all module columns varchar(80)
utf8mb4 길이 제한 때문에 module_part_config 테이블에 인덱스가 추가되지 않는 문제 수정.
다른 테이블에서 module 컬럼은 이미 80자로 제한되어 있으므로 이 테이블에서만 길게 허용할 필요가 없음.
2018-06-26 10:19:28 +09:00
Kijin Sung
26ddd6cdc3 module_part_config 테이블에 unique key 추가
xpressengine/xe-core#2242

이미 있는 idx_module_part_config 인덱스를 대체함.
2018-06-11 23:50:38 +09:00
Kijin Sung
84e5542d77 Remove unnecessary use of BaseObject
- 트리거 등 반환값이 필요하지 않은 곳에서 new BaseObject()를 반환하는 것 삭제
- 모듈 설치, 업데이트 후 무의미한 new BaseObject()를 반환하는 것 삭제
- 사용자에게 에러 메시지를 돌려주는 용도로 new BaseObject(-1, '에러메시지')를
  사용하는 경우는 대부분 $this->setError()로 변경함. 언어 변환과 sprintf()
  처리까지 한 번에 이루어지므로 이쪽이 더 편리함.
2017-12-01 00:54:51 +09:00
BJRambo
f3f40f6859 php7.2호환을 위해 변경한 클래스 Object 를 BaseObject으로 변경 2017-11-28 20:01:28 +09:00
Kijin Sung
a8da651f29 Change data type of module_config.config to bigtext
xpressengine/xe-core#2179
xpressengine/xe-core#2180
2017-11-27 13:03:47 +09:00
Kijin Sung
4d1df5701d Fix #801 autodetect http or https port on installation 2017-05-07 22:23:26 +09:00
Kijin Sung
03087aa7ba Update domains schema and improve default domain handling 2017-03-12 23:25:01 +09:00
Kijin Sung
726a2a0209 Update module class to use getDomainFromUrl() 2017-03-04 17:31:46 +09:00
Kijin Sung
37a0aa0f13 Implement moduleModel::getAllDomains() 2017-02-22 14:52:48 +09:00
Kijin Sung
5757fec7a6 Use current URL to fill initial domain info 2017-02-20 22:06:44 +09:00
Kijin Sung
4e4ef2f762 Fix missing DB object in module::migrateDomains() 2017-02-20 21:51:16 +09:00
Kijin Sung
726220d3eb Load site_module_info from 'domains' table instead of 'sites' table 2017-02-20 20:43:30 +09:00
Kijin Sung
a69bac6e2b Implement migration of site info from 'sites' table and multidomain module (if installed) 2017-02-20 18:14:15 +09:00
BJRambo
508b6ed340 Fix uninitialized stdClass in rarely used method 2016-05-27 07:57:58 +09:00
Kijin Sung
3117621270 Update references to CacheHandler in module module 2016-04-18 14:23:04 +09:00
Kijin Sung
f7aad28d2c Remove remaining references to getDBInfo() 2016-02-05 15:18:31 +09:00
bnu
5f50740d96 fix #714 cache 재생성 시 module_extend cache를 생성하지 않는 문제 고침 2014-10-14 04:22:06 +09:00
khongchi
cf09c05f8a #225 module update에서 처리하지 않고, 메뉴 사이트맵 관리 페이지 접근시 작동되도록 수정 2014-01-29 14:49:49 +09:00
khongchi
c249d187a4 #372 설치시 menu모듈이 설치되지 않은 상태에서 'unlinked'메뉴 설정이 되지 않도록 수정 2014-01-27 16:57:58 +09:00
akasima
4b45f211ad NOISSUE 설치시 값이 없는 문제로 오류 발생시킴 2014-01-27 02:31:22 +09:00
sungbum hong
d090e469f8 #225 잘못 지정된 변수 수정 2014-01-25 14:33:28 +09:00
bnu
30042577df Revert "NOISSUE ‘Temporary menu’ 메뉴명 변경 처리되지 않은 항목 보완"
This reverts commit 038f6ecc64.
2014-01-25 14:11:01 +09:00
bnu
038f6ecc64 NOISSUE ‘Temporary menu’ 메뉴명 변경 처리되지 않은 항목 보완 2014-01-25 14:04:55 +09:00
khongchi
82974b0438 #225 사이트맵에 temporary menu가 중복생성되는 오류 해결,
메뉴명을 'temporary menu'에서  'unlinked'로 변경하였으며 'unlinked' 메뉴는 무조건 하나 존재하게 됨.
기존의 temporary menu는 삭제하도록 했고, temporary menu에 있던 하위메뉴들은 'unlinked' 메뉴 하위로 이동됨
2014-01-22 21:24:06 +09:00
bnu
2a1a9960ba NOISSUE php 버전 호환성 문제 고침. 2014-01-09 01:10:21 +09:00
bnu
37c5e114ec #242 object cache 정리 2014-01-08 13:38:24 +09:00
bnu
194ce8614a NOISSUE remove reference operator. 2013-12-30 17:35:02 +09:00
bnu
1b60833bad #133 PHP 5.4 이상에서의 호환성 개선 2013-12-04 22:50:57 +09:00