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

203 commits

Author SHA1 Message Date
tituspijean
58f371347f [fix/enh] Upgrade to 0.1.0-beta.7.2 and fix upgrade logics
[enh] Upgrade to 0.1.0-beta.7.2
[fix] Scripts remembers whether Flarum or its extension were upgraded or not.
[fix] Bad logic test for Flarum versions comparison
2018-11-11 21:30:38 +01:00
tituspijean
5ed37fbbd7 [enh] Use ynh_print_* helpers
Closes #105
2018-09-17 22:06:03 +02:00
tituspijean
9c4569514f [fix] Upgrade extensions 2018-09-11 13:57:53 +02:00
tituspijean
d1945d916f Code alignment 2018-09-11 12:11:39 +02:00
tituspijean
9d1ae61d72 Fix bazaar_extension test 2018-09-11 12:11:01 +02:00
tituspijean
d89e643ffe Upgrade to SSOwat extension v0.6 2018-09-11 12:08:39 +02:00
tituspijean
33f974e953
Merge pull request #98 from YunoHost-Apps/fix-upgrade
Fix version handling for core and ssowat extension
2018-09-04 12:01:46 +02:00
tituspijean
c838c74fa9 [enh] Also check if SSOwat extension upgrade is needed 2018-09-03 21:24:38 +02:00
tituspijean
ef381f5a96
Merge pull request #99 from YunoHost-Apps/fix-php-conf
Backup and restore php-fpm conf.ini
2018-09-03 20:56:15 +02:00
tituspijean
87a8db86e4 [fix] Testing dpkg --correct-versions 2018-09-03 20:52:48 +02:00
tituspijean
728377daee [fix] Forgot ; after if statement 2018-09-03 20:37:35 +02:00
tituspijean
03d0268fbb Backup and restore php-fpm conf.ini
Fixes #97
2018-09-03 20:18:06 +02:00
tituspijean
6523a2d31d [enh] Handle core and ssowat extension version numbers
Fixes #94
Closes #67
2018-09-03 19:53:07 +02:00
frju365
2462b282f9
revert change... not in a branch. Sorry. 2018-09-03 19:11:22 +02:00
frju365
396491a65f
change sign for string 2018-09-03 19:10:13 +02:00
tituspijean
ed3c73348b [enh] Use ynh_replace_string instead of sed in upgrade 2018-09-03 18:37:36 +02:00
tituspijean
8030e7a9b3 [enh] Store ssowat extension version number 2018-09-03 18:34:44 +02:00
tituspijean
197c71c4a2 [enh] Move version numbers into _common.sh 2018-09-03 18:30:35 +02:00
frju365
45cce92dd6
[enh] ynh_replace_string instead of sed 2018-08-30 20:59:31 +02:00
frju365
73fd5b945c
[fix] Useless Condition 2018-08-30 20:35:01 +02:00
tituspijean
e981c83658 [Enh] Add change_url script
Closes #71
2018-08-27 22:53:07 +02:00
Titus PiJean
deb373cb11
Merge pull request #84 from ABLD/master
I tried something to integrate bazaar extension.
2018-08-17 12:49:51 +02:00
tituspijean
53c44b145a Do not activate Bazaar
Bazaar requires some actions on the database that can only be triggered
from the web interface. Maybe one day we may have a API route to
activate extensions from the command line.
2018-08-16 22:56:33 +02:00
tituspijean
274a9a70c8 Hotfix for folder access with php
Closes #85
2018-08-15 18:28:59 +02:00
tituspijean
19a16f18ee Save bazaar_extension parameter 2018-08-13 16:47:43 +02:00
frju365
dfdd865503
try something after hollydays :P 2018-08-13 16:23:15 +02:00
frju365
cc5fbb3bc2
Update install 2018-08-13 16:15:41 +02:00
Jean-Baptiste
53e8ff7ed3
upgrade ynh_send_readme_to_admin helper
if mail binary isn't properly selected, it may create an infinite loop at install
2018-07-10 23:43:14 +02:00
Titus PiJean
c1b3841bc3
Fix upgrade INSERT INTO 2018-03-16 17:17:01 +01:00
Titus PiJean
a6ac2c983a Update on SSOwat extension 2018-03-05 15:28:04 +01:00
tituspijean
3a1978e96d Description of function install_and_activate_extension 2018-02-18 13:52:12 +00:00
tituspijean
cc5f479f31 Implement language selection 2018-02-18 13:38:26 +00:00
tituspijean
230356a014 Fix nginx hacks in upgrade 2018-02-18 10:06:21 +00:00
tituspijean
95338a3bc2 Clear cache upon upgrade 2018-02-17 21:09:24 +00:00
Titus PiJean
d059d5e843
Merge pull request #63 from YunoHost-Apps/linter
Linter, improve backup and restore scripts
2018-02-16 23:31:15 +01:00
tituspijean
09ddc42db9 Remove unnecessary backup commands 2018-02-16 20:57:07 +00:00
tituspijean
5b7e12284e Remove unnecessary restore commands 2018-02-16 20:57:07 +00:00
tituspijean
48b8565f94 No fpm ini file to backup or restore 2018-02-16 20:56:58 +00:00
tituspijean
370684f92d Fixing linter issues
For #8
2018-02-15 21:58:56 +01:00
tituspijean
2fca3fb923 Email setup during post-installation 2018-02-15 19:53:58 +01:00
tituspijean
4d8aa27cb0 App user ownership and change composer directory 2018-02-15 18:38:46 +01:00
tituspijean
1444cf4166 SSOwat reintegration 2018-02-14 18:44:46 +01:00
tituspijean
0f73336986 Delete configuration.yml after post-installation
Fixes #59
2018-02-14 11:11:55 +01:00
root
eb3efa7444 Send email to admin after installation 2018-02-14 10:48:34 +01:00
Titus PiJean
3176b28897
Fix $path_url name in user creation loop 2018-02-13 19:01:37 +01:00
tituspijean
4bc868c1f8 Refactoring and helpers
Insprided by @frju365 refactoring proposals
2018-02-12 21:53:49 +01:00
tituspijean
c484358ff2 Installation and removal debugged, beta7 2018-02-12 16:08:57 +01:00
tituspijean
a56f1367b5 Simply make install work again
Try to make composer run in install folder too.
2018-02-01 13:15:45 +01:00
frju365
93d95c2602 partout /opt/flarum_composer/composer 2017-03-08 21:00:22 +01:00
frju365
f66d5f49a8 Update install 2017-03-08 19:36:35 +01:00
polytan02
91433b24d9 Update restore for composer in /opt 2017-03-05 20:28:20 +00:00
polytan02
2f40594f91 Update backup for composer in /opt 2017-03-05 20:27:36 +00:00
polytan02
5950ea47e4 Update install script for composer install in /opt 2017-03-05 20:26:52 +00:00
polytan02
ac87c43f41 Update remove for composer in /opt 2017-03-05 20:23:54 +00:00
polytan02
8e0b56429f Use of dedicated php-fpm process for composer 2017-03-05 18:56:26 +00:00
polytan02
8faa61e4ae Update of php-fpm for upgrade script 2017-03-05 18:44:41 +00:00
polytan02
ffd13a87ac Update of php-fpm for install script 2017-03-05 18:44:07 +00:00
frju365
0c7aba0bc4 Upgrade change: mistake between Install and upgrade 2017-03-04 21:19:09 +01:00
TitusPiJean
e109c8723b Remove ssowat_id from users table
See https://github.com/tituspijean/flarum-ext-auth-ssowat/pull/8
2017-02-28 19:13:32 +01:00
TitusPiJean
43c2ac3024 Keep composer after installation
Resolves #38
2017-02-28 19:11:47 +01:00
TitusPiJean
fe09ff43d2 Fix installation and nginx config
Resolves #24, resolves #31
2017-02-27 19:06:31 +01:00
Titus PiJean
ec2ef7471a Merge pull request #33 from polytan02/patch-1
Adjust php-fpm details in nginx sections
2017-02-22 20:11:27 +01:00
Titus PiJean
73424a0753 Update install
$final_path -> $app
2017-02-22 20:10:14 +01:00
polytan02
6a381c5588 Adjust nginx conf in upgrade script 2017-02-22 18:16:18 +00:00
Titus PiJean
8e3a44efa4 Display admin's temporary password 2017-02-22 19:16:17 +01:00
polytan02
b0c60acc83 Adjust nginx conf in install script 2017-02-22 18:15:33 +00:00
Titus PiJean
429aa6182a Update nginx conf in upgrade
After #30
2017-02-22 19:06:03 +01:00
Titus PiJean
bcd06d7517 Merge branch 'master' into master 2017-02-22 19:00:33 +01:00
Titus PiJean
ba1394f16b Merge pull request #29 from polytan02/patch-5
Store composer in /opt
2017-02-22 18:58:34 +01:00
Titus PiJean
685750a144 Merge pull request #28 from polytan02/patch-4
Create .functions
2017-02-22 18:58:05 +01:00
Titus PiJean
07a8120a38 Fix $nginx_conf -> $nginxconf 2017-02-22 18:33:07 +01:00
Titus PiJean
a7d162ca06 Update install
Frenchie typo
2017-02-22 18:24:42 +01:00
Titus PiJean
3b632a1226 Update .functions
Copy/paste clean up
2017-02-22 18:21:36 +01:00
polytan02
0c751243d9 Update to nginx section 2017-02-22 17:08:55 +00:00
polytan02
4a5717daa3 Adjust upgrade to path variable 2017-02-22 15:51:47 +00:00
polytan02
bb025b1255 path is / for root 2017-02-22 15:50:16 +00:00
polytan02
ee9bcedbe0 Typo 2017-02-22 15:24:00 +00:00
polytan02
f12a568a31 Update restore 2017-02-22 15:23:34 +00:00
polytan02
676fac82f3 Update backup 2017-02-22 15:21:27 +00:00
Titus PiJean
566336e265 Merge pull request #26 from polytan02/patch-2
Use php-fpm reload instead of restart
2017-02-22 16:08:25 +01:00
Titus PiJean
139fa21279 Merge pull request #27 from polytan02/patch-3
Adjustments on access permissions
2017-02-22 16:08:11 +01:00
polytan02
b093b2e1b5 Remove composer as well 2017-02-22 14:57:58 +00:00
polytan02
08a6dfc92a Store composer in /opt
No need to "hide" composer in /var/www/.composer ==> You can place it in /opt for example
Easier to remember and to clean afterwards.
Other adjustments may be required in your script !
2017-02-22 14:56:18 +00:00
polytan02
a3707289af Use of extra helpers
Make sure $path is correct (the {YNH_PATH%/} doesn't work in every cases
2017-02-22 14:47:46 +00:00
polytan02
12de58d4a2 Create .functions 2017-02-22 14:41:46 +00:00
polytan02
3b11c21df4 Adjustments on access permissions 2017-02-22 14:33:05 +00:00
polytan02
089da0f410 Use php-fpm reload instead of restart 2017-02-22 14:29:34 +00:00
polytan02
ba71359ac8 parameter "language" doesn't exist
I looked at jenkins to see why the upgrade fails and noticed this language parameter in the upgrade script.
There is no trace of this paramater in other scripts so I guess it is a copy/paste from another upgrade script ? :)
2017-02-22 14:28:06 +00:00
TitusPiJean
ff45b2c39b SSOwat integration and other improvements
Closes #5, closes #12, closes #19 and closes #21
Breaks /folder nginx configuration ?
2017-02-21 21:11:23 +01:00
TitusPiJean
98d664c45d Create root key for api during post-installation 2017-01-19 19:39:02 +01:00
TitusPiJean
3de168d103 Removing api key creation and adding password length requirement 2017-01-18 20:45:45 +01:00
Titus PiJean
0514fc9816 Merge pull request #16 from xpd259/master
Trying copying rather than move
2017-01-16 18:23:47 +01:00
TitusPiJean
f9bb86956e Remove auto postinstall workaround as beta6 is out 2016-10-20 19:33:31 +02:00
Dick Thomas
0f47be9bbf trying copying rather than move 2016-10-19 16:49:54 +01:00
TitusPiJean
5945b3c89d Workaround for postinstallation and api token
Solving #7
2016-10-18 21:55:06 +02:00
Titus PiJean
76d6c8f7b9 Better composer installation and fix typo
Addresses #9 :

If `composer` is not installed, php5-fpm ENV is now firstly updated to set `/var/www/.composer` as `composer` 's home.
Fix a typo where future automatic postinstall asked for `configuration.ymls` instead of `.yml`
2016-10-12 20:03:23 +02:00
TitusPiJean
11103ad7a7 Update install
For #7
Adding `configuration.yml` removal after installation, as it contains plain password.
2016-10-09 12:00:03 +02:00
TitusPiJean
f9e3464a54 Update install 2016-10-09 10:50:35 +02:00
TitusPiJean
bdcc5b58ec Update install
For #7
Circumventing @ in email address for sed.
2016-10-09 10:45:26 +02:00
TitusPiJean
672f66f5ef Update install
For #7
2016-10-09 10:26:50 +02:00
TitusPiJean
d1f3ac09a3 Update install
For #7
2016-10-08 20:12:31 +02:00
Titus PiJean
2b584015c8 Fix install but break nginx subfolder 2016-10-08 19:08:37 +02:00
TitusPiJean
0f34565f80 Initial commit 2016-10-05 19:44:08 +02:00