Commit graph

721 commits

Author SHA1 Message Date
Kijin Sung
34517e83ce Fix #1966 warning in PHP 8.0 2022-06-29 19:48:44 +09:00
Kijin Sung
241a26436a Fix #1939 #1952 add default sound to push notifications 2022-06-09 21:15:18 +09:00
Kijin Sung
4463eb8939 Prevent negative transaction level by unnecessary rollback or commit 2022-04-08 15:43:18 +09:00
conory
c850c9fdcc 디버그 기능 사용시 비로그인 상태에서 발생하는 치명적인 오류 수정
PHP Fatal error:  Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, bool given in /common/framework/debug.php:753
2022-03-16 16:07:57 +09:00
Kijin Sung
53a8eaa81c Fix #1884 incorrect caching of debugging enabled flag 2022-03-14 01:25:17 +09:00
Kijin Sung
237134f64d Fix #1897 incorrect error message when query variable exceeds maxlength 2022-03-11 01:43:26 +09:00
Kijin Sung
0b05404f23 Use DB result helper class instead of plain BaseObject 2022-02-06 21:48:53 +09:00
Min-Soo Kim
21c176313f
에디터 컴포넌트 등에서 extravars 항목 중 type이 설정되지 않은 경우에 대한 수정 (#1872)
에디터 컴포넌트 등의 설정 xml 에서 type이 설정되지 않은 경우 `text` 가 기본 값.
https://github.com/rhymix/rhymix/issues/1871
2022-02-04 17:07:22 +09:00
Kijin Sung
70cfe24cdd Use $this->user instead of $logged_info more consistently #1866 2022-02-04 01:19:30 +09:00
Kijin Sung
cb9f3dd1db Fix #1868 incorrect parsing of CSS/SCSS import containing special characters 2022-02-03 14:28:25 +09:00
Kijin Sung
a9821b815d Order table creation by foreign key dependency 2022-01-27 21:20:51 +09:00
Kijin Sung
72132b2e74 Fix #1864 support table alias if provided in all types of queries 2022-01-26 20:41:22 +09:00
Kijin Sung
7f6e020d97 PROPERLY fix null value handling in both read and write queries 2022-01-25 14:54:17 +09:00
Kijin Sung
7f5f67992d Revert "Fix incorrect querystring when comparing column against null value"
This reverts commit a6f771c155.
2022-01-25 14:15:08 +09:00
Kijin Sung
a6f771c155 Fix incorrect querystring when comparing column against null value 2022-01-20 16:37:12 +09:00
Kijin Sung
adbd29231f Trigger warning when SCSS import fails 2022-01-03 14:11:46 +09:00
Kijin Sung
9d6e54f2f6 Clean up push metadata
빈 값은 제외하고 전송하도록 보완합니다.
즉, 기존에 세팅된 값을 제거하려면 빈 값을 세팅하면 됩니다.
2021-12-29 22:37:20 +09:00
Waterticket
6e7a058671 getClickAction 재 추가 2021-12-29 06:10:12 +00:00
Waterticket
f295f1a49d notification 메소드 정리 2021-12-29 05:48:04 +00:00
Waterticket
bef4cd74ae FCM notification 항목 메소드 추가 2021-12-29 04:27:03 +00:00
Kijin Sung
74eeaf3459 Allow setting new charset in DB::modifyColumn() 2021-12-13 15:20:58 +09:00
Kijin Sung
0118962a8f Insert NULL instead of 0 for next sequence
https://xetown.com/questions/1627614

sql_mode에 NO_AUTO_VALUE_ON_ZERO가 포함되어 있는 경우
0을 입력하면 AUTO_INCREMENT가 작동하지 않음
2021-11-10 16:34:22 +09:00
YJSoft
34f76a79d7 Fix #1811 Add chromium edge detection to getBrowserInfo 2021-10-15 14:03:39 +09:00
Kijin Sung
6f3bb53ce3 Fix validation of phone numbers like 02-1688-XXXX 2021-10-05 16:02:43 +09:00
Kijin Sung
1c28254902 Move image URL cleaning function to HTMLFilter #1787 2021-09-11 19:47:04 +09:00
Kijin Sung
602d7aec79 Fix #1787 convert image URLs to absolute path when sending mail 2021-09-11 00:13:20 +09:00
Kijin Sung
f7146a4791 Fix #1778 support multi-column unique indexes using legacy syntax 2021-08-26 00:44:13 +09:00
Kijin Sung
9127e17b2e Fix #1761 don't filter target="_self" in HTMLPurifier 2021-08-02 10:27:28 +09:00
BJRambo
be062e2133 Fix warning error better then c7f84a178d 2021-07-15 17:23:42 +09:00
BJRambo
c7f84a178d Fix warning in PHP8.0 2021-07-15 03:26:49 +09:00
conory
faea821e78 Fix warning in PHP 8.0 2021-07-05 14:19:06 +09:00
Kijin Sung
df9e990fdc Fix fatal error when module.xml contains invalid menu reference
https://xetown.com/questions/1588670
2021-07-03 16:30:39 +09:00
Kijin Sung
664a68fc2a Fix #1727 Recompile SCSS/LESS files when imported file is changed
- import된 파일 목록을 따로 보관해 두었다가, 그 중 하나라도 변경되었다면 다시 컴파일
- PHP의 stat cache 덕분에 성능 영향은 크지 않을 것으로 보이나, 모니터링 필요
2021-06-20 22:02:26 +09:00
Kijin Sung
f416b7c8a4 Add option to skip serialization when saving PHP data to file 2021-06-20 22:01:37 +09:00
Kijin Sung
c7f84a4dfe Fix #1725 display source filename on SCSS/LESS compile error 2021-06-20 02:21:34 +09:00
Kijin Sung
c35d17c47e Fix #1712 merge iframe whitelist and object/embed whitelist 2021-06-19 20:59:36 +09:00
Kijin Sung
6a4d3d912c Fix #1706 support default="null" in XML query parser 2021-06-19 20:26:09 +09:00
Kijin Sung
1400895d27 Fix install error (25463447 regression) 2021-06-19 20:13:02 +09:00
Kijin Sung
254634479c Fix #1721 add some safeguards when saving system config file 2021-06-19 19:54:30 +09:00
Kijin Sung
b01a148675 Fix #1729 @import of external URL in concatenated CSS 2021-06-19 19:39:57 +09:00
devdho
d6d705706c Add ifvar attribute to query condition 2021-06-17 11:24:58 +09:00
Kijin Sung
1c47785276 Support contenteditable="false" (fix #1710) 2021-05-14 23:14:28 +09:00
Kijin Sung
c6b6d71214 Remove outdated comment (see #1187) 2021-05-14 23:08:36 +09:00
Kijin Sung
86214cb0fa Return a more descriptive error when query result class is not found 2021-04-26 15:45:31 +09:00
Kijin Sung
ce5dc45326 Allow class name to be specified when executing queries
PDO에는 결과를 어떤 클래스로 받아올지 선택하는 기능이 있는데 (기본값 stdClass)
executeQuery()로 쿼리를 실행할 때도 이 기능을 활용할 수 있도록 개선합니다.
stdClass를 받아와서 속성들을 추출한 후 documentItem에 도로 집어넣는 등
비효율적인 부분을 추후 개선하는 데 도움이 될 것으로 예상합니다.
2021-04-25 13:18:47 +09:00
Kijin Sung
741a714abd Set standalone attribute to 'auto' if new class syntax is used in module.xml
- 새로 추가된 클래스 문법 사용시 standalone 속성 기본값은 true가 아닌 auto로 지정

- standalone 속성의 의미는 아래와 같음
  - true: 항상 접근 허용 (기존 방식으로 선언한 액션의 기본값)
  - false: mid가 소속 모듈과 일치하거나, admin 모듈인 경우에만 접근 허용
  - auto: module 또는 mid가 소속 모듈과 일치하거나, admin 모듈인 경우에만 접근 허용
    (즉, false와 비슷하지만 exec_json 함수 등에서 module+act로 호출하는 경우에는
    mid가 없더라도 module만 일치하면 호출할 수 있도록 허용하여 개발 편의를 높임)

- 단, global_route 속성이 있는 경우 standalone 속성 기본값은 true임
  (전역 짧은주소는 mid 없이 호출될 수밖에 없으므로)
2021-04-20 21:45:21 +09:00
Kijin Sung
73695ccdd2 For backward compatibility, allow both GET and POST if an action does not specify method 2021-04-12 22:21:58 +09:00
Kijin Sung
62d9befb0d Support custom classes in module.xml 2021-04-12 21:03:03 +09:00
Kijin Sung
532e172d41 Fix #1658 show error message if debug is enabled for current user 2021-03-18 00:27:15 +09:00
Kijin Sung
1003f0ea49 Fix #1642 Fix #1647 보완
주의: 여기서 Context가 아닌 Session을 참조하면 무한루프에 빠지면서 memory_limit을 초과할 수 있음
2021-03-17 23:54:18 +09:00