Commit graph

2050 commits

Author SHA1 Message Date
Maniack Crudelis
c31e4c5b0d New helper ynh_replace_string (#280)
* New helper ynh_substitute_char
Sed abstraction, and a way to use something other than sed.
I added also an escape of the delimiter used by sed, to prevent a fail in this case.
* Renaming to ynh_replace_string
* Renaming variable for clarity
2017-04-02 23:52:11 +02:00
Alexandre Aubin
86f0978dfb Cleaner postinstall logs during CA creation (#250) 2017-03-29 02:39:00 +02:00
ljf (zamentur)
11bcdabbc0 Merge pull request #273 from YunoHost/allow_underscore_backup
Allow underscore in backup name
2017-03-28 01:56:20 +02:00
opi
4a729ba035 [enh] Add libnss-mdns as Debian dependency. (#279) 2017-03-28 01:36:27 +02:00
Alexandre Aubin
5dc86e6dbf Mention limit of 30 characters in message 2017-03-28 01:33:20 +02:00
JimboJoe
bb11168c31 Fix for missing YunoHost tiles (#276)
This PR:
- brings back [this PR](https://github.com/YunoHost/yunohost-config-nginx/pull/3/files) which seems to have stayed behind when migrating from `yunohost-config-nginx`. It fixes the missing tile for Jirafeau app (and maybe others).
- adds a fix to serve `ynhpanel.*` files whatever the app ningx rules are (some apps nginx conf files block them, like duniter or nextcloud).
2017-03-26 21:07:13 +02:00
ljf (zamentur)
93424a9994 Merge pull request #278 from YunoHost/fix-ipv6-https
[enh] ip6.yunohost is now served through HTTPS.
2017-03-26 17:39:51 +02:00
Moul
856699445e Update changelog for 2.6.1 release 2017-03-23 10:01:46 +00:00
opi
ce472696f5 [enh] ip6.yunohost is now served through HTTPS. 2017-03-22 08:31:47 +01:00
M5oul
d00ed6cacf Merge pull request #188 from YunoHost/install_as_root
Use the root user for app installation
2017-03-20 21:17:35 +01:00
Laurent Peuch
373ef1acba Merge pull request #269 from YunoHost/clean-services.yml
Clean services.yml
2017-03-20 01:50:09 +01:00
Laurent Peuch
50188ae265 [fix] only remove a service if it is setted to null 2017-03-20 01:49:27 +01:00
Laurent Peuch
5e87438928 Merge pull request #272 from YunoHost/use-maindomain-helper
[enh] Use _get_maindomain helper.
2017-03-20 01:36:24 +01:00
Laurent Peuch
f941360edf Merge pull request #259 from YunoHost/upgrade_cipher_suit
[enh] upgrade ciphers suit to more secure ones
2017-03-20 01:35:11 +01:00
Laurent Peuch
6a0db24c5d Merge pull request #247 from YunoHost/equivs_helpers
[enh] New helpers for equivs use
2017-03-20 01:34:12 +01:00
ljf
8cba71b514 [fix] Apply cipher suite into webadmin nginx conf 2017-03-20 00:45:33 +01:00
Laurent Peuch
48238171b2 Merge pull request #248 from YunoHost/logrotate_helpers
[enh] New helpers for logrotate
2017-03-17 16:16:56 +01:00
Maniack Crudelis
9d44e1d84b [enh] New helper ynh_abort_if_errors (#245)
* New helper ynh_check_error

Helpers to implemente trap and set -eu.

Simply to use, you only add `ynh_check_error` in your script.

* Change helper's name

* Propagate new name in comments
2017-03-17 16:16:36 +01:00
Laurent Peuch
07e8e8d5f6 Merge pull request #271 from YunoHost/fix-672-maindomain-refresh-ssowatconf
[fix] Regenerate SSOwat conf during main_domain operation. #672
2017-03-17 11:22:41 +01:00
Alexandre Aubin
5b9092d6df Rename ynh_app_dependencies to ynh_install_app_dependencies 2017-03-17 04:07:17 +01:00
Maniack Crudelis
5f3fcefc88 Prevent to rewrite the previous control file 2017-03-16 18:35:57 +01:00
Maniack Crudelis
6fbc6fa17d Nouveau helper ynh_normalize_url_path (#234)
* Nouveau helper ynh_check_path

Nouveau helper pour vérifier et corriger la syntaxe du path.
Et ça permet de passer le test "incorrect_path" de package check

* [fix] Bad comment

* path en argument et normalize

* Make commande more obvious

* Do not use path

* Adding behavior for / in the documentation
2017-03-16 04:58:34 +01:00
Maniack Crudelis
47dffca744 Allow underscore in backup name
Allow underscore in backup name, to allow backup with the name of multi-instance apps.

If there are no reason to avoid this character.
2017-03-15 23:51:12 +01:00
opi
08760df0ec [fix] Regenerate SSOwat conf during main_domain operation. #672 2017-03-14 22:22:01 +01:00
Maniack Crudelis
2bb32c26b6 Add app setting 2017-03-14 18:05:28 +01:00
opi
6df7a896ef [enh] Use _get_maindomain helper. 2017-03-14 16:48:50 +01:00
Maniack Crudelis
5fcb8cd439 Remove use of deprecated helper 2017-03-14 16:34:07 +01:00
opi
0c01dd4dca Merge branch 'stable' into unstable. (#230 was merged into stable) 2017-03-14 16:29:09 +01:00
Laurent Peuch
7f1a6118bf Merge pull request #194 from YunoHost/clean_app_list_a_bit
[mod] try to clean a bit app_list code
2017-03-14 00:36:28 +01:00
Laurent Peuch
4be2720cb0 [mod] implement ljf comment 2017-03-14 00:35:28 +01:00
Laurent Peuch
50cc3536ac [mod] remove offset/limit from app_list, they aren't used anymore 2017-03-13 23:51:37 +01:00
Maniack Crudelis
f2e656176e Failed if $1 not set
Because we use set -u, this helper failed if the optional arg is not set
2017-03-13 23:29:47 +01:00
Alexandre Aubin
f851817bbf Updating ciphers with recommendation from mozilla with modern compatibility 2017-03-12 20:58:45 -04:00
Laurent Peuch
7acf8bd5a7 Merge pull request #270 from YunoHost/ssowatconf-on-broken-install-fix-773
[fix] launch ssowatconf at the end of a broken install to avoid sso bad state
2017-03-11 14:40:55 +01:00
Alexandre Aubin
df2f26c607 [enh] Trigger exception during unit tests if string key aint defined (#261) 2017-03-11 03:11:39 +01:00
Laurent Peuch
3848acb0a6 Merge pull request #258 from yunohost-bot/weblate-yunohost-yunohost
Update from Weblate.
2017-03-07 21:30:08 +01:00
opi
f490bf2e96 [love] adding thardev to contributors 2017-03-07 21:26:08 +01:00
M5oul
9dc2c0cece Merge pull request #265 from YunoHost/dnsmasq_conf_mod
[fix] dnsmasq conf: remove 'resolv-file' line.
2017-03-07 10:32:05 +01:00
M5oul
9500b3d6a8 Merge pull request #264 from YunoHost/dnsmasq_conf_clean
[mod] dnsmasq conf: remove deprecated XMPP DNS record line.
2017-03-07 10:29:54 +01:00
Laurent Peuch
8482e48f9f [fix] launch ssowatconf at the end of a broken install to avoid sso bad state 2017-03-07 02:07:09 +01:00
Laurent Peuch
a18486df05 [enh] add other services to remove 2017-03-07 00:30:58 +01:00
Laurent Peuch
6d1c62d619 [fix] we don't use bind9, add null entry to remove it from old services.yml 2017-03-07 00:30:58 +01:00
Laurent Peuch
949e4de20a [fix] nsswitch and udisks2 aren't used anymore 2017-03-07 00:30:58 +01:00
Laurent Peuch
4db42fdeb7 [fix] if a service don't have a 'status' entry, don't list it 2017-03-07 00:30:57 +01:00
Laurent Peuch
d7da9b4565 Merge pull request #260 from thardev/enh-691-show-fail2ban-logs-web
[enh] Show fail2ban logs on admin web interface
2017-03-06 15:57:18 +01:00
Laurent Peuch
02c974e8ca [mod] remove useless addition 2017-03-05 17:47:33 +01:00
Alexandre Aubin
cc9364f37e Trying to make offset / limit consistent 2017-03-05 17:47:33 +01:00
Alexandre Aubin
4deaed1c78 Trying to add comments and simplify some overly complicated parts 2017-03-05 17:47:33 +01:00
Laurent Peuch
db601a412d [mod] try to clean a bit app_list code 2017-03-05 17:34:37 +01:00
Laurent Peuch
76a7a36c62 [enh] run hooks as root 2017-03-05 16:41:53 +01:00