Commit graph

544 commits

Author SHA1 Message Date
Kijin Sung
8d2b105847 Clean up counter module
- 카운터 모듈을 정리하여 불필요한 쿼리 및 트랜잭션 제거
- 매일 첫 방문시 쿼리 오류 발생하는 문제 해결
- 더이상 사용하지 않는 $site_srl 기준의 테이블은 삭제
2021-01-08 20:53:54 +09:00
Kijin Sung
b0f66a36c5 Convert all instances of _XE_PATH_, __XE_VERSION__, etc. to Rhymix constants
_XE_PATH_ -> RX_BASEDIR
__XE_VERSION__ -> RX_VERSION
2020-12-18 15:21:23 +09:00
Kijin Sung
0b265cde21 Make all addons, modules, and widgets follow RX_VERSION 2020-12-18 00:20:33 +09:00
Kijin Sung
49923844b2 Various fixes to remove warnings in PHP 8.0 2020-12-15 00:18:42 +09:00
Kijin Sung
ced97f4f4d Remove reCAPTCHA addon 2020-10-01 15:29:32 +09:00
conory
8ccfd963b6 rhymix_content class 추가 2020-09-17 20:40:06 +09:00
Kijin Sung
a87a31a611 Add login form to reCAPTCHA autoinsert list 2020-07-27 12:07:42 +09:00
Kijin Sung
a9175b1c9d reCAPTCHA 애드온을 로그인 폼에도 사용할 수 있도록 개선 2020-07-27 11:56:28 +09:00
conory
6864746682 같은 사이트 URL은 새창으로 띄우지 않도록 수정 2020-01-12 01:30:49 +09:00
Huhani
a549513808 하이퍼링크 href값이 javascript나 mailto로 시작될 경우 target=_blank 속성을 추가하지 않게 수정 2019-08-29 23:33:22 +09:00
BJRambo
1d4cf3c4cd 기본값에 대한 문구 수정 및 설정의 위치 수정
처음 사용 안 함이 기본값으로 생각하였으나 그렇게 하지 않고 사용에 기본값을 두고 있으므로 설정이 없을 경우 사용이 먼저 노출되도록 수정함.

여전히 설정값이 없으면 block 이 기본값.
2019-01-02 16:03:15 +09:00
BJRambo
2cf30a9f62 삼항식으로 조건문 변경 2019-01-02 15:55:23 +09:00
BJRambo
c123a6d78c #1107 넘겨보는 사진옵션에서 하단 내용 표시에 대한 출력 옵션 추가 2019-01-01 18:34:54 +09:00
Kijin Sung
54f0346a50 Update recaptcha addon to throw exceptions on error 2018-09-06 00:22:06 +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
Kijin Sung
15eb5c3715 openid_delegation_id 등 일부 애드온 및 레이아웃, 위젯 스킨을 배포본에서 제거
xpressengine/xe-core#2037
2018-06-11 23:29:13 +09:00
Kijin Sung
3e1d223962 Allow programs to determine whether a member has points without calling isExistsPoint() and getPoint() separately
포인트 정보가 아예 없는 경우와 0포인트가 있는 경우를 구분하기 위해
isExistsPoint()와 getPoint()를 각각 호출하지 않아도 되도록
getPoint()에 3번째 인자 $exists를 추가함
2017-12-21 15:24:55 +09:00
Kijin Sung
40adc7f6dc Fix unnecessary query from point level icon addon 2017-12-19 12:00:00 +09:00
conory
f93ad9c0f6 코드 정리 2017-12-13 21:10:46 +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
b98f55b633 Remove oembed addon (see #895) 2017-09-12 14:41:18 +09:00
Kijin Sung
6aebe472e2 Remove addons no longer used in XE 1.9
- Remove mobile and openid_delegation_id
- Keep blogapi for now
2017-08-24 14:27:13 +09:00
Kijin Sung
c8c033de66 Fix fatal error when unable to connecto to reCAPTCHA server 2017-06-25 21:12:24 +09:00
Kijin Sung
1015ca1e30 Fix double-encoding of percent sign in autolink addon 2017-01-03 09:45:55 +09:00
Kijin Sung
c8975c0cf9 Fix #612 apply target=_blank to links added after initial page load 2016-12-18 14:46:20 +09:00
Kijin Sung
da6a8da40a Fix #531 #636 non-ASCII characters and punctuation in autolink addon 2016-12-18 14:41:06 +09:00
bnu
b7c2e9b7d0 Fix #1977 BlogApi 애드온에서 파일 첨부 시 보안 취약점 해결 및 파일 업로드 설정이 반영되도록 개선 2016-10-28 14:25:56 +09:00
conory
645edf12bd autolink, 엔티티로 된 태그속에 URL이 있을 경우 링크가 이상하게 걸리는 문제 수정
https://www.xetown.com/contact/401884
2016-10-20 20:59:32 +09:00
Min-Soo Kim
f20c75ef09 Add photoswipe enroll class
`.photoswipe-images` 클래스를 가진 이미지는 강제로 포토스와이프가 적용됩니다.

```html
<a href="https://misol.kr/">
    <img class="photoswipe-images" src="https://example.com/something.jpg" />
</a>
```
와 같은 이미지는 포토스와이프가 적용됩니다.


```html
<a href="https://misol.kr/">
    <img class="photoswipe-images rx-escape" src="https://example.com/something.jpg" />
</a>
```
와 같은 상황에서도 포토스와이프가 적용됩니다.


```html
<a href="https://misol.kr/">
    <img class="rx-escape" src="https://example.com/something.jpg" />
</a>
```

와 같은 코드에서는 포토스와이프가 적용되지 않습니다.(`<a>` anchor 태그의 자식 요소, `rx-escape` 클래스가 있는 항목이기 때문)


```html
<a href="https://misol.kr/">
    <img src="https://example.com/something.jpg" />
</a>
```
와 같은 코드에서도 포토스와이프는 적용되지 않습니다. (`<a>` anchor 태그의 자식 요소이기 때문)
2016-07-24 16:38:15 +09:00
Min-Soo Kim
21c19dc831 Photoswipe addon bug fix (#553)
able anchor element or onclick event bound to image elements except gallery items.
2016-07-22 22:51:36 +09:00
Min-Soo Kim
a8de6048ac Add Photoswipe controllable classes, escape parents (#551)
1. Escape photoswipe
 - `.rx-escape`
 - `.photoswipe-escape`
2. No caption
 - `.photoswipe-no-caption`

3. if the img is a child of `a, pre, xml, textarea, input, select,
option, code, script, style, iframe, button, img, embed, object, ins`,
then escape photoswipe.
2016-07-19 23:34:47 +09:00
MinSoo Kim
da3e971486 Create Photoswipe escape class
* Set 'rx-escape' as a escape class for images to escape photoswipe addon.
* `rx-escape` 라는 class 를 가진 이미지는 포토스와이프 애드온으로 포토스와이프 되지 않습니다.
2016-07-18 01:56:11 +09:00
conory
f43c883a31 autolink 문제 수정
https://www.xetown.com/contact/303840
2016-06-16 23:12:58 +09:00
Kijin Sung
acb2899462 Fix missing sprintf() 2016-06-08 15:19:19 +09:00
Kijin Sung
2c701c5db6 Remove previous CAPTCHA addons 2016-06-08 15:12:02 +09:00
Kijin Sung
a2e54ed759 Enable customizing target users and frequency 2016-06-08 01:05:38 +09:00
Kijin Sung
d13bf13bc9 Also auto-insert reCAPTCHA in member module if the form does not contain a placeholder 2016-06-08 00:56:01 +09:00
Kijin Sung
ae27414230 Enable reCAPTCHA in document and comment write forms, and auto-insert reCAPTCHA if the form does not contain a placeholder 2016-06-08 00:52:20 +09:00
Kijin Sung
fe63f24617 Support multiple CAPTCHA instances on the same page 2016-06-08 00:04:32 +09:00
Kijin Sung
9672060be8 Split reCAPTCHA addon into main script and class file 2016-06-07 23:48:41 +09:00
Kijin Sung
168bfeba50 Delete test code 2016-05-26 22:59:31 +09:00
Kijin Sung
bfc212cc09 Add reCAPTCHA addon for signup page 2016-05-26 22:52:19 +09:00
Kijin Sung
f597e9130e Fix JQMigrate warning in resize_image addon 2016-05-14 16:42:09 +09:00
conory
4224b6fbb0 블랙리스트에 오른 빈 애드온 제거 2016-05-13 18:24:35 +09:00
Kijin Sung
729f51a65b Fix autolink addon not recognizing some URLs containing special characters 2016-05-06 23:51:11 +09:00
conory
cfa151b8c2 Context 변수 html_footer 충돌 문제 수정
관리자 페이지에서는 photoswipe 꺼두기
시스템 설정의 redirect_url 조정
2016-05-04 20:18:46 +09:00
Kijin Sung
6551f9cce9 Support IDNs in autolink addon, and exclude parentheses from URL 2016-04-28 21:31:40 +09:00
conory
fe4900482c photoswipe 애드온 사용시 본문 링크가 클릭이 되지않는 문제수정
https://www.xetown.com/contact/269784
2016-04-28 14:48:34 +09:00