Commit graph

806 commits

Author SHA1 Message Date
Alexandre Aubin
d5f8eb06c8 Simplify code (suggestion from Bram) 2020-09-16 19:28:45 +02:00
Alexandre Aubin
56ebb06d2b Typo 2020-09-16 18:49:17 +02:00
Alexandre Aubin
ad98b82702
Merge pull request #1049 from YunoHost/enh-package-download-refactoring
[enh] Refactoring of package download process
2020-09-16 17:26:29 +02:00
Alexandre Aubin
674d8e7cb9 [fix] Minor issues in app questions parsing 2020-09-16 17:01:21 +02:00
Kay0u
db9d2aac30
permissions in app_info 2020-09-14 12:09:55 +02:00
ljf
78c5ea9098 [enh] Refactoring of package download process 2020-09-10 04:02:25 +02:00
Alexandre Aubin
d1d24cb6eb
Merge pull request #1013 from YunoHost/refactoring-yunohost-format-arguments-parsing
WIP: Refactoring yunohost format arguments parsing
2020-09-10 02:18:51 +02:00
Alexandre Aubin
b9189b1979 Fix tests 2020-09-09 23:58:30 +02:00
Alexandre Aubin
c6905ed2c8 Merge branch 'dev' into permission_protection 2020-09-09 02:22:35 +02:00
Alexandre Aubin
9cdf8dffc9 Fix linter and tests 2020-09-09 02:21:26 +02:00
Alexandre Aubin
7483d04f54 Fix a weird issue that may arise during test, strangely unspotted so far 2020-09-09 00:06:23 +02:00
Alexandre Aubin
864a186862
Merge branch 'dev' into refactoring-yunohost-format-arguments-parsing 2020-09-08 22:25:09 +02:00
Alexandre Aubin
bfa0f304aa mail-aliases key only exists if it's not empty? 2020-09-08 22:23:03 +02:00
Alexandre Aubin
07fb335972 Missing imports 2020-09-08 21:20:40 +02:00
Alexandre Aubin
9792cfed22 Attempt to clarify/simplify some complex pieces of code 2020-09-08 21:13:55 +02:00
Alexandre Aubin
db93307fea
Update src/yunohost/app.py
Co-authored-by: Kayou <pierre@kayou.io>
2020-09-08 19:48:05 +02:00
Alexandre Aubin
33e1567c54 Minor wording/typo, semantic improvements 2020-09-08 18:52:59 +02:00
Kayou
ddb2be23a2
Merge branch 'dev' into refactoring-yunohost-format-arguments-parsing 2020-09-08 18:05:02 +02:00
Alexandre Aubin
83585b2375
Merge branch 'dev' into permission_protection 2020-09-08 17:06:49 +02:00
Alexandre Aubin
fa19c9480c Cleanup unused imports / misc 'fatal' flake8 errors 2020-09-03 17:01:24 +02:00
Alexandre Aubin
b869f3a7d7
Merge pull request #864 from YunoHost/abort_if_up_to_date_manifest
Implement `upgrade_only_if_version_changes` in manifest
2020-09-03 15:51:47 +02:00
Alexandre Aubin
3612ac434d Enable this behavior by default (no need to enable the option in the app manifest) 2020-08-31 19:45:41 +02:00
Alexandre Aubin
5f242aea18 Fix code that was half broken because of undefined vars :| 2020-08-27 17:54:44 +02:00
Alexandre Aubin
1ef1dbf564
Merge pull request #981 from YunoHost/default_questions_for_app_args
Default 'ask' questions for common app manifest args
2020-08-27 16:25:12 +02:00
Josué Tille
8e1e1e607b
Merge branch 'permission_protection' into remove_legacy_settings 2020-08-23 22:01:55 +02:00
Josué Tille
e6da35abd1
Merge branch 'dev' into permission_protection 2020-08-23 21:48:18 +02:00
Josue-T
7c6748e928
Merge branch '4.1' into abort_if_up_to_date_manifest 2020-08-18 21:07:30 +02:00
Alexandre Aubin
8a5914c2e7
Merge branch '4.1' into default-value-for-user-args 2020-08-14 17:31:23 +02:00
Alexandre Aubin
73356eed75 [php] Also patch php7.0 settings on the fly during restore 2020-07-27 19:23:53 +02:00
Alexandre Aubin
b747c17369 [php] Also patch stuff in subfolers inside scripts/ (some apps have an experimental_helpers/ folder) 2020-07-27 19:23:53 +02:00
Alexandre Aubin
9dbf626b36 [php] More ugly hack for php helpers shipped by apps that assume php 7.0 by default 2020-07-27 19:23:53 +02:00
Alexandre Aubin
5930b6ddf2 [php] Now use php7.3 instead of php7.0 + autopatch app scripts like we did for php5 2020-07-27 19:23:53 +02:00
Alexandre Aubin
60dd1fc848 [cleanup] Remove legacy migrations and code snippets which won't be needed anymore on buster 2020-07-27 19:22:21 +02:00
Étienne Mollier
0a9f4d59cb [fix] Ldap interface seems to expect lists everywhere now? 2020-07-27 19:20:36 +02:00
Laurent Peuch
bcd2364d74 [fix] re-put assert password is strong enough 2020-07-03 00:57:09 +02:00
Laurent Peuch
2eb5f6b6da [fix] re-put forbidding some chars in passwords 2020-07-03 00:49:14 +02:00
Laurent Peuch
49b9146065 [fix] reintroduce custom exceptions for input fields type 2020-07-03 00:33:44 +02:00
Alexandre Aubin
803d624b7c
Merge pull request #1005 from YunoHost/fix_skipped_urls_management
Don't add unprotected_urls if it's already in skipped_urls
2020-06-04 18:51:42 +02:00
Josué Tille
ff396d2729
Merge remote-tracking branch 'upstream/stretch-unstable' into permission_protection 2020-06-03 15:04:59 +02:00
Laurent Peuch
ecb52b4f11 [fix] allow optional app argument 2020-06-01 12:37:10 +02:00
Laurent Peuch
dc6a12f14b [mod] password argument can't have a default value 2020-06-01 12:08:35 +02:00
Laurent Peuch
05aa54ac0f [mod] refactor the whole argument parsing flow into a component oriented way 2020-06-01 11:50:06 +02:00
Alexandre Aubin
a23f02dbab Complain if apps savagely edit system configurations 2020-05-26 00:56:27 +02:00
Josué Tille
52c2127e35
Don't add unprotected_urls if it's already in skipped_urls 2020-05-25 10:45:40 +02:00
Alexandre Aubin
4c60012535 Fix encoding bullshit 2020-05-25 04:46:49 +02:00
Alexandre Aubin
58ce6e5e58 Webpath should also be normalized for args_list, so that we can get rid of the 'malformed path' check of the CI... 2020-05-23 23:12:16 +02:00
Alexandre Aubin
f0cc679828 Add an exception if packaging format is not recognized 2020-05-22 20:30:54 +02:00
Josué Tille
226bd15c55
Merge remote-tracking branch 'upstream/stretch-unstable' into permission_protection 2020-05-22 15:12:32 +02:00
Alexandre Aubin
d7891970c3 Clean unused code/imports 2020-05-19 19:56:04 +02:00
Bram
6a75716fb5
Merge pull request #989 from YunoHost/test-for-args-parsing
Test for args parsing
2020-05-16 00:41:40 +02:00