Commit graph

753 commits

Author SHA1 Message Date
Kijin Sung
17279c264b Add support for short download URLs #1875 #1922
- Originally committed on April 3, 2022
- Thanks to @misol @conory
- getDownloadUrl()에서 기존 메소드 형태 최대한 그대로 유지하는 방향으로 작업
  (단, source_filename 파라미터를 전달하지 않으면 긴주소로 강제됨)
- getDirectFileUrl()의 불필요하게 복잡한 코드 정리
- getFileList()에서 이미지가 아닌 파일도 절대경로를 반환하도록 수정
- procFileDownload, procFileOutput에서 URL에 포함된 파일명을 검증하도록 하여
  동일한 첨부파일에서 파일명 부분만 변형한 링크를 무한 생성할 수 없도록 함
- 짧은주소 미사용시 불필요한 module_srl 파라미터 제거
2022-12-26 16:23:19 +09:00
Kijin Sung
0029d1a1ec Rename all common/framework source files to be case-sensitive 2022-12-26 16:13:09 +09:00
Kijin Sung
426a971c6c Remove $relax_key_checks because we are no longer using Flash uploader 2022-12-26 01:08:04 +09:00
Kijin Sung
e93b44aa3a Update SCSS compiler integration code to work with newer version of scssphp (fixes #1962) 2022-12-26 00:35:53 +09:00
Kijin Sung
da5697a5be Separate Swift Mail transport into own file outside of vendor directory 2022-12-26 00:25:58 +09:00
Kijin Sung
35a93f3928 Remove code that uses defuse/php-encryption (from next branch) 2022-12-25 19:45:12 +09:00
Kijin Sung
23a827923e Support timestamp() with customizable format in XML query 2022-12-24 22:38:18 +09:00
Kijin Sung
cad4f37485 Reorder debug entries for easy viewing 2022-12-20 10:13:00 +09:00
Kijin Sung
70acafb8ea Add AllowDynamicProperties to SessionHelper 2022-12-20 09:27:36 +09:00
Kijin Sung
e1f98e573c Fix #1944 add option to display complete call stack for queries 2022-12-19 01:11:43 +09:00
Kijin Sung
4cc730e489 Support order_default attribute to <index> tag in XML query 2022-12-18 01:18:55 +09:00
Kijin Sung
9acb39a623 Fix undefined variable warning in Router 2022-11-28 01:11:39 +09:00
Kijin Sung
fb23b7da6b Merge remote-tracking branch 'upstream/develop' into develop 2022-11-22 13:34:39 +09:00
Kijin Sung
4926a44ecc Fix warnings when executing unusual queries 2022-11-22 13:34:17 +09:00
Kijin Sung
e03ee87345 Disable exception chaining for DB errors 2022-11-06 19:13:43 +09:00
Kijin Sung
80a7a9583a Fix #1974 remove cafe24 SMS driver 2022-10-30 17:27:53 +09:00
Kijin Sung
ad23796906 Fix #2003 remove default act from short URL if there are no arguments 2022-10-29 22:06:36 +09:00
Kijin Sung
a44959382e Fux #2006 allow some aspect-ratio values and all valid object-fit values in HTML filter 2022-10-29 21:23:39 +09:00
Kijin Sung
2ca32e0062 Add Session::getLastLoginTime() method 2022-10-20 16:14:06 +09:00
Kijin Sung
d2347d4208 Add template & scss syntax to refer to absolute paths within Rhymix installation directory
템플릿을 인클루드하거나 CSS, JS 등을 로딩할 때 다른 경로에 있는 파일을 상대경로로 참조하려고 하면
../../../../../layouts/path/to/target/asset.scss 처럼 상당히 많이 거슬러 올라가야 하는 경우가 있습니다.
이 때 맨 앞에 ^를 붙여 ^/layouts/path/to/target/asset.scss 라고 마치 절대경로처럼 쓰면
라이믹스 설치 경로 기준으로 (서브폴더에 설치한 경우 포함) 자동으로 변환하도록 하는 패치입니다.
즉 ^ 문자를 넣은 부분이 라이믹스 설치 경로로 치환된다고 보면 됩니다.

지원되는 곳:
  - <include target="^/path/to/file.html" />
  - <load target="^/path/to/file.css" />
  - <load target="^/path/to/file.js" />
  - SCSS에서 @import "^/path/to/file.scss";
2022-10-13 14:57:24 +09:00
Kijin Sung
e4e252c1b4 Add more detailed ERR_* error codes to common error messages
가장 많이 발생하는 '잘못된 요청입니다', '보안정책상 허용되지 않습니다'
오류에 좀더 구체적인 ERR_* 코드를 추가하여 디버깅 편의 개선
2022-10-13 00:23:20 +09:00
Kijin Sung
4196d42b06 Fix broken iwinv SMS driver due to incompatible API URL
iwinv 문자 API가 업데이트되면서 URL이 쥐도새도 모르게 변경되어
기존 사용자는 현행 매뉴얼의 API URL을 사용할 수 없고 (에러 코드 14)
신규 사용자는 기존 라이믹스 드라이버를 사용할 수 없는 현상이 발생하여
어느 쪽 사용자인지 수동으로 선택하도록 변경함.

기존에 API key를 입력해 둔 사용자는 설정 화면 접근시 자동으로
기존 URL이 선택되고, 그렇지 않으면 신규 URL이 선택되도록 함.

카페24에 이어 iwinv까지;;;
국내 업체들은 도대체 REST API 운영에 대한 개념이 있는 건가요?
2022-10-11 22:41:09 +09:00
Kijin Sung
1c0b738b44 Fix query errors not being shown in debug info 2022-09-21 16:26:05 +09:00
Kijin Sung
df56b7f8b1 Fix files with .jfif extension not being recognized as JPEG image 2022-09-16 16:44:29 +09:00
Kijin Sung
a2b6c8b8b2 Fix Push::isSent() returning false if all APNs devices fail, even if message is successfully sent to FCM devices 2022-08-15 23:53:08 +09:00
Kijin Sung
0cc1246898 Move login status calculation to its own method and add API in member module 2022-08-05 10:21:14 +09:00
Kijin Sung
9372cdc4bb Add rx_login_status cookie for checking login status in mobile apps
- 회원정보 노출 없이 로그인 여부 및 서로 다른 회원을 구분할 수 있는 쿠키
- 인증이나 그 밖에 보안상 민감한 작업에는 사용하지 않음
- 모바일 앱에서 웹뷰의 로그인 상태가 앱이 기억하는 로그인 상태와 달라진 경우를 신속하게 파악할 수 있음
- 기타 API 클라이언트 등에서도 세션 상태 변화를 쉽게 감지할 수 있음
2022-07-21 16:29:36 +09:00
Kijin Sung
b8641c3501 Use constants to control alias handling (#1956 보완) 2022-07-03 17:48:52 +09:00
Kijin Sung
fe7833698a Merge branch 'dewekk/fix-dbquery' into develop 2022-07-03 17:26:15 +09:00
Kijin Sung
632a3fff71 Disable strict checking of CSRF token if the user is not logged in
로그인이 풀리면 세션이 초기화되면서 CSRF 토큰 정보가 사라져서
다른 탭에서 어떤 액션을 호출하더라도 무조건 CSRF 오류가 발생하는 문제 수정

현재 세션에서 토큰을 발행한 적 없는 경우 토큰 체크를 스킵하도록 함
2022-07-01 13:09:59 +09:00
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
dewekk
ecda6ddcb8 Update 쿼리에서 alias 기본 값 사용 안 함 2022-06-02 17:21:28 +09:00
dewekk
4907e293de
Use alias in Update Query 2022-05-31 10:54:56 +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