Commit graph

4022 commits

Author SHA1 Message Date
Laurent Peuch
9a08b8ad48 [mod] modify data format because mustache is lame 2018-01-06 00:50:39 +01:00
Laurent Peuch
1fc7065eaf [doc] add TODO comment 2018-01-06 00:50:39 +01:00
Laurent Peuch
3eed2a28fe [enh] add journals display command 2018-01-06 00:50:39 +01:00
Laurent Peuch
19a29d9b34 [mod] use more classical datetime format for logs 2018-01-06 00:50:39 +01:00
Laurent Peuch
b18092e329 [enh] display more informations on journals list 2018-01-06 00:50:39 +01:00
Laurent Peuch
5dcf0b782f [enh] allow to limit to number of journals per categories 2018-01-06 00:50:39 +01:00
Laurent Peuch
278f692a2f [enh] journal on app upgrade 2018-01-06 00:50:39 +01:00
Laurent Peuch
de7d26521b [enh] journal on app remove 2018-01-06 00:49:55 +01:00
Laurent Peuch
d159a437f6 [enh] journal on app remove when installation failed 2018-01-06 00:49:08 +01:00
Laurent Peuch
5eda0fe20e [fix] avoid a possible thread problem 2018-01-06 00:47:51 +01:00
Laurent Peuch
5fba284260 [enh] generate a journal for app installation 2018-01-06 00:47:51 +01:00
Laurent Peuch
a6d89f8ea1 [enh] journal list correctly list available journals 2018-01-06 00:45:26 +01:00
Laurent Peuch
0668c7e350 [enh] journal class works as expected \o/ 2018-01-06 00:45:26 +01:00
Laurent Peuch
1355b2b754 [enh] allow to use a journal for hook exec 2018-01-06 00:45:26 +01:00
Laurent Peuch
08b7c4f6d7 [enh] start Journal class 2018-01-06 00:44:33 +01:00
Laurent Peuch
db83eb5a2b [enh] if not journals available, return nothing 2018-01-06 00:44:33 +01:00
Laurent Peuch
eef247d34b [enh] start to work on journals 2018-01-06 00:44:33 +01:00
Laurent Peuch
1e5323eb08 [enh] handle root user for being allowed to work on his authorized keys 2018-01-05 00:13:26 +01:00
Laurent Peuch
c55b8cec16 [enh] add commands to manage authorized-keys of users 2018-01-05 00:12:43 +01:00
Laurent Peuch
3deb11cf8a [enh] add ssh information in userlist for admin UI 2018-01-04 22:10:36 +01:00
Laurent Peuch
ab282e88a7 [enh] add commands to allow user to have access in ssh 2018-01-04 22:04:15 +01:00
Laurent Peuch
13aca112fa [enh] make change_url possibility available on the API for the admin 2018-01-04 20:31:59 +01:00
Laurent Peuch
b97675516e [enh] display app name everytime possible on requirements testing to improve UX 2018-01-04 18:15:10 +01:00
Laurent Peuch
a079e3f5ee [enh] display which app is being upgraded 2018-01-04 18:02:58 +01:00
Laurent Peuch
7c63c0a34d [enh] subscribe has hmac-sha512 2018-01-03 20:22:46 +01:00
Laurent Peuch
34433f07a4 Merge branch 'unstable' into tsig-sha256 2018-01-03 19:48:38 +01:00
Laurent Peuch
57665b6f11 [mod] uses builtin function to show traceback 2018-01-03 19:23:47 +01:00
Laurent Peuch
28b44401f5 [mod] remove debug print 2018-01-03 19:22:10 +01:00
Laurent Peuch
8935817338 [fix] add timeout on requests 2018-01-03 19:21:53 +01:00
Laurent Peuch
544ffb273e [mod] improve waiting time UX 2018-01-03 19:00:16 +01:00
Laurent Peuch
299cba623b [fix] avoid stupid mistake 2018-01-03 18:52:01 +01:00
Laurent Peuch
044b2406d3 [enh] better logging during key migration 2018-01-03 18:45:18 +01:00
Alexandre Aubin
164377d599 [mod] Use systemctl for all service operations 2017-11-27 23:12:13 +01:00
Alexandre Aubin
fd23216544 [mod] Use proper functions to enable/start firewall during postinstall 2017-11-27 22:17:09 +01:00
M5oul
46469b8893 [fix] Update acme-tiny as LE updated its ToS (#386)
- fix https://dev.yunohost.org/issues/1007
- Renewing a certificate is not problematic, but creating a certificate
for a new domain name may failed according to recent feedbacks.
2017-11-21 16:46:45 +01:00
Alexandre Aubin
5cd1563014 [enh] Enable stdinfo when running app script 2017-10-29 23:20:10 +01:00
Alexandre Aubin
b8d8f72e36 [enh] Add an optional stdinfo output for stuff ran with hook_exec 2017-10-29 23:19:52 +01:00
Laurent Peuch
5086707983 [mod] add some documentation comment 2017-10-09 12:14:14 +02:00
Laurent Peuch
a32359c76a [mod] wait locally for the dynette cron to have runned during tsig migration 2017-10-09 12:12:41 +02:00
Laurent Peuch
fbdf684254 [mod] add failure handling mechanism for json decoding 2017-10-09 12:12:08 +02:00
Alexandre Aubin
9903c48f3a Be able to give lock to son processes detached by systemctl (#367)
* Give lock to systemctl sons
* Get the 'need_lock' flag from services.yml
* Don't need the lock for enable/disable and other stuff
2017-10-08 23:46:10 +02:00
Alexandre Aubin
5ae558edc9 [fix] Clean madness related to DynDNS (#353)
* Add a function to check if a dyndns provider provides a domain
* Add a function to check a domain availability from a dyndns provider
* Use new functions in dyndns_subscribe
* Replace complete madness by _dyndns_available in dyndns_update
* This regex is only used in dyndns_update, no need to define it at the whole file scope level
* Try to clarify management of old ipv4/ipv6 ...
* Add a nice helper to get both ipv4 and ipv6...
* Clarify the dyndns_update madness to get current ipv4/v6
* Remove now useless IPRouteLine
* Change default values of old ipv4/v6 to None, otherwise shit gets update just because IPv6 = None
* Rearrange thing a bit, move path to global variable
* Copypasta typo
* Dyndns zone file as a global variable
* Use helper to write zone content to file
* Adding some debugs/info messages
* Move the domain guessing to a dedicated function...
* Adding comments..
* Using subprocess check_call instead of os.system for nsupdate
* Removing dump of the zone update because it's kinda duplicated from what nsupdate already does
* Ignore error if old_ipvx file is non existent
* Add docstring for _dyndns_available
* Remove parenthesis otherwise this gonna displease Bram-sama :P
* Start working on postinstall .. use _dyndns_provides to check if domain is a .nohost.me or .nohost.st
* Use _dyndns_available to cleanly check for domain availability
* Forget about the weird 'domain split' check...
* Clean dyndns stuff in domain.py
* Missing argument for string
2017-10-08 23:44:07 +02:00
Laurent Peuch
724f9af923 Merge pull request #359 from YunoHost/enh-add-log-on-app-upgrade
[enh] Return log after app upgrade with api
2017-10-06 15:05:40 +02:00
Laurent Peuch
f4b95ca5ff [fix] fix this UnicodeDecodingError on backup-restore 2017-09-26 01:01:00 +02:00
Laurent Peuch
87a5759ca4 [enh] automatically migrate tsig done using md5 to sha512 when doing a dyndns update 2017-09-21 06:56:11 +02:00
Laurent Peuch
f5f813badb [fix] hmac-sha512 key can have space in them because why the fuck not 2017-09-21 05:52:59 +02:00
Laurent Peuch
2c73dd1a2f [fix] 163 was for sha256 2017-09-19 00:51:11 +02:00
Laurent Peuch
b53b05eabd [enh] register tsig as hmac-sha512 2017-09-19 00:08:56 +02:00
Laurent Peuch
622bed1169 [mod] introduce regex for SHA512 2017-09-18 21:29:01 +02:00
Laurent Peuch
0fc80b256b [mod] constant needs to be upper cases 2017-09-18 21:17:13 +02:00