Commit graph

596 commits

Author SHA1 Message Date
Alexandre Aubin
cc59501b55 Naive implementation of visitors group (without any relation to the ssowat conf yet) 2019-09-15 16:59:34 +02:00
Alexandre Aubin
8e6ebd7979 Iteration on sanity checks for app operations 2019-09-15 02:20:01 +02:00
Alexandre Aubin
fc85ae0102 Key mismatch was causing an error + ended up reworking the sentence 2019-09-15 02:19:11 +02:00
Bram
a283b436e1 [mod] typo
Co-Authored-By: Alexandre Aubin <alex.aubin@mailoo.org>
2019-09-15 02:19:11 +02:00
Bram
7926b761fd [mod] typo
Co-Authored-By: decentral1se <lukewm@riseup.net>
2019-09-15 02:19:11 +02:00
Bram
22be1a320b [mod] typo
Co-Authored-By: decentral1se <lukewm@riseup.net>
2019-09-15 02:19:11 +02:00
Laurent Peuch
3130bb59ac [mod] stop apps upgrade if one upgrade fail 2019-09-15 02:19:11 +02:00
Alexandre Aubin
9c383ef06a Make migration more robust to re-runs 2019-09-14 18:21:42 +02:00
Alexandre Aubin
3df6ce17b6 Properly handle all those errors >.> ... 2019-09-13 20:34:30 +02:00
Alexandre Aubin
bdad4ffd71 c.f. issue 1405 ... those 'if ldap.stuff()' are complete bullshit from the very beginning since they never return False : instead they trigger an exception which means the current error management is completely meaningless ... so this refactorize all the places if found those + add proper error messages 2019-09-13 16:33:03 +02:00
Alexandre Aubin
2e14834e6b Misc fixes following tests 2019-09-13 16:33:03 +02:00
Alexandre Aubin
e40698ef20 Propagate changes on migration 2019-09-13 16:33:03 +02:00
Alexandre Aubin
bbfc62cf3e Backup/restore app permissions using yaml files which are much simpler to handle... 2019-09-13 16:32:32 +02:00
Alexandre Aubin
d5b2fb7a71 Misc fixes/improvements for i18n strings 2019-09-13 16:32:32 +02:00
Alexandre Aubin
38c43f4b9a Fix the whole operation logger / related to thing + propagate on the legacy addaccess 2019-09-13 16:31:03 +02:00
Alexandre Aubin
a1d3376613 Simplify permission_clear, now named permission_reset 2019-09-13 16:31:03 +02:00
Alexandre Aubin
41e6f1b81c Simplify permission_add/remove to just permission_update with --add and --remove, similar to what's done for groups 2019-09-13 16:31:03 +02:00
Alexandre Aubin
6276485665 Simplify permission_list ... it really sounds like we don't need all these options 2019-09-13 16:31:03 +02:00
Alexandre Aubin
112976f8ee Refuse to edit user primary groups 2019-09-13 16:31:02 +02:00
Alexandre Aubin
34df84e222 group add -> group create, to be consistent with user create/delete 2019-09-13 16:31:02 +02:00
Alexandre Aubin
6d604d711f
Merge pull request #768 from YunoHost/rework-migration-system
Rework migration system to have independent migrations
2019-09-13 03:01:59 +02:00
Laurent Peuch
92a6315514 [ux] apparently is super nerdy and you should use <variable> 2019-09-11 05:20:08 +02:00
Alexandre Aubin
dc7b8d1faa
Merge branch 'stretch-unstable' into rework-migration-system 2019-09-10 14:27:56 +02:00
Alexandre Aubin
92fa21641b Fix some stuff about removing the --revert option 2019-09-09 12:07:44 +02:00
Bram
9f07031da9
Merge pull request #762 from madtibo/pg_pwd_security
[enh] PostgreSQL password security
2019-08-28 23:59:43 +02:00
Laurent Peuch
68e9724517 [mod] remove catchall bad exception 2019-08-25 16:40:41 +02:00
Alexandre Aubin
fcae50a6e0 Move / test / fix migration for postgresql auth 2019-08-24 18:14:16 +02:00
Alexandre Aubin
ee67ebfd86 Remove deprecated helpers while still supporting them through hacky patching... 2019-08-18 01:40:48 +02:00
Alexandre Aubin
8dd590e6fc Implement explicit and implicit migrations 2019-08-17 18:47:24 +02:00
Alexandre Aubin
65b81e8677 Rewrite appslist system 2019-08-17 17:31:51 +02:00
Alexandre Aubin
a6607eaf30 Buuuuurn the appslist system 2019-08-17 15:47:11 +02:00
ljf
ed3e014fee [enh] Remove revert mechanism 2019-08-14 16:46:14 +02:00
Alexandre Aubin
fe3ecd7a7d c.f. issue #1136, don't fail miserably in case we can't change the hostname because that should be okay 2019-08-12 17:25:32 +02:00
Bram
268abdfbbd
Merge pull request #767 from YunoHost/ux_better_not_installed_apps
[ux] better error message for not installed app
2019-08-09 16:47:32 +02:00
Alexandre Aubin
dedc85e52a Implement / clean strings + fix some edge cases 2019-08-05 21:55:52 +02:00
Alexandre Aubin
add3bd29b0 Add dependencies between migrations 2019-08-05 21:10:03 +02:00
Alexandre Aubin
1a095f1299 Remove service_enable from stuff logged using operation logger ... it's buggy (i18n not working) + doesn't make sense that this one and not service_disable and service add/start/... 2019-08-05 19:10:48 +02:00
Alexandre Aubin
0ad91b027c
Merge pull request #754 from YunoHost/fix-log_corrupted_md_file
[fix] Path not displayed in log_corrupted_md_file
2019-08-04 18:01:53 +02:00
Alexandre Aubin
6a4fb9b423
s/apps/applists/ 2019-08-04 17:58:24 +02:00
Laurent Peuch
04e5c7c203 [mod] use read_yaml and only keep sensible code inside of exception 2019-08-04 17:45:40 +02:00
Laurent Peuch
98d6735586 [ux] better error message for not installed app 2019-07-30 01:27:50 +02:00
Alexandre Aubin
3132d35df6 Typos 2019-07-30 01:22:31 +02:00
Laurent Peuch
6b285bae88 [mod] remove silent exception in toos_update 2019-07-30 01:18:14 +02:00
Alexandre Aubin
59e2db99ba
Merge branch 'stretch-unstable' into group_permission 2019-07-05 20:59:10 +02:00
Alexandre Aubin
3b6ddd0262 [i18n] Fix / improve message 2019-06-06 18:40:42 +02:00
Laurent Peuch
f7b5886d10 [mod] ux, the user create command without arg fails 2019-06-05 12:23:31 +02:00
Alexandre Aubin
1d9eec1042 Typo / wording of migration steps 2019-05-31 18:40:44 +02:00
Alexandre Aubin
24cfc15536 Merge branch 'stretch-unstable' into group_permission 2019-05-31 18:15:09 +02:00
Alexandre Aubin
d0c982a422 Check for obvious conflict with already running apt/dpkg commands when running yunohost upgrade 2019-05-31 16:09:25 +02:00
Laurent Peuch
f6f73c23b1 [mod] make error more explicit 2019-05-28 02:10:07 +02:00