Commit graph

68 commits

Author SHA1 Message Date
Lastorder
580588bbdc Fix typos in documentation and translation strings 2025-07-15 01:23:48 +00:00
Kijin Sung
94b4c1bd2b Fix error when Validator tries to load a directory 2025-05-21 14:07:52 +09:00
Kijin Sung
66e040b3f9 Use RulesetParser instead of XeXmlParser in Validator 2025-05-19 23:52:08 +09:00
Kijin Sung
bfa8ea5ddc Fix undefined property access in Validator class 2025-05-17 12:58:31 +09:00
Kijin Sung
dd74d266f5 Fix legacy Validator trying to trim an object such as $lang 2024-07-29 23:32:59 +09:00
Kijin Sung
6e72186d1f Remove unnecessary realpath() in old class files #2310 2024-04-30 23:03:57 +09:00
Kijin Sung
dfa1e93c79 Remove unnecessary header and footer from class files
- 아래에 이미 author 언급이 있으므로 중복되는 저작권 표기는 제거
- 클래스 하단에 불필요한 end of file 표시 제거 (파일 하나에 클래스 하나씩이므로
  파일이 중간에 끊겼다면 클래스가 닫히지 않아 쉽게 알 수 있음)
2023-01-30 23:52:23 +09:00
Kijin Sung
c881e73c1d Remove trailing whitespace in legacy class files 2023-01-17 21:07:55 +09:00
Kijin Sung
e0a041bb3d Fix deprecation warnings in PHP 8.2 2023-01-16 22:42:04 +09:00
conory
34c46a08c6 Correct the URL regex 2022-02-21 21:11:42 +09:00
Kijin Sung
8310f82a1a Fix #1856 missing IDN support in URL validator 2022-01-27 21:37:19 +09:00
Kijin Sung
bfd0c66269 Fix undefined variables in Validator class 2021-01-28 23:26:33 +09:00
Kijin Sung
60465fb2db Fix various warnings in PHP 8.0 2021-01-28 22:32:56 +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
485b22ea22 Remove legacy dependence on create_function() from Validator class #1480 2020-12-11 21:55:57 +09:00
Kijin Sung
8c161bc28d Various fixes to improve PHP 8.0 compatibility
- XmlParser 클래스가 PHP 내장 클래스가 되어버려서 XeXmlParser로 변경
- 함수나 파라미터의 형태가 맞지 않아서 치명적인 오류 나는 곳 수정
- undefined 변수 및 배열 키 다수 수정 (치명적인 오류는 아님)
- 계속 수정중...
2020-10-31 00:25:26 +09:00
Kijin Sung
14ad62e869 Fix incorrect use of curly braces in legacy classes 2020-05-19 20:52:44 +09:00
BJRambo
6496055581 각종 PHP 7.2 에서 나는 워닝에러를 고침 2018-01-25 20:57:01 +09:00
bnu
61c54504ef - invalid_float 메시지 추가
- 파일 용량 설정의 룰셋 추가 수정
- XML Filter에서 float를 처리할 수 있도록 룰세 추가
2016-08-02 16:00:47 +09:00
bnu
46278a886b type 이름을 'float'로 변경 2016-08-02 15:58:10 +09:00
sejin7940
a37b288f1b Update Validator.class.php 2016-08-02 15:56:43 +09:00
Kijin Sung
3c15bf4129 Replace file_put_contents() with safe alternative 2016-06-23 00:07:29 +09:00
conory
90400e2b5f 모두 lang() 함수로 변경 2016-03-06 17:01:15 +09:00
Lansi
617ee087d9 오류 수정 2014-09-11 16:39:40 +09:00
Lansi
59525b6b95 룰셋 기본 룰과 name이 비슷할 때 추가가 안 되던 문제 수정
strpos를 in_array로 수정.
2014-09-11 16:39:30 +09:00
bnu
062457415c fix #480 class_exists()의 autoload 비활성 2014-02-27 10:18:39 +09:00
bnu
932862be1f #64 서버 내 경로를 절대경로로 변경 2013-11-23 11:59:49 +09:00
khongchi
71c8a0b99f fixed #50, file_put_contents함수에 LOCK_EX flag 적 2013-11-15 12:56:29 +09:00
khongchi
d9f001266c issue 3644, php5대응 file_put_contents 함수 적용
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13199 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-12 02:17:35 +00:00
akasima
bce0a0b6d4 copyright add to php files
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13186 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-08 05:52:51 +00: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
misol
f70ce644ce Close Connection when there is no connection value.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13161 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-09-25 15:29:32 +00:00
flyskyko
19cda127e4 issue 2119. supporting php 5.4. validator class.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12695 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-05 02:53:25 +00:00
ovclas
15fa10dc39 issue 2662 coding convention
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12220 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-14 09:59:39 +00:00
dragan-dan
47a05c9259 Issue 2330: ruleset custom rule in case of file field
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11130 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-30 13:01:44 +00:00
devjin
4492b4c774 issue 2079
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11033 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-17 01:33:23 +00:00
devjin
75a5398930 issue 2010 modified the regular expression of email. (add + . ~)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11004 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-08 13:20:08 +00:00
ovclas
484111e9c1 issue layout copy feature add
layout file upload bug fix


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10864 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-07-11 01:41:07 +00:00
ovclas
3f0dd9cb06 add phpDoc style comment
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10774 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-06-14 02:33:44 +00:00
flyskyko
914dc85249 issue 1990, fixed a bug. does not working expression rule of validator
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10677 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-14 09:39:26 +00:00
devjin
8db1be04bf Add auto ruleset function
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9982 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-12-22 08:37:50 +00:00
devjin
289f077588 fixed check module grant
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9624 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-13 02:04:38 +00:00
taggon
9003869fba Remove unnecessary javascript comment
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9613 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-12 09:01:16 +00:00
taggon
86777cf4f7 Fixed a bug that form validator can't display some error message
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9309 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-23 07:18:21 +00:00
taggon
ee5487d1f4 Support multilingual error messages
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9232 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-20 07:57:15 +00:00
flyskyko
8e20c6057e fixed do not validate uploaded file name
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9014 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-03 12:01:56 +00:00
taggon
76999d3054 Support patterns in field name
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8995 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-02 07:49:25 +00:00
taggon
021868aa1e Fixed a bug for client-side validation
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8949 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-30 08:46:43 +00:00
taggon
03555a065f Fixed a bug for client-side validation
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8948 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-30 08:45:59 +00:00
taggon
6d14ce99ef Fixed a buf for validation
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8890 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-25 08:19:54 +00:00