Sylvain
788b9aa769
Fix #138
2024-03-10 17:04:42 +01:00
Tagada
472fa0a35e
Merge pull request #140 from YunoHost/black
...
ci: add autoblacks actions
2024-03-07 14:25:52 +01:00
OniriCorpe
cbf5adfd25
add PULL_REQUEST_TEMPLATE.md
2024-03-07 09:55:53 +01:00
OniriCorpe
8191361d50
ci: add autoblacks actions
2024-03-07 03:04:53 +01:00
Tagada
d9d08762ff
Revert " Downgrade misc_nginx_check_regex_in_location from Warning to Info"
2024-03-05 21:27:13 +01:00
Kayou
7808953343
Merge pull request #134 from Salamandar/patch-1
...
Fix nginx test
2024-02-26 10:11:09 +01:00
Salamandar
1a06153655
Fix nginx test
...
grep will return 0 when it finds matches.
In our case, when it finds matches, we need to print the warning.
2024-02-24 12:09:38 +01:00
Tagada
daf913007a
Merge pull request #132 from YunoHost/OniriCorpe-patch-1
...
Downgrade misc_nginx_check_regex_in_location from Warning to Info
2024-02-21 01:40:31 +01:00
OniriCorpe
037e527971
Downgrade misc_nginx_check_regex_in_location from Warning to Info
2024-02-21 01:37:29 +01:00
Tagada
61213c1bb4
Merge pull request #131 from Salamandar/fix_nginx_regex
...
Fix nginx regex
2024-02-20 17:15:09 +01:00
25603267c6
Fix typo nginx
2024-02-20 17:14:20 +01:00
107e6ed790
Fix test misc_nginx_check_regex_in_location : /conf/ was missing...
2024-02-20 16:47:16 +01:00
377f425d17
Reapply "nginx check regex in location field"
...
This reverts commit 8fb78d904b
.
Original commit from Kayou
2024-02-20 16:45:22 +01:00
Tagada
6d02162945
Merge pull request #130 from YunoHost/revert-124-nginx-check-regex-in-location-field
...
Revert "nginx check regex in location field"
2024-02-20 16:39:15 +01:00
Tagada
8fb78d904b
Revert "nginx check regex in location field"
2024-02-20 16:38:45 +01:00
Kayou
e0813a39d9
Merge pull request #124 from YunoHost/nginx-check-regex-in-location-field
...
nginx check regex in location field
2024-02-20 07:54:05 +01:00
Kayou
375034c333
Merge pull request #125 from OniriCorpe/check-binb-public-ip
...
add bind_public_ip check
2024-02-20 07:53:29 +01:00
Kayou
856d7a957c
Merge pull request #129 from oleole39/patch-1
...
Fix regex in helpers_sourcing_after_official()
2024-02-20 07:47:42 +01:00
oleole39
7110959e51
Fix regex for source
...
Current regex will match any of the ten line after the official helper files starting with the string "source".
Thus, in my specific case for which I declare a variable named source_filename="{...}", the linter will display a warning for it: ` ! Please avoid sourcing additional helpers after the official helpers (in this case file _filename=$(basename$upstream__url)) `.
As it should be only interested in matching the command `source` (`source path/to/file`), a space should be appended to the current regex.
2024-02-19 22:13:30 +01:00
Alexandre Aubin
8c00413d2f
Merge pull request #127 from orhtej2/more_set_headers_regex
...
Allow multiple whitespace after 'more_set_headers'
2024-02-12 20:08:36 +01:00
Alexandre Aubin
c3f223740f
Merge pull request #126 from orhtej2/verbose_error_nginx
...
Show offending lines for 'more_set_headers'
2024-02-12 20:08:22 +01:00
Alexandre Aubin
78b395ea68
Update package_linter.py
2024-02-12 20:08:14 +01:00
orhtej2
caee27ddaf
Allow multiple whitespace after 'more_set_headers'
2024-02-10 21:32:56 +01:00
orhtej2
8ed7286c90
Show offending lines for 'more_set_headers'
2024-02-10 21:28:47 +01:00
Alexandre Aubin
d0c763ee28
Soft-deprecate packaging v1 on February 1st 2024, to be turned into an error on February 1st 2025
2024-01-26 15:22:09 +01:00
OniriCorpe
f3bf1b237b
small refactor
2024-01-18 20:57:04 +01:00
OniriCorpe
051053d4fd
tweak to ignore IPs like "10.0.0.0"
2024-01-18 03:46:37 +01:00
OniriCorpe
23b2f7d6bb
better ip discrimination
2024-01-18 03:06:27 +01:00
OniriCorpe
8b38cf0924
mention the reverse proxy bypass
2024-01-17 23:51:38 +01:00
OniriCorpe
832dc3d55b
add line numer and fix a trigger on commented lines
2024-01-17 23:37:25 +01:00
OniriCorpe
90ad5247a9
add bind_public_ip check
2024-01-17 23:23:06 +01:00
Alexandre Aubin
958bbe61e8
Don't miserably crash when failing to join() the error path when checking manifest schema
2024-01-17 03:48:26 +01:00
Kay0u
74d39d910c
oupsie
2023-12-29 00:52:27 +01:00
Kay0u
5baae31c1f
nginx check regex in location field
2023-12-29 00:48:47 +01:00
Alexandre Aubin
c989679ba3
Complain about using --line_match=Started/Stopped which is irrelevant/counterproductive
2023-12-28 05:15:30 +01:00
Alexandre Aubin
a8e5c7e67e
Complain about using 'git clone'
2023-11-25 15:15:01 +01:00
Alexandre Aubin
67202bfa7b
Tighten some info as 'warnings' (should only affect a handful of level 7+ apps nowadays)
2023-11-24 18:10:14 +01:00
Alexandre Aubin
cb892f1c42
Merge pull request #122 from orhtej2/flake8
...
Fixed (most) linter complaints.
2023-09-07 23:37:14 +02:00
orhtej2
3dcd83eb78
Fixed (most) linter complaints.
2023-09-07 23:11:03 +02:00
Tagada
b5b40510c9
Merge pull request #118 from orhtej2/patch-1
...
Consistently parse apt dependencies.
2023-09-06 22:50:12 +02:00
orhtej2
21815225cf
Consistently parse apt dependencies.
...
Make "x y" proper list of dependencies [`x`, `y`] rather that of [`x y`]
2023-09-06 22:47:09 +02:00
Alexandre Aubin
c6cbd26235
Merge pull request #117 from Salamandar/fix_apt_linter
...
Fix package linter on apt list
2023-09-06 15:32:03 +02:00
Félix Piédallu
812fb0c996
Allow packages to be a list. Also, use the same splitting logic as in yunohost source code.
2023-09-06 13:53:54 +02:00
Alexandre Aubin
5d90885b49
phpconf: allow the usage of www-data for Group
2023-08-31 16:50:32 +02:00
tituspijean
afdefcc44b
Require init_main_permission question for webapps ( #115 )
...
* Require init_main_permission question for webapps
* Require init_main_permission question for webapps, fixed
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
* Factorize a bit init_main_permission warning
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
* Enhance init_main_permission warning
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
---------
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-08-18 19:15:49 +02:00
tituspijean
0dd375db34
Fix jsonschema dependency installation
2023-07-25 20:32:20 +02:00
Alexandre Aubin
ea1f11b26b
Add new schema validation for manifest v2 (only reports stuff as info for now)
2023-07-25 18:00:42 +02:00
Alexandre Aubin
6a5c346ecd
nginx: complain about using $http_host rather than $host
2023-07-04 15:33:02 +02:00
Alexandre Aubin
50a325d27a
Report http->https redirection as warning instead of info for app packaging v2
2023-07-04 15:12:10 +02:00
Alexandre Aubin
809c45601d
Complain about the usage of YNH_DEFAULT_PHP_VERSION in _common.sh
2023-06-19 16:16:33 +02:00