Commit graph

734 commits

Author SHA1 Message Date
Kijin Sung
17897aef5a Add some routes to the board module 2020-06-12 23:21:25 +09:00
Kijin Sung
34eb311ac0 Merge branch 'develop' into next 2020-05-26 09:00:15 +09:00
Kijin Sung
5cd1cc53a5 Fix #1298 array/object confusion in point module 2020-05-26 08:25:05 +09:00
Kijin Sung
564563f56c Clean up constructors and other method signatures 2020-05-18 20:37:16 +09:00
BJRambo
2b6d6b9925 Fix #1290 함수명을 일괄성있게 고침 2020-05-15 16:06:01 +09:00
Kijin Sung
f5f2cd99e0 Fix #1269 use proper translation for browser title 2020-04-16 17:38:38 +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
63daede292 Redirect to URL with comment_srl after writing a new comment 2019-09-14 20:14:13 +09:00
BJRambo
239b231ffa #1183 #1152 추천 취소 기능 보강 2019-08-07 20:29:53 +09:00
Ji Yong, Kim
79a0de4d7c
비추천 버튼의 속성명 오타 수정 2019-03-10 10:07:20 +09:00
Kijin Sung
e60fab4969 Fix #1142 move save button up a little bit
제대로 된 해결책은 아니지만, 메뉴 모듈 갈아엎을 때까지 임시방편
2019-03-06 00:50:17 +09:00
Kijin Sung
cc2577af00 Fix user lang not working in board config page 2018-10-11 14:18:56 +09:00
Kijin Sung
11858c0b13 Fix #985 improve responsive skin support
- 모바일에서 반응형 스킨 사용을 기본값으로 지정한 경우
  - 사이트 디자인 설정 화면에서 /USE_RESPONSIVE/가 노출되는 문제 수정
  - 신규 생성한 게시판에서 모바일 스킨을 찾지 못하는 문제 수정

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

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

- TODO: 회원 모듈, 커뮤니케이션 모듈 등에서 자체 스킨을 들여오는 방식 재검토
2018-10-10 23:07:48 +09:00
bnu
71651c0542 검색엔진 수집이 불필요한 페이지에 대한 robots 메타 태그 추가
xpressengine/xe-core#2293 patch by @bnu
2018-10-02 22:50:05 +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
Kijin Sung
45851744c1 Fix #1031 deleted comment is shown as secret 2018-08-04 21:54:41 +09:00
Kijin Sung
f12cf74dda Revert "다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리"
This reverts commit b1cb1f3f34.
2018-08-04 20:56:24 +09:00
conory
b1cb1f3f34 다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리
변경전의 xe.less 파일도 rhymix.less와 함께 load 하여 호환정 유지

CSS 충돌 예)
bootstrap의 .btn
사용 예)
bootstrap 사용시엔 {Context::unloadBasicFiles('xe')}으로 unload 시키면 문제없음
2018-08-03 19:45:30 +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
adb93006b4 Add option to limit the size of documents and comments
지나치게 용량이 큰 글을 등록하여 서버 과부하나 트래픽을 유발하는 경우가 있음.
예: ㅋㅋㅋ를 1000만 번쯤 복사해서 넣는다거나...

이런 문제를 막기 위해 게시판에서 글과 댓글의 용량을 제한할 수 있도록 함.
지저분한 태그가 많이 붙은 HTML 콘텐츠을 복붙하는 경우에 대비하여
기본값은 글 1024KB, 댓글 128KB로 여유있게 책정하였으며
사이트 특성에 따라 줄이면 됨.
2018-03-07 15:51:36 +09:00
BJRambo
6496055581 각종 PHP 7.2 에서 나는 워닝에러를 고침 2018-01-25 20:57:01 +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
1280f6a0a0 Fix allow_no_category being overwritten on module config change 2017-12-11 00:11:52 +09:00
Kijin Sung
eb3108b446 Add option to allow selecting no category
관리자 이외의 사용자가 글을 쓸 때 분류를 선택하지 않아도 되도록
허용하는 옵션 추가 (기본값: 허용하지 않음)
2017-12-05 23:36:26 +09:00
Kijin Sung
3992b4b5bc Fix strict count() behavior in PHP 7.2 2017-12-01 01:49:20 +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
460cfd5455 Eliminate unnecessary require_once in mobile classes 2017-11-21 18:09:23 +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
Kijin Sung
7b34a19574 XEVE-17-029
xpressengine/xe-core#2163
2017-10-19 13:57:30 +09:00
bnu
fc1ba5b9ce fix #2133 비회원 게시물 작성폼에서 불필요한 공백으로 인한 틀어짐 고침 2017-10-12 14:45:53 +09:00
Kijin Sung
69b868c77f Fix #919 make child comment secret if parent comment is secret 2017-09-28 17:29:47 +09:00
Kijin Sung
cc0f2c5a62 Clean up language files for board module configuration 2017-09-27 20:35:26 +09:00
BJRambo
f75efa1b5d Improve anonymous nickname to generate random number per date and document.
https://www.xetown.com/qna/745244
2017-09-27 15:48:02 +09:00
bnu
3ee3d63cb7 fix #2142 onclick이 사용된 새 창 열기를 target 속성으로 변경
- 통합검색 모듈 misol_town 스킨도 마찬가지로 수정
2017-09-11 18:21:16 +09:00
BJRambo
2cbe9b691f Display to extra_vars html in update log viewer 2017-08-24 08:10:41 +09:00
Kijin Sung
1f3bf62c34 Fix mobile editor in default skins
게시판별 에디터 설정이 아닌 에디터 모듈의 기본 설정이 적용되는 문제 수정
2017-07-08 23:51:52 +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
2cd6140a89 Also allow selecting a PC layout for mobile view 2017-07-01 21:03:10 +09:00
Kijin Sung
27e2106c96 Use PC skin if mobile skin name is /USE_RESPONSIVE/ 2017-07-01 20:25:59 +09:00