Commit graph

17694 commits

Author SHA1 Message Date
BJRambo
55177a4021 파일 모듈에서 사용하지 않는 트리거를 삭제 2020-11-11 15:28:12 +09:00
BJRambo
2cb477fd55 게시글과 댓글을 작성 및 수정시 대기된 파일을 공개하는 방식을 변경
파일이 대기모드에서 공개할때 트리거에서 직접 호출 하는 방식으로 변경
2020-11-11 15:06:00 +09:00
BJRambo
234ad09867 Fix #1460 current_url 값이 ture으로 출력되는 문제 고침 2020-11-11 01:31:50 +09:00
Kijin Sung
15e66c2c6a Fix invalid default_font_size javascript error
https://xetown.com/questions/1475074
2020-10-31 15:32:45 +09:00
Kijin Sung
99728527f9 Fix incorrect testing of CSS file index in FrontEndFileHandler 2020-10-31 15:27:47 +09:00
Kijin Sung
5bc79fc400 Fix error in PHP 8.0 when adding empty string to integer 2020-10-31 02:42:53 +09:00
Kijin Sung
68ef362789 Fix duplicate loading of XmlParser class 2020-10-31 02:30:39 +09:00
Kijin Sung
d41b8369d0 Make menu cache files more readable for human debugging 2020-10-31 01:42:10 +09:00
Kijin Sung
417e4d15b0 More fixes to improve PHP 8.0 compatibility 2020-10-31 00:40:28 +09:00
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