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

119 commits

Author SHA1 Message Date
yalh76
f455626b85 Implement new ynh_install_ruby 2021-03-08 21:38:47 +01:00
yalh76
4454382b0c Implement ynh_add_config 2021-03-07 01:55:03 +01:00
yalh76
111d8899b1 Spacing normalization 2021-03-07 01:47:27 +01:00
yalh76
c5aaef69e5 Prevent check_memory requirement during package_check 2021-03-07 01:41:05 +01:00
yalh76
ac0ccbc7c9 Apply example_ynh 2021-03-07 01:39:02 +01:00
JimboJoe
b2e6633e01
Merge pull request #67 from YunoHost-Apps/testing 2020-12-22 09:16:29 +01:00
Jimmy Monin
1cff6b52c5 Fix linter warning 2020-12-03 19:30:38 +01:00
JimboJoe
c1bd5f0dd1
Merge pull request #64 from YunoHost-Apps/testing 2020-12-02 19:13:24 +01:00
Éric Gaspar
7c3e351247
V.2.5.4 (#61)
* upgrade to 2.5.4
2020-11-14 15:59:45 +01:00
Alexandre Aubin
22c24235ce
libcurl4-openssl-dev -> libcurl4-dev
We're trying to fix some weird cross-apps conflicts because of stupid dependency conflicts ... in particular various app require different versions of libcurl4-*-dev conflicting with each other, but it should be fine to just request libcurl4-dev
2020-09-11 14:26:42 +02:00
yalh76
dd6ef485fd fix upgrade from 2.3.10~ynh1
ln: failed to create symbolic link './uploads': File exists
2020-06-05 13:59:07 +02:00
yalh76
d6fa5113e2 Fix upgrade from 2.3.10~ynh1
mkdir: cannot create directory ‘/var/www/discourse/tmp/sockets’: File exists
2020-06-04 15:25:21 +02:00
yalh76
d1089d6e81 Update remove 2020-06-03 21:11:08 +02:00
yalh76
8a23a4c64b reduce verbosity 2020-06-02 19:49:35 +02:00
yalh76
58d242453a spacing 2020-06-02 17:53:16 +02:00
yalh76
26a5e58107 Update upgrade
[Upgrade Script]

! Having only '--weight=1' for ynh_script_progression is useless... Either calibrate the weights with --time once, or don't put any --weight at all.
2020-06-02 17:48:25 +02:00
yalh76
35882c6884 Make upgrade only if needed 2020-05-30 17:32:33 +02:00
yalh76
678f94b2c9 Missing --home_dir=$final_path --use_shell 2020-05-30 17:06:03 +02:00
yalh76
8e58a5e6cd Apply last example_ynh 2020-05-30 17:05:03 +02:00
Jimmy Monin
89cffbd74a Fix change_url for domain change w/o path change 2020-05-12 17:24:36 +02:00
Jimmy Monin
b14d57cb2a Fix restore for logrotate configuration 2020-05-12 17:23:46 +02:00
Jimmy Monin
05e5359d70 Remove obsolete subfolder path fix 2020-05-12 17:23:26 +02:00
Jimmy Monin
45f4f22323 Fix typos 2020-05-12 17:22:55 +02:00
Maniack Crudelis
e2381bfde5 Restore the systemd script 2020-04-29 14:13:52 +02:00
Maniack Crudelis
7740c4e505 Set unicorn_workers as a variable for the package 2020-04-28 19:20:16 +02:00
Maniack Crudelis
4cb517c7b0
Remove checkinstall dependency
`checkinstall` isn't available anymore on Buster.
Can't find any reference to those binaries either in this package or Discourse source code.
Tested without, it seems to work fine. Not fully tested of course.
2020-04-28 13:31:41 +02:00
yalh76
5691dae66e Apply example_ynh
and adding libjemalloc2 for buster for Fix #56
2020-04-27 13:41:00 +02:00
Jimmy Monin
a04627b963 Upgrade to upstream version 2.3.10 and use Ruby 2.6.5 (fixes #50, #51 and #53) 2020-02-15 19:06:13 +01:00
Luke Murphy
ef17f63069
Add g++ dependency 2019-07-18 21:26:57 +02:00
Jimmy Monin
8944e7fa2c Fix upgrade in case of missing uploads directory 2019-07-02 21:40:10 +02:00
Jimmy Monin
62557e6c9f Upgrade to upstream version 2.3.0 2019-06-25 21:22:10 +02:00
Jimmy Monin
709e6e7188 Workaround for YunoHost 3.5.0 testing compatibility 2019-03-16 19:24:11 +01:00
Jimmy Monin
582d5097bb Upgrade to upstream version 2.2.3 2019-03-15 19:50:18 +01:00
Jimmy Monin
9e9a33cc85 Use Ruby 2.6.0 and adapt upgrade script 2019-02-10 12:14:36 +01:00
Jimmy Monin
a0ed89ce0d Add source patch to fix ARM compatibility 2018-12-27 12:50:00 +01:00
Josue-T
bbdbb4499b Update to discourse v2.1.4 (#8)
* Update to discourse v2.1.4

* Update patch name
2018-12-05 07:37:41 +01:00
Josué Tille
05654191e8 Fix path_url - path 2018-12-03 09:25:46 +01:00
Jimmy Monin
6b55b940e8 Upgrade to upstream version 2.0.4 2018-08-22 22:11:39 +02:00
Jimmy Monin
b76905fdec Upgrade to upstream version 2.0.3 2018-08-01 23:08:07 +02:00
Jimmy Monin
33d7d4b312 Use Redis helper to use an available database during installation 2018-07-01 10:06:14 +02:00
Jimmy Monin
569d8e9d74 Extend service start timeout 2018-07-01 10:05:00 +02:00
Jimmy Monin
d29a3c1128 Add change_url script 2018-06-03 17:56:14 +02:00
Jimmy Monin
17e167a74b Upgrade to upstream version 2.0.0 2018-06-03 17:24:21 +02:00
Jimmy Monin
f4b443a72e Use yh_maintenance_mode helpers 2018-06-03 17:21:50 +02:00
Jimmy Monin
b07d0e459e Depend on YunoHost 2.7.12 and remove modified helpers 2018-06-03 17:20:09 +02:00
Jimmy Monin
a27e6948d0 Fix logrotate and YunoHost service definition 2018-05-23 21:22:00 +02:00
Jimmy Monin
20f21c4bbc Update README and helpers 2018-05-19 09:14:06 +02:00
Jimmy Monin
5be413e2dd Use jemalloc memory allocator as recommended by Discourse team 2018-05-19 09:13:36 +02:00
Jimmy Monin
f67986641f Use unicorn instead of puma, hence not needing a separate sidekiq service and drastically reducing memory footprint
Limit number of workers to 2 on ARM devices
See here: https://meta.discourse.org/t/does-discourse-require-2gb-to-work-lag-free/25278/8
2018-05-06 19:38:57 +02:00
Jimmy Monin
9bc9fb0ce0 Setup image_optim to disable svgo worker, hence avoiding dependency warning 2018-05-03 07:23:29 +02:00
Jimmy Monin
2fcdb73df8 Use current ynh_check_starting helper 2018-05-03 07:20:39 +02:00
Jimmy Monin
a7eed4e8a2 Update PostgreSQL helpers 2018-05-02 16:30:15 +02:00
Jimmy Monin
4fdbfe333c Check memory requirements to prevent install/upgrade/restore processes from being killed 2018-05-02 16:28:17 +02:00
Jimmy Monin
c8a0722de2 Don't upgrade discourse app if unchanged 2018-04-29 11:28:38 +02:00
Jimmy Monin
3669f20dd0 Add ARM compatibility 2018-04-29 11:25:32 +02:00
Jimmy Monin
ffa7684217 Create and use helpers to use rbenv to install a specific ruby version (to be compatible with Jessie and Stretch) 2018-04-29 11:21:30 +02:00
Jimmy Monin
c6e6718da6 Workaround to use latest systemd helpers in Jessie 2018-04-24 17:45:19 +02:00
Jimmy Monin
83d9427e85 Fix preload warnings 2018-04-21 18:08:18 +02:00
Jimmy Monin
ab317e2a37 Don't depend on ruby version for the omniauth-ldap patch 2018-04-21 15:30:33 +02:00
Jimmy Monin
ff64835b73 Add upgrade script 2018-04-14 09:33:23 +02:00
Jimmy Monin
a389c47520 Multi-instance and other minor fixes 2018-04-08 17:23:18 +02:00
Jimmy Monin
185ca464b3 Add remove, backup and restore scripts 2018-04-07 12:02:34 +02:00
Jimmy Monin
72227efbc9 Install development dependencies (used by CLI) 2018-04-07 12:00:57 +02:00
Jimmy Monin
9f6370ce84 Populate database, avoid wizard and fix subfolder initial posts 2018-04-07 11:59:38 +02:00
Jimmy Monin
c664acad59 Don't show miniprofiler 2018-04-07 11:58:39 +02:00
Jimmy Monin
e1bc8091cb Minor refactoring and fixes 2018-04-07 11:57:57 +02:00
Jimmy Monin
92f535009e Create admin user during installation 2018-04-03 18:28:04 +02:00
Jimmy Monin
b129d88a6b Patch ldap-auth plugin to fix subfolder installation
see https://github.com/omniauth/omniauth-ldap/pull/16
2018-04-03 18:27:06 +02:00
Jimmy Monin
f0898bfab7 Initial commit 2018-04-02 16:36:02 +02:00