Alexandre Aubin
|
37d7eace43
|
Merge branch 'privacy-hotfix' into dev
|
2020-11-04 17:53:12 +01:00 |
|
Alexandre Aubin
|
d34d6b1949
|
App installs logs were still disclosing secrets when shared sometimes...
|
2020-11-04 17:26:02 +01:00 |
|
Kay0u
|
45f91fec24
|
Fix tests, again
|
2020-11-02 19:45:04 +01:00 |
|
Alexandre Aubin
|
5cfaa7d72c
|
Fix tests
|
2020-11-02 19:12:52 +01:00 |
|
Dave
|
6b04a4cae4
|
Define a new "yunohost app search" command
|
2020-11-02 15:30:23 +01:00 |
|
Alexandre Aubin
|
337387ccbc
|
Make sure the account key exists when renewing certificate (in particular because the account key is not backup/restored)
|
2020-11-01 18:59:23 +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
|
5c19fb0a42
|
List all permissions in app_info() output, not just those with actual urls ... otherwise for example the user won't be able to change the label from the webadmin for non-webapps ?
|
2020-10-31 14:13:16 +01:00 |
|
Alexandre Aubin
|
d96d06e915
|
Label ain't in setting anymore ... but let's add a shortcut to get it easily from app_info()
|
2020-10-31 14:12:16 +01:00 |
|
Alexandre Aubin
|
05b1a8f96e
|
autopep8 --in-place -a -a -a --ignore E402,E501,E722 -r src/yunohost/*.py
|
2020-10-30 15:22:40 +01:00 |
|
Alexandre Aubin
|
485044335d
|
autopep8 --in-place -a -a -a -a -a -r data/ doc/ tests/ src/yunohost/tests/ src/yunohost/utils/ src/yunohost/data_migrations/
|
2020-10-30 15:18:16 +01:00 |
|
Alexandre Aubin
|
31b68b9463
|
== True -> is True
|
2020-10-30 15:16:56 +01:00 |
|
Alexandre Aubin
|
c45c182980
|
Merge pull request #861 from YunoHost/permission_protection
Extends permissions features
|
2020-10-30 14:51:52 +01:00 |
|
Alexandre Aubin
|
d2c6397f82
|
Fix typo in previous fix ;[
|
2020-10-30 14:26:35 +01:00 |
|
Alexandre Aubin
|
51f5b3f716
|
Fix a regression for full-domain apps
|
2020-10-30 01:17:30 +01:00 |
|
Alexandre Aubin
|
6085918b03
|
Typo in comment
Co-authored-by: Kayou <pierre@kayou.io>
|
2020-10-30 00:55:50 +01:00 |
|
Alexandre Aubin
|
3a693b58de
|
Fix an edge case where app is install on the root...
|
2020-10-30 00:19:17 +01:00 |
|
Alexandre Aubin
|
db14d73e11
|
Simplify(?) migration code
|
2020-10-30 00:11:40 +01:00 |
|
Alexandre Aubin
|
4e40f8b86a
|
The key can't be in app_settings anymore because it got migrated ...
|
2020-10-30 00:04:40 +01:00 |
|
Alexandre Aubin
|
d4635f0eaa
|
Fix i18n key IDs so that translators don't have to retranslate something already translated..
|
2020-10-29 23:49:23 +01:00 |
|
Alexandre Aubin
|
122a9dd877
|
Remove the trailing _1 in migration id ..?
|
2020-10-29 23:48:50 +01:00 |
|
Alexandre Aubin
|
00a10c9a5d
|
Fix some possible label inconsistencies when restoring apps permissions
|
2020-10-29 23:35:03 +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
|
2cb6f4e2c2
|
Don't add show_tile for non-webapps apps
|
2020-10-29 22:26:13 +01:00 |
|
Alexandre Aubin
|
fd5c66db1b
|
Do not display regexes in app_map because that doesn't really make sense ..?
|
2020-10-29 21:54:12 +01:00 |
|
Alexandre Aubin
|
e748f7a80e
|
Fix handling of multiple legacy perm _regexes in app_setting set
|
2020-10-29 21:50:43 +01:00 |
|
Alexandre Aubin
|
c2b24d1e1c
|
Keep track of the 'sublabel' for sub-permissions... c.f. also webadmin
|
2020-10-29 21:02:08 +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
|
66f5d14e0c
|
Only display the deprecration warning when setting the setting (avoid displaying a huge wall of warnings when getting/deleting the legacy settings)
|
2020-10-29 20:33:48 +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 |
|
Alexandre Aubin
|
65673c4df6
|
Merge pull request #1060 from YunoHost/drop-manifest-arg-type-app
We don't need app-type argument for manifest questions ?
|
2020-10-27 17:01:08 +01:00 |
|
Alexandre Aubin
|
46268185c5
|
Remove stale code
|
2020-10-14 04:08:34 +02:00 |
|
Laurent Peuch
|
7154551882
|
[fix] intermediate_certificate is now included in signed certificate
Fixes #1644
|
2020-10-14 03:50:21 +02:00 |
|
Alexandre Aubin
|
cb1d02243e
|
Do not advertise upgrades for bad-quality apps
|
2020-10-14 01:45:53 +02:00 |
|
Alexandre Aubin
|
711b64f81e
|
No need to display this --test_status warning when adding postgresql service
|
2020-10-12 15:13:13 +02:00 |
|
Alexandre Aubin
|
3a23f9715f
|
We don't need app-type argument for manifest questions
|
2020-10-08 20:04:50 +02: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
|
de96b094b2
|
Fix regression following small refactoring
|
2020-10-01 19:19:00 +02:00 |
|
Alexandre Aubin
|
a5df52200a
|
Moaaar fixes
|
2020-09-30 23:11:41 +02:00 |
|
Alexandre Aubin
|
62e9250297
|
Annnnd more typo/untested stuff #shame
|
2020-09-30 18:51:38 +02:00 |
|
Alexandre Aubin
|
a7d105ace6
|
Merge branch 'dev' into permission_protection
|
2020-09-30 18:48:26 +02:00 |
|
Alexandre Aubin
|
d5abc12b82
|
Many typo :|
|
2020-09-30 18:18:39 +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
|
07cec39af5
|
Move a bunch of function from domain.py to app.py because it's much simpler to have them here
|
2020-09-30 17:38:42 +02:00 |
|
Alexandre Aubin
|
1ce1ecc2be
|
Fix tests, keep a special exception when we know we're checking full-domain apps
|
2020-09-30 17:30:04 +02:00 |
|