Commit graph

138 commits

Author SHA1 Message Date
Kijin Sung
c97edded9d Always load is_notice column 2021-02-06 22:10:54 +09:00
Kijin Sung
0a8e1725a1 Fix #1588 missing configuration when calling getDocumentPage() 2021-01-30 11:52:03 +09:00
Kijin Sung
77403f384a Fix #1569 add option to control whether notices are included in combined board 2021-01-19 21:22:31 +09:00
Kijin Sung
f8859769e8 Clean up ModuleController::replaceDefinedLangCode() 2021-01-08 21:27:44 +09:00
Kijin Sung
88907fa9df Fix #1505 duration limit to combined boards
- 통합게시판 글을 모을 기간을 설정할 수 있도록 함
- 통합게시판 소속이 아니거나 기간을 벗어나는 글 발견시 실제 게시판 주소로 redirect
2021-01-08 20:03:33 +09:00
Kijin Sung
575cc9f13f Fix various warnings in PHP 8.0 2021-01-08 00:31:28 +09:00
Kijin Sung
dcd6d896c2 Only add module_title and mid if they are empty 2020-12-25 23:23:25 +09:00
Kijin Sung
9732290515 Fix warnings in PHP 8.0 2020-12-22 22:37:20 +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
50133f6ae5 Fix foreach() warning in BoardView::_fillModuleTitles() 2020-10-30 15:56:20 +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
57dcab75e9 Fix missing document_srl in password input form 2020-10-22 02:02:00 +09:00
Kijin Sung
c9230360cc Preseve mid when reading notice-all document from other module 2020-10-02 11:08:03 +09:00
Kijin Sung
2b77b42480 Add initial support for all-boards notice 2020-10-02 01:36:40 +09:00
Kijin Sung
818897fed4 Merge branch 'develop' into next 2020-08-03 14:04:20 +09:00
Kijin Sung
dd7f766ff5 Fix #1372 block dispBoardUpdateLog if document_srl is missing or invalid 2020-07-31 20:22:43 +09:00
Kijin Sung
da73eb7427 Use static method calls and consistent permission checks throughout the Board module 2020-07-03 15:47:52 +09:00
Kijin Sung
5fa72f8629 Add 404 error handler and update permission data structure 2020-06-18 14:13:23 +09:00
Kijin Sung
5cd1cc53a5 Fix #1298 array/object confusion in point module 2020-05-26 08:25:05 +09:00
Kijin Sung
cb3bf4aace 글 보기 권한이 없는 게시판에서 검색 제한
xpressengine/xe-core@5ef37ccc
2019-11-22 20:31:24 +09:00
Kijin Sung
72651ed095 Add option to customize the number of days until a document is considered old 2019-09-14 21:31:47 +09:00
Kijin Sung
0fdb48c31a Add options to hide the bottom list 2019-09-14 21:24:36 +09:00
Kijin Sung
11858c0b13 Fix #985 improve responsive skin support
- 모바일에서 반응형 스킨 사용을 기본값으로 지정한 경우
  - 사이트 디자인 설정 화면에서 /USE_RESPONSIVE/가 노출되는 문제 수정
  - 신규 생성한 게시판에서 모바일 스킨을 찾지 못하는 문제 수정

- 게시판 모듈에서 스킨 처리하는 루틴을 ModuleObject로 이관하여
  모든 모듈에서 혜택을 볼 수 있도록 함

- 반응형 스킨이 기본값으로 지정된 경우, 아무 것도 지정되지 않은 경우,
  기본값으로 지정된 스킨이 삭제된 경우 등 다양한 상황에 대처

- TODO: 회원 모듈, 커뮤니케이션 모듈 등에서 자체 스킨을 들여오는 방식 재검토
2018-10-10 23:07:48 +09:00
Kijin Sung
08964804be Use more granular exceptions and error messages in important modules 2018-09-06 10:11:05 +09:00
Kijin Sung
10c8d11785 Add FeatureDisabled and SecurityViolation exception classes 2018-09-06 10:00:47 +09:00
Kijin Sung
d8a0773b97 Replace $this->stop() with proper exceptions 2018-09-06 00:19:47 +09:00
Kijin Sung
fe4e336f2b Add 3 special exception classes for common situations 2018-08-27 00:21:21 +09:00
Kijin Sung
1863edcbb8 Update some modules to throw exceptions instead of BaseObject 2018-08-27 00:03:12 +09:00
conory
5ebbbf5b36 파라미터 이름이 *srl일 경우 발생되는 호환 문제 수정
mid의 레이아웃(layout_srl) 설정을 '사이트 기본 레이아웃' (음수값 -1) 으로 할 수 없는 문제 수정
2018-04-23 01:05:28 +09:00
conory
eb17819ce0 게시판의 '작성 글 보기' 에서 닉네임과 상관없이 항상 해당 회원의 게시물만 출력될 수 있도록 개선
('작성 글 보기' 이용시 다른 회원의 게시물도 출력될 수 있는 문제 수정)
2018-04-06 00:17:46 +09:00
Kijin Sung
61bad46913 게시판에서 상담 기능과 익명글 기능을 동시 사용 시 문제 고침
xpressengine/xe-core#2140
2018-01-10 23:10:02 +09:00
conory
f93ad9c0f6 코드 정리 2017-12-13 21:10:46 +09:00
conory
f8ac11bda6 isAccessible()로 통일 2017-12-12 13:23:45 +09:00
Kijin Sung
eb3108b446 Add option to allow selecting no category
관리자 이외의 사용자가 글을 쓸 때 분류를 선택하지 않아도 되도록
허용하는 옵션 추가 (기본값: 허용하지 않음)
2017-12-05 23:36:26 +09:00
Kijin Sung
84e5542d77 Remove unnecessary use of BaseObject
- 트리거 등 반환값이 필요하지 않은 곳에서 new BaseObject()를 반환하는 것 삭제
- 모듈 설치, 업데이트 후 무의미한 new BaseObject()를 반환하는 것 삭제
- 사용자에게 에러 메시지를 돌려주는 용도로 new BaseObject(-1, '에러메시지')를
  사용하는 경우는 대부분 $this->setError()로 변경함. 언어 변환과 sprintf()
  처리까지 한 번에 이루어지므로 이쪽이 더 편리함.
2017-12-01 00:54:51 +09:00
BJRambo
f3f40f6859 php7.2호환을 위해 변경한 클래스 Object 를 BaseObject으로 변경 2017-11-28 20:01:28 +09:00
Kijin Sung
2f10d5c0b5 94cdcb2 보완
dispBoardCommentPage 액션은 HTML을 반환하도록 하여 애드온 작동에 지장이 없도록
변경함. (포인트 레벨 아이콘 등이 표시되지 않는 문제가 있었음.)

getBoardCommentPage 액션은 기존 방식처럼 XMLRPC 또는 JSON으로 호출 가능함.
2017-11-23 16:11:51 +09:00
Kijin Sung
94cdcb2e7c Allow dispBoardCategory() and dispBoardCommentPage() to be used in PC
모바일에서만 사용할 수 있었던 dispBoardCategory() 액션을 PC에서도 사용할 수
있도록 변경함. (PC용 스킨에서 category.html 템플릿을 제공하는 경우에 한함)

모바일에서만 사용할 수 있었던 getBoardCommentPage() 액션의 이름을
dispBoardCommentPage()로 바꾸어 PC에서도 사용할 수 있도록 변경하고
기존의 모바일 getBoardCommentPage() 액션은 dispBoardCommentPage()로 연결함.
(get으로 시작하는 액션명은 원래 model에서 써야 하는데 잘못 지정됨)

누가 모바일 스킨을 만들다가 필요해서 추가한 액션인 것 같은데
왜 PC에서는 사용할 수 없도록 해놓았는지 의문임.
비슷한 기능을 PC에서 사용하기 위해 getBoardCommentPageForPC() 등의 액션을
임의로 추가하여 사용하는 사이트가 은근히 많이 보임.
2017-11-21 15:56:17 +09:00
BJRambo
2cbe9b691f Display to extra_vars html in update log viewer 2017-08-24 08:10:41 +09:00
Kijin Sung
917b56b07e Fix #867 fallback to 'default' skin instead of default skin 2017-07-04 22:03:58 +09:00
Kijin Sung
0be7e72fe5 Fix #836 compatibility with third-party modules that use document_srl for their own purposes 2017-05-30 12:48:52 +09:00
Kijin Sung
d343422541 Fix exposure of unnecessary information via board API 2017-04-13 23:18:49 +09:00
BJRambo
ac8a5338cb Fix the content of the error message 2017-01-07 18:25:32 +09:00
BJRambo
7532ee7687 Add view the vote list permission 2017-01-07 18:20:35 +09:00
BJRambo
e0aad1839a Vote queries have been modified differently depending on the target 2017-01-07 17:42:39 +09:00
BJRambo
40b7feedfc Fix vote log name. 2017-01-07 17:27:30 +09:00
BJRambo
eafe6a8ae7 Add to select the target of the vote log 2017-01-07 17:25:42 +09:00
BJRambo
4c7ce6a380 Add a list of vote user 2017-01-07 17:10:55 +09:00