Commit graph

3136 commits

Author SHA1 Message Date
Alexandre Aubin
a974d08897 Fix use case of app_fetchlist with url=None 2019-03-08 01:22:32 +01:00
Alexandre Aubin
cea5c81e92
Merge pull request #526 from YunoHost/hook_return
[enh] Allow hooks to return data
2019-03-07 18:10:19 +01:00
Alexandre Aubin
b242833dcb
Merge branch 'stretch-unstable' into hook_return 2019-03-07 18:09:50 +01:00
Alexandre Aubin
a066230fe1
Merge pull request #669 from YunoHost/manifest_texte_argument
[enh] allow 'display_text' ~fake~ argument in manifest.json
2019-03-07 18:04:10 +01:00
Alexandre Aubin
7f779ddd1c This ambiguity about 'ret' definitely looks like a bug ... 2019-03-07 17:10:01 +01:00
Alexandre Aubin
135ac60d94 Clarify arguments usage 2019-03-07 17:04:40 +01:00
Alexandre Aubin
55e9df75d0 Clean tmp directory if it not empty 2019-03-07 17:03:59 +01:00
Alexandre Aubin
5e0f63eab4 Reject app password if they contains { or } 2019-03-07 15:45:48 +01:00
Kayou
f1e097a5bd
Fix tab 2019-03-07 11:25:32 +01:00
Alexandre Aubin
def005d2da
Fix weird message 2019-03-05 00:42:20 +01:00
Alexandre Aubin
e3dfd63481
Replace hard-corded value with constant defined above 2019-03-04 22:54:02 +01:00
Alexandre Aubin
5516e96d07 Simpler fetching of failed/succeeded hooks in CustomBackupMethod 2019-03-04 19:05:43 +01:00
Alexandre Aubin
88b7d77610 Display raw json content in case of exception 2019-03-04 18:58:04 +01:00
Alexandre Aubin
16245f53d9 Fix listing of succeed/failed for backup and restore 2019-03-04 18:33:09 +01:00
Alexandre Aubin
c74bff31d1 Fix listing of succeed/failed hook names 2019-03-04 17:44:20 +01:00
Alexandre Aubin
877fe50685 Use a finally clause to avoid duplicated code 2019-03-04 17:21:57 +01:00
Alexandre Aubin
433e82dfc8
Merge pull request #662 from YunoHost/optimize-dyndns-requests
[fix] Optimize dyndns requests
2019-03-04 17:10:37 +01:00
Alexandre Aubin
f37a6b43e1 More general exception to handle other cases (e.g. SSL errors, ...) 2019-03-04 17:09:31 +01:00
Alexandre Aubin
b782b9c0ed Merge remote-tracking branch 'origin/update-dns-resolver-list' into stretch-unstable 2019-03-04 16:42:31 +01:00
Alexandre Aubin
bac76b3769
Merge pull request #639 from Taekiro/patch-1
[enh] Add IPv6 nameserver to resolv.dnsmasq.conf from diyisp.org
2019-03-04 16:40:17 +01:00
Laurent Peuch
b8c5e9f1b6 [enh] allow 'display_text' ~fake~ argument in manifest.json 2019-03-04 03:27:49 +01:00
Alexandre Aubin
e81e232fb2 Add a check that some required services are up before running install and upgrade 2019-03-04 03:09:23 +01:00
Maniack Crudelis
08e51f2680
Do not show errors about log not existing yet. 2019-03-03 18:58:38 +01:00
Maniack Crudelis
337a065b4a
Print progression only after 3s 2019-03-03 18:57:41 +01:00
Maniack Crudelis
58af343a84
Add warning about exec_* printers 2019-03-03 17:25:07 +01:00
Maniack Crudelis
12c61eeb65
Use printers 2019-03-03 16:38:54 +01:00
Alexandre Aubin
078b9b90bc
Drunk commits were made >.> 2019-03-03 00:50:36 +01:00
Alexandre Aubin
4a8563ed9e
Clarify the if case for 'get' 2019-03-01 01:43:16 +01:00
Alexandre Aubin
e6f1845448
Add -f to rm 2019-03-01 01:40:52 +01:00
Maniack Crudelis
f51101152a
Missing } 2019-02-26 15:37:50 +01:00
Alexandre Aubin
15b3733e22 Don't raise an exception in the middle of the loop, that check can be done before 2019-02-26 02:34:02 +01:00
Alexandre Aubin
366d8231eb Makes no sense to not show those messages only if that's a user-specified list ... 2019-02-26 02:29:18 +01:00
Alexandre Aubin
b49eeddcf9 Drunk commits were drunk 2019-02-26 02:20:41 +01:00
Maniack Crudelis
b3edc2a63c
Fix ynh_add_fail2ban_config legacy mode
Merged as a micro decision
Fix https://github.com/YunoHost/issues/issues/1313
2019-02-26 01:59:03 +01:00
Alexandre Aubin
ac6f24671c In case no file in dir, still an empty string will be read, which matches [[:digit:]]* (but won't with +) 2019-02-26 00:59:31 +01:00
Alexandre Aubin
990eeb76e1 Missing space breaks bash parsing of the whole file 2019-02-26 00:40:16 +01:00
Maniack Crudelis
873bf4ae37 Add min version for all helpers 2019-02-25 18:44:21 +01:00
Romuald du Song
e7d322b68c don't enforce services reconfiguration generation unless you don't want to keep user meodifications 2019-02-25 18:29:46 +01:00
Alexandre Aubin
c191572a25
Typo 2019-02-25 01:23:05 +01:00
Alexandre Aubin
a1d85b6350
Merge branch 'stretch-unstable' into featureCipherStrategy 2019-02-25 00:56:20 +01:00
Alexandre Aubin
fa4023283b
Merge pull request #660 from yalh76/patch-1
[enh] Add the arch argument to ynh_install_nodejs
2019-02-25 00:52:08 +01:00
Alexandre Aubin
6a7a0a819a
Merge pull request #661 from YunoHost/no-strict-transport-if-selfsigned-cert
[enh] Don't add Strict-Transport-Security header in nginx conf if using a selfsigned cert
2019-02-25 00:51:53 +01:00
Alexandre Aubin
0320ca9402
Merge pull request #654 from YunoHost/trigger-actions-when-changing-settings
[enh] Be able to define hook to trigger when changing a setting
2019-02-25 00:51:33 +01:00
Alexandre Aubin
b274a701fe
Merge pull request #652 from YunoHost/assert-dpkg-is-not-broken-before-app-install
[enh] Assert dpkg is not broken before app install
2019-02-25 00:51:20 +01:00
Alexandre Aubin
cfda8ac1de
Merge pull request #650 from YunoHost/app_upgrade_message_ux
[enh] Improve / add some messages to improve UX
2019-02-25 00:51:07 +01:00
Alexandre Aubin
ec72a8d632
Merge pull request #648 from YunoHost/diff_backup_file
[enh] Print diff of files when backup by ynh_backup_if_checksum_is_different
2019-02-25 00:49:31 +01:00
Alexandre Aubin
f17f51f3f6 Add ynh_app_setting helper to optimize app setting interface 2019-02-24 03:32:14 +01:00
Alexandre Aubin
9657387746 Prevent calling dyndns_subscribe if already subscribed 2019-02-24 02:10:24 +01:00
Alexandre Aubin
3f8f328fae Delete the key if subscribing failed, to avoid confusion later trying to detect registered domains 2019-02-24 02:04:41 +01:00
Alexandre Aubin
283e01db8f Don't make a whole HTTP request every dyndns update... 2019-02-24 01:58:33 +01:00