Commit graph

58 commits

Author SHA1 Message Date
Alexandre Aubin
b0cd37aeca Make sure we have at least the standard stuff in /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:/snap/bin:/var/lib/snapd/snap/bin:/snap/bin:/var/lib/snapd/snap/bin ~.~ 2020-04-12 01:57:56 +02:00
Alexandre Aubin
9bcbedc356 Revert "[fix] moulinette logs were never displayed #lol"
This reverts commit 6a0959dd1d.
2019-11-04 23:02:04 +01:00
Laurent Peuch
6a0959dd1d [fix] moulinette logs were never displayed #lol 2019-07-20 06:32:08 +02:00
Luke Murphy
b091ab4029
Allow to display logs when postinstall fails
Closes https://github.com/YunoHost/issues/issues/1345.
2019-05-23 09:42:16 +02:00
Alexandre Aubin
18d20c4347
Merge pull request #291 from YunoHost/fix-703-dont-expose-yunohost-api-version
[fix] Remove version from api
2019-02-21 14:28:52 +01:00
ljf
db83dc0893 [wip] Fix password in log 2019-02-03 03:20:19 +01:00
Alexandre Aubin
bbfa9fc124 Fix several issues with bootprompt 2019-01-07 18:26:38 +01:00
Alexandre Aubin
ea77a8ccf6
[fix] DEBUG-level messages not appearing in actions performed via the API (#603) 2018-12-20 18:01:09 +01:00
Alexandre Aubin
f295c83fd3 Order of keys matter, ed25519 is recommended 2018-11-28 19:15:21 +00:00
ljf (zamentur)
07e5ead038 [fix] Sometimes I need to sleep 2018-11-28 00:00:30 +01:00
ljf (zamentur)
b4e72173cd [fix] If some ssh keys are missing 2018-11-28 00:00:30 +01:00
ljf (zamentur)
b5896e88c3 [enh] Display only used fingerprint in bootprompt 2018-11-28 00:00:30 +01:00
ljf (zamentur)
53388e4e28
[enh] Speak the user about post-install on browser 2018-09-15 16:07:09 +02:00
Alexandre Aubin
e47fc937c3 Set verbose by default (and remove the corresponding option) 2018-06-01 21:52:19 +00:00
Alexandre Aubin
eb76ca3faf Change logo again ('Modular' font from patorjk.com) 2018-05-21 00:48:39 +02:00
Alexandre Aubin
c0be9676e3 Rework condition (and remove the 'from_script' flag) 2018-05-21 00:46:48 +02:00
Alexandre Aubin
2a4713f785 Alternative logo + misc tweak / cleaning 2018-05-17 22:23:18 +02:00
Alexandre Aubin
a897ec94f8
Remove a line which I added for test / debug 2018-05-15 19:40:04 +02:00
Alexandre Aubin
75fc1c03c5 Factorize the building of the logo at the top of the script 2018-05-08 20:32:34 +02:00
ljf (zamentur)
f25ef833e9 [fix] Remove dead code 2017-10-03 18:50:46 +02:00
ljf (zamentur)
44676438fe [fix] Limit ascii 2nd and 3rd logo to 79 char 2017-10-03 18:47:52 +02:00
ljf (zamentur)
bd2ea3c12c [fix] Limit ascii logo to 79 characters 2017-10-03 18:46:29 +02:00
ljf
fa40a5cf3b [enh] Bootprompt is back 2017-09-01 03:10:31 +02:00
Laurent Peuch
46cb9637b2 [fix] missing m18n import 2017-07-26 05:43:08 +02:00
ljf
92bf413d68 [fix] Remove version from api 2017-03-31 10:02:40 +02:00
Laurent Peuch
12c66d1530 [enh] remove timeout from cli interface 2016-12-15 13:24:54 +01:00
Laurent Peuch
8a6b31b690 [fix] exit if not run as root instead of raising an obscur exception 2016-05-19 08:05:59 +02:00
Jérôme Lebleu
528e39fd84 [enh] Add a yunopaste script to paste data to YunoHost Haste server 2016-04-21 23:19:36 +02:00
Jérôme Lebleu
43f0fd5dbf [deb] Do not output regen-conf result at postinst 2016-04-16 20:06:45 +02:00
Jérôme Lebleu
a7657c1a39 [ref] Deprecate and rename regenconf action to regen-conf 2016-04-10 10:42:30 +02:00
Jérôme Lebleu
91856cb770 [fix] Import moulinette after dev env check in bin/yunohost{-api,} 2016-04-09 19:35:53 +02:00
Jérôme Lebleu
ee7c4e84aa [fix] Move imports at the top in yunohost and yunohost-api 2016-03-28 18:47:58 +02:00
Jérôme Lebleu
4401237a51 [fix] Check for tty in root_handlers before remove it in bin/yunohost 2016-03-26 19:14:15 +01:00
Julien Malik
160e10e5b5 [enh] dh_python2 replaces shebang during build. Using the correct one in source directly 2016-03-22 09:50:21 +01:00
Jérôme Lebleu
5afd0c1272 [enh] Rely on APT python library to retrieve packages version
It introduces a new `yunohost.utils` package which will contain common
utils used by YunoHost actions. It comes with a work in progress `packages`
module with simple methods to retrieve installed version of packages for now.
2016-03-08 16:10:14 +01:00
Jérôme Lebleu
a9046a7200 [enh] Allow to pass the admin password as argument in the cli 2015-12-24 10:35:39 +01:00
Jérôme Lebleu
3f42d12e95 [fix] Do not modify handlers with root_handlers in bin/yunohost 2015-11-15 14:58:35 +01:00
Jérôme Lebleu
1c4bd0e796 [fix] Add tty in root handlers if debug is set in bin/yunohost 2015-11-15 01:05:22 +01:00
Jérôme Lebleu
4a071df6f7 [enh] Set custom logging formatter for the tty in case of debug 2015-11-14 19:18:03 +01:00
Jérôme Lebleu
85d579b9ff [fix] Handle moulinette logging with root logger in both api and cli 2015-11-14 10:58:12 +01:00
Jérôme Lebleu
0a78238041 [enh] Refactor bin/yunohost-api to follow moulinette changes and add help 2015-11-13 21:46:54 +01:00
Jérôme Lebleu
fe6a01f206 [enh] Define root logger and clean some globals in bin/yunohost 2015-11-13 21:45:55 +01:00
Jérôme Lebleu
f0ab6776d2 [fix] Keep compat with deprecated --plain and --json in the cli 2015-11-13 14:15:22 +01:00
Jérôme Lebleu
7b88f95b1c [enh] Refactor bin/yunohost to follow moulinette changes and add help 2015-11-13 11:58:58 +01:00
Jérôme Lebleu
4978e48c9d [enh] Make use of new logging facilities with the cli in the firewall 2015-11-12 22:39:09 +01:00
Jérôme Lebleu
c9f79f7420 [enh] Add a --plain option to the cli for scripting usage 2015-09-29 14:21:24 +02:00
Jérôme Lebleu
e43083a56d [fix] Display YunoHost packages versions (fix #11) 2015-07-13 17:50:38 +02:00
Jérôme Lebleu
42b1189cd1 [enh] Look for and load additional YunoHost modules 2014-11-16 13:00:08 +01:00
Jérôme Lebleu
71a145c4f1 [fix] Use stderr instead of stdout in 'console' logging handler 2014-11-09 14:11:03 +01:00
Jérôme Lebleu
8e597109be [enh] Review executables structure and add logging configuration 2014-11-01 17:51:33 +01:00