Commit graph

5584 commits

Author SHA1 Message Date
Alexandre Aubin
dee08a16fe Move moulinette initialization and other stuff to src/yunohost/__init__.py 2020-05-07 22:15:51 +02:00
Alexandre Aubin
233c962710 Hmpf idk another iteration to cleaning attempt 2020-05-07 22:15:51 +02:00
Alexandre Aubin
f5c16737eb More stuff to reduce complexity 2020-05-07 22:15:51 +02:00
Alexandre Aubin
68c9244492 Remove _die, simplify creation of log dir, make linter a bit happier 2020-05-07 22:15:51 +02:00
Alexandre Aubin
31e5f7e8b5 This arg ain't meaningful anymore? 2020-05-07 22:15:51 +02:00
Alexandre Aubin
94d0e253f7 Clean usr/bin/yunohost and yunohost-api ... 2020-05-07 22:15:51 +02:00
Bram
9962fd610e
Merge pull request #968 from YunoHost/simplify-and-optimize-yunohost-version
Simplify / optimize reading version of yunohost packages...
2020-05-07 21:47:45 +02:00
Bram
dbac27cc38
Merge pull request #961 from YunoHost/add-wss-to-default-src
[enh] Real CSP headers for the webadmin
2020-05-07 21:35:24 +02:00
Alexandre Aubin
8bcf753081 Also split + and - 2020-05-07 18:34:51 +02:00
Alexandre Aubin
3a62d828ba version was not defined... 2020-05-07 18:18:59 +02:00
Alexandre Aubin
0b24aa68d5 Ugly hack to install new deps in debian/control 2020-05-07 18:08:12 +02:00
Alexandre Aubin
15060df0ad
Merge pull request #927 from YunoHost/fix-backup-tests
[fix] Restoration of custom hooks / missing restore hooks
2020-05-07 04:35:59 +02:00
Alexandre Aubin
22e03dc10e Update changelog for 3.8.3 2020-05-07 04:13:30 +02:00
Alexandre Aubin
f202e8d4b8 Enforce metronome >= 3.14.0 2020-05-07 04:10:32 +02:00
Alexandre Aubin
7e8996ecfe
Merge pull request #971 from maranda/stretch-unstable
mod_storage_ldap: change :users() to :nodes().
2020-05-07 04:09:29 +02:00
Alexandre Aubin
9bea7d9daf
Merge pull request #976 from YunoHost/fix-multi-instance-upgrade
[fix] multi instance upgrade
2020-05-07 00:42:56 +02:00
Alexandre Aubin
9e096f7825
Merge pull request #978 from YunoHost/app-without-domain
[fix] domain remove if an app without a domain is installed
2020-05-07 00:08:23 +02:00
Alexandre Aubin
882b003bd7 Fix i18n string test 2020-05-07 00:07:10 +02:00
Alexandre Aubin
49c4324ee1 During app installs, set default answer for user-type args to main user 2020-05-06 22:17:39 +02:00
Alexandre Aubin
c7dd881774 Default 'ask' questions for common app manifest args 2020-05-06 21:41:54 +02:00
Bram
0b035782d0 Update src/yunohost/domain.py
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-05-06 20:46:34 +02:00
Laurent Peuch
9e86014636 [mod] improve error message when apps are still installed on a domain 2020-05-06 20:20:38 +02:00
Alexandre Aubin
f25e07fd82
Update src/yunohost/service.py 2020-05-06 20:18:49 +02:00
Alexandre Aubin
58a29f218e
Update src/yunohost/service.py
Co-authored-by: Kayou <pierre@kayou.io>
2020-05-06 20:06:16 +02:00
Alexandre Aubin
40eaec605e Make flake8 happy (c.f. previous commit) 2020-05-06 19:45:16 +02:00
Alexandre Aubin
582a63bc0c Add at least a check to detect epic python errors 2020-05-06 19:45:00 +02:00
Alexandre Aubin
c721aaf258 version was not defined... 2020-05-06 19:01:07 +02:00
Alexandre Aubin
6fc5b41302 Add a few tests for services add/remove/status ... 2020-05-06 18:53:51 +02:00
Alexandre Aubin
e74f49f001 Simplify log list management because log type is deprecated now that we always fetch journalctl 2020-05-06 18:46:44 +02:00
Alexandre Aubin
95dd1e2707 service -> infos ... + misc small syntax improvements 2020-05-06 18:20:03 +02:00
Alexandre Aubin
199258166e services[name] -> service 2020-05-06 18:12:55 +02:00
Kayou
a11654e0cf
[fix] domain remove if an app without a domain is installed 2020-05-06 11:57:28 +02:00
Kay0u
cf57b77d6a
[fix] multi instance upgrade 2020-05-04 18:28:05 +02:00
Bram
42bc8c354a
Merge pull request #972 from YunoHost/wget-timeout
Add a timeout to wget in helpers
2020-05-04 14:23:36 +02:00
Laurent Peuch
82c4357421 [fix] handle new auto restart of ldap in moulinette 2020-05-04 14:00:22 +02:00
Kayou
ea7594ac78
Merge pull request #974 from YunoHost/test_apps_cleanup_and_automation
Test apps cleanup and automation
2020-05-04 00:58:42 +02:00
Laurent Peuch
121b40879f [tests/fix] add markers to pytest.ini to please pytest 2020-05-04 00:21:02 +02:00
Laurent Peuch
e80fe075e6 [tests/mod] auto clone/pull the test app when running tests 2020-05-03 23:08:52 +02:00
Laurent Peuch
f760d6aa0f [mod] remove unused import 2020-05-03 20:15:33 +02:00
Laurent Peuch
67fe8545dc [mod] remove useless import 2020-05-03 20:14:54 +02:00
Laurent Peuch
b4447bf2b7 [pep8] black test_apps.py 2020-05-03 20:14:42 +02:00
Josué Tille
8d2bde84ec
Install python-packaging as dependance 2020-05-03 19:56:14 +02:00
Alexandre Aubin
5d811e2b39 Remove stale string 2020-05-03 19:52:12 +02:00
Alexandre Aubin
9c0ccd0b4f That whole thing about Specifier is completely overengineered, let's have a more simple check for version requirements... 2020-05-03 19:46:21 +02:00
Alexandre Aubin
d29bf04e7c Add a timeout to wget in helpers 2020-05-03 17:37:33 +02:00
Alexandre Aubin
f21b85640b
Merge pull request #969 from YunoHost/ynh_get_ram-improvement
[enh] ynh_get_ram
2020-05-03 16:44:00 +02:00
Alexandre Aubin
b10b9b50a1
Merge pull request #970 from YunoHost/ynh_install_app_dependencies
[Epic Fix] ynh_install_app_dependencies
2020-05-03 16:42:22 +02:00
Marco Cirillo
0b1103faf8
mod_storage_ldap: change :users() to :nodes().
That reflects changes to storagemanager API in 3.14.0.
2020-05-03 16:40:24 +02:00
Kayou
cab6fb8b78
Update logging 2020-05-03 12:11:47 +02:00
Alexandre Aubin
71e30f5b1b Simplify / improve robustness of backup list, follow-up of issue reported on the forum... 2020-05-03 00:55:53 +02:00