Commit graph

58 commits

Author SHA1 Message Date
Kijin Sung
72577ce6bb Fix #1174 Add number_shorten() function and 'shorten' template filter 2019-07-27 21:33:30 +09:00
Kijin Sung
e027bc8319 Add jquery-latest.js to blacklist
http://code.jquery.com/jquery-latest.js 와 같은 스크립트를 임의로
로딩하지 못하도록 막음. 버전이 붙은 파일명은 이미 대부분 막혀 있었지만,
이 커밋에서는 -latest가 포함된 것도 막도록 변경함.

cf. https://xetown.com/qna/1089463
2018-10-11 14:32:10 +09:00
Kijin Sung
720e7c6527 Update unit test for TemplateHandler 2018-10-10 15:13:01 +09:00
Kijin Sung
d63da57045 Fix unit tests for autoescape 2018-10-10 14:50:34 +09:00
Kijin Sung
4fc7605e93 Remove mobile.css from unit tests 2018-08-05 19:13:58 +09:00
conory
c728250fd7 템플릿 foreach 처리시 디버그 편의를 위해 원래의 엄격한 방식으로 되돌림 2018-03-31 16:59:30 +09:00
conory
3d24c14f7f object 변수일 경우 템플릿 foreach 문이 작동하지 않는 문제 수정
#1023 문제 수정

레이아웃 확장변수 (extra_var)가 object 라서 발생한 warning 수정 (왜 object로 했는 지 모르겠지만, array가 더 맞는 듯함)
Warning: count(): Parameter must be an array or an object that implements Countable in php 7.2
2018-03-30 23:28:44 +09:00
conory
e0edf3cb53 Context::setRequestArguments() 입력 정리 2018-03-26 23:55:07 +09:00
conory
605fcc87df Fix unit test for template 2018-03-22 17:49:00 +09:00
Kijin Sung
e63d597168 Add comprehensive tests for Context::setRequestMethod() and args 2018-03-13 11:06:34 +09:00
Kijin Sung
2b40d1ef74 Fix unit test for $lang in templates 2018-03-03 12:07:13 +09:00
Kijin Sung
3feaf36c23 Adjust unit tests to accommodate new template parser behavior 2017-12-09 02:55:01 +09:00
Kijin Sung
487509c1e5 Revert "Revert "Convert default SCSS stylesheet to LESS""
This reverts commit 5586956fea.
2017-12-01 18:02:41 +09:00
Kijin Sung
5586956fea Revert "Convert default SCSS stylesheet to LESS"
This reverts commit 1a98f0974c.
2017-12-01 17:57:30 +09:00
Kijin Sung
1a98f0974c Convert default SCSS stylesheet to LESS
서버단에서 컴파일하는 속도가 SCSS보다 LESS가 훨씬 빠름
2017-12-01 17:32:55 +09:00
Kijin Sung
7c91f3a5e7 Fix unit test for blocking common scripts 2017-09-20 17:32:24 +09:00
Kijin Sung
73c09ce876 Fix handling of external CSS/JS URLs with query strings
xpressengine/xe-core#2114
2017-08-16 23:05:45 +09:00
Kijin Sung
21072195c0 Prevent overwriting jQuery and other common scripts
- Block third-party programs trying to load their own version of jQuery
- Block obsolete scripts such as xe.css and xe.js
- Block minified versions of the above, too
- Increase blocking index threshold from 1,500,000 to 1,500,000,000
- Add unit tests for script blocking
2017-07-02 00:36:19 +09:00
Kijin Sung
97047d1279 Add list of reserved words #763 2017-03-23 19:43:49 +09:00
Kijin Sung
77282401e3 Add even more unit tests for malformed filter detection 2017-02-23 22:25:25 +09:00
Kijin Sung
c4c5fa9e0d Add more unit tests for edge cases 2017-02-23 22:15:03 +09:00
Kijin Sung
5638207fb0 Change behavior of 'autoescape' filter to always escape (but not double-escape) 2017-02-22 21:29:15 +09:00
Kijin Sung
7fd0f5df7b Add unit tests for template filters 2017-02-22 21:24:26 +09:00
Kijin Sung
c5e6adb03f Fix unit tests 2017-02-12 23:21:19 +09:00
Kijin Sung
a0bcb92847 Add unit tests for TemplateHandler changes 2016-10-01 22:19:47 +09:00
Kijin Sung
2529939be2 Fix unit test for Validator class 2016-08-02 16:18:32 +09:00
Kijin Sung
3c9d573082 Update unit tests for FrontEndFileHandler 2016-05-06 22:22:30 +09:00
Kijin Sung
2682793ac2 Add minify/concat tests to FrontEndFileHandlerTest 2016-05-05 16:22:17 +09:00
Kijin Sung
67cc7d3d00 Compile LESS/SCSS again if variables change 2016-05-05 10:42:15 +09:00
Kijin Sung
a7f0ba1964 Update tests with new directory structure 2016-05-05 01:38:34 +09:00
Kijin Sung
9b416c2473 Update unit tests to use rhymix.scss 2016-05-04 22:29:59 +09:00
Kijin Sung
9a30c10ce8 Disable CSS/JS concatenation during legacy unit tests 2016-05-04 21:57:48 +09:00
Kijin Sung
b62bbef515 Update TemplateHandlerTest to accommodate new syntax 2016-05-03 21:48:52 +09:00
Kijin Sung
ca7a7b64ea Use a more realistic server environment in unit tests 2016-03-16 09:13:31 +09:00
Kijin Sung
37c07f7b6e Rename old SecurityTest class 2016-03-12 19:59:10 +09:00
Kijin Sung
3f604c7f59 Fix unit tests 2016-02-18 20:10:08 +09:00
Kijin Sung
4ec179372a Fix unit tests for validator 2016-02-18 09:12:32 +09:00
Kijin Sung
670baecb73 Reorganize unit tests 2016-02-16 16:17:46 +09:00
Kijin Sung
d51ad8b4e5 Standardize on uppercase 2016-01-11 16:44:10 +09:00
Kijin Sung
da1822d296 Add option to minify only common (core) files 2016-01-10 17:02:26 +09:00
Kijin Sung
45a2611a74 Fix unit tests to allow duplicate loading 2016-01-09 21:45:16 +09:00
Kijin Sung
371f4a60b0 Merge branch 'develop' into refactor/minify-on-the-fly 2016-01-09 15:19:08 +09:00
Kijin Sung
f8e020f8ec Miscellaneous fixes and optimizations 2016-01-09 11:04:39 +09:00
Kijin Sung
afbbc965ab Don't hide E_WARNING in unit tests 2016-01-08 13:49:22 +09:00
Kijin Sung
7dd804ed09 Fix incorrect timestamp in unit tests 2016-01-07 16:14:16 +09:00
Kijin Sung
22910608a2 Update unit tests to check for minification 2016-01-07 16:06:07 +09:00
Kijin Sung
55584fb18a Update tests to reflect deletion of minified scripts 2016-01-07 11:39:53 +09:00
MinSoo Kim
e70e2a8124 Unit test 에서 변화된 부분 수정3
변수 이름 예상이 틀려서 예상 값 수정.. ㅠㅠ (idx가 1일거라고 예상했으나 3이었던듯..)
2015-08-19 01:05:31 +09:00
MinSoo Kim
aae4fd48b9 Unit test 에서 변화된 부분 수정2 2015-08-19 00:53:20 +09:00
MinSoo Kim
92c2f24563 Loop 문 변경으로 바뀐 unit 테스트 예측값 추가 수정 2015-08-19 00:22:10 +09:00