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

210 commits

Author SHA1 Message Date
Robles Rodolphe
936baa4578 syntax error 2021-05-10 16:19:10 +02:00
Robles Rodolphe
056e480ba1 syntax error 2021-05-10 16:18:18 +02:00
Robles Rodolphe
524bd0f451 Merge branch '1.1' of github.com:YunoHost-Apps/garradin_ynh into 1.1 2021-05-10 16:03:11 +02:00
Robles Rodolphe
48578ae98c change permissions on files and directories 2021-05-10 16:02:39 +02:00
Robles Rodolphe
250126c51d
Merge branch 'testing' into 1.1 2021-05-07 19:39:09 +02:00
Robles Rodolphe
3cfeb09440 try fix change_url 2021-05-07 17:44:17 +02:00
Robles Rodolphe
28571f38fe some fix syntax and recursive chmod 2021-05-05 10:40:58 +02:00
ericgaspar
f5661c7c5b
upgrades 2021-05-05 09:53:40 +02:00
Robles Rodolphe
ebf3b4a4d4 back to previous nginx conf 2021-05-05 09:22:13 +02:00
Robles Rodolphe
c25ab1a2cc try a change on nginx conf 2021-05-05 09:18:37 +02:00
Robles Rodolphe
85c0e52e66 upgrade version 1.1.4 2021-05-05 08:00:09 +02:00
Robles Rodolphe
7565295eed try fix this upgrade 2021-04-22 16:30:20 +02:00
Robles Rodolphe
13926c06d4 debug script install, no need pavkage_dependencies 2021-04-17 23:51:01 +02:00
Robles Rodolphe
2c8542eaad debug script install 2021-04-17 23:44:09 +02:00
Robles Rodolphe
d267ec9df1 debug script install 2021-04-17 23:35:15 +02:00
Robles Rodolphe
367a5b80de debug script install 2021-04-17 23:24:36 +02:00
Robles Rodolphe
0da50209d4 line script install extra_dependencies 2021-04-17 21:25:41 +02:00
Robles Rodolphe
e9eca701be change php modules extra_dependencies 2021-04-17 18:51:07 +02:00
Robles Rodolphe
23dc5ee763 try update php dependencies 2021-04-17 18:01:12 +02:00
Robles Rodolphe
b4ebffa89f update to version 1.1 2021-04-17 16:57:07 +02:00
Robles Rodolphe
76d0ed0a80 make first this branch equal as master branch 2021-04-17 15:43:27 +02:00
BenoitCier
43fe3f6e1c fix bug upgrade old version 2021-03-31 16:51:59 +02:00
BenoitCier
535d7cce64 fix bug upgrade old version 2021-03-31 15:53:48 +02:00
BenoitCier
8e8b49f757 fix bug upgrade old version 2021-03-31 15:33:13 +02:00
BenoitCier
3e7b1707b4 fix bug upgrade old version 2021-03-31 15:12:22 +02:00
BenoitCier
24c8cfa286 fix bug upgrade old version 2021-03-31 14:32:00 +02:00
BenoitCier
8fe0ba1e7a fix bug upgrade old version 2021-03-31 14:19:34 +02:00
BenoitCier
eda6b9f356 add local curl at the end of upgrade 2021-03-31 13:59:27 +02:00
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
frju365
058e2d9d11
Update install 2018-07-13 01:34:04 +02:00
frju365
fb5e64ba72
Update restore 2018-07-01 11:25:00 +02:00
frju365
21aa5d4546
[fix] Stretch 2018-05-20 14:02:31 +02:00
frju365
6d24c83fe2
Create change_url 2018-03-24 17:43:55 +01:00
frju365
e9d824dddc
Update restore 2018-03-24 17:37:10 +01:00
frju365
3b5ddfb250
Update install 2018-03-24 17:11:59 +01:00
frju365
9d422f6e9a
Update upgrade 2018-03-24 01:39:26 +01:00
frju365
e28d994bf1
Update install 2018-03-24 01:36:34 +01:00
frju365
502f8f2295
Update restore 2018-03-24 01:33:15 +01:00
frju365
a588fe461f
Update backup 2018-03-24 01:29:14 +01:00
frju365
afed033eeb
Update remove 2018-03-24 01:27:49 +01:00
frju365
fd02bf3adb
Create _common.sh 2018-03-24 01:26:05 +01:00
frju365
8786ff06e9
Update install 2018-03-24 01:25:15 +01:00
frju365
02077a0b48
Delete _common.sh 2018-03-24 01:19:20 +01:00
frju365
c35959da65
[Fix] Some breacking changes 2018-03-24 01:16:50 +01:00
frju365
30a45e2551
[Fix] 404 dead Link 2017-11-30 11:25:12 +01:00
frju365
07a4ccb4cf
Version 0.8.2 -- Major Changes ! 2017-11-26 13:44:10 +01:00
frju365
422a0b320c [Fix] Problem CI 2017-06-27 19:52:37 +02:00
frju365
afa0c673c5 [Fix] _common.sh 2017-06-27 17:19:33 +02:00
frju365
be79f209d3 [Fix] unboud variable + error test CI 2017-06-27 16:50:20 +02:00
frju365
661bad1124 [fix] common.sh (#5)
* Rename .fonctions to _common.sh

* [fix] _common.sh

* [Fix] _common.sh
2017-06-26 17:14:28 +02:00
frju365
ea6fa45786 [Fix] _common.sh 2017-06-26 17:06:05 +02:00