Commit graph

328 commits

Author SHA1 Message Date
Alexandre Aubin
5de9e4fe6a Yolorework the repo dir structure 2021-11-10 17:56:02 +01:00
Alexandre Aubin
fca4cc7d3b Merge branch 'dev' into bullseye 2021-11-10 16:56:43 +01:00
yunohost-bot
a97b282d97 [CI] Format code with Black 2021-11-01 20:34:04 +00:00
Alexandre Aubin
c6dfe08973 Drop some dyndns yagni: we don't need to be able to specify a custom dyndns host... 2021-10-24 22:16:07 +02:00
Alexandre Aubin
3591a01fdb Merge branch 'dev' into bullseye 2021-10-02 20:08:36 +02:00
yunohost-bot
a40ecdc986 [CI] Format code 2021-10-02 02:29:22 +00:00
Alexandre Aubin
6c03cf2b11 Yoloattempt to try to cleanup some ugly os.system 2021-10-01 20:22:59 +02:00
Alexandre Aubin
206b430a9f Offload appcatalog stuff to a separate file to limit the size of app.py 2021-10-01 02:50:30 +02:00
Alexandre Aubin
ae08698253 Merge branch 'migrate_to_bullseye' into bullseye 2021-09-21 16:04:32 +02:00
yunohost-bot
d77a1071bc [CI] Format code 2021-09-20 11:41:19 +00:00
Alexandre Aubin
1c46636b7e tests: add mypy + misc fixes to make test pass 2021-09-19 23:32:26 +02:00
Kay0u
70bff61749
Merge branch 'dev' into bullseye 2021-09-01 17:14:21 +02:00
Alexandre Aubin
a2009d6a9a Propagate changes from moulinette : get rid of msettings, and prompt/display are also wrapped in a 'Moulinette' object 2021-07-09 21:49:12 +02:00
Alexandre Aubin
5e2478d309 Propagate change from the moulinette (no more msignals madness) 2021-07-09 20:43:52 +02:00
Alexandre Aubin
11a638ed70 Fix 'apps' undefined 2021-06-04 18:22:48 +02:00
Alexandre Aubin
923f703ea0
tools_upgrade with apps : 'apps' undefined (well, it was defined, but not with the appropriate content) 2021-06-04 18:22:32 +02:00
Alexandre Aubin
1051dbb3cc Misc legacy cleanup 2021-05-28 02:17:40 +02:00
yunohost-bot
a8b70bea71 [CI] Format code 2021-05-24 15:08:57 +00:00
Alexandre Aubin
2d45c18961 Unused imports 2021-05-24 00:32:53 +02:00
Alexandre Aubin
c516cc8eb1 Create admin folder directly in slapd init 2021-05-24 00:03:10 +02:00
Alexandre Aubin
9dccfa721e Fix ldap init using slapadd 2021-05-23 23:07:28 +02:00
ljf
d241db4c33 [fix] Be able to init slapd in a chroot 2021-05-21 00:46:31 +02:00
yunohost-bot
66f2613518 [CI] Format code 2021-04-17 00:31:06 +00:00
Alexandre Aubin
16e20fed77 Don't re-run migration if backup is from the same version (mainly to avoid weird stuff during tests) 2021-04-17 01:10:58 +02:00
Alexandre Aubin
3b35f61028 Fix DepreciationWarning 2021-04-17 01:00:28 +02:00
Alexandre Aubin
eadca492f8
Merge branch 'dev' into sftp_permission 2021-04-16 17:55:54 +02:00
Alexandre Aubin
00b6af5dcb
Merge branch 'dev' into uniformize-actionmap-api 2021-04-09 18:39:45 +02:00
Alexandre Aubin
93813e773f Typo 2021-04-02 04:53:37 +02:00
Alexandre Aubin
c552b4f006 Be able to define directly in migrations hooks that are called when restoring system/apps prior to the introduction of the migration 2021-04-02 04:28:52 +02:00
Alexandre Aubin
22e397f71c Fix oopsies 2021-04-01 20:12:17 +02:00
Alexandre Aubin
ce946cc0b0 Introduce a decorator to automatically backup/rollback ldap db during ldap-related migrations 2021-04-01 19:12:19 +02:00
Alexandre Aubin
1fb9ddd42a Tweak tools update/upgrade to have a single 'target' arg for simpler routing 2021-03-19 17:45:37 +01:00
Alexandre Aubin
01ccab5252 Add semantic of YunohostValidationError for all exceptions which are related to validating stuff 2021-03-11 01:39:52 +01:00
Kay0u
bfd7257a8c
fix linter, remove allow_failure for corresponding tests 2021-02-02 16:16:07 +01:00
Laurent Peuch
97f26015c6 [fix] kill all bare exceptions 2021-02-02 14:40:29 +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
29a3ad0484
Merge branch 'dev' into move-ldap-init-before-postinstall 2021-01-31 16:21:23 +01:00
Alexandre Aubin
3c0649f1e3
Merge branch 'dev' into folder-init-in-regenconf 2021-01-31 16:19:03 +01:00
Alexandre Aubin
68e24c986a
Merge pull request #1062 from YunoHost/move-local-ca-mangement-to-regenconf
Refactor local CA management for more consistency and simpler postinstall
2021-01-31 16:17:20 +01:00
Alexandre Aubin
2758c1636b
Merge branch 'dev' into report_low_total_space_for_rootfs 2021-01-31 14:38:34 +01:00
Alexandre Aubin
35425a1b36
Merge pull request #1147 from YunoHost/dont_miserably_rerun_postinstall
Abort postinstall if /etc/yunohost/apps ain't empty
2021-01-30 16:47:04 +01:00
Alexandre Aubin
2c73c50cce
Unused import 2021-01-24 05:05:28 +01:00
Alexandre Aubin
ed35915e7f Move ldap initialization before the postinstall 2021-01-23 00:03:25 +01:00
Alexandre Aubin
f755259790 Initialize folders during .deb install instead of regen conf 2021-01-23 00:01:26 +01:00
Alexandre Aubin
25f2bdf83a Refactor local CA management for more consistency and simpler postinstall 2021-01-22 23:58:12 +01:00
Alexandre Aubin
1fdccb7c7a Forgot to rename function #oopsies 2021-01-21 23:30:15 +01:00
Alexandre Aubin
9971c1751b Abort postinstall if /etc/yunohost/apps ain't empty 2021-01-21 22:49:40 +01:00
Alexandre Aubin
c7b55cdfad migrations migrate -> migrations run 2021-01-21 22:30:31 +01:00
Alexandre Aubin
fd61900352 Also complain about low rootfs total disk space during postinstall 2021-01-21 20:53:07 +01:00