Commit graph

2373 commits

Author SHA1 Message Date
frju365
8c3c9e697a
[enh] ECDH Curves 2018-04-28 20:44:44 +02:00
frju365
0154f15d95
[enh] ECDH Curves 2018-04-28 20:42:57 +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
Maniack Crudelis
c20fa217a7
fix bad line 2018-04-24 00:02:07 +02:00
Laurent Peuch
de305ce18e [mod] more explicite error message for dyndns subscribe server failure 2018-04-18 04:29:11 +02:00
Bram
fa152adee6 [enh] Display debug information on cert-install/renew failure (#447)
* [mod] split function to add _get_dns_ip
* [enh] display debug information on cert-install/renew failure
2018-04-17 17:23:04 +02:00
ljf
b0a60b89d2 [fix] Display operation name if exist 2018-04-14 18:16:56 +02:00
ljf
1b62e9425d [enh] Allow to display part of log specified with path 2018-04-14 18:11:50 +02:00
ljf
d17193b404 [enh] Limit number of line per log 2018-04-14 04:55:20 +02:00
ljf
bb03e90d16 [enh] Support other log path in metadata 2018-04-14 04:29:41 +02:00
ljf
2c30bb8965 [enh] Configure unit operations on cert management 2018-04-14 04:14:14 +02:00
ljf
650b768229 [enh] Replace category by related_to fields 2018-04-14 04:04:09 +02:00
Josue-T
ab2b7db0cf Trigger error if app dependency install fails (Redmine 1006) + allow for 'or' in dependencies (#381)
* Solve issue https://dev.yunohost.org/issues/1006
I purpose this change to improve the helper 'ynh_install_app_dependencies'.
Before this change if the dependences are not installable the install didn't fail. By these change the helper generate an error and the install stop.

* Get the error if apt fail
* Remove old change
* Add dependence choice
2018-04-13 14:31:36 +02:00
Maniack Crudelis
6c7fb0cef2 Fix n usage (#446)
* Fix n usage
* Fix ynh_remove_nodejs as well
2018-04-13 14:28:58 +02:00
ljf
73828306df [fix] Path log file with no extension 2018-04-13 11:27:31 +02:00
ljf
a9d937db21 [enh] Display nice operation name 2018-04-13 10:11:44 +02:00
ljf
79ee0396d0 [enh] Add related info 2018-04-12 21:22:17 +02:00
ljf
b81d89f93a [fix] Remove old ref to Journal 2018-04-11 23:01:24 +02:00
ljf
6c063112bf [fix] Some missing 2018-04-11 22:58:26 +02:00
ljf
fac50997dc [fix] Some missing 2018-04-11 22:54:46 +02:00
ljf
219f1c6262 [enh] Use Handler to write log 2018-04-11 22:49:26 +02:00
ljf
a22672ede8 [fix] Avoid operation log filename with space 2018-04-11 10:03:20 +02:00
ljf
c1bd302973 [enh] Rename some logs into operations 2018-04-11 09:31:40 +02:00
ljf
fb27b4d5f2 [enh] Sort logs display by start date 2018-04-10 16:28:31 +02:00
ljf
d310540a6f [enh] Set the date before operation name 2018-04-10 15:42:48 +02:00
ljf
ba01168684 [enh] Allow to display all operation logs with one command 2018-04-03 20:38:56 +02:00
Maniack Crudelis
91d0965569 Add nodejs helpers (#441)
* Add nodejs helpers
* Typo fix
* Add explanation for load_n_path
* Remove useless line
* Remove another old useless line
* Move to a dedicated file
* Move to a dedicated file
* Fix check n already installed
2018-03-30 23:05:04 +02:00
Bram
60727e5fab
[fix] typo 2018-03-20 22:27:42 +01:00
Bram
07355502e3
Merge pull request #443 from YunoHost/wget-dependency
Add wget as dependency
2018-03-18 19:18:24 +01:00
ljf (zamentur)
cf78e40658
Add wget as dependency 2018-03-18 15:11:49 +01:00
Alexandre Aubin
79eb70ec61 Use number/name in i18n string to avoid breaking existing translations... 2018-03-16 14:38:04 +01:00
Alexandre Aubin
44a66b1ff4 Fix migration skipping during postinstall 2018-03-16 14:38:04 +01:00
Alexandre Aubin
9009b3f9d3 Handle disclaimers 2018-03-16 14:38:04 +01:00
Alexandre Aubin
c8b1d7e2c3 Forgot to adapt this also.. 2018-03-16 14:38:04 +01:00
Alexandre Aubin
c266147fd9 Be able to list only pending or done migrations 2018-03-16 14:38:04 +01:00
Alexandre Aubin
c568b04459 Manage the auto/manual flag in migrations_migrate 2018-03-16 14:38:04 +01:00
Alexandre Aubin
c40f14e8f0 Adapt 'manual' call to migration from dyndns according to previous changes 2018-03-16 14:38:04 +01:00
Alexandre Aubin
bafe6efde2 Typo 2018-03-16 14:38:04 +01:00
Alexandre Aubin
d73197793c Adapt migrations_migrate according to previous changes 2018-03-16 14:38:04 +01:00
Alexandre Aubin
0702af6054 Simplify my previous stuff about managing migration infos ? 2018-03-16 14:38:04 +01:00
Alexandre Aubin
7f359e363b Add mode, description and optionnal disclaimer for migrations 2018-03-16 14:38:04 +01:00
Alexandre Aubin
020dea6531 Change the way we list migrations (always load the module) and the way we manage its infos 2018-03-16 14:38:04 +01:00
Josue-T
bdf923aafc Solve issue with ynh_restore_file (#384)
* Solve issue with ynh_restore_file

While we use the `ynh_restore_file` if the destination already exist the `mv` fonction don't work correctly. By this commit the old directory is renamed.

* Move to /home/yunohost.conf file if already exist in restoration

* Remove if the file is bigger than 500Mo

* Use a local variable

* Fix DEST_PATH

* Fix comment and typo

* More precise comment regarding the behavior if DEST_PATH exists
2018-03-15 18:58:11 +01:00
Alexandre Aubin
fc8537643b
Merge pull request #398 from YunoHost/backup_core_only
[enh] Tranfer backup_core_only to BACKUP_CORE_ONLY
2018-03-15 17:32:39 +01:00
Maniack Crudelis
65dab2022c
Merge branch 'unstable' into backup_core_only 2018-03-15 17:27:40 +01:00
Alexandre Aubin
44325ec87b
Merge pull request #440 from YunoHost/clean-helper-doc
Misc fixes in the helpers to clean the autodoc
2018-03-15 00:41:55 +01:00
Alexandre Aubin
af22474a50 Add some [internal] flags in the comment to hide a few helpers from autodoc 2018-03-10 19:01:37 +01:00
Alexandre Aubin
935b972d6e Misc fixes in the helpers to clean the autodoc 2018-03-09 17:55:07 +01:00
Maniack Crudelis
8652435d8a
[fix] Remove warning from equivs 2018-03-08 18:53:21 +01:00
Laurent Peuch
bdface200a
Merge pull request #428 from jlescher/unstable
[Fix] Stronger match for acme-challenge nginx location
2018-03-07 22:07:58 +01:00