Commit graph

74 commits

Author SHA1 Message Date
Kijin Sung
30d7912054 Fix inefficient extra_vars loading query 2025-10-29 16:55:15 +09:00
Kijin Sung
af8e510ca2 Clear cache after modifying document_extra_keys table 2025-10-29 10:25:45 +09:00
Kijin Sung
b119578209 Add prefix index on value column of document_extra_vars table 2025-10-24 09:04:18 +09:00
Kijin Sung
bef2871ce7 Cleanup related to document_extra_vars 2025-10-23 13:10:21 +09:00
Kijin Sung
2a7eeebcbd Add numeric value column to extra vars, and add option to mark extra var as sortable #2604 #2559 2025-10-23 11:17:24 +09:00
Kijin Sung
75e9473724 Fix incompatibility with MySQL 8.0 2024-10-14 23:06:16 +09:00
Kijin Sung
8fd72747fc Add is_strict and options columns to document_extra_keys table 2024-10-08 21:08:09 +09:00
Kijin Sung
684b86a636 Fix #2335 allow selecting a category as default 2024-05-04 20:21:13 +09:00
Kijin Sung
f3bc9a2f03 Clean up trigger registration code in document, comment, file, editor modules 2023-10-02 22:28:16 +09:00
Kijin Sung
c5267b42fd Remove trailing whitespace 2023-01-30 21:37:41 +09:00
Kijin Sung
bc3502988e Fix incorrectly capitalized class names in document and comment modules 2022-12-27 23:09:25 +09:00
Kijin Sung
76f3376670 Add getStatus() and getStatusText() methods to document and comment for easy management 2021-04-20 22:38: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
145ce98268 Convert most methods in DocumentModel to static 2020-05-23 14:13:35 +09:00
Kijin Sung
a5e45d9063 Fix #1146 missing reason_update column if upgraded from XE 2019-03-06 00:23:41 +09:00
conory
3d2ade4aa1 문서 이동 / 첨부 파일 삭제 기능 개선 2018-01-24 21:23:00 +09:00
Kijin Sung
b7cfa59409 Add index on documents (module_srl, regdate)
게시판이나 위젯에서 작성일 역순으로 검색 및 정렬하는 경우가 많은데
(특히 list_order가 정확하지 않던 구버전 XE에서는 어쩔 수 없이 regdate로
정렬하는 사이트가 많았음) module_srl+regdate에 인덱스가 없어서
다른 컬럼으로 정렬할 때보다 성능이 떨어지는 문제 수정
2018-01-15 14:32:49 +09:00
Kijin Sung
98b328fa3f Add index for nick_name in documents and comments table 2017-12-21 14:50:02 +09:00
conory
6bc8376435 isAccessible() 개선 2017-12-12 13:10:15 +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
BJRambo
508b6ed340 Fix uninitialized stdClass in rarely used method 2016-05-27 07:57:58 +09:00
Kijin Sung
77f44e57a5 Use autoload to handle 'Item' classes in modules 2016-04-16 17:25:28 +09:00
BJRambo
39cc333f33 add index is_admin column, and more improving. 2016-03-14 11:10:43 +09:00
BJRambo
9c653d210b added a column for administrators. 2016-03-14 09:41:34 +09:00
Kijin Sung
f7aad28d2c Remove remaining references to getDBInfo() 2016-02-05 15:18:31 +09:00
MinSoo Kim
f77b8fde3c 문서 신고시 이유 적을 수 있게 항목 추가
문서 신고시 항목 적을 수 있게 함
2016-01-27 17:44:34 +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
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
ovclas
77a1c3e89f issue 2662 counter, document
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12241 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-16 08:05:15 +00:00
ovclas
8d0778b601 issue 2311 copy additional setting when module is copied.
And skin vars also.


git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11116 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-29 09:58:53 +00:00
devjin
e10897f8b9 issue 2239 moved a include code to func.inc.php.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11031 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-16 04:48:03 +00:00
ovclas
927c944ff3 issue 2239 Object, Embed, Iframe source allow by white list
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11024 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-13 02:19:17 +00:00
ovclas
53e61bb7f0 add phpDoc comment in document module
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10788 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-06-25 01:47:26 +00:00
ovclas
94be154d88 issue 2014 fix error
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10738 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-25 10:10:36 +00:00
ovclas
c780878499 issue 1527 copy extra keys when module copied
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10198 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-02-27 02:28:50 +00:00
ovclas
3208e90f5c issue 666 add index in document table (idx_module_status)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9730 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-25 10:23:30 +00:00
ovclas
008b3e451e issue 70 document module update bug fix in admin UI/UX
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9103 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-08 00:47:44 +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
ovclas
e56c8ee2a1 issue 27 comment status refactoring
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8460 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-08 02:26:45 +00:00
ovclas
e3376c3c3a issue 26 Document status change with config.
old version coding with hard coding


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8448 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-03 08:51:55 +00:00
ovclas
2e86e56bf5 #19745697 trash module devlopement
Document Status DB Column added, and Document module refactoring


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8401 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-30 01:25:01 +00:00
ovclas
1713666795 #19708349 column length fixed
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8332 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-22 09:57:08 +00:00
mosmartin
0500c227a3 #19690583 Description attribute/column for document_category table added
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8305 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-13 12:09:29 +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
ovclas
825ccd8328 merge from 1.4.5 branche
git-svn-id: http://xe-core.googlecode.com/svn/trunk@8239 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-01 01:12:26 +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