Commit graph

3345 commits

Author SHA1 Message Date
Laurent Peuch
e2f43b43a5 [fix] make function name clearer, it's not only for actions 2019-06-02 04:45:49 +02:00
Laurent Peuch
4084bddb54 [enh] support config_panel in TOML format 2019-06-01 01:44:33 +02:00
Alexandre Aubin
06a5e29786 Reclassify success messages as debug ? 2019-05-31 18:59:23 +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
Alexandre Aubin
d0c982a422 Check for obvious conflict with already running apt/dpkg commands when running yunohost upgrade 2019-05-31 16:09:25 +02:00
Josué Tille
d589316244
Add test for permission linked to each apps 2019-05-28 22:08:34 +02:00
Josué Tille
d97e917ef9
Clean Permission if app restoration fail 2019-05-28 21:43:25 +02:00
Alexandre Aubin
330f06c358 Check list url independently of scheme 2019-05-28 20:28:13 +02:00
Alexandre Aubin
a9c9cbac36 Add old list to applist migration 2019-05-28 20:24:03 +02:00
Kayou
97695f6afb
delete an unnecessary "if" 2019-05-28 17:51:05 +02:00
Josué Tille
f839ec5153
Improve restoration mecanisme for LDAP integrity 2019-05-26 00:54:57 +02:00
Josué Tille
bc0435b9c4
Group-permission migration - integrate all function in migration class 2019-05-26 00:52:06 +02:00
Kay0u
bd43e5cde3
add current version in app_info 2019-05-25 15:13:24 +02:00
Josué Tille
3c1c32e08b
[Fix] LDAP restauration in backup for apps 2019-05-22 22:46:56 +02:00
Alexandre Aubin
b3d29238c4
Merge pull request #721 from YunoHost/authenticate-as-root
[enh] Simplify the whole LDAP interface thing
2019-05-22 17:51:04 +02:00
Alexandre Aubin
6cdffe77a7
Merge pull request #687 from YunoHost/crash_debugger
Dump ynh log if an app script fails
2019-05-22 17:42:58 +02:00
Alexandre Aubin
95d2c8f799 Inject a new environment variable YNH_INTERFACE to test inside helpers if we're using Yunohost from the CLI or API 2019-05-18 18:31:02 +02:00
Alexandre Aubin
5d2d194dc6 [fix] Stupid issue with files inside tar : foo is not the same as ./foo ... 2019-05-18 16:37:27 +02:00
Alexandre Aubin
b464bc576c Propagate changes on tests as well 2019-05-17 15:49:16 +02:00
Alexandre Aubin
95fdfb3275
Unit test was broken, gotta foce this to be a str otherwise string formatting fails later 2019-05-17 15:48:51 +02:00
Alexandre Aubin
08dc22b750 Fix funky errors by explicitly destroying the global variable at exit time 2019-05-17 15:26:31 +02:00
Alexandre Aubin
331bdb53aa
Merge branch 'stretch-unstable' into authenticate-as-root 2019-05-16 17:08:48 +02:00
Alexandre Aubin
93d0fbc4cf
Merge pull request #696 from rds13/featurePostfixRemoveTLSv1Support
[enh] Propose a setting to remove support for TLSv1 and TLSv1.1 in Postfix
2019-05-14 19:19:25 +02:00
Josué Tille
0c0db4c8a4
Check if the migration is possible 2019-05-11 00:13:14 +02:00
Josué Tille
fde8cafa4e
Merge remote-tracking branch 'upstream/stretch-unstable' into group_permission 2019-05-10 22:53:06 +02:00
Josué Tille
6674c9d59d
Restart slapd in all case in migration 2019-05-10 22:38:56 +02:00
Josué Tille
fd76f5544a
Get the permission name more elegent 2019-05-10 22:24:37 +02:00
Josué Tille
d0f422ee39
Don't force ldap_sync in app install 2019-05-10 22:11:31 +02:00
Josué Tille
975341a0b5
Inline function _migrate_system_if_needed in backup 2019-05-10 22:02:06 +02:00
Alexandre Aubin
f010f49528 Get rid of all those crazy 'auth' arguments. Instead : directly fetch the ldap interface when and where it's actually needed 2019-05-10 02:11:40 +02:00
Alexandre Aubin
c15cc788ed Add utils to fetch LDAP interface 2019-05-10 01:56:33 +02:00
Alexandre Aubin
1781dd7abe
Merge branch 'stretch-unstable' into rework-update-and-upgrade 2019-05-09 17:15:41 +02:00
Josué Tille
9f28bfccad Use root UID to authenticate to LDAP 2019-05-02 15:30:44 +02:00
Alexandre Aubin
a6ac514202
Merge pull request #716 from YunoHost/improve-log-list
Add a --with-details option for log list
2019-05-02 14:54:52 +02:00
Laurent Peuch
cecaee4f13 [fix] meh, it's not haskell 2019-04-29 00:22:31 +02:00
Laurent Peuch
9b08afc118 [mod] small refactoring, remove useless exception 2019-04-28 03:43:42 +02:00
Alexandre Aubin
a238eca752
Merge pull request #699 from kay0u/backup-size-info
Add size of apps in backup_info result
2019-04-25 13:52:22 +02:00
Alexandre Aubin
161c18831e Also get size info about system ? 2019-04-25 01:04:59 +02:00
Alexandre Aubin
7ee0e986a6 Explicly mark failure if command failed + more readable syntax 2019-04-25 00:26:42 +02:00
Alexandre Aubin
94f33b617b Add a --with-details option for log list 2019-04-24 20:25:34 +02:00
Alexandre Aubin
cf619fe134 Fix / improve success mark in logs 2019-04-24 19:02:35 +02:00
Alexandre Aubin
f4b87f9695 Move low-level apt stuff to utils/packages.py 2019-04-24 17:46:39 +02:00
Alexandre Aubin
d0faff609e Remove weird API behavior for app upgrade, will adapt the webadmin 2019-04-24 17:21:29 +02:00
Alexandre Aubin
5731e69541 PEP8 2019-04-24 03:23:47 +02:00
Alexandre Aubin
12bcd5d0f8 Avoid messy output when running apt stuff 2019-04-24 00:49:52 +02:00
Alexandre Aubin
4f3eaa5e23 Check there's actually some apps to update when using tools upgrade --apps 2019-04-24 00:49:11 +02:00
Alexandre Aubin
3668bf7bc3
[fix] Microdecision : fix wobbly / messed up debug logs when running apt stuff inside app scripts 2019-04-23 18:59:32 +02:00
Alexandre Aubin
a192bdd31a Consistent options for tools_update (compared to upgrade) + semantic improvements 2019-04-23 16:51:32 +02:00
Alexandre Aubin
ec9deec9d4 i18n for messages 2019-04-23 00:08:44 +02:00