Commit graph

110 commits

Author SHA1 Message Date
Kijin Sung
c588d02a22 Remove deprecated xeVid JS variable 2020-07-03 00:54:20 +09:00
Webstack
7830e2f8f4 #1311 exec_json 에서 callback_error 의 반환값에 따라 alert 하지 않도록 수정 2020-06-11 17:02:04 +09:00
Kijin Sung
953faecd55 Detect AJAX abort due to page unload #1280 2020-05-21 20:53:49 +09:00
Kijin Sung
9042e4110c Fix #1249 hide waiting message and leaving warning by default 2020-03-19 00:21:06 +09:00
Kijin Sung
f304283fd5 Fix #1249 hide waiting message from crawlers 2020-03-19 00:20:34 +09:00
conory
3efc2a6b13 _rx_ajax_form 파라미터로 폼 제출 종류를 구분할 수 있도록 변경 2019-12-30 11:51:16 +09:00
conory
085b74b7db rx_ajax 사용시 XE_VALIDATOR_MESSAGE 대신 rhymix_alert만 표시
일관성 유지
2019-12-29 18:55:43 +09:00
conory
b3068758ef for unit test 2019-12-26 23:36:44 +09:00
conory
40e35a9451 add rhymix_alert 2019-12-26 21:04:09 +09:00
conory
9e6005ccbc form rx_ajax 사용시 XE_VALIDATOR_MESSAGE 세션을 이용한 메세지 표시가 되지 않는 문제 수정 2019-12-25 23:01:37 +09:00
Kijin Sung
0f6c1edc68 Support success and error callbacks in rx_ajax forms 2019-10-10 02:36:03 +09:00
Kijin Sung
2385a62b95 Fix duplicate definition of request_info 2019-10-10 02:28:18 +09:00
Kijin Sung
4e6607c1c3 Automatically add method=POST and enctype=multipart/form-data to iframe submissions 2019-10-10 02:27:11 +09:00
Kijin Sung
69611520c3 Support submitting arbitrary forms by AJAX or IFRAME 2019-10-10 01:56:38 +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
20177f9f41 Use strict mode in xml_handler.js 2017-07-02 00:53:06 +09:00
Kijin Sung
af408a57cc Apply new xml2json from XE 1.8.40
XE 1.8.40에서 업데이트된 xml2json 라이브러리를 가져와 라이믹스에 맞게 수정한다.
라이믹스에서는 exec_xml() 함수를 사용하더라도 실제로는 JSON으로 요청하므로
일부 서드파티 자료에서 XML을 반환하는 경우만 처리해 주면 된다.

평소 거의 사용하지 않는 xml2json을 기본으로 로딩하지 않고
서드파티 자료가 예기치 않게 XML을 반환했을 때만 비동기식으로 로딩하여
처리하도록 한다. 또한 xml2json이 파이어폭스에서 파싱 오류를 발생시키는 문제를
해결하기 위해 github.com/dkdndes/x2js/issues/32 패치를 적용한다.
2017-06-03 00:08:44 +09:00
Kijin Sung
f0d52f8a91 Fix escaped XML content: cf. xpressengine/xe-core#2042 2017-04-10 10:06:34 +09:00
Kijin Sung
e82e3fb18c Implement isSameOrigin() to simplify origin determination 2017-03-06 15:11:45 +09:00
Kijin Sung
14300cbcc3 Insert CSRF token into every AJAX request 2017-03-06 14:47:42 +09:00
Kijin Sung
b3fb993f73 Insert CSRF token in all AJAX requests via exec_xml(), exec_json(), exec_html()
일단 공식적으로 지원하는 AJAX 함수 3종에 CSRF 토큰을 삽입해 본다.
추후 체크 방식을 변경하거나 보안을 더욱 강화할 경우 X-CSRF-Token 헤더와 비교할 수도 있다.
일반 폼 제출이나 임의의 AJAX 요청에도 CSRF 토큰을 삽입하는 것은 다음 커밋에...
2017-03-06 11:51:38 +09:00
conory
699937a09e action 없이 실행 할 수 있도록 2017-01-21 21:33:58 +09:00
conory
f930ec74f8 시스템 에러 메세지를 출력할 경우 403 HTTP 코드로 설정 2016-04-18 23:43:04 +09:00
Kijin Sung
9b5a17fb59 Clean up repeating code and add redirect() function 2016-03-07 08:34:06 +09:00
Kijin Sung
006474cb98 Fix unnecessary redirect on comment insertion in some skins 2016-03-04 15:07:03 +09:00
Kijin Sung
54fc1da600 Fix no redirect after writing a comment 2016-03-04 10:57:56 +09:00
Kijin Sung
379bed000d Fix JSON encoding to be fully XE-compatible 2016-02-26 14:58:42 +09:00
Kijin Sung
134c6f6ec1 Fix jshint warnings and also apply patches to exec_json() 2016-02-25 15:34:02 +09:00
Kijin Sung
b94027bf1c Display more information if an AJAX request fails 2016-02-25 14:52:07 +09:00
Kijin Sung
65517735e0 Clean up common_layout.html and merge with mobile_layout.html 2016-02-17 16:20:57 +09:00
Kijin Sung
373305ab6b Initial implementation of debug panel on web page 2016-02-13 01:33:06 +09:00
Kijin Sung
0e25456770 Fix failure to display editor skin list 2016-02-06 22:41:55 +09:00
Kijin Sung
0c2c0d2b19 Set request method to XMLRPC if called via exec_xml() 2016-02-05 11:41:27 +09:00
Kijin Sung
f902ea8c6f Fix regression from #152 when the server returns XML anyway 2016-02-05 10:06:51 +09:00
Kijin Sung
6eb971a290 Fix #181 script error if waiting_obj is accessed too early 2016-01-31 19:15:58 +09:00
Kijin Sung
663b70929a Revert "Fix #54 Do you want to leave this page? message"
This reverts commit 8ae2dba0b9.
2016-01-27 20:03:49 +09:00
Kijin Sung
8ae2dba0b9 Fix #54 Do you want to leave this page? message 2016-01-27 14:25:12 +09:00
Kijin Sung
4fe7a5e789 Fix excessive display of 'waiting for server response' layer 2016-01-26 22:02:20 +09:00
Kijin Sung
f7b9769428 Clean up and reorganize functions in xml_handler.js 2016-01-26 15:57:59 +09:00
Kijin Sung
c291309fad Fix jshint error for comparison with zero 2016-01-26 10:47:59 +09:00
Kijin Sung
bd6f570027 Improve error handling and display accurate HTTP status code 2016-01-26 10:46:56 +09:00
Kijin Sung
3a419d586d Improve backward compatibility with AXUpload5 and other third-party AJAX apps 2016-01-26 10:32:59 +09:00
Kijin Sung
8ee5e8c4b0 Make all AJAX requests use regular form submission format and JSON response format 2016-01-23 20:33:49 +09:00
izuzero
c2511530a7 XML Request에서 object 및 array child argument를 전송할 수 없는 문제 해결 2014-12-05 16:45:39 +09:00
akasima
71d97e631c #908 attach ajax event to document element 2014-08-13 16:52:43 +09:00
akasima
eb3da2617e #900 add error option in exec_json, exec_html 2014-08-13 11:21:03 +09:00
bnu
68517aa681 jQuery에 종속 된 exec_json()을 global에 등록.
* window.exec_json(action, data, callback_success, callback_error)
2013-11-30 21:37:02 +09:00
bnu
f94852935a #60 css, js 코드 정리. 2013-11-16 20:52:46 +09:00
ngleader
dbc18a4f99 change author
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13180 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-07 02:42:42 +00:00