Alexandre Aubin
|
de126fcdce
|
Don't allow failure for invalid python3 code + fix unsued variables
|
2021-01-02 20:43:39 +01:00 |
|
Alexandre Aubin
|
7aa3ff5255
|
Added a .strip() to moulinette's check_output because was tired of adding it all over the places
|
2020-10-31 18:58:19 +01:00 |
|
Alexandre Aubin
|
db14d73e11
|
Simplify(?) migration code
|
2020-10-30 00:11:40 +01:00 |
|
Alexandre Aubin
|
122a9dd877
|
Remove the trailing _1 in migration id ..?
|
2020-10-29 23:48:50 +01:00 |
|
Alexandre Aubin
|
e91f2de0dc
|
Move 'label' migration to migrate_legacy_permission_settings in legacy.py, because the previous code could led to some inconsistencies when restoring apps backuped before the migration
|
2020-10-29 23:26:28 +01:00 |
|
Alexandre Aubin
|
e047b67b1d
|
Move legacy permission setting migration to legacy.py
|
2020-10-29 23:16:27 +01:00 |
|
Alexandre Aubin
|
092caba505
|
Fix some inconsistent stuff in the migration considering app_setting() now maps get/set/delete of legacy permission setting to the new permission system ... gotta use the low-level helpers to really access the value of legacy settings
|
2020-10-29 20:57:47 +01:00 |
|
Alexandre Aubin
|
4279c108ba
|
Don't forget to handle _regex legacy permission settings
|
2020-10-29 19:58:07 +01:00 |
|
Alexandre Aubin
|
e564ecd3c0
|
Be sligtly more robust when re-running the migration
|
2020-10-29 19:57:11 +01:00 |
|
ljf
|
2b8f7e1494
|
[fix] SSH or SFTP permission migrations
|
2020-10-07 01:04:52 +02:00 |
|
Alexandre Aubin
|
fb44bd1c66
|
Try to uh simplify the whole full_path=True / False thing, most of the time internally we want it set to False
|
2020-10-01 23:47:56 +02:00 |
|
Alexandre Aubin
|
a7d105ace6
|
Merge branch 'dev' into permission_protection
|
2020-09-30 18:48:26 +02:00 |
|
Alexandre Aubin
|
c847b8265e
|
The real display label is later defined as App (Subperm) so not doing that now
|
2020-09-30 18:04:44 +02:00 |
|
Alexandre Aubin
|
00d40e5d31
|
Typo
|
2020-09-30 18:03:53 +02:00 |
|
Alexandre Aubin
|
11d6cd0cd3
|
Try to fix uh a bunch of weird undefined stuff
|
2020-09-30 17:55:28 +02:00 |
|
Alexandre Aubin
|
950dbc6b46
|
Merge pull request #935 from YunoHost/remove_legacy_settings
Remove legacy settings
|
2020-09-30 17:06:08 +02:00 |
|
Alexandre Aubin
|
2b4e14cca7
|
Hardcode some permission labels for non-trivial legacy permissions
|
2020-09-24 21:46:33 +02:00 |
|
Alexandre Aubin
|
4805d43b96
|
Force locale to C during postgresql migration to avoid some stupid issue related to locale
|
2020-09-16 15:27:32 +02:00 |
|
Alexandre Aubin
|
9cdf8dffc9
|
Fix linter and tests
|
2020-09-09 02:21:26 +02:00 |
|
Alexandre Aubin
|
83585b2375
|
Merge branch 'dev' into permission_protection
|
2020-09-08 17:06:49 +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 |
|
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 |
|
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 |
|
Alexandre Aubin
|
bbb6a4ce91
|
[firewall] Add draft of migration for xtable->nftable
|
2020-07-27 19:26:18 +02:00 |
|
Alexandre Aubin
|
50f1e9a681
|
[psql] Add migration for Postgresql cluster upgrade from 9.6 to 11
|
2020-07-27 19:25:24 +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
|
b6d1bb7901
|
[php] Also migrate app settings to fix inconsistencies (e.g. during remove of migrated apps)
|
2020-07-27 19:23:53 +02:00 |
|
Alexandre Aubin
|
2c7b3a1fd1
|
[php] Add migration procedure for php7.0 -> php7.3 pool files
|
2020-07-27 19:23:53 +02:00 |
|
Alexandre Aubin
|
fa5130a7fc
|
[cleanup] Move migration 0011 code to legacy.py
|
2020-07-27 19:23:07 +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 |
|
Alexandre Aubin
|
852dea07f3
|
Tweak custom disclaimer about the migration still being a bit touchy in preparation for stable release
|
2020-07-27 17:13:00 +02:00 |
|
Kayou
|
fca1df6805
|
[FIX] patch sources list for armbian (#1028)
* [FIX] patch sources list for armbian
* Update src/yunohost/data_migrations/0015_migrate_to_buster.py
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
|
2020-07-27 15:30:15 +02:00 |
|
Alexandre Aubin
|
d435889776
|
Make sure to validate/upgrade that we don't have any active weak certificate used by nginx at the beginning of the buster migration, otherwise nginx will later miserably fail to start
|
2020-06-29 22:04:04 +02:00 |
|
Alexandre Aubin
|
b373eb6076
|
Fix parsing of unscd version...
|
2020-06-21 23:35:50 +02:00 |
|
Alexandre Aubin
|
7a1e779684
|
Fix unscd downgrade + add debug infos to apt_install()
|
2020-06-19 18:46:53 +02:00 |
|
Alexandre Aubin
|
6defbfdbac
|
Fix small issue with unscd upgrade/downgrade ... new version ain't always 0.53.1, so find it using dirty scrapping
|
2020-06-10 16:09:05 +02:00 |
|
Alexandre Aubin
|
b57cfaac92
|
Add alpha stage disclaimer in the disclaimer
|
2020-06-06 03:33:38 +02:00 |
|
Alexandre Aubin
|
e544bf3e85
|
Do not disable sury during migration
|
2020-06-05 02:50:51 +02:00 |
|
Alexandre Aubin
|
9f1211e9b8
|
Also remove stupid progress messages during this migration
|
2020-06-05 02:50:51 +02:00 |
|
Alexandre Aubin
|
a26411dbad
|
Misc tweaks to avoid re-running steps already performed
|
2020-06-05 02:50:51 +02:00 |
|
Alexandre Aubin
|
a2b83c0f70
|
[wip] Draft of migration procedure for Stretch->Buster
|
2020-06-05 02:50:51 +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
|
fc07468051
|
Simplify / optimize reading version of yunohost packages...
|
2020-05-02 06:08:54 +02:00 |
|
Josué Tille
|
d5c61f2d27
|
Manage skipped, unprotected uris in root path case
|
2020-04-28 15:11:32 +02:00 |
|
Josué Tille
|
fe5ca24222
|
Migrate old skipped,unprotected,protected_uris and create permission instead
|
2020-04-28 15:11:32 +02:00 |
|