Commit graph

806 commits

Author SHA1 Message Date
Laurent Peuch
2bf327970b [enh] allow an application to optout of sso 2018-07-09 18:30:45 +02:00
Laurent Peuch
d27cce4af6 [mod] put code closer to usage 2018-07-09 18:04:22 +02:00
Laurent Peuch
14387c43eb [mod] uses app_list installed option instead 2018-07-09 14:08:28 +02:00
Laurent Peuch
0ab51209fe [enh] list available users on app installation user argument 2018-07-03 20:38:23 +02:00
Bram
03f52bdd69
Merge pull request #505 from YunoHost/app_actions2
[mod] information needed for the admin UI
2018-07-03 00:55:24 +02:00
Laurent Peuch
51175db814 [mod] information needed for the admin UI 2018-07-02 17:04:41 +02:00
Bram
d1ac2f218b
Merge pull request #498 from YunoHost/real_cli_argument_for_boolean_type
[ux] display human understandable choice for boolean type on installation
2018-06-30 15:35:48 +02:00
pitchum
a7e85dbbba [enh] Add MUA autoconfig. 2018-06-25 09:45:13 +02:00
Bram
79f1c1a897
[fix] referenced the wrong variable 2018-06-23 00:42:07 +02:00
Laurent Peuch
b46fb46768 [fix] forgot to commit actions format change 2018-06-22 07:34:24 +02:00
Laurent Peuch
014a39fe95 [ux] display human understandable choice for boolean type on installation 2018-06-22 06:17:57 +02:00
Laurent Peuch
f8d99e52e3 [mod] DRY, remove big copy/pasta 2018-06-22 05:27:15 +02:00
Laurent Peuch
3806e2a908 [mod] style 2018-06-22 05:27:00 +02:00
Laurent Peuch
64fe357995 [mod] compress code a bit 2018-06-22 04:55:09 +02:00
Laurent Peuch
26f2741a7e [mod] mark actions commands as experimental 2018-06-22 04:53:52 +02:00
Laurent Peuch
2d0b5edd23 [mod] DRY, easier to maintain here 2018-06-22 04:52:38 +02:00
Laurent Peuch
9cefc60161 [enh] store actions.json en install/upgrade 2018-06-22 04:50:11 +02:00
Laurent Peuch
f35e3ef055 [enh] can run the action of an app 2018-06-22 04:47:32 +02:00
Laurent Peuch
eef1b6d658 [enh] new command to list apps action 2018-06-22 04:45:50 +02:00
Laurent Peuch
c14077dc36 [fix] handle empty args case 2018-06-22 04:37:08 +02:00
Laurent Peuch
8a33199d91 [mod] add experimental warning for config panel 2018-06-22 04:37:08 +02:00
Laurent Peuch
6fb19edbb3 [enh] send app name and id to config-panel-show 2018-06-22 04:37:08 +02:00
Laurent Peuch
67ba031eab [mod] copy config_panel.json on install/upgrade 2018-06-22 04:37:08 +02:00
Laurent Peuch
27dfd6af6e [fix] missing YNH_APP_ID on scripts/config apply 2018-06-22 04:37:08 +02:00
Laurent Peuch
ffbe059d91 [mod] remove debug output 2018-06-22 04:37:08 +02:00
Laurent Peuch
ff3913adbb [enh] first version of script/config apply 2018-06-22 04:37:08 +02:00
Laurent Peuch
7d634a3085 [mod] s/variable_name/generated_id 2018-06-22 04:37:08 +02:00
Laurent Peuch
359ef6d3d7 [enh] handle failure on 'config/script show' 2018-06-22 04:37:08 +02:00
Laurent Peuch
1c16693cdc [mod] explicitely tells script/config that I want the show behavior 2018-06-22 04:37:08 +02:00
Laurent Peuch
c0ec14b79b [enh] first working prototype of config-panel show 2018-06-22 04:37:08 +02:00
ljf
a5ebc76eda Merge from stretch-unstable 2018-06-21 22:41:20 +02:00
Bram
07b4ec49aa
Merge pull request #487 from YunoHost/info-by-default
[enh] Verbose by default
2018-06-13 20:07:28 +02:00
Alexandre Aubin
e475d3afab Merge branch 'unstable' into stretch-unstable 2018-06-12 01:06:47 +02:00
ljf
8e8d8e54ab [enh] Enable ynh_info by default 2018-06-11 11:56:54 +02:00
Bram
cc6819691f
[mod] we moved away from redmine 2018-06-07 14:00:04 +02:00
ljf
e56f8dafbb [fix] Bad call 2018-06-06 09:52:18 +02:00
ljf
65d8d88a09 [fix] Some unit operation setup 2018-06-05 16:32:12 +02:00
ljf
91caae665e [enh] Improve end failed message on app_install 2018-06-04 21:39:28 +02:00
ljf
9d59c8555a [enh] Display log help at the end of logs 2018-06-04 21:36:28 +02:00
ljf
793b4d2f88 [enh] Add some translations and start uo 2018-06-04 19:18:11 +02:00
ljf
a20281ebfc [enh] Operational unit for backup regenconf, migrations and others 2018-06-04 18:57:00 +02:00
Alexandre Aubin
91483f3896 Reflag some messages as info or debug 2018-06-01 21:52:19 +00:00
Alexandre Aubin
cc4a2f2f2e Also patch php5 app when calling remove 2018-05-02 18:07:31 +02:00
Alexandre Aubin
16166917cb Also patch the php socket path 2018-05-02 18:07:30 +02:00
Alexandre Aubin
fb01deb990 Don't try to patch folders 2018-05-02 18:07:30 +02:00
Alexandre Aubin
7cf64bb1c7 Also apply the php5/php7 patch for 'hidden' files (e.g. .functions) 2018-05-02 18:07:30 +02:00
Alexandre Aubin
1eb5c6131a Apply the php5 path also for upgrades 2018-05-02 18:07:30 +02:00
Alexandre Aubin
1054633310 Add dirty trick to be able to install php5 apps 2018-05-02 18:04:15 +02:00
Alexandre Aubin
5013965c0e
[enh] [wip] Stretch migration (#433)
* Add migration skeleton
* Clumsy attempt to adapt the upgrade script to python
* At the end of the migration, force the regen conf of specific services
* Implement the apt clean/autoremove at the end of migration
* Attempt to fix the upgrade of yunohost packages
* Dumb mistake :|
* Adding strings
* Add test of free space for /var/
* Fix sources.list patching
* Stupid mistake :|
* Check system is up to date
* Working on disclaimer draft
* Add a function to list installed 'unstable' apps
* Get actual list of problemtic apps + improve disclaimer message building
* Use helper to run the apt update
* More simplifications of disclaimer building
* Add helper function to get manually modified files
* Fetch actuall list of manually modified files to build disclaimer
* Internationalize disclaimer
* Don't skip stretch migration when running postinstall on jessie
* Add a done message at the very end of the migration
* Also patch jessie/updates and backports in sources.list
* Backup and restore conf files modified during the upgrade to not mess regen-conf
* Also check for yunohost being in 2.x at the beginning of upgrade
* Fix the check for upgradable packages..
* Try to be more robust if folder already exists (when running multiple times)
* I probably meant fail2ban here o.O
* Try to improve robustness when running multiple time
* Add a check after the main upgrade that we're effectively on stretch
* Hold apps equivs packages during the upgrade
* Show dist-upgrade logs in the yunohost admin, using call_async_output
* Misc fixes because I broke things /o\
* Touch /etc/yunohost/installed at the end, because for some weird reason it get deleted sometimes :|
* Removing this unecessary message, especially because it 'hide' the previous one when running from the webadmin
* Install php-zip for nextcloud and kanboard
* Don't crash if there's no [app]-ynh-deps
* Revert previous commit that added this, should be fixed in the stretch branch now
* [fix] Unhold metronome for migration (#452)
* Let's use forge.yunohost.org as repo now
2018-05-02 02:10:46 +02:00
pitchum
b9330d7501 [enh] Lazy-load some module for perf improvements (#451)
* Lazy load some python imports (perfs improved a lot).

These commands became way faster:
- yunohost app setting ...
- yunohost app list
- yunohost domain list
- yunohost domain dns-conf
- yunohost dyndns installcron/removecron
- ... and maybe others

* [fix] Timeout wat not defined anymore
2018-04-26 16:56:48 +02:00