Commit graph

2490 commits

Author SHA1 Message Date
Alexandre Aubin
835701d590 Clean more madness / fix tests 2020-09-08 15:49:54 +02:00
Alexandre Aubin
a6bbe41705 Fuck it these messages are confusing people and we don't need them 2020-09-08 01:18:43 +02:00
Alexandre Aubin
4c75620ee9
Merge branch 'dev' into code-cleanup 2020-09-06 22:16:06 +02:00
Alexandre Aubin
5807d25667 Add possibility to download backups 2020-09-06 21:24:06 +02:00
Alexandre Aubin
fad373c016 Forgot to propagate change in user_create here as well 2020-09-05 19:05:45 +02:00
Alexandre Aubin
a5a3a905b6
Merge branch 'dev' into code-cleanup 2020-09-05 18:58:47 +02:00
Alexandre Aubin
3bc14bc280
Merge pull request #962 from ekhae/enh-1365-mail-user-creation-ux
[enh] c.f. issue 1365, asking a mail address during user creation is confusing ux, people try enter their existing mail addresses
2020-09-05 18:37:26 +02:00
Alexandre Aubin
5805acbf6a Reimplement --mail as a deprecated option 2020-09-05 18:35:35 +02:00
Alexandre Aubin
3fc4baa08f Propagate change to unit tests 2020-09-05 17:21:45 +02:00
Alexandre Aubin
49f6394233 autopep8 --in-place -a -a -a --ignore E402,E501,E722 -r src/yunohost/{__init__.py,certificate.py,diagnosis.py,domain.py,dyndns.py,firewall.py,hook.py,log.py,regenconf.py,service.py,settings.py,ssh.py,tools.py} 2020-09-03 17:37:08 +02:00
Alexandre Aubin
ecbd63636b autopep8 --in-place -a -a -a -a -a -r data/ doc/ tests/ src/yunohost/tests/ src/yunohost/utils/ src/yunohost/data_migrations/ 2020-09-03 17:36:59 +02:00
Alexandre Aubin
fa19c9480c Cleanup unused imports / misc 'fatal' flake8 errors 2020-09-03 17:01:24 +02:00
Alexandre Aubin
6f75b889b7
Merge pull request #955 from YunoHost/parent-relation-between-log-operations
Keep track of 'parent' operation in operation loggers
2020-09-03 15:52:00 +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
88997f5728 Small old issue where the number of line filtered doesnt match the requested number, and then the admin doesn't display the 'show more line' button.. 2020-09-02 20:57:51 +02:00
Alexandre Aubin
7edd3ff840 Minor fixes after tests.. 2020-09-02 20:30:50 +02:00
Alexandre Aubin
8831c638e6 Add options to include metadata about suboperations 2020-09-02 19:33:48 +02:00
Alexandre Aubin
083776bc4a Get rid of example settings, only keep them for tests 2020-09-02 16:30:29 +02:00
Alexandre Aubin
b10393a5e1
Merge pull request #1020 from YunoHost/do-not-compress-backups
Backup to uncompressed tar by default
2020-09-02 16:07:50 +02:00
Alexandre Aubin
9a7bd77269 Get rid of unused complexity for other log categories ... it's been since 3.2 and we only have operations 2020-09-01 18:09:15 +02:00
Alexandre Aubin
0f2e9ab1d6 Lazy loading of smtplib to reduce memory footprint a bit 2020-09-01 17:29:24 +02:00
Alexandre Aubin
d00421641c
Merge branch '4.1' into parent-relation-between-log-operations 2020-09-01 17:22:36 +02:00
Alexandre Aubin
bd064e317e
Use global var 2020-09-01 17:22:07 +02:00
Alexandre Aubin
624c7eaf77 Move import to top of file 2020-09-01 17:21:12 +02:00
Alexandre Aubin
6c3a74c5ac Handle case where the lock doesn't exist : just assume we're the root logger 2020-09-01 17:19:50 +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
dea6a18712 Polish UX 2020-08-31 19:33:09 +02:00
Alexandre Aubin
4a15358ed9 Revert a few unecessary changes / polish code 2020-08-31 19:33:09 +02:00
ekhae
78a2d012bb UX improved about mail and domains 2020-08-31 19:33:09 +02:00
Alexandre Aubin
48ee808711
Merge branch '4.1' into do-not-compress-backups 2020-08-31 19:10:38 +02:00
Alexandre Aubin
acaa05c2ca Fix a small issue where there would be duplicated entries in backup_list 2020-08-31 19:09:28 +02:00
Alexandre Aubin
839a7b9a47 Add a global setting to still compress tar archives 2020-08-31 19:08:43 +02:00
Alexandre Aubin
659d23ceb3 Simplify the damn spaggethi 2020-08-31 18:36:57 +02:00
Alexandre Aubin
efc2e7ef1d Fuck it let's keep that code simple, we don't need to maintain the list of exception that a command is likely to return, this is supposed to be simple to read if code is well written 2020-08-31 17:51:41 +02:00
Alexandre Aubin
98e972a49a Get rid of unimplemented Borg stuff because that code is complicated enough already -_- 2020-08-31 17:32:03 +02:00
Alexandre Aubin
77ce657ae1 Ugly hack to have the name of the main logger, otherwise error/exception messages ain't displayed 2020-08-27 19:22:09 +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
4286523653 Merge branch 'dev' into 4.1 2020-08-27 16:52:47 +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
Kayou
d491b3208b
Update acme_tiny to 4.1.0 (#1037) 2020-08-24 23:25:40 +02:00
Alexandre Aubin
6ec0e7b6af Fix stupid encoding issue when fetching service description 2020-08-24 15:41:41 +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
814f5043e3
Merge pull request #922 from YunoHost/clean-usr-bin-yunohost
YunoHost "as a python lib" ? Clean usr/bin/yunohost and yunohost-api ... Move moulinette initialization and other stuff to src/yunohost/__init__.py
2020-08-14 15:43:27 +02:00
Alexandre Aubin
4b14402c5a Moaaar debug 2020-08-12 18:13:15 +02:00
Alexandre Aubin
4cb6f7fddc Improve debugging for xtables -> nftables migration 2020-08-12 17:21:32 +02:00
Alexandre Aubin
59bd7d6664 Improve robustness of postgresql 9.6 -> 11 migration (in particular dropcluster in case cluster 11 doesn't exists yet) 2020-08-12 17:12:21 +02:00
Alexandre Aubin
accc2da4e3 Improve debugging of postgresql 9.6 -> 11 migration 2020-08-12 17:11:58 +02:00