Commit graph

69 commits

Author SHA1 Message Date
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
bnu
7daa63cedf PHP 5.4 이상에서의 호환성 문제 개선. 2013-12-04 20:17:14 +09:00
bnu
41ff8ace3b NOISSUE PHP 5.4 이상 호환성 개선. 2013-11-30 18:05:36 +09:00
akasima
bce0a0b6d4 copyright add to php files
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13186 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-08 05:52:51 +00:00
ngleader
dbc18a4f99 change author
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13180 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-07 02:42:42 +00:00
misol
f70ce644ce Close Connection when there is no connection value.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13161 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-09-25 15:29:32 +00:00
devjin
3ba585c33f issue 2673
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12742 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-13 07:14:06 +00:00
flyskyko
8a7c28babc issue 2119. supporting php 5.4. modules and widgets.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12706 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-05 09:45:04 +00:00
ovclas
d456ea02e0 issue 2662 module
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12254 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-19 09:26:12 +00:00
devjin
1c3e69f91f issue 2625 add about setting of default layout/skin.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11898 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-10-25 14:42:38 +00:00
devjin
3c4235309e issue 2365 update module link.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11207 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-09-11 07:20:14 +00:00
devjin
2b6f473b26 issue 2168 set member skin through theme. And update path of theme skin using for '|@|'.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11016 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-09 12:09:18 +00:00
ngleader
1112889be4 fixed some test code
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10311 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-05 06:27:14 +00:00
ngleader
fab30803b4 Issue 1321 fixed languages of module install and update
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10310 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-05 06:10:50 +00:00
devjin
3ff9d7af44 fixed install message css error
remove whitespace in member info
error install member module (created rulset file)
error null check memberInfo 


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9504 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-06 03:00:39 +00:00
devjin
113fd92399 fixed module update
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9107 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-08 03:14:00 +00:00
ngleader
35a23caba8 Issue 145
modify recompileCache() in modules


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8984 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-02 04:44:12 +00:00
devjin
f995a3cd66 issue 92 add skin fix column in modules
add site_srl column in module_config table
modiy module_config each site


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8651 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-26 09:35:05 +00:00
mosmartin
4d272994dd english comments added
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0_english@8278 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-06 16:48:06 +00:00
taggon
620b03d184 set svn property - svn:eol-style LF
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8253 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-01 06:51:30 +00:00
ngleader
b8299c8a65 merge sandbox to trunk for 1.4.4
git-svn-id: http://xe-core.googlecode.com/svn/trunk@7723 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-09-28 07:24:47 +00:00