Commit graph

59 commits

Author SHA1 Message Date
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
342fe2d4be Add unit test for full-domain apps 2019-10-08 18:19:50 +02:00
Alexandre Aubin
f0e8ef8456
Merge branch 'stretch-unstable' into improve-permission-interface 2019-09-21 12:16:04 +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
Alexandre Aubin
094a2afe1a Simplify permission handling in app_map + add tests for it 2019-09-13 22:45:31 +02:00
Alexandre Aubin
3df6ce17b6 Properly handle all those errors >.> ... 2019-09-13 20:34:30 +02:00
Alexandre Aubin
ccc7583ec4 Add backup/restore test for permission app, and fix a small related bug 2019-09-13 16:33:25 +02:00
Alexandre Aubin
ec5069b71c Propagate changes on backup tests + fixes bugs found in the process 2019-09-13 16:33:25 +02:00
Alexandre Aubin
b912cd0aec Propagate all changes to tests 2019-09-13 16:33:03 +02:00
Alexandre Aubin
f1f6513796 Small tweaks for user group tests 2019-09-13 16:33:03 +02:00
Alexandre Aubin
c0361430e2 Try to simplify + comment the code of check_LDAP_db_integrity 2019-09-13 16:33:03 +02:00
Alexandre Aubin
c5d0a27098 Simplify group info and group update interface and code 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
51171b84bf main.metronome -> main.xmpp 2019-09-13 16:31:02 +02:00
Alexandre Aubin
cced69aa94 Simplify code using set comprehensions 2019-05-31 18:21:04 +02:00
Alexandre Aubin
24cfc15536 Merge branch 'stretch-unstable' into group_permission 2019-05-31 18:15:09 +02:00
Josué Tille
d589316244
Add test for permission linked to each apps 2019-05-28 22:08:34 +02:00
Alexandre Aubin
b464bc576c Propagate changes on tests as well 2019-05-17 15:49:16 +02:00
Josué Tille
fde8cafa4e
Merge remote-tracking branch 'upstream/stretch-unstable' into group_permission 2019-05-10 22:53:06 +02:00
Alexandre Aubin
5790ad493d
Merge pull request #672 from YunoHost/fix-1308-output-directory-not-empty
[fix] Backup fails because output directory not empty
2019-03-13 14:50:04 +01:00
ljf (zamentur)
1d37dd4fa2
[fix] Missing import 2019-03-13 13:32:50 +01:00
Alexandre Aubin
bf659db300 Not sure why this stop working, maybe new pytest version or something... 2019-03-08 19:54:26 +01:00
Alexandre Aubin
7f779ddd1c This ambiguity about 'ret' definitely looks like a bug ... 2019-03-07 17:10:01 +01:00
Josué Tille
5a6a85ab07
Add check LDAP integrity 2019-01-17 22:15:15 +01:00
Josué Tille
efffff750e
Implement Tests for groups and permissions 2019-01-17 22:15:15 +01:00
Josué Tille
b01e4b61f5
Implement backup - restore and update test 2019-01-17 22:15:13 +01:00
Josué Tille
c1dc117863
Implement permission for app 2019-01-17 22:15:13 +01:00
Alexandre Aubin
f16da6856f
Merge pull request #608 from YunoHost/fix_change_url
[fix] Fix the way change_url updates the domain/path
2019-01-17 16:07:14 +01:00
Josué Tille
616b0d020b
Fix tests 2018-12-30 18:59:33 +01:00
Josué Tille
4282d7edca
Fix tests 2018-12-29 21:16:55 +01:00
Alexandre Aubin
115b557b67 autopep8 + a few manual tweaks 2018-12-13 18:52:26 +00:00
Alexandre Aubin
b93e96d33b Fix tests + allow to bypass m18n in YunohostError if a raw message is provided 2018-12-12 19:38:05 +00:00
Alexandre Aubin
712f742ef6 Woopsies typo 2018-12-12 19:10:17 +00:00
Irina LAMBLA
4ba309a221 modif MoulinetteError to YunohostError 2018-12-12 19:01:28 +00:00
Josué Tille
d7f25bec2a Remove hack for authenticator
It's solved in the moulinette with #185
2018-12-11 20:48:24 +01:00
Alexandre Aubin
d06d1cdee4 Explicit that we don't backup/restore apps 2018-12-10 03:33:40 +01:00
Alexandre Aubin
96a6e370a3 [tests] Fix some issues with maindomain changing sometimes 2018-12-10 02:53:27 +01:00
Alexandre Aubin
f93aa40c2e Use 127.0.0.1 + domain header for local HTTP requests 2018-12-08 00:18:02 +01:00
Josué Tille
1f13676d06 Fix LDAP authenticator after backup 2018-12-07 23:14:57 +01:00
Josué Tille
03b1a2867c Fix tests 2018-12-07 22:33:13 +01:00
Alexandre Aubin
898d665900
Remove archivemount stuff (#491) 2018-06-15 15:29:05 +02:00
ljf (zamentur)
bb4af396d8 [fix] Make read-only mount bind actually read-only (#343)
* [fix] Mount bind readonly not really readonly
* Attempt to clarify and fix some issues with the readonly mount
* Fix some missing messages and exception handling
* Get rid of horrible bash command
* Use subproces.check_call to avoid security hazard
* Revert comment about hard link
* Add test that mount binds are readonly
2017-08-13 22:28:36 +02:00
ljf (zamentur)
3ede5fc39d [fix] Backup without info.json (#342)
* [fix] Backup without info.json
* Add test of archive restore with no info.json
* Fix exception handling in backup_delete when info.json is missng
2017-08-13 22:26:28 +02:00
Alexandre Aubin
d6d4717bb2 [fix] Tests were broken from recent changes about m18n 2017-08-07 12:16:31 -04:00
Laurent Peuch
baf0d098f5 [mod] explicitely import previously globals magic variables 2017-07-25 21:32:20 +02:00
Alexandre Aubin
c96d5f90ec Don't verify SSL during changeurl tests :/ (#332) 2017-07-21 00:45:05 +02:00