Commit graph

952 commits

Author SHA1 Message Date
Kijin Sung
c64a87041a Generate sequential mid instead of random characters 2023-08-03 22:23:48 +09:00
Kijin Sung
1ba3110c8a Add ModuleController->updateModuleMenuSrl() 2023-07-03 00:51:28 +09:00
Kijin Sung
7466749178 Fix double escape of multilingual module title 2023-06-26 22:28:32 +09:00
Kijin Sung
566c1f54b7 Fix isIDExists() error when installing member module for the first time 2023-06-25 23:43:07 +09:00
Kijin Sung
c0f9c77902 Revert "Display the current site's favicon if favicon.ico is requested"
This reverts commit 9fcd472d3f.
2023-06-25 19:41:50 +09:00
Kijin Sung
9fcd472d3f Display the current site's favicon if favicon.ico is requested 2023-06-25 19:17:26 +09:00
Kijin Sung
912229c881 Allow using reserved word as mid if it is identical to module name 2023-06-25 17:35:18 +09:00
Kijin Sung
bb013dd28a Use ModuleModel::isIDExists() to check mid validity when updating module, just like when inserting 2023-06-25 17:32:47 +09:00
Kijin Sung
a4f5b5d0a9
Merge pull request #2130 from dewekk/fix-menu-create
메뉴가 중복으로 생성되는 문제 수정
2023-06-25 17:24:49 +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
dewekk
b09dff4613 메뉴가 중복으로 생성되는 문제 수정
fix https://github.com/rhymix/rhymix/issues/2129
- $isMenuCreate 선언을 arrangeModuleInfo 위로 옮깁니다.
- updateModule도 insertModule와 비슷한 결과를 위하여 코드를 정리하였습니다.
2023-06-22 19:17:23 +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
e2223b776a Fix #2113 unnecessary variable assignment 2023-05-06 22:03:28 +09:00
Kijin Sung
50949178a3 Fix #2067 incorrect ruleset in copyModule 2023-02-26 21:53:39 +09:00
Kijin Sung
f05d3b4ab6 Remove trailing whitespace in module module 2023-01-17 21:00:45 +09:00
Kijin Sung
651238916b Fix deprecation warnings in PHP 8.2 2023-01-17 00:15:12 +09:00
Kijin Sung
0e2940985f Move unnecessary method in ModuleMobile to ModuleView 2022-12-27 23:06:52 +09:00
Kijin Sung
f5bd3a15ef Fix incorrectly capitalized class names in module module 2022-12-27 23:05:01 +09:00
Kijin Sung
4c65499ab1 Allow the install class of a module to be inside the controllers directory 2022-12-26 17:16:07 +09:00
Kijin Sung
b7a975a54d Fix incorrect capitalization of URL class name 2022-12-26 01:01:36 +09:00
Kijin Sung
3c456ce0b5 Prepare methods to manage independent sections of module config, in case module config becomes too large 2022-12-20 19:38:13 +09:00
Kijin Sung
e821955129 Clean up insertModule() and handle null values in some important fields 2022-12-16 00:15:19 +09:00
Kijin Sung
2d7d66efca Make consistent ordering of columns in modules table 2022-12-16 00:11:02 +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
0adce0dd47 Show Rhymix logo instead of version only if it is a part of the Core 2022-10-29 21:45:37 +09:00
Kijin Sung
89f8a77ecb Improve compatibility of getModuleInfos and getModulesInfo queries
두 쿼리의 구조가 매우 유사하여 서드파티 자료에서 혼용하는 경우가 많으므로
요구하는 파라미터, 반환하는 컬럼 목록 등을 양쪽 모두 호환되도록 변경함
2022-09-14 20:57:41 +09:00
Kijin Sung
6e3c9a7c0e Merge branch 'security/pollskin' into develop 2022-07-04 00:46:36 +09:00
Kijin Sung
59a1215c87 Fix #1934 add 'default' option to domain timezone 2022-07-03 01:03:00 +09:00
Kijin Sung
bc562b74ba RVE-2022-3 filter skin parameter in ModuleModel::loadSkinInfo() 2022-06-28 20:07:40 +09:00
Johnny
27df638470 6293a1bb5e 보안 2022-06-28 00:57:42 +09:00
Johnny
6293a1bb5e Fix warning for PHP8.0 on view and skin files 2022-06-27 17:57:56 +09:00
Kijin Sung
7e82d37cfa Fix PHP warnings due to unitiated variables #1866 thanks to @Erictoby 2022-02-04 01:41:56 +09:00
Kijin Sung
f334889047 Support installing/updating namespaced modules
모듈 설치 및 업데이트 메소드를 Rhymix\Modules\모듈명\Install 클래스에
넣을 수 있도록 지원한다. 이 클래스가 있는 경우 모듈명과 동일한 클래스를
찾지 않는다. 이로써 클래스 전체를 네임스페이스화할 수 있게 되었다.
2022-01-04 01:37:38 +09:00
Kijin Sung
eb10708a88 Prevent adding or getting duplicate trigger 2021-12-13 15:21:21 +09:00
Kijin Sung
0710285582 Increase size of type column in module_trigger table 2021-12-13 15:20:30 +09:00
Kijin Sung
4fd1804d27 Don't allow uploading .php or .js files using the filebox #1796 2021-10-19 21:39:13 +09:00
conory
faea821e78 Fix warning in PHP 8.0 2021-07-05 14:19:06 +09:00
Kijin Sung
5160022a30 Fix #1703 incorrect default value for color scheme 2021-05-03 21:46:31 +09:00
Kijin Sung
4a34b3dfa8 Accommodate standalone=auto setting in other relevant places 2021-04-20 21:52:06 +09:00
Kijin Sung
d3e390e3fe Prepare for downgrade from future version where domain_srl may be duplicate 2021-02-23 17:00:21 +09:00
Kijin Sung
9412cc4a22 Fix #1628 error in PHP 8.0 in editor component setup screen 2021-02-22 21:11:39 +09:00
Kijin Sung
00519cce5d Fix #1612 error in PHP 8.0 2021-02-11 20:25:05 +09:00
Kijin Sung
68829a3427 Fix #1614 return numerical array by default in getModuleSrlByMid() 2021-02-11 20:18:26 +09:00
Kijin Sung
588520ff4b Fix warnings in PHP 8.0 2021-02-08 21:27:06 +09:00
Kijin Sung
cd3b6f090d Remove blacklisted reason from lang files 2021-02-05 21:34:48 +09:00
Kijin Sung
48c357a607 Fix 1596 don't use cache for mid list if there are arguments 2021-02-02 16:18:19 +09:00
Kijin Sung
1ec6e1ec7a Change blacklist to 2-dimensional array
관리 편의를 위해 블랙리스트를 자료 종류별로 구분합니다.
단, 기존과 같이 Context::isBlacklistedPlugin()을 호출하면
자료 종류 구분 없이 블랙리스트 여부를 알려줍니다.
2021-01-24 11:39:42 +09:00
Kijin Sung
2cec4ea6b4 Clean up utf8mb4 setting in default table schema 2021-01-22 01:01:58 +09:00