Alexandre Aubin
|
e4163136bb
|
Don't attempt to delete the 'visitors' group during user/group tests
|
2019-10-09 23:40:50 +02:00 |
|
Alexandre Aubin
|
4bdcfb4373
|
Implement / fix i18n strings
|
2019-10-09 23:16:09 +02:00 |
|
Alexandre Aubin
|
e7d1cc5f94
|
Allow to specify right away what groups to allow for a permission when creating it
|
2019-10-09 23:02:57 +02:00 |
|
Alexandre Aubin
|
c315df9269
|
Wokay, getting tired of breaking the entire permission/group ecosystem because of bugs when developing.
|
2019-10-09 23:02:57 +02:00 |
|
Alexandre Aubin
|
2617fd2487
|
Fix issues related to regerating ssowat conf while hacking permissions...
|
2019-10-09 23:02:57 +02:00 |
|
Alexandre Aubin
|
88794805eb
|
We probably don't need to have multiple urls per permissions ...
|
2019-10-09 23:02:37 +02:00 |
|
Alexandre Aubin
|
9cecd71437
|
Fix permission_reset idempotency
|
2019-10-09 19:39:37 +02:00 |
|
Alexandre Aubin
|
96bc95656c
|
Allow the migration to proceed if slapd config was manually modified, warn the user about where the conf will be backuped
|
2019-10-09 19:22:31 +02:00 |
|
Alexandre Aubin
|
795cae1a4b
|
Merge branch 'stretch-unstable' into permission-visitors
|
2019-10-09 18:57:23 +02:00 |
|
Alexandre Aubin
|
df49af0ad0
|
Redundant operation considering we're deleting all groups right after
|
2019-10-09 18:55:11 +02:00 |
|
Alexandre Aubin
|
4a14cbd6e0
|
Fix / implement remaining test
|
2019-10-09 18:42:43 +02:00 |
|
Alexandre Aubin
|
ea1fd71def
|
Merge pull request #798 from YunoHost/detect-and-warn-early-about-unavailable-full-domain
[fix] Detect and warn early about unavailable full domains...
|
2019-10-08 18:35:31 +02:00 |
|
Alexandre Aubin
|
c70418c4b2
|
Fixes following tests
|
2019-10-08 18:21:04 +02:00 |
|
Alexandre Aubin
|
342fe2d4be
|
Add unit test for full-domain apps
|
2019-10-08 18:19:50 +02:00 |
|
Alexandre Aubin
|
2642b64af5
|
Detect and warn early about unavailable full domain requirement...
|
2019-10-08 16:11:52 +02:00 |
|
Luke Murphy
|
a1822e2f42
|
Use str instead of strerror (not present)
See https://forum.yunohost.org/t/cant-create-a-user-after-post-intsallation/9190.
|
2019-10-06 11:25:01 +02:00 |
|
Alexandre Aubin
|
d063348d9b
|
Merge pull request #795 from YunoHost/improve-permission-interface
Polish group/permissions interface + simplify code
|
2019-10-04 20:02:35 +02:00 |
|
Alexandre Aubin
|
692ba7c5cd
|
Merge pull request #814 from YunoHost/spookier-warnings-for-app-install
Spookier warnings for dangerous app install
|
2019-10-04 19:42:23 +02:00 |
|
Alexandre Aubin
|
6aebec4a34
|
Residual .migrate() -> .run()
|
2019-09-27 20:37:13 +02:00 |
|
Alexandre Aubin
|
babaf541b6
|
Decent quality is now at least level 5
|
2019-09-27 17:42:56 +02:00 |
|
Alexandre Aubin
|
a2ecbb9d8b
|
Make the warning spooky for notworking and thirdparty apps ...
|
2019-09-27 17:41:09 +02:00 |
|
Alexandre Aubin
|
c0e3d600b2
|
If we got fed an app url, extract the name of the app to test if we do know it
|
2019-09-27 17:17:03 +02:00 |
|
Alexandre Aubin
|
35bfe97d50
|
Copy pasta typo : all_users -> visitors
Co-Authored-By: Josue-T <josue@tille.ch>
|
2019-09-25 22:08:47 +02:00 |
|
Alexandre Aubin
|
93d383b957
|
Merge branch 'stretch-unstable' into improve-permission-interface
|
2019-09-22 18:38:15 +02:00 |
|
Alexandre Aubin
|
2a5053b66b
|
Misc wording and orthotypography...
Co-Authored-By: Allan Nordhøy <epost@anotheragency.no>
|
2019-09-21 13:32:40 +02:00 |
|
Alexandre Aubin
|
f0e8ef8456
|
Merge branch 'stretch-unstable' into improve-permission-interface
|
2019-09-21 12:16:04 +02:00 |
|
Alexandre Aubin
|
545f697df2
|
When using the legacy adduser function, remove all_users for backward compatibility
|
2019-09-20 21:56:44 +02:00 |
|
Alexandre Aubin
|
7102c5d0ca
|
Propagate the new relative url stuff to app_ssowatconf and actuall implement the whole permission system thing in app_map (related to ssowatconf)
|
2019-09-20 21:13:46 +02:00 |
|
Alexandre Aubin
|
2b51d247fb
|
Propagate changes on app helpers + tests
|
2019-09-20 20:14:14 +02:00 |
|
Alexandre Aubin
|
ebf2fb9a14
|
Use relative urls by default for permissions while still supporting absolute urls ...
|
2019-09-20 20:13:51 +02:00 |
|
Alexandre Aubin
|
379c28de90
|
Update src/yunohost/backup.py
Co-Authored-By: Allan Nordhøy <epost@anotheragency.no>
|
2019-09-20 15:00:31 +02:00 |
|
Alexandre Aubin
|
6ed062b41b
|
app_no_upgrade -> apps_already_up_to_date
|
2019-09-20 14:49:31 +02:00 |
|
Alexandre Aubin
|
ff2bbb0377
|
Fix / remove stale i18n strings
|
2019-09-20 14:49:06 +02:00 |
|
Alexandre Aubin
|
87050276b4
|
Finish to implement first visitor test + fixes following test ...
|
2019-09-19 19:26:41 +02:00 |
|
Alexandre Aubin
|
8d01a816f3
|
Typo fixes following tests
|
2019-09-18 18:39:05 +02:00 |
|
Alexandre Aubin
|
00795a7a01
|
Make migration re-run even more robust
|
2019-09-18 18:38:47 +02:00 |
|
Alexandre Aubin
|
64e388fa7d
|
Implement helper function to test if we're able to access a webpage being logged in (or not) as user
|
2019-09-17 23:38:39 +02:00 |
|
Alexandre Aubin
|
0436c16f91
|
Merge pull request #779 from YunoHost/tests-for-apps
[enh] Add unit/functional tests for apps
|
2019-09-17 20:51:02 +02:00 |
|
Alexandre Aubin
|
875c570c6d
|
Check if the upgrade got manually interrupted, c.f. same stuff in app_install
|
2019-09-16 00:13:41 +02:00 |
|
Alexandre Aubin
|
821a3ac4ff
|
Draft tests to check that permissions are actually propagated and effective on the SSO
|
2019-09-15 18:53:25 +02:00 |
|
Alexandre Aubin
|
b2a26a64a7
|
Naively migrate legacy and classical unprotected_uris = / that sets the app as public
|
2019-09-15 18:33:31 +02:00 |
|
Alexandre Aubin
|
c4743398e6
|
Deprecate (un)protected_uris and _regex settings + more explicit deprecation warning for app_add/remove/clearaccess
|
2019-09-15 18:17:46 +02:00 |
|
Alexandre Aubin
|
8abfd2a6e6
|
Naive implementation of protected/unprotected inplementation using the visitors group
|
2019-09-15 17:58:41 +02:00 |
|
Alexandre Aubin
|
95a8dfa71c
|
Simplify part of app_ssowatconf
|
2019-09-15 16:59:44 +02:00 |
|
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
|
aa3687ba02
|
Small trick needed to be able to test chained app upgrades
|
2019-09-15 02:28:32 +02:00 |
|
Alexandre Aubin
|
a476deb7fb
|
Tweak test conf for easier debugging
|
2019-09-15 02:28:32 +02:00 |
|
Alexandre Aubin
|
28c73cb336
|
Implement those remaining tests
|
2019-09-15 02:28:32 +02:00 |
|
Alexandre Aubin
|
799c68f1a8
|
Moar tests for apps breaking the system
|
2019-09-15 02:28:32 +02:00 |
|
Alexandre Aubin
|
3eb089ffc0
|
Add unit/functional tests for apps
|
2019-09-15 02:28:32 +02:00 |
|