1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00
Commit graph

132 commits

Author SHA1 Message Date
BenoitCier
a5bba52e1a upgrade script to allox old version upgrade, upgrade pull_request_template (new package check process, add local curl to finalise upgrade 2021-03-31 13:44:55 +02:00
Robles Rodolphe
696d4be07d add explanation for message if version outdated 2021-03-30 10:57:48 +02:00
Robles Rodolphe
83779d120e clean syntax for scripts with helpers in yunohost 2021-03-29 22:00:48 +02:00
Robles Rodolphe
2f5ec708a2 clean syntax for scripts with new release helpers in yunohost 2021-03-29 20:32:24 +02:00
Robles Rodolphe
8a2ff1a1ae clean syntax for scripts with new release helpers in yunohost 2021-03-29 20:27:48 +02:00
Robles Rodolphe
142836f0f3 more explanation in the messages 2021-03-29 19:10:54 +02:00
Robles Rodolphe
d5ccc4493d more explanation in the message 2021-03-29 18:14:45 +02:00
Robles Rodolphe
4ef8389109 symply add a message if version is too old to begin with the 0.9.8 update 2021-03-29 18:05:33 +02:00
Robles Rodolphe
298db507ff
remove ynh_local_curl 2021-03-17 01:33:54 +01:00
Robles Rodolphe
d1b7aa2c99 add a condition in upgrade if version outdated before 0.9.8 2021-03-17 00:52:27 +01:00
Yunohost-Bot
ab9751a09b [autopatch] Missing ynh_abort_if_errors in change_url scripts 2021-03-15 00:21:36 +01:00
Robles Rodolphe
c4e85fb513 delete Utils.php, upgrade to 1.0.5 which fix issue url path when saving new accounting 2021-02-02 14:18:16 +01:00
Robles Rodolphe
f5d1c6d4b4 add file to debug mismatch urls in version 1.0.4 2021-02-02 11:42:25 +01:00
Robles Rodolphe
b82a409f77
Merge branch 'subpath_correction' into testing 2021-02-01 17:11:31 +01:00
Robles Rodolphe
b953991533 upgrade 1.0.3 2021-01-19 20:27:13 +01:00
Robles Rodolphe
5a1842b2ef upgrade to version 1.0.2, add a file Utils.php to debug this version with Yunohost 2021-01-18 14:22:39 +01:00
ericgaspar
5476126c22
Small Fixes 2020-11-23 15:58:15 +01:00
Robles Rodolphe
22e664cbcd add changes with updates 2020-11-22 23:07:36 +01:00
Robles Rodolphe
ad6d067558 also remove extra-php_dependencies package in remove script 2020-11-05 00:00:36 +01:00
Robles Rodolphe
d8604b9682 update nginx.conf to protect against path traversal issue 2020-10-27 13:05:19 +01:00
Robles Rodolphe
b4cfaa5b18 update nginx.conf to protect against path traversal issue and remove a replace string in config.local.php 2020-10-27 13:01:28 +01:00
ericgaspar
f660cd55ba
Small typos 2020-10-04 18:59:23 +02:00
ericgaspar
bc4ad82598
Upgrade to 7.3 2020-10-04 18:42:48 +02:00
Éric Gaspar
8f812d149f
Merge branch 'testing' into update-to-upstream 2020-10-04 18:24:52 +02:00
Robles Rodolphe
5ef8789758 correct bad syntax in _common.sh 2020-09-28 00:49:07 +02:00
Robles Rodolphe
d6f4e2f293 add configuration nginx to enable redirection on urls and a condition in package dependencies for debian versions if or not buster 2020-09-27 23:02:11 +02:00
Robles Rodolphe
2a3e96d634 delete the command ynh_get_deian-release is not found in the file_common.sh ecause the helpers aren't sourced and so keep the package dependency without php version 2020-09-25 01:28:54 +02:00
Robles Rodolphe
6b73c5f75a delete --time 2020-09-25 00:41:35 +02:00
Robles Rodolphe
7385569757 forget and delete variale 2020-09-25 00:10:13 +02:00
Robles Rodolphe
5a748643c0 try to have avatiable for php version, syntax for weigth, add a constant in config.local.php 2020-09-24 23:40:05 +02:00
Robles Rodolphe
3423f57188 keep backup if exist of config.local.php 2020-08-28 16:40:06 +02:00
Robles Rodolphe
649a74f3e2 comment the key added with the install script 2020-08-28 16:24:53 +02:00
Robles Rodolphe
4224b4c904 keep a key added by yunohost for script install only 2020-08-28 16:13:34 +02:00
Robles Rodolphe
9551650291 remove key added with yunohost on install and upgarde script 2020-08-28 15:50:58 +02:00
ericgaspar
d8f670f7ce
cleaning up 2020-07-14 13:58:15 +02:00
ericgaspar
f62b7561b3
clean up 2020-07-14 13:13:35 +02:00
ericgaspar
3dbd2e68a7
update to upstream 2020-07-14 12:56:01 +02:00
Robles Rodolphe
831a1be56b remove backup when active trap 2020-06-18 01:31:51 +02:00
Robles Rodolphe
e8cf64bfc3 fix bug with path 2020-06-17 22:12:24 +02:00
frju365
70788eaea4
Update change_url 2020-06-17 21:46:42 +02:00
frju365
82d7ffc2cf
Subpath correction (#22) 2020-06-17 20:51:48 +02:00
frju365
e4880d6451
Merge branch 'master' into subpath_correction 2020-06-17 20:51:23 +02:00
frju365
a7075ac9c8
Little correction 2020-06-17 20:46:32 +02:00
frju365
aad6a3b3b3
Merge branch 'testing' into master 2020-06-17 20:21:37 +02:00
frju365
ff3a72dddb
Example APP compliant (#19)
* Add images for README
* Correction to README
* little Correction to README
* Subpath and different corrections
2020-06-17 20:19:58 +02:00
Robles Rodolphe
03f3febf74
Upgrade (#18)
* Update source to 0.9.5
2020-06-17 20:19:27 +02:00
frju365
ebbae37f00
Subpath and different corrections 2020-06-17 20:06:46 +02:00
Robles Rodolphe
52c95af69d
Fix permissions for new helpers (#17)
* try to update source to 0.9.5
* refactoring and try to update version
* add hooks to copy file config.dist.php in config.local.php with good options
2020-06-17 18:44:53 +02:00
Robles Rodolphe
b7d2abacc3
Update to version 0.9.5 with the last commit (#16)
* try to update source to 0.9.5

* try to update source to 0.9.5

* refactoring and try to update version

* try to debug

* try to debug

* try to debug

* try to debug

* try to debug

* try to debug

* try to debug

* try to debug

* try to debug

* try to debug

* try to debug

* try to debug

* try to debug

* try to debug

* try to debug

* try to debug

* try to debug

* try to debug

* try update garradin

* try the upgrade without php7.2

* try to debug

* try to debug

* try to debug

* try to debug

* add hooks to copy file config.dist.php in config.local.php with good options

* add hooks to copy file config.dist.php in config.local.php with good options

* try again to correct values

* try again to correct values

* try again to correct values

* change the upgrade file

* change the upgrade file

* try to backup sql for the upgrade

* try to save sqlite bdd since upgarade

* try to save sqlite bdd since upgarade

* try to save sqlite bdd since upgarade

* make the upgrade with backup of the bdd

* syntax error on file backup

* syntax error on file backup

* change the hook post_upgrade

* change the hook post_upgrade

* delete folder hooks and update the scripts install and upgrade

* correct url for backup file config.local.php

* correct url for backup files

* correct url for backup files

* delete the backup of config.local.php because this file must be edited with this upgrade

* delete the backup of config.local.php because this file must be edited with this upgrade

* change the script backup

* change the script backup

* add a missing bracket in script restore

* prepare package_check

* prepare package_check

* delete php.ini not used and add the values (commented) on php_fpm.conf

* delete sudo for bash commands

* remove file script jenkins

* syntax error

* try ro change PATH nginx.conf

* the garrdin must be insstalled on a sub-domain, back to put the correct path

* try to delete slash at the end of PATH in nginx.conf

* change path_url in config.local.php for sripts install and upgrade

* change also the path for change_url

* change also the path for change_url

* change also the path for change_url

* change also the path for change_url

* change also the path for change_url

* change also the path for change_url

* change also the path for change_url

* change also the path for change_url

* try to debug upgrade

* error syntax

* chnage the code in upgrade to look for exist or not file association.bdd

* try to debug update script conditions

* try change install and update to debug scripts

* try to debug update script conditions

* try to debug update script conditions

* try to debug update script conditions

* check_url available for check_package

* try to make better check_packages dependencies

* try to make better check_packages dependencies

* try to make possible install on root path and change url from or to root path

* try to make possible install on root path and change url from or to root path

* try to make possible install on root path and change url from or to root path

* try to make possible install on root path and change url from or to root path

* try to make possible install on root path and change url from or to root path

* try to make possible install on root path and change url from or to root path

* try to make possible install on root path and change url from or to root path

* try to make possible install on root path and change url from or to root path

* try to make possible install on root path and change url from or to root path

* try to make possible install on root path and change url from or to root path

* try to make possible install on root path and change url from or to root path

* try to make possible install on root path and change url from or to root path

* try to make possible install on root path and change url from or to root path

* come back to precedent config por nginx

* just a test to watch if it is possible like this install on root path

* come back to this code, have not found how to install on root path with this version

* but back check_up as origin

* add a search for nginx.conf

* try change nginx.conf and how to add a line on config.local.php

* try change nginx.conf and how to add a line on config.local.php

* try change nginx.conf

* try change nginx.conf

* try change nginx.conf

* change install

* try change nginx.conf

* try change nginx.conf

* try change nginx.conf

* try change nginx.conf

* try change nginx.conf

* try change nginx.conf

* try change nginx.conf

* try change nginx.conf

* try change nginx.conf

* try change nginx.conf

* success, change check_path

* few change to delete blanks

* delete sudo not need on install

* comment ynh_delete_file_checksum in common.sh

* delete ynh_delete_file_checksum in common.sh

* delete sudo on upgrade, no need

* put condition in install and update for config.local.php

* put condition in install and update for config.local.php

* try to save secret key if exist on update

* try to save secret key if exist on update

* try to save secret key if exist on update

* try to save secret key if exist on update

* try to keep secret key script on install

* back to previous version

* try to keep secret key script on install

* try to keep secret key script on install

* try create secret key script on install

* create secret key script on install

* put same lenght for secret key then the example in config.dist.php script for install

* try to debug slash for root directory in install and upgrade

* try to debug slash for root directory in cahnge_url

* try to debug slash for root directory in change_url

* try to debug slash for root directory in change_url

* try to put clean upgrade script

* try to debug change_url script

* try to debug change_url script

* try to debug change_url script

* try to debug change_url script

* try to debug change_url script

* try to debug change_url script

* try to debug change_url script

* try to debug change_url script

* try to debug change_url script

* try to debug change_url script

* try to debug change_url script

* change manifest

* change url debug

* change Readme

* change url debug

* change url debug

* add a line in config.local.php for domain in change_url script

* add a line in config.local.php for domain in change_url script

* add a line in config.local.php for domain in change_url script

* add a lines for doamin in config.local.php in change_url install and upgrade script

* comme back to previous version

* sripts modified, try to resolve change url

* sripts modified, try to resolve change url

* sripts modified, try to resolve change url

* sripts modified, try to resolve change url

* sripts modified, try to resolve change url

* sripts modified, try to resolve change url

* sripts modified, try to resolve change url

* sripts modified, try to resolve change url

* sripts modified, try to resolve change url

* sripts modified, try to resolve change url

* remove file_checksum md5 not needed

* cleaning syntax
2020-04-11 13:02:18 +02:00
frju365
23fb8bf7be
Update upgrade 2019-02-24 12:05:20 +01:00