Commit graph

17685 commits

Author SHA1 Message Date
Kijin Sung
8c161bc28d Various fixes to improve PHP 8.0 compatibility
- XmlParser 클래스가 PHP 내장 클래스가 되어버려서 XeXmlParser로 변경
- 함수나 파라미터의 형태가 맞지 않아서 치명적인 오류 나는 곳 수정
- undefined 변수 및 배열 키 다수 수정 (치명적인 오류는 아님)
- 계속 수정중...
2020-10-31 00:25:26 +09:00
Kijin Sung
90084efd75 Fix undefined indices and incompatible function signatures 2020-10-30 23:14:08 +09:00
Kijin Sung
6c19e6ebff Fix #1294 use history.replaceState() to remove unnecessary comment_srl and page number from URL if new rewrite rules are in effect 2020-10-30 22:33:18 +09:00
Kijin Sung
dff97a9604 Don't treat failed upload as security issue, fix #1451 2020-10-30 21:50:46 +09:00
Kijin Sung
a3271c6a40 Display alert when file selected in filebox is too large #1451 2020-10-30 21:49:48 +09:00
Kijin Sung
6e2cbbbdfa Display alert if filesize is exceeded #1451 2020-10-30 21:35:49 +09:00
Kijin Sung
921c318bb0 Display max filesize for profile image #1451 2020-10-30 17:07:37 +09:00
Kijin Sung
b354d8af49 Revert 61f6456b and add a warning instead 2020-10-30 15:57:18 +09:00
Kijin Sung
50133f6ae5 Fix foreach() warning in BoardView::_fillModuleTitles() 2020-10-30 15:56:20 +09:00
Kijin Sung
3e18f2d6ba Add session_start() delay and all query time to debug data 2020-10-30 15:52:52 +09:00
Kijin Sung
7b2e10e40d v2.0.0-beta 2020-10-30 01:49:14 +09:00
Kijin Sung
cbc60d5737 Add separate PK column to ncenterlite_notify table
기존에 이미 사용하던 사이트는 테이블 스키마를 수정할 필요 없음.
2020-10-30 01:47:08 +09:00
Kijin Sung
d97c6a60cc Add notice about {$captcha} code in spamfilter module 2020-10-30 01:40:43 +09:00
Kijin Sung
4aba149425 Resend the session cookie periodically to prevent early logout
서버단에는 세션 쿠키가 살아 있는데 클라이언트단에서 먼저 만료되지 않도록
일정한 시간 간격으로 세션 쿠키를 재전송해 주도록 한다.
특정한 환경에서 로그인이 풀리는 빈도를 줄이는 데 도움이 될 수 있다.
2020-10-30 01:34:01 +09:00
Kijin Sung
52729cf7ee Provide DocumentController::clearDocumentCache() 2020-10-30 01:24:29 +09:00
Kijin Sung
133c29012b Provide MemberController::clearMemberCache() 2020-10-30 01:16:14 +09:00
Kijin Sung
bd14589bd9 Merge messageMobile class with messageView (fix #1450) 2020-10-30 01:10:00 +09:00
Kijin Sung
8a452f151b Fix #1448 unnecessary count() in misol_town integration_search skin 2020-10-30 00:58:47 +09:00
Kijin Sung
df9f156ff3 Fix #1446 and other incorrect code in module module 2020-10-30 00:39:20 +09:00
Kijin Sung
25affa4dba
Merge pull request #1445 from kijin/develop
간단한 통합게시판 기능 추가
2020-10-30 00:11:30 +09:00
Kijin Sung
7ba83ef6f9 Add module title column to default PC skin 2020-10-29 22:52:58 +09:00
Kijin Sung
b978b51656 Fix combined board setting being overwritten on basic config save 2020-10-29 22:50:27 +09:00
Kijin Sung
46ac583a83 Add option to display module title in board list 2020-10-29 22:47:28 +09:00
Kijin Sung
e8b6db01fc Also include notices from other modules 2020-10-29 01:06:52 +09:00
Kijin Sung
ba971f7b5a Implement loading documents from other modules 2020-10-29 01:04:46 +09:00
Kijin Sung
264c6f0e74 Add settings for combined board 2020-10-29 00:38:46 +09:00
Kijin Sung
a9334cec95 Add action to delete a registered device 2020-10-28 01:30:10 +09:00
Kijin Sung
570fab487e Add registered device list to active logins page 2020-10-28 01:24:38 +09:00
Kijin Sung
5ea9d52b0c Add last active date to member_devices table 2020-10-28 01:16:23 +09:00
Kijin Sung
e87bd70e98 Allow registering device with login or signup
회원가입이나 로그인과 동시에 모바일 기기를 등록할 수 있도록 허용합니다.
앱에서 회원가입하더라도 한 번 더 등록 과정을 거쳐야 하는 불편을 해소합니다.
2020-10-28 00:53:54 +09:00
Kijin Sung
ed7add6d9c Separate device type (android/ios) from token type (fcm/apns)
애플 기기에서도 FCM을 사용하여 푸시알림을 구현할 수 있으므로
디바이스의 운영체제와 무관하게 토큰 타입을 지정하도록 변경합니다.
기존에 등록된 토큰은 운영체제 및 포맷에 따라 자동 변환합니다.
2020-10-28 00:37:55 +09:00
Kijin Sung
61f6456b6c Remove support for $is_admin in getDocument(), getDocuments(), getComment()
단순히 문서나 댓글을 불러오는 동작에서는 $is_admin 변수를 무시하도록 합니다.
서드파티 자료에서 사용할 경우 해당 문서나 댓글에 관리자 권한이 부여되어 버려서
보안취약점이 발생할 수 있기 때문입니다.

실제로 많은 서드파티 자료들이 이 변수가 왜 필요한지, 어떤 기능을 하는지
이해하지 못하는 상태로 무작정 복붙하여 사용하고 있습니다.
이러한 서드파티 자료에서 이 패치로 인해 오작동이 발생할 경우에는
그 때 가서 적절한 조치를 취하도록 하겠습니다.

getDocumentListByMemberSrl(), getCommentListByMemberSrl(), getCommentList() 등
일부 메소드에서는 이미 $is_admin 변수를 무시하도록 되어 있습니다.
2020-10-28 00:30:39 +09:00
Kijin Sung
5c99a23e68 Remove unnecessary check using undeclared variable $is_admin 2020-10-28 00:25:35 +09:00
Kijin Sung
c3cc12008e Always display document and comment at top, in that order, in additions setup screen 2020-10-27 21:46:08 +09:00
Kijin Sung
4765919d1f Fix #1444 duplicate id attribute in extra settings 2020-10-27 21:43:27 +09:00
Kijin Sung
325ace58e0 Reorganize method/route parser order 2020-10-27 21:39:36 +09:00
Kijin Sung
c920f6dca4 Refine default allowed methods 2020-10-27 21:38:26 +09:00
Kijin Sung
c9cf1a5bc5 Allow both GET and POST for actions that aren't proc 2020-10-27 20:43:15 +09:00
Kijin Sung
dc3a9df68c
Merge pull request #1443 from Lastorder-DC/patch-1
잘못된 reply_to 타입으로 인해 Sendgrid 사용시 발생하는 오류 수정
2020-10-22 12:22:22 +09:00
Lastorder
aade411188 Sendgrid: Set reply_to to object
Sendgrid는 reply_to 값으로 object를 사용하나 string값이 넘어가 HTTP 400 오류가 발생하는데, 이 부분을 수정합니다.
2020-10-22 11:54:26 +09:00
Kijin Sung
57dcab75e9 Fix missing document_srl in password input form 2020-10-22 02:02:00 +09:00
Kijin Sung
7f2504b9b7 Allow escaping column type with a backslash to use literal DB type, e.g. date
DB에서 지원하는 타입명과 XE 호환성을 위해 유지하는 타입명이 충돌하는 경우
(예: date) XML 스키마에서 타입명 앞에 백슬래시를 붙이면 (예: \date)
DB에서 지원하는 타입명을 강제로 사용할 수 있도록 함.
2020-10-22 01:15:23 +09:00
Kijin Sung
265a23f5ce Change sendgrid mail driver to use API key instead of SMTP
- https://xetown.com/topics/1470719
- https://xetown.com/questions/1335074
2020-10-22 01:06:20 +09:00
Kijin Sung
1bd20e6d31 Fix #1417 set files as valid when signature is saved 2020-10-22 00:16:59 +09:00
Kijin Sung
f5562356b4 Fix #1412 failure to load multilingual document in widget page 2020-10-22 00:07:25 +09:00
Kijin Sung
9752c2ed61 Fix #1432 incorrect redirect in widget document edit popup 2020-10-21 23:57:37 +09:00
Kijin Sung
3344a20eb5 Don't redirect back to procMemberAuthAccount after login #1428 2020-10-21 23:31:32 +09:00
Kijin Sung
f605786639 Don't redirect back to procMemberAuthAccount after login #1428 2020-10-21 23:31:01 +09:00
Kijin Sung
28b3c2ef34 Fix #1422 incorrect quoting of expressions in XML queries 2020-10-21 23:20:35 +09:00
Kijin Sung
57b356f5fa Fix #1439 incorrect parsing of default value in some queries 2020-10-21 23:01:34 +09:00