* Adding a 'upgradable' attribute directly in app_info
Conflicts:
src/yunohost/app.py
src/yunohost/tools.py
* Fixing a few weird stuff from cherry-picking
* 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
hairpinning is the answer to the problem, not the problem itself. We should probably rewrite the whole sentence, but to keep it simple, let's just add it is an issue related to hairpinning.
* [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