Commit graph

3345 commits

Author SHA1 Message Date
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
98b1c30330 Simplify app_ssowatconf code related to permissions 2019-09-13 16:31:03 +02:00
Alexandre Aubin
853c6a161a Simplify permission_sync_to_user ... force is never set to True so I dropped it... 2019-09-13 16:31:03 +02:00
Alexandre Aubin
574e9aea44 Simplify permission_create/urls/delete interface and code 2019-09-13 16:31:03 +02:00
Alexandre Aubin
3535cb655f Fix call of app add/remove access hooks 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
e5676c4b30 Propagate change in permission_list to permission_update 2019-09-13 16:31:03 +02:00
Alexandre Aubin
45483f4116 --short and --full options for group_list and permission_list 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
c5d0a27098 Simplify group info and group update interface and code 2019-09-13 16:31:02 +02:00
Alexandre Aubin
0f7b8c3515 Simplify group list interface and code 2019-09-13 16:31:02 +02:00
Alexandre Aubin
a6d68c76c4 permission_update -> permission_urls (+ tweak the helper name) so that it's more differentiable from user_permission_update 2019-09-13 16:31:02 +02:00
Alexandre Aubin
f60af2053f permission_add/remove becomes create/delete to be consistent with user and group create/delete. In the context of permissions, add/remove shall instead be related to adding/removing an existing permission for a user or group. 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
0f688caccd Swap 'main' in permission namespace 2019-09-13 16:31:02 +02:00
Alexandre Aubin
51171b84bf main.metronome -> main.xmpp 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
Alexandre Aubin
a4ec76e77b Remove debug print 2019-09-10 22:05:03 +02:00
Josué Tille
84fe23786c Fix permission sychronization 2019-09-10 22:05:03 +02:00
Alexandre Aubin
ec3856a25c Propagate changes about revert mechanism and naming on migration 12 2019-09-10 17:15:08 +02:00
Alexandre Aubin
dc7b8d1faa
Merge branch 'stretch-unstable' into rework-migration-system 2019-09-10 14:27:56 +02:00
Alexandre Aubin
b29731c28b We don't need this try/except 2019-09-10 14:25:51 +02:00
Alexandre Aubin
92fa21641b Fix some stuff about removing the --revert option 2019-09-09 12:07:44 +02:00
Alexandre Aubin
3d10e8fef2
Merge pull request #786 from YunoHost/dyndns_update_force
"yunohost dyndns update" "--force" and "--dry-run"
2019-09-01 16:23:14 +02:00
Alexandre Aubin
a208763d0c
Merge pull request #747 from YunoHost/python-hooks-reloaded
Python hooks reloaded
2019-08-31 04:08:52 +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
2aa5e7f640 [mod] raw string for correct escape sequence 2019-08-27 19:45:45 +02:00
Laurent Peuch
87435775ee [enh] add --dry-run option to dyndns update 2019-08-27 19:45:33 +02:00
Laurent Peuch
b8f27b7593 [enh] add --force to 'dyndns update' 2019-08-26 17:35:18 +02:00
Laurent Peuch
19dbe87167 [mod] regex must be stored in raw strings 2019-08-25 16:50:30 +02:00
Laurent Peuch
0849adbee1 [mod] remove useless weird comment 2019-08-25 16:48:21 +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
d764b02701 Annnnd I forgot to add the migration 2019-08-24 17:54:35 +02:00
madtibo
2fc13a7af0 switch from password to md5 authentication in postgresql 2019-08-24 17:52:08 +02:00
Alexandre Aubin
ff2caae183 Now guess hook type using mimetypes lib 2019-08-24 15:56:52 +02:00
Alexandre Aubin
2ffb413a46 This TODO is implemented now 2019-08-24 15:49:25 +02:00
Alexandre Aubin
b22ad09e63
Update src/yunohost/data_migrations/0010_migrate_to_apps_json.py
Co-Authored-By: decentral1se <lukewm@riseup.net>
2019-08-24 12:52:09 +02:00
Bram
3d7c3d13de
Merge pull request #783 from yalh76/token
adding token to not be logged
2019-08-20 21:18:48 +02:00
yalh76
98423a7f91 adding token to not be logged 2019-08-20 20:23:45 +02:00
Kayou
63d364e547
[Fix] Upgrade: Not enough arguments for format string 2019-08-18 16:56:18 +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
005ccea610 Make the PEP8 happy even though that's unrelated code to the current PR but meh ... 2019-08-17 19:02:38 +02:00
Alexandre Aubin
8dd590e6fc Implement explicit and implicit migrations 2019-08-17 18:47:24 +02:00
Alexandre Aubin
050750b7c9 Propagate the changes on other parts of the code relying on the appslist system 2019-08-17 17:43:38 +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