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
72c2b93790
Fix #2011 #2012 convert lang path before calling pathinfo()
2022-11-07 01:45:32 +09:00
Kijin Sung
e03ee87345
Disable exception chaining for DB errors
2022-11-06 19:13:43 +09:00
Kijin Sung
e94146b490
Return error if user_id is empty after removing all non-numerical characters
2022-11-01 11:32:02 +09:00
Kijin Sung
246a952cf6
Fix login error when the user enters a phone number containing hyphens or other symbols
2022-11-01 11:28:39 +09:00
Kijin Sung
90d3766e5c
Version 2.0.23
2022-10-31 02:37:31 +09:00
Kijin Sung
606989c451
Also support $foo->$bar syntax in cond="" and loop="" syntax
2022-10-31 01:40:40 +09:00
Kijin Sung
2a026a6c86
Allow true/false/yes/no values for autoescape
...
템플릿의 <config autoescape="on" /> 문법이 on, off만 지원하기 때문에
흔히 사용하는 true, false, yes, no, Y, N 등의 불리언 값을 입력하면
안전하지 않은 off로 인식하게 됨. 이 경우에도 적절히 처리하도록 변경.
2022-10-30 22:28:39 +09:00
Kijin Sung
a398c7548d
Test more complex syntaxes using some of the filter tests
2022-10-30 21:43:29 +09:00
Kijin Sung
93a7348606
Support $foo->$bar syntax in templates
...
기존: $__Context->$__Context->bar 로 변환되어 오작동
개선: $__Context->{$__Context->bar} 로 변환되어 정상 작동되며
변싱 순서에 따라 이 중괄호가 다시 해석되지는 않음
2022-10-30 21:41:40 +09:00
Kijin Sung
39093a7380
Fix #2004 allow customizing the number of digits in an anonymous nickname variable
2022-10-30 21:16:58 +09:00
Kijin Sung
bd7865caf0
Fix #1957 again: more user-friendly error messages
2022-10-30 21:00:50 +09:00
Kijin Sung
d5d559ff61
Add PHP 8.1 and remove PHP 7.0 from unit test matrix
...
PHP 7.0은 유닛 테스트 환경과 더이상 호환되지 않으므로 제거하고,
그 대신 PHP 8.1 테스트를 추가함.
2022-10-30 18:36:32 +09:00
Kijin Sung
326f84584a
Change MySQL default user from root to rhymix
2022-10-30 18:24:24 +09:00
Kijin Sung
0b2f9a7c6e
Fix github actions for Ubuntu 20.04 + MySQL 8.0
2022-10-30 18:18:06 +09:00
Kijin Sung
85685a260f
Update github actions to use Ubuntu 20.04 by default
2022-10-30 17:43:39 +09:00
Kijin Sung
87a5b96387
Change actions/checkout to v3
2022-10-30 17:40:43 +09:00
Kijin Sung
7c918c52ca
Add iwinv SMS driver to unit test
2022-10-30 17:37:55 +09:00
Kijin Sung
7f260be361
Remove cafe24 SMS driver from unit test
2022-10-30 17:37:06 +09:00
Kijin Sung
80a7a9583a
Fix #1974 remove cafe24 SMS driver
2022-10-30 17:27:53 +09:00
Kijin Sung
6c2ab78a4a
Fix #1969 clear extra_vars cache before calling document.updateDocument/after trigger
2022-10-30 17:25:26 +09:00
Kijin Sung
2b7255be7d
Also preload Spectrum lang file
2022-10-30 17:16:56 +09:00
Kijin Sung
7493fe14fc
Preload datepicker lang file and always apply dateFormat defaults ( fix #1985 )
...
영어를 예외처리하지 않도록 하여, 영어에서만 날짜 포맷이 다르게 지정되는 문제 수정
2022-10-30 17:08:57 +09:00
Kijin Sung
dca06a778d
Support {$lang_type} and {$device_type} variables in plugin.load
2022-10-30 17:08:01 +09:00
BJRambo
5d84c7fe5b
getNotifyMemberSrlBySrl 에서는 항상 array을 반환시키고 맴버번호 리스트만 처리하도록 개선
2022-10-30 14:08:15 +09:00
BJRambo
7179f9885a
Fix #1987 메소드 이름을 공용으로 변경하고 게시글을 삭제할때 플래그 파일도 삭제
2022-10-30 13:50:04 +09:00
BJRambo
4c3802da39
Revert "Fix #1987 글 삭제시 플래그 파일도 같이 삭제하도록 개선"
...
This reverts commit c1d6393d6b .
2022-10-30 13:45:43 +09:00
BJRambo
c1d6393d6b
Fix #1987 글 삭제시 플래그 파일도 같이 삭제하도록 개선
2022-10-30 13:36:25 +09:00
Kijin Sung
ad86a34833
#2006 add more unit tests for aspect-ratio and object-fit
2022-10-30 13:22:21 +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
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
8d228890c9
Fix #1986 make addon name clickable in addon list
2022-10-29 21:35:36 +09:00
Kijin Sung
80fe6278c0
Fix #1988 unnecessary variable in member_list.html
2022-10-29 21:29:48 +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
bf54cd8ceb
Merge pull request #2002 from dewekk/fix-1990
...
Fix #1990 게시판 익명 사용 설정 후 기존 글 수정 시 닉네임만 익명이 되는 문제 수정
2022-10-29 21:06:31 +09:00
BJRambo
4309614bba
어플 로그인시 전화번호가 만약 회원정보에 없다면 로그인 실패메세지 출력
2022-10-28 13:43:05 +09:00
BJRambo
b9d952a401
f7578cf65c 보완 아이디 -> 이메일 -> 전화번호 우선순위로 변경
2022-10-28 12:01:57 +09:00
BJRambo
f7578cf65c
로그인 방식에 따라 어플에서 로그인이 안되는 문제 고침
2022-10-28 11:46:30 +09:00
Johnny
b73d7d10f1
Merge pull request #2007 from bjrambo/pr/lang-vi
...
베트남어 번역 추가 및 수정
2022-10-27 07:14:42 +09:00
BJRambo
2d1164e670
베트남어 번역 추가 및 수정
2022-10-26 17:28:59 +09:00
Kijin Sung
38928e3e69
.editorconfig에서 마크다운(.md) 파일도 2 space 들여쓰기로 설정
2022-10-25 16:57:46 +09:00
Kijin Sung
de7bf0a0a6
Automatically retry AJAX request with new CSRF token if token error is returned
...
다른 탭에서 로그아웃했다가 다시 로그인한 후 exec_json을 시도하는 등,
사용자가 보기에는 정상적인 상황인데도 보안정책(CSRF) 오류가 발생할 수 있음.
이 때 자연스럽게 토큰을 갱신한 후 요청을 다시 전송하도록 개선함.
2022-10-20 16:58:26 +09:00
Kijin Sung
ed649fb58c
Perform CSRF check for getLoginStatus separately
2022-10-20 16:56:17 +09:00
Kijin Sung
ed131897c5
Add more info to getLoginStatus and enforce stricter access control
...
AJAX를 많이 사용하는 페이지나 SPA에서 member.getLoginStatus API를 통해
현재 로그인 상태에 대해 더 자세한 정보를 알 수 있도록 함과 동시에,
이 정보를 외부에서 가로채지 못하도록 리퍼러 체크 및 CORS 제한을 추가
2022-10-20 16:15:07 +09:00
Kijin Sung
2ca32e0062
Add Session::getLastLoginTime() method
2022-10-20 16:14:06 +09:00
Kijin Sung
fd8a4ff37d
AJAX 오류 발생시 ERR_* 코드가 있다면 표시 ( e4e252c1b4 보완)
2022-10-20 15:55:14 +09:00
BJRambo
96d6e82d5c
7a4f8164ac 보완 유저 아이디를 사용하도록 채크한 경우에만 회원아이디 체크하도록 개선
2022-10-18 06:31:40 +09:00
BJRambo
7a4f8164ac
라이믹스 첫 설치시 user_id 를 사용함에도 불구하고 정상적으로 로그인이 안되는 문제 고침.
...
첫 설치시 아이디 사용이 이메일 + 전화번호 + user_id 항목을 모두 사용할 수 있습니다.
근데 문제는 사용자가 전화번호가 아니라 유저아이디를 정상적으로 입력하였음에도 불구하고 입력한 정보가 아니라는 경우가 발생됩니다.
보통 "abc1234" 이라는 계정을 사용하게되면 member.controller.php 2176줄안에 걸려 매칭을 시작하게 되고 아이디가 preg_replace('/[^0-9]/', '', $user_id); 코드의 의해 1234 으로 변환되기에 실제로 member_info를 찾을 수 없으므로 에러가 발생되게 됩니다.
이 패치는 전화번호도 사용하며 아이디까지 같이 사용할 경우 전화번호로 들어갔을때 전화번호를 찾을 수 없는 경우 유저아이디를 통해서 한번 더 검사하여 로그인을 진행할 수 있게 해줍니다.
2022-10-18 06:20:19 +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
fd421c86fc
Add more error codes in critical code paths in Context and ModuleHandler
2022-10-13 00:34:23 +09:00