Josué Tille
b7b73bbf89
Add jwt secret because gitea edit config if not present
2023-12-13 10:38:10 +01:00
Josué Tille
e73acdd808
cleanup all scripts
2023-11-29 17:26:25 +01:00
Félix Piédallu
60cb5e5ae4
Migrate to manifestv2 and other changes:
...
* Move app install dir from /opt to /var/www
* Revamp the way binaries are downloaded thanks to manifestv2 (no need to check for arch, etc)
* Remove custom helpers (exec_as, ynh_handle_app_migration)
* Rename LFS_KEY as LFS_JWT_SECRET and KEY as SECRET_KEY as named in app.ini
* Add JWT_SECRET for oauth and INTERNAL_TOKEN in app.ini
* update upstream sample app.ini URL
* Disable actions for now.
* Automatically add ssh permissions to the system user
* Remove support for upgrade before 1.6.4. Edit test_upgrade_from accordingly.
2023-11-29 17:26:25 +01:00
ericgaspar
a218277579
Merge branch 'testing' into LFS
2022-07-25 07:51:39 +02:00
Éric Gaspar
e0056d1d01
Fix linter
2022-07-24 17:38:28 +02:00
ericgaspar
7314135cba
Update install
2022-07-24 13:45:53 +02:00
Éric Gaspar
7f8213a32d
Add LFS support
2022-07-19 23:42:47 +02:00
Josué Tille
4c0f81b035
Fix install and fix linter
2022-04-23 21:31:30 +02:00
Josué Tille
fc1befe9f8
Fix linter
2022-04-01 22:54:46 +02:00
Nolan Darilek
a1a5b2ef35
Add correct user to ssh.app group so multi-instance works.
2022-02-17 15:35:44 -06:00
Josué Tille
8dc7f700de
Add gitea in ssh group permission in scripts
2022-01-18 21:40:16 +01:00
Josué Tille
e137a5eb84
Fix package linter
2020-12-08 22:06:19 +01:00
Josué Tille
adcb5ba66c
Fix backup core only
2020-12-07 17:04:52 +01:00
Josué Tille
b67fafcf08
Fix package linter
2020-11-28 18:54:12 +01:00
Josué Tille
3f8bc89834
Add group-permission support
2020-03-27 15:21:32 +01:00
Josué Tille
f933d40896
Fix start service managment and listen only on localhost
2020-03-27 15:21:10 +01:00
Josué Tille
c87d5a3c66
Fix wrong home directory
2020-03-19 17:51:48 +01:00
Josué Tille
4882f6ad63
Add last progession log
2019-10-31 20:39:07 +01:00
Josué Tille
10e8930fab
Fix args for some helpers
2019-10-26 21:54:11 +02:00
Josué Tille
3a66c7b87b
Add ynh_script_progression somewhere
2019-09-10 22:43:45 +02:00
Josué Tille
3a6e4b46d7
Use getop for ynh_replace_string
2019-09-10 21:26:06 +02:00
Josué Tille
7bb3ceb1fe
Merge branch 'testing'
2019-09-07 13:12:25 +02:00
Josué Tille
21a71f78a7
Merge branch 'v1.9' into add-fail2ban
2019-09-07 11:08:46 +02:00
Josué Tille
6f65be494c
Fix log path for fail2ban
2019-09-07 11:08:36 +02:00
Josué Tille
b6dcf3d9c3
Fix log path
2019-09-07 11:07:56 +02:00
Josué Tille
f2e84f1122
Add timeout to 5 second, to bypass when the log was written before it was catched
2019-08-05 22:58:34 +02:00
Josué Tille
9e2c149643
Change the log managment (also for fail2ban support)
2019-08-05 16:55:49 +02:00
Josué Tille
c734163ed7
Fix check starting service
2019-08-01 16:01:20 +02:00
Josué Tille
288aed693a
Use getop for fail2ban
2019-08-01 15:08:31 +02:00
Josué Tille
b91900cf6e
Clean code
2019-08-01 15:06:08 +02:00
Josué Tille
05229ae7b1
Merge remote-tracking branch 'uptream/testing' into add-fail2ban
2019-08-01 15:00:36 +02:00
Josué Tille
c09462555a
Use getop for helpers
2019-08-01 14:01:59 +02:00
Josué Tille
df021cc560
Add arguments for all helper call
2019-06-09 21:05:14 +02:00
Josué Tille
e36fda963d
Implement migrations from gogs
2019-03-02 20:22:32 +01:00
Josué Tille
e5f1e079d6
Add sleep after service start
2019-02-16 23:38:27 +01:00
Josué Tille
45c0460c4f
Store checksum for app.ini with INTERNAL_TOKEN value
2019-02-16 23:37:25 +01:00
Josué Tille
0e108f1261
Use ynh_systemd_action to control service start
2019-02-16 23:35:49 +01:00
Josué Tille
3c8b6ca051
Fix URL normalisation at install
2019-02-15 11:35:04 +01:00
Josué Tille
300340cfc9
Allow https access from git in private mode
2019-02-14 09:51:19 +01:00
Josué Tille
d89b9c06c5
Fix shell for new user
2019-02-14 09:49:57 +01:00
Rafi594
7f9cc6a9a8
Add fail2ban
2019-02-03 15:05:38 +01:00
Rafi59
ec92a25172
[fix] All scripts
2018-06-15 22:08:34 +02:00
Rafi59
de58712602
Remove ynh_check_starting for the moment
2018-06-12 18:24:36 +02:00
Salamandar
71ca75ae63
Fixes:
...
* use ynh_setup_source instead of wget
* do not fait on remove
2018-06-12 14:32:44 +02:00
Rafi59
923447fa4f
[fix] ynh_check_starting and ssh push
2018-06-07 14:42:39 +02:00
Rafi59
28137a4698
Improve install and common.sh
2018-06-07 12:45:26 +02:00
Clément
a3bb83127f
make gitea executable before starting the service
2018-05-15 10:59:56 +02:00
Clément
def8630950
stay in install directory and download gitea at the right place directly
2018-05-15 10:59:08 +02:00
Clément
db3fabe4b2
copy default config before call function
2018-05-15 10:57:25 +02:00
Rafi59
4233531503
[fix] Install
2018-05-10 16:31:54 +02:00