Commit graph

17828 commits

Author SHA1 Message Date
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
Kijin Sung
2a87c060b9 Fix #1442 add prefixes to INSERT/UPDATE queries, too 2020-10-21 22:47:34 +09:00
Kijin Sung
627f05c077 Fix unit test for ModuleActionParser 2020-10-19 19:22:24 +09:00
Kijin Sung
b505bcb663 Fix #1435 incorrect action when clicking on Cancel button in board list 2020-10-19 14:04:44 +09:00
Kijin Sung
12a8671065 Fix #1424 incorrect handling of multi-method (GET|POST) actions 2020-10-19 13:56:46 +09:00
Kijin Sung
438386f3dc Fix #1430 path conversion error in Windows 2020-10-19 13:36:14 +09:00
Kijin Sung
4bab8c4961 Fix incorrect caching of notification list
- readed=N 조건을 붙이지 않은 알림 목록 조회 요청도 캐싱되는 문제 수정
- "내 알림 목록" 화면에서는 레이아웃 등 다른 곳에서 불러오는 알림도
  getMyDispNotifyList로 처리되는 문제 수정
2020-10-16 14:29:46 +09:00
Kijin Sung
33077da47c
Merge pull request #1437 from bnu/develop
관리페이지 및 사이트 메뉴 편집 시 너무 많은 cookie를 생성하는 문제 수정
2020-10-14 19:45:58 +09:00