Commit graph

2490 commits

Author SHA1 Message Date
Alexandre Aubin
803d624b7c
Merge pull request #1005 from YunoHost/fix_skipped_urls_management
Don't add unprotected_urls if it's already in skipped_urls
2020-06-04 18:51:42 +02:00
Alexandre Aubin
0a9875b607 Fix regen-conf mechanism for SSH 2020-06-03 20:17:49 +02:00
Alexandre Aubin
03432349d7 Add -o Acquire::Retries=3 to fix some stupid issues happening sometimes 2020-06-03 19:29:32 +02:00
Josué Tille
ff396d2729
Merge remote-tracking branch 'upstream/stretch-unstable' into permission_protection 2020-06-03 15:04:59 +02:00
Laurent Peuch
ecb52b4f11 [fix] allow optional app argument 2020-06-01 12:37:10 +02:00
Laurent Peuch
dc6a12f14b [mod] password argument can't have a default value 2020-06-01 12:08:35 +02:00
Laurent Peuch
40dc8397c1 [mod] stop skipping tests that now works 2020-06-01 12:08:35 +02:00
Laurent Peuch
05aa54ac0f [mod] refactor the whole argument parsing flow into a component oriented way 2020-06-01 11:50:06 +02:00
Alexandre Aubin
b9bf558b19 Properly handle stale hashes of files even when file got manually removed/modified 2020-05-28 22:07:12 +02:00
Alexandre Aubin
84239ac052 Get rid of old hashes of file that 'are expected to be removed' and are indeed 'already removed' 2020-05-28 21:37:15 +02:00
Alexandre Aubin
17eec25ed2 Buuuurn glances 2020-05-28 20:48:01 +02:00
Alexandre Aubin
48a299cafd
Merge pull request #1004 from YunoHost/test-for-args-parsing-2
Test for args parsing 2
2020-05-27 20:38:15 +02:00
Alexandre Aubin
77bd9ae33f Stop trying to fetch log categories that are not implemented yet T.T 2020-05-26 04:20:56 +02:00
Alexandre Aubin
64596bc166 Get rid of unicode warning 2020-05-26 03:17:51 +02:00
Alexandre Aubin
a23f02dbab Complain if apps savagely edit system configurations 2020-05-26 00:56:27 +02:00
Josué Tille
52c2127e35
Don't add unprotected_urls if it's already in skipped_urls 2020-05-25 10:45:40 +02:00
Laurent Peuch
0aebd575f7 [mod] add tests for display_text arguments parsing 2020-05-25 06:33:19 +02:00
Laurent Peuch
61e539f4ea [mod] add tests for apps arguments parsing 2020-05-25 06:10:57 +02:00
Alexandre Aubin
4c60012535 Fix encoding bullshit 2020-05-25 04:46:49 +02:00
Vincent Rubiolo
cf45806098 Typo fix for error or diagnostics messages
We are talking about expectations, not exceptions :-)
2020-05-24 16:41:49 +02:00
Laurent Peuch
a8f8ee5e6c [mod] add tests for user arguments parsing 2020-05-24 04:22:34 +02:00
Laurent Peuch
306f4e06ab [mod] add tests for domains 2020-05-24 01:40:48 +02:00
Laurent Peuch
69f8ab1ac4 [mod] black file 2020-05-24 01:16:18 +02:00
Laurent Peuch
e181866dca [mod] add tests for password 2020-05-24 01:16:18 +02:00
Laurent Peuch
d1d38b173c [mod] add tests for path 2020-05-24 01:16:18 +02:00
Laurent Peuch
ebf9fa9d71 [mod] moar tests and tests for password argument parsing 2020-05-24 01:16:18 +02:00
Laurent Peuch
1b52eafcb7 [mod] blablabla testin' 2020-05-24 01:16:18 +02:00
Laurent Peuch
e41d6186ee [mod] and more tests 2020-05-24 01:16:18 +02:00
Laurent Peuch
ec9b020376 [mod] moar test for arguments parsing 2020-05-24 01:16:18 +02:00
Alexandre Aubin
58ce6e5e58 Webpath should also be normalized for args_list, so that we can get rid of the 'malformed path' check of the CI... 2020-05-23 23:12:16 +02:00
Alexandre Aubin
e30e25fa93 Add maindomain in diagnosis email subject 2020-05-23 13:55:10 +02:00
Kayou
cc9b8e6e16
Merge pull request #991 from YunoHost/ci-build-&-install-deb
[enh] CI V2
2020-05-22 22:08:55 +02:00
Kay0u
b6ced38314
Merge branch 'stretch-unstable' of https://github.com/YunoHost/yunohost into stretch-unstable 2020-05-22 21:05:23 +02:00
Kay0u
85f1802ec9
[fix] empty services.yml file 2020-05-22 21:05:19 +02:00
Alexandre Aubin
f0cc679828 Add an exception if packaging format is not recognized 2020-05-22 20:30:54 +02:00
Josué Tille
226bd15c55
Merge remote-tracking branch 'upstream/stretch-unstable' into permission_protection 2020-05-22 15:12:32 +02:00
Alexandre Aubin
e7a4b26af8
Also propagate to utils/network.py because we like to maintain duplicated code ;P 2020-05-21 18:01:14 +02:00
Kay0u
37f0273ff4
adding test coverage 2020-05-20 17:10:02 +02:00
Alexandre Aubin
d7891970c3 Clean unused code/imports 2020-05-19 19:56:04 +02:00
Alexandre Aubin
0dde1f6d4f Fix exception assertion 2020-05-18 19:57:54 +02:00
Alexandre Aubin
f9e4c96ca3 Crash early about apps already installed when attempting to restore 2020-05-18 18:49:38 +02:00
Alexandre Aubin
f73c34bfc1 Tell systemctl to stfu when enabling/disabling services, just do it 2020-05-17 17:00:33 +02:00
Alexandre Aubin
7b4a9b57bc Stewpeed typo :| 2020-05-17 04:22:15 +02:00
Alexandre Aubin
086db7a94b Need to explicitly convert info from dbusthingy to str :/ 2020-05-17 04:10:19 +02:00
Alexandre Aubin
f8e5ea4652 Fix tests, rely on _get_service_information_from_systemd to fetch service info during service add 2020-05-16 00:53:49 +02:00
Bram
6a75716fb5
Merge pull request #989 from YunoHost/test-for-args-parsing
Test for args parsing
2020-05-16 00:41:40 +02:00
Alexandre Aubin
dd608baec5 Small simplification? 2020-05-16 00:21:01 +02:00
Alexandre Aubin
1244241b3f Have an independant function for building the service status 2020-05-16 00:21:01 +02:00
Alexandre Aubin
dd09758fb5 Report the service status as unknown if service type is oneshot and status exited 2020-05-16 00:21:01 +02:00
Alexandre Aubin
c9b2213817 Don't miserably crash if doveadm fails to run 2020-05-15 17:08:23 +02:00