Commit graph

228 commits

Author SHA1 Message Date
Kijin Sung
170aab3ca8 Fix exposure of menu items that should be visible only to non-members 2025-06-17 17:08:16 +09:00
Kijin Sung
e072ba0391 Fix missing default mobile skin when a board is added in the menu #2510 2025-03-09 20:19:45 +09:00
Kijin Sung
6e5ee53ea3 Fix shortcut menu not selected when it is a URL link to an internal page #2439 2024-12-08 22:18:26 +09:00
Kijin Sung
e4c3c5ac6c Fix #2376 unnecessary header output in menu, document, layout modules 2024-07-15 10:14:37 +09:00
Kijin Sung
ebae28d5d3 Fix #2333 add lock icon in menu list to indicate that access is restricted 2024-05-04 21:17:00 +09:00
Kijin Sung
a56734d4f5 Fix possibility of empty $new_menu_srl in updateLinkModule() 2024-03-19 23:17:24 +09:00
Kijin Sung
740127d83f Fix fatal error when unlinked_menu_srl is null 2024-02-04 23:35:37 +09:00
Kijin Sung
4a32122af3 Fix #2255 skip modules without defined menu 2024-01-01 14:51:14 +09:00
Kijin Sung
8d4706ec75 Fix #2232 enable multilang in sitemap (top-level menu) name 2023-12-19 22:06:51 +09:00
Kijin Sung
ea15541d05 Fix #2231, #2232 inconsistent escaping of menu titles 2023-12-13 23:00:27 +09:00
Kijin Sung
290f467ddd Fix type error when unlinked menu creation fails
https://xetown.com/questions/1793779
이 문제의 1차적인 원인으로 추정되나, unlinked 메뉴 정보를 가져오지 못하는
근본적인 원인은 알 수 없음. 디버깅 편의를 위해 BaseObject 반환하도록 조치함.

메뉴를 통하지 않고 추가된 모듈들을 unlinked에 모아 두는 방식은
분명 개선할 필요가 있음.
2023-11-08 22:51:06 +09:00
Kijin Sung
7444bc3f1d Fix capitalization of class names 2023-10-02 22:55:41 +09:00
Kijin Sung
3ddf1392f9 Fix #2070 add class support to menu items 2023-09-12 22:01:28 +09:00
Kijin Sung
c64a87041a Generate sequential mid instead of random characters 2023-08-03 22:23:48 +09:00
Kijin Sung
6d6a3cfb42 Fix extra_vars being reset when deleted menu is automatically recreated under "unlinked" 2023-07-03 00:57:07 +09:00
Kijin Sung
e1b6e0e70d Update menu_srl of module to 0 if linked menu is deleted 2023-06-25 18:18:23 +09:00
Kijin Sung
1a65634413 Fix incorrect variable name and return while updating unlinked modules 2023-06-25 18:10:09 +09:00
Kijin Sung
c9ad195740 Dom't delete linked module when deleting menu 2023-06-25 17:55:18 +09:00
Kijin Sung
37b0d3a1e6 Remove trailing whitespace 2023-01-30 21:43:21 +09:00
Kijin Sung
86fd823264 Fix #1993 allow mailto: tel: and other valid link formats in menu shortcut target 2022-10-11 01:27:48 +09:00
Kijin Sung
fdd3f4bc1e Fix #1976 unnecessary escape of user lang code in menu description 2022-08-15 18:18:28 +09:00
Kijin Sung
411b8e4656 Only allow image extensions in menu image button
This is NOT a security problem because this function is only accessible
to the administrator. Changing it anyway to prevent confusion.

cf. xpressengine/xe-core#2434
2022-01-01 21:40:34 +09:00
YJSoft
86fcb8d4b5
Fix #1766 상위 메뉴를 자기 자신으로 설정할수 없도록 수정
상위 메뉴를 자기 자신으로 설정하면 어떠한 메뉴에도 해당 메뉴가 표시되지 않으므로 메뉴를 관리하기 힘들어집니다.
이를 수정합니다.
2021-08-07 15:35:01 +09:00
Kijin Sung
f5b03916d8 Fix #1758 count() error in PHP 8.0 2021-08-02 10:30:50 +09:00
Kijin Sung
d0916abf7f Fix unnecessary cast to array after executeQuery() 2021-02-23 15:33:56 +09:00
Kijin Sung
2944bfc71a Add icon option to menu item 2021-01-20 22:43:14 +09:00
Kijin Sung
830b77bb64 Add option to change layout of entire menu #1186 2021-01-20 21:57:56 +09:00
Kijin Sung
5b47a84488 Clean up unnecessary use of count() in menu.admin.controller.php #1540 2021-01-04 01:41:25 +09:00
Kijin Sung
b25933380f Fix #1528 more fixes to $exposure handling 2020-12-26 16:38:06 +09:00
Kijin Sung
b9c2cd1494 Fix #1528 make group_srl encoding more robust in case of incorrect data 2020-12-26 16:18:58 +09:00
Kijin Sung
b7ffc2def5 Fix #1528 incorrect encoding of group_srls in some circumstances 2020-12-25 23:06:24 +09:00
Kijin Sung
198bb1b079 Fix miscellaneous errors in PHP 8.0
https://xetown.com/questions/1494606
2020-12-21 01:01:26 +09:00
Kijin Sung
0b317e1168 Fix #1496 close PHP tag in case a rogue module tries to append stuff to menu cache file 2020-12-18 21:40:02 +09:00
Kijin Sung
b0f66a36c5 Convert all instances of _XE_PATH_, __XE_VERSION__, etc. to Rhymix constants
_XE_PATH_ -> RX_BASEDIR
__XE_VERSION__ -> RX_VERSION
2020-12-18 15:21:23 +09:00
Kijin Sung
49923844b2 Various fixes to remove warnings in PHP 8.0 2020-12-15 00:18:42 +09:00
Kijin Sung
7d8a546b64 Fix #1470 misc errors in PHP 8.0 2020-11-30 21:56:15 +09:00
Kijin Sung
d9397bf6fe Fix double slashes and double escape after recreating admin menu 2020-11-11 14:37:27 +09:00
Kijin Sung
d41b8369d0 Make menu cache files more readable for human debugging 2020-10-31 01:42:10 +09:00
Kijin Sung
564563f56c Clean up constructors and other method signatures 2020-05-18 20:37:16 +09:00
Kijin Sung
0c337f48cd Clean up other types of cache file path handling 2018-12-18 16:16:30 +09:00
Kijin Sung
d8a0773b97 Replace $this->stop() with proper exceptions 2018-09-06 00:19:47 +09:00
Kijin Sung
be1ce69073 Update more modules to throw exceptions 2018-09-05 23:12:08 +09:00
Kijin Sung
d3b78d1d47 Fix unnecessary cache file refresh in menu module 2017-12-19 12:00:19 +09:00
bnu
1943289bb8 fix #2185 게시판 카테고리 및 메뉴 관리가 동작하지 않을 수 있는 문제 고침 2017-12-09 01:50:02 +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
Kijin Sung
03d74a984f Merge branch 'develop' into pr/change-object 2017-11-30 23:30:21 +09:00
Kijin Sung
e48179aa05 다국어 등 코드를 생성하여 만들어지는 cache 파일의 취약점 수정
- 관리자 메뉴, 사용자 지정 다국어 cache를 object cache로 변경
- xpressengine/xe-core#2182
2017-11-30 22:50:36 +09:00
BJRambo
f3f40f6859 php7.2호환을 위해 변경한 클래스 Object 를 BaseObject으로 변경 2017-11-28 20:01:28 +09:00
bnu
1c39d2b9cf fix #2093 바로가기 메뉴의 권한을 수정하면 대상 모듈의 권한 설정이 제거되는 문제 고침 2017-05-30 12:15:43 +09:00
Kijin Sung
829012a2a7 Use var_export() to interpolate variables safely into PHP code 2017-01-31 12:11:38 +09:00