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
01d8e592f7 [enh] do not run composer as root 2020-07-03 16:16:28 +02:00
tituspijean
241dc04ca8 [fix] moving to qiaeru/lang-french 2020-07-03 16:16:28 +02:00
tituspijean
35b847ee21 [upg] send_readme helper, but remove diagnosis in email 2020-07-03 16:16:28 +02:00
yalh76
f811e7f37c remove bazaar 2020-06-22 09:31:01 +02:00
yalh76
a3b0c8ce07 fix upgrade 2020-06-22 09:31:01 +02:00
yalh76
62411b470a missing helper 2020-06-22 09:31:01 +02:00
yalh76
a91f4d9cfc Manage swap 2020-06-22 09:31:01 +02:00
yalh76
beacda30d7 removing non existing service 2020-06-22 09:31:01 +02:00
yalh76
619a21b5a5 fix folder not writable 2020-06-22 09:31:01 +02:00
yalh76
9eda5a0710 Fix composer 2020-06-22 09:31:01 +02:00
yalh76
5bf6517e65 fix ynh_composer_exec 2020-06-22 09:31:01 +02:00
yalh76
62001214b0 Update weight 2020-06-22 09:31:01 +02:00
yalh76
d300f231b2 Update install
Using ynh_script_progression --time should only be for calibrating the weigh
2020-06-22 09:31:01 +02:00
yalh76
9e4e6aabde remove hardware helper
! ynh_get_ram is now an official helper since version '3.8.1'
! ynh_require_ram is now an official helper since version '3.8.1'
2020-06-22 09:31:01 +02:00
yalh76
69cd2bc8dd Apply last example_ynh 2020-06-22 09:31:01 +02:00
tituspijean
cc55d72ef3 [fix] improvements tests 2020-06-22 09:31:01 +02:00
tituspijean
c561d38270 [fix] perform cache clear in final_path 2020-06-22 09:31:01 +02:00
tituspijean
89354b1aad [fix] french extension name in upgrade 2020-06-22 09:31:01 +02:00
tituspijean
ab6fbf15cd [enh] ynh_script_progression all the things 2020-06-22 09:31:01 +02:00
tituspijean
70ea8ff9ed [fix] user commands in upgrade 2020-06-22 09:31:01 +02:00
tituspijean
0728ea096b [fix] general fixes
At that point I do not care about proper titles.
2020-06-22 09:31:01 +02:00
tituspijean
8ba8b17ac9 [enh] various enhancements
* retrieving sources instead of create-project
* exec_as in composer helpers
* reorder install and upgrade steps
2020-06-22 09:31:01 +02:00
tituspijean
c7a0b7d1aa [fix] user creation with directory
and [enh] reorder helpers
2020-06-22 09:31:01 +02:00
tituspijean
4a4b765f61 [rem] no service needed in upgrade 2020-06-22 09:31:01 +02:00
tituspijean
8e89d535e3 [upg] buster support
See #140
2020-06-22 09:31:01 +02:00
tituspijean
73716beb99 [upg] YNH v3.7 permissions system
Closes #139
2020-06-22 09:31:01 +02:00
tituspijean
e21116514d [fix] ssowat extension version for beta.12 2020-03-18 20:27:22 +00:00
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