Commit graph

680 commits

Author SHA1 Message Date
Alexandre Aubin
e639c8cd5a Move applist refresh cron + lets encrypt renewal cron to regen conf 2021-03-10 19:00:24 +01:00
Kay0u
bfd7257a8c
fix linter, remove allow_failure for corresponding tests 2021-02-02 16:16:07 +01:00
yunohost-bot
c4439110e1 [CI] Format code 2021-02-02 03:37:40 +00:00
Alexandre Aubin
10ba00affe logger.exception -> logger.error because logger.exception displays a stacktrace and it ain't relevant in any of these cases 2021-02-02 03:57:33 +01:00
Alexandre Aubin
bff5ad59dc
Merge pull request #1070 from cyxae/enh-app-search
Define a new "yunohost app search" command
2021-01-24 05:04:13 +01:00
Alexandre Aubin
c091559e7b
Merge pull request #1077 from YunoHost/return-additional-error-data-to-api
Support more complex errors (be able to return additional data in a json structure)
2021-01-23 16:05:54 +01:00
Alexandre Aubin
041e175319 Merge branch '4.1.6-hotfixes' into dev 2021-01-20 02:13:46 +01:00
Alexandre Aubin
35a0711713
Stupid yolopatch for not-normalized app path settings >_> (#1141)
* Update app.py
* Be more careful (c.f. _normalize_domain_path code ... maybe the path doesn't start with / either ..)
* Annnnnd ignore case where path is '/' which is fine
2021-01-20 01:28:55 +01:00
Alexandre Aubin
09acc2a466
Merge branch 'dev' into less-madness-for-hook-exec 2021-01-19 23:25:43 +01:00
Alexandre Aubin
b98dd8585b
Merge pull request #1116 from YunoHost/enh-python3
Python2 -> Python3
2021-01-19 23:06:57 +01:00
Alexandre Aubin
739d831cf9
Merge pull request #1135 from YunoHost/fix-default-in-arg-parse
fix default arg parse for password
2021-01-14 19:46:54 +01:00
Kay0u
e11741ca94
fix default arg parse for password 2021-01-12 10:53:12 +01:00
Kay0u
5999f13142
fix boolean arg parse 2021-01-12 10:21:20 +01:00
Alexandre Aubin
c43a51ba30
Merge branch 'dev' into enh-python3 2021-01-10 18:31:19 +01:00
Alexandre Aubin
25ed25e6e9 Annnnd our legacy app is using restore_dir in restore script... 2021-01-04 03:50:25 +01:00
Alexandre Aubin
b0accd506e Report / patch old usage of foo= in install/backup/restore scripts 2021-01-04 01:06:19 +01:00
Alexandre Aubin
46a902a263 Merge branch 'dev' into less-madness-for-hook-exec 2021-01-03 23:05:44 +01:00
Alexandre Aubin
de126fcdce Don't allow failure for invalid python3 code + fix unsued variables 2021-01-02 20:43:39 +01:00
Alexandre Aubin
58522d4105 Had a buggy exception here ... this syntax ain't supported anymore in python3 2021-01-02 20:31:42 +01:00
Alexandre Aubin
2b12b67847 python3: Add some list() where that sounds relevant 2021-01-02 19:48:44 +01:00
Alexandre Aubin
4491568e6d
Merge pull request #1066 from YunoHost/no-upgrade-advertise-for-bad-quality-apps
Do not advertise upgrades for bad-quality apps
2021-01-02 00:40:16 +01:00
Laurent Peuch
effc87da26 [fix] key name of app label wasn't the real label 2021-01-01 18:36:11 +01:00
Laurent Peuch
9eb6fa1961 [enh] display domain_path of app on app list 2021-01-01 15:53:50 +01:00
Alexandre Aubin
cce020daac Uniformize check_output calls to use moulinette helpers which shall now automatically decode() automatically + also strip() etc 2021-01-01 05:03:55 +01:00
Alexandre Aubin
5f0b1b7450 Encoding fixes 2021-01-01 04:06:09 +01:00
Alexandre Aubin
8e30768598 2to3-2.7 ./src/yunohost/{,data_migrations/,utils/,tests/}*.py data/hooks/diagnosis/*.py -w -x dict -x print --nobackups --no-diffs 2020-12-30 21:53:43 +01:00
Kayou
4f1ea2405d
fix my mess 2020-12-18 15:11:37 +01:00
Kay0u
401778f68e
fix the fixme 2020-12-11 16:22:29 +01:00
Kay0u
c823f5ffd5
indent ssow conf 2020-12-11 15:09:37 +01:00
Alexandre Aubin
efdb2ee6b5 Gotta make sure everything is a string 2020-12-05 21:06:37 +01:00
Alexandre Aubin
2428f01521 Do not pass app args to the command line, they're already provided in the env... 2020-12-05 20:35:53 +01:00
Alexandre Aubin
74272de52c
We need to have YNH_MANIFEST_VERSION also defined during backup/restore (#1088)
* We need to have YNH_MANIFEST_VERSION also defined during backup/restore

Co-authored-by: Kayou <pierre@kayou.io>
2020-11-30 23:20:13 +01:00
Alexandre Aubin
5bf4a2d60b
Merge pull request #1082 from YunoHost/add-number-arg-parser
Add number arg parser
2020-11-29 04:09:27 +01:00
Alexandre Aubin
f6ac6bb4f7
Merge pull request #1081 from YunoHost/fix-show-config-panel
[fix] show config panel
2020-11-29 04:08:17 +01:00
Alexandre Aubin
38bd061b98
Merge pull request #1076 from YunoHost/translate_legacy_rules_in_ssowat_conf_persistent
Automatically translate legacy rules in /etc/ssowat/conf.json.persistent
2020-11-28 17:31:32 +01:00
Kayou
1ddca81f5a
Use isdigit 2020-11-25 19:13:50 +01:00
Kay0u
d79c9b4bf8
Add number arg parser 2020-11-25 18:42:18 +01:00
Alexandre Aubin
fe6333d2d2
Merge pull request #1079 from YunoHost/fix-optional-args
Fix optional args
2020-11-25 18:38:23 +01:00
Kay0u
ad4678362a
[fix] show config panel 2020-11-25 18:30:00 +01:00
Kay0u
f0d3d36365
An optional password should be either empty or strong enough 2020-11-25 11:41:00 +01:00
Kay0u
93fd101663
check if password is strong enough only if it's not an optional argument 2020-11-25 11:14:15 +01:00
Alexandre Aubin
2f19f3311e Uniformize imports (who knows if there's a completely unrelated python module called 'permission' or 'utils' maybe...) 2020-11-25 03:23:39 +01:00
Alexandre Aubin
c39bfd309d Move all the webapp permissions handling at the end of app_install to app_register_url for the sake of clarity/consistency 2020-11-25 03:22:48 +01:00
Kay0u
4ce9e4a446
set url when register and url 2020-11-24 23:10:57 +01:00
Alexandre Aubin
bfecb8b7dc Support more complex errors (be able to return additional data in a json structure) 2020-11-22 02:19:56 +01:00
Alexandre Aubin
3f8b922e92 Automatically translate legacy rules in /etc/ssowat/conf.json.persistent 2020-11-21 17:41:43 +01:00
Alexandre Aubin
083b3ead74 Gotta return here to not create a regular setting for legacy settings... 2020-11-16 19:15:31 +01:00
Alexandre Aubin
37d7eace43 Merge branch 'privacy-hotfix' into dev 2020-11-04 17:53:12 +01:00
Alexandre Aubin
d34d6b1949 App installs logs were still disclosing secrets when shared sometimes... 2020-11-04 17:26:02 +01:00
Dave
6b04a4cae4 Define a new "yunohost app search" command 2020-11-02 15:30:23 +01:00