* [enh] add app_change_url
* [fix] avoid unecessary io and reuse already existing variable
* [fix] bad comment
* [fix] another bad comment
* [fix] I need to be able to call yunohost during change_url scripts
* [mod] global variables are now uppercased
* [mod] compress condition
* [enh] don't change_url if old/new domain_path are identical
* [mod] i18n
* [enh] ensure that nginx doesn't failed at the end of change_url
* [fix] forgot to call this damn m18n
* [mod] m18n
* [enh] ask and requires new domain/path for change_url
* [fix] missing translation key
* [mod] ordering
* [mod] lisibility
* [enh] avoid common mistakes
* [fix] check_output is annoying
* [fix] locale: typo.
* Adding changeurl unit test draft
* [mod] remove useless imports
* [mod] style
* [mod] change_url -> changeurl
* Moving comment about checkurl near checkurl call
* Normalize new path and domain format
* Adding test about trying to changeurl to same url
* Internationalizing change app success message
* Removing 'trimed' stuff
* Moving check for change_url script at beginning of function
* Use _run_service_command to reload nginx
* Changing changeurl back to change-url, gomennasai :s
* Adding resolvconf as dependency
* Adding new templates for dnsmasq
* Adding libnss-myhostname as dependency
* tableflip.gif
* Moar tableflip.gif :/
* Tweaking dns resolvers used by dnsmasq
* Adding Aquilenet + moving FDN back to top
* Clarifying how the resolv.dnsmasq.conf template is used
* Moving nsswitch force regen back to postinstall
* Splitting checkurl into two functions, one to check availability, the other for booking
* [fix] move import at file's beginning.
* Rename bookurl to registerurl
* Set registerurl as a PUT request for the api
* urlavailable returns a boolean now
* Revert moving import to top of file :/
* Have domain and path as separate arguments
* Flagging checkurl as deprecated in the actionmap
* Adding unit tests for registerurl and related
* Using built-in deprectation mechanism of Moulinette
* Using - separator in names + moving url-available to domain
* Returning directly a bool in url-available
* Adding new port availability checker in tools
* [fix] move import at file's beginning.
* Moving back import inside function
* Using boolean instead of Yes/No
* Using built-in depreciation mechanism in Moulinette
* We're now using boolean instead of yes/no
* Renaming to port-available
* Returning directly a boolean
* [mod] directly use python to retreive json list
* [enh] app_fetchlist fetch all app_list by default
* [fix] name variable doesn't exists here
* [fix] re returns None when there is not matchs
* [enh] app_fetchlist fetch all app_list by default
* Some cleaning for better readability
* Simpler variable name
* Prepare a function that register lists to be fetched
* Skeletong for applist system migration
* Add implementation of migration system with tests
* Refactorize app_fetchlist
* Misc fixes + adding test for single app fetching
* Fixing a few issues + test removelist
* Adding fetchlist and cron install during postinstall
* Adding debug messages
* Adding particular exception for SSL connection error
* Update actionmap help
* We don't use urlretrieve
* Clean tests, some description were bad
* [mod] some cleaning
* Moving to a .json file to store lists url + adjusting tests
* Adding missing string in locale
* Moving exception to logger.error when fetching fails
* Adding name of applist in error messages
* Fixing cron job stuff + adding proper tests
* Using None instead of -1 for applist lastupdate
* Handling exceptions when writing applist files
* More exception handling...
* [mod] pep8
* Updating test for migration of conflicting lists
* More general error when return code is not 200
* [enh] Improve app_fetchlist help.
* [fix] Use appslist instead of applist.
* [fix] Consistent user string for translation.
* New helper ynh_curl_abstract
Just an abstraction around curl command.
To prevent forgot arguments and simplify this difficult command.
* [enh] Switch args of ynh_curl_abstract
* [enh] Rename ynh_curl_abstract into ynh_local_curl
* Splitting the various key=value into several arguments
* Comment to clarify bash command
* Adding comment about $domain and $path_url
* 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
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).
* 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
* 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