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

176 commits

Author SHA1 Message Date
tituspijean
3ee51b442d [enh] moving helpers in their own directory 2020-03-14 21:22:54 +01:00
tituspijean
b3e7d837a5 [upg] references to v0.1.0-beta.12 2020-03-14 21:22:33 +01:00
tituspijean
ac65eeb4dd [upg] v0.1.0-beta.11 2019-11-30 09:05:33 +01:00
tituspijean
79b0223125 [fix] downward compatibility with beta.7
Fixes #132
2019-10-17 23:50:15 +02:00
tituspijean
50697051e1 [fix] change_url
Closes #129
2019-09-24 17:44:02 +00:00
tituspijean
3d93611a1a [fix] change_url 2019-09-23 23:30:07 +02:00
tituspijean
147d0a4c40 [fix] helpers paths in restore 2019-09-23 23:27:33 +02:00
tituspijean
e25dddecb6 [enh] clean before install or upgrade 2019-09-23 21:23:42 +02:00
tituspijean
9ae6b574e7 [fix] ssowat extension to beta.10-2 2019-09-23 21:18:19 +02:00
tituspijean
84b8d5643a [fix] change_url edits config.php 2019-09-23 21:15:24 +02:00
tituspijean
8ff44f7081 [fix] extensions names 2019-09-23 16:45:20 +00:00
tituspijean
50694890c5 [enh] Dynamic $php_version 2019-09-23 17:59:36 +02:00
tituspijean
c6e1d2eff3 [fix] Reinstall dependencies while restoring
Closes #127
2019-09-23 17:59:12 +02:00
tituspijean
acefce0360 Removing extension install confirmation 2019-09-22 18:03:37 +02:00
tituspijean
f09261771f [fix] backing up php-fpm with correct version in path 2019-09-22 16:21:52 +02:00
tituspijean
bd73569c6e
[upg] v0.1.0-beta.10 and [fix] install (#121)
* [upg] v0.1.0-beta.10 (#120)

* [fix] do not set flarum/core version

* [fix] secure remove tmp and log folders
2019-09-22 15:35:35 +02:00
tituspijean
13a62335e3 [enh] Removing sudos and calling correct _common in restore 2019-09-11 18:42:36 +02:00
tituspijean
bb052ef921 [fix] Upgrade script ready for v0.1.0-beta.9 2019-09-09 00:27:33 +02:00
tituspijean
dfee68b9e9 [enh] Use experimental helpers to install php7.3 2019-08-28 17:03:23 +00:00
tituspijean
753fd87a8e Fix and refactor 2019-08-24 10:54:18 +00:00
tituspijean
ed1283a2e0 [fix] Specify project version for composer
Fixes #111
2018-12-03 23:07:40 +01:00
tituspijean
d694b94708
Merge branch 'testing' into upgrade 2018-11-11 22:13:30 +01:00
tituspijean
d8d28bb1df [fix] Allow insecure curl 2018-11-11 21:58:15 +01:00
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