33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-14 09:14:09 +00:00
Commit Graph

569 Commits

Author SHA1 Message Date
Denis Ryabov
1039b49b9b Joomla code-style fixes 2021-05-11 23:52:40 +03:00
Denis Ryabov
5662e48df4 Fix typo in language key 2021-05-11 23:51:03 +03:00
Denis Ryabov
39608b595b Add missed constant for JText detection 2021-05-11 23:50:49 +03:00
Denis Ryabov
c79d929832 Add check for existing keys in JText arguments (info-level meanwhile) 2021-05-11 23:50:33 +03:00
Denis Ryabov
234abe600e switch to JEDCheckerHelper::findManifests 2021-05-11 23:46:12 +03:00
Denis Ryabov
1b3b020322 switch to use of JEDCheckerHelper in xmlfiles 2021-05-11 23:42:15 +03:00
Denis Ryabov
73db135bcb Display full path to the file/folder in the error message 2021-05-11 23:41:58 +03:00
Denis Ryabov
907bbd1d75 switch to JEDCheckerHelper::findManifests 2021-05-11 23:33:20 +03:00
Denis Ryabov
bd9b9bb0ed add comment line 2021-05-11 23:32:32 +03:00
Denis Ryabov
469a89a434 Joomla code-style fix 2021-05-11 23:31:22 +03:00
Denis Ryabov
758fcf5b37 switch to use of JEDCheckerHelper in xmlinfo 2021-05-11 23:29:59 +03:00
Denis Ryabov
30c9ced67b Check length of the listing name (warning for 40+, error for 80+) 2021-05-11 23:26:52 +03:00
Denis Ryabov
10a9cba326 Error for non-ASCII characters in the listing name 2021-05-11 23:25:06 +03:00
Denis Ryabov
0dd8b4e572 Allow trailing "for Joomla" in the listing name 2021-05-11 23:24:32 +03:00
Denis Ryabov
084367bc78 check prefixed names 2021-05-11 23:08:21 +03:00
Denis Ryabov
4ac26c9282 check reserved words 2021-05-11 23:07:22 +03:00
Denis Ryabov
8e53d6f964 extract extension's language file loading into function loadExtensionLanguage 2021-05-11 21:19:44 +03:00
Denis Ryabov
893beace31 change foreach-based to regex-based search in errorreporting.php 2021-05-11 18:39:01 +03:00
Denis Ryabov
a8ea5b75c2 Mitigate ErrorReporting rule to warning-level 2021-05-11 18:38:26 +03:00
Denis Ryabov
b59e2aab24 change foreach-based to regex-based search in encoding.php 2021-05-11 18:36:25 +03:00
Denis Ryabov
eeaa31a338 Mitigate Encoding rule to warning-level 2021-05-11 18:34:34 +03:00
Denis Ryabov
f7d9cad01a skip nonexecutable files [starting with die() or exit()] in GPL rule 2021-05-11 17:38:37 +03:00
Denis Ryabov
6cee91b678 introduce JEDCheckerHelper::findManifests to get "real" manifest files, sorted by depth 2021-05-11 16:59:15 +03:00
Denis Ryabov
f2552dd9ab Add JEDCheckerHelper class with some common methods 2021-05-11 16:58:53 +03:00
Crowdin Bot
f9e8754e1e New Crowdin translations by Github Action 2021-05-08 17:36:18 +00:00
Denis Ryabov
c38f2a549a
Fix issue #113 2021-05-08 20:30:05 +03:00
3d9fc254a0
Merge PR #83 with develop 2021-04-27 01:23:18 +02:00
bf2ca15b99
Merge PR #82 with develop 2021-04-27 01:19:11 +02:00
f616ebff7d
Merge PR #81 with develop 2021-04-27 01:11:40 +02:00
5ee979715d
Merge PR #80 with develop 2021-04-27 00:59:38 +02:00
Denis Ryabov
86e03fec05 Mitigate unquoted strings error to a warning 2021-04-07 11:04:56 +03:00
Denis Ryabov
c60b397af7 add newline at end of dtd-json files 2021-04-07 10:36:46 +03:00
Denis Ryabov
942f5a6dc0 Warning on outdated manifest format 2021-04-04 16:06:01 +03:00
Denis Ryabov
729d082bd2 fix Joomla codestyle 2021-04-04 15:12:02 +03:00
Denis Ryabov
0c9c53038c fix Joomla codestyle 2021-04-04 15:08:43 +03:00
Denis Ryabov
ce7058f121 Check both filename and file nodes 2021-04-04 15:03:55 +03:00
Denis Ryabov
fefbb2ca8e check namespace path directory exists 2021-04-04 15:03:40 +03:00
Denis Ryabov
a88050c37b check addfieldpath/addformpath/addrulepath directories exist 2021-04-04 15:03:25 +03:00
Denis Ryabov
75e93bad90 add "tgz" into a list of possible archive extensions 2021-04-04 15:03:11 +03:00
Denis Ryabov
715b061840 Check files in the fileset node of type="file" extensions 2021-04-04 15:02:32 +03:00
Denis Ryabov
3e03b981e8 check fonts in language package 2021-04-04 15:02:16 +03:00
Denis Ryabov
13a1237d6b Detect tabs in key names 2021-04-04 14:54:59 +03:00
Denis Ryabov
6e6b1224a0 Check file is correctly read 2021-04-04 14:54:45 +03:00
Denis Ryabov
0c51f8a60b Add descriptions for new checks 2021-04-04 14:54:06 +03:00
Denis Ryabov
cfe16c16d0 Check for spaces around the translation string (just a notice for en-GB language) 2021-04-04 14:49:04 +03:00
Denis Ryabov
adb548249d separate check for left and right quotes (for convenience) 2021-04-04 14:48:30 +03:00
Denis Ryabov
566ce26d11 Check for invalid UTF8 values 2021-04-04 14:44:20 +03:00
Denis Ryabov
9c6295231e Check for incorrect EOL 2021-04-04 14:44:07 +03:00
Denis Ryabov
778ece5631 Support J4-style language file names 2021-04-04 14:43:51 +03:00
Denis Ryabov
da42c8f0b6 remove notice on unused argnum syntax, but keep detection of incorrect argnum syntax 2021-04-04 14:43:16 +03:00