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

161 commits

Author SHA1 Message Date
Chris Vogel
b5e0f424f9 reworked install paths
new paths are now defined in _common.sh like this
```
flohmarkt_install="/opt/${id}/${domain}${url_path}/src"
flohmarkt_venv_dir="/opt/${id}/${domain}${url_path}/venv"
```
giving a nice layout following the domain and path the flohmarkt uses as its URL.

Activated path resource in manifest.toml to let the admin choose a path different from '/'.
2024-04-30 14:12:49 +02:00
Chris Vogel
bc8eea5e6d Merge pull request 'ynh4: fail2ban configuration added' (#34) from logger into main
Reviewed-on: https://codeberg.org/flohmarkt/flohmarkt_ynh/pulls/34
closes: https://codeberg.org/flohmarkt/flohmarkt_ynh/issues/16#issuecomment-1791332
2024-04-27 16:29:15 +00:00
Chris Vogel
955db35ef4 ynh4 fail2ban configured and tested 2024-04-27 18:26:41 +02:00
Chris Vogel
4ce465d31a replaced " by ' because content itself contained " 2024-04-27 14:04:21 +02:00
Chris Vogel
b271454e8d extend logging
* make systemd.service log a timestamp that can be read by fail2ban
* add dependency on moreutils to manifest.toml (needed in systemd.service)
2024-04-27 13:36:14 +02:00
Chris Vogel
e95bf72de4 Merge branch 'logger' of codeberg.org:flohmarkt/flohmarkt_ynh into logger 2024-04-27 13:21:01 +02:00
Chris Vogel
26d4aa7ca2 test 2024-04-27 13:20:41 +02:00
Chris Vogel
59fe977466 extend DEVELOPMENT.md 2024-04-27 13:09:22 +02:00
Chris Vogel
cd27fdff44 fixed typo 2024-04-27 13:08:17 +02:00
Chris Vogel
17424c781c fixed typo 2024-04-27 13:07:26 +02:00
Chris Vogel
fd84fbcc64 test 2024-04-26 21:42:05 +02:00
Chris Vogel
5c31dfdb8b doc/PRE_INSTALL.md 2024-04-26 21:22:35 +02:00
Chris Vogel
7721103bac extended DEVELOPMENT.md 2024-04-26 10:53:53 +02:00
Chris Vogel
87f986dd38 Merge branch 'main' of github.com:YunoHost-Apps/flohmarkt_ynh 2024-04-26 09:44:17 +02:00
Chris Vogel
ca8955922d DISCLAIMER.md new, edited DEVELOPMENT.md 2024-04-26 09:39:57 +02:00
yunohost-bot
ddabf1754c Auto-update READMEs 2024-04-25 18:40:12 +00:00
Chris Vogel
b27fea1a1c spaces 2024-04-25 20:39:53 +02:00
Chris Vogel
f2f6bcecaf update DEVELOPMENT.md 2024-04-25 20:22:05 +02:00
Chris Vogel
467293b28f DEVELOPMENT.md 2024-04-25 20:07:08 +02:00
Chris Vogel
1f768b4a83 tests.toml
include issues why tests are disabled
enable install.private
2024-04-25 17:25:14 +02:00
Chris Vogel
bf1ef25714 Merge pull request 'upgrade_script' (#31) from upgrade_script into main
Reviewed-on: https://codeberg.org/ChriChri/flohmarkt_ynh/pulls/31
2024-04-25 13:00:55 +00:00
Chris Vogel
3fe920b92d tests.toml 2024-04-25 14:56:56 +02:00
Chris Vogel
8b36522432 tests.toml upgrade1 2024-04-25 14:29:08 +02:00
Chris Vogel
f1ca7d3cdb new flohmarkt start
flohmarkt needs to be started with a different class
2024-04-25 13:07:28 +02:00
Chris Vogel
a757bf1243 minor correction in restore 2024-04-25 12:47:53 +02:00
Chris Vogel
a53b318181 manifest.toml: new flohmarkt version 2024-04-25 12:23:14 +02:00
Chris Vogel
797ab83c7d ynh3 in manifest.toml 2024-04-25 12:15:47 +02:00
Chris Vogel
9df93bc48e PRE_INSTALL.md, manifest.toml cleaning 2024-04-25 11:43:27 +02:00
Chris Vogel
39c33e05ef indent in manifest.toml 2024-04-25 11:25:56 +02:00
Chris Vogel
020dd4abfe avoid linter message
`! Using helper ynh_backup_before_upgrade is deprecated when using packaging v2 ... It is replaced by: nothing, handled by the core, just get rid of it`

I only use `ynh_backup_before_upgrade` in a comment. Try to cloak it by inserting some invisible space.

Removed debugging outpug from scripts/restore (after backing it up to branch debugging_restore.
2024-04-25 10:46:28 +02:00
Chris Vogel
7bc371a828 install: touch log 2024-04-25 10:04:52 +02:00
Chris Vogel
e405d5dc6d take care of logfile and -dir
backup, remove, restore
2024-04-25 09:48:43 +02:00
Chris Vogel
fc7ac9e85e changes to get debugging right 2024-04-24 21:00:40 +02:00
Chris Vogel
6b52e6bcd6 2024-04-24 17:03:26 +02:00
Chris Vogel
8e75712995 ... 2024-04-24 13:19:29 +02:00
Chris Vogel
f3e5c7dc3d more information 2024-04-24 13:00:27 +02:00
Chris Vogel
0346350dad ignore missing files in ls 2024-04-24 12:25:07 +02:00
Chris Vogel
60a6cb01ee removed chmod/chown for $install 2024-04-24 10:42:04 +02:00
Chris Vogel
2ee19f5be1 rearrange debugging 2024-04-24 10:11:55 +02:00
Chris Vogel
4198cc8a54 moved debugging code up 2024-04-24 09:19:30 +02:00
Chris Vogel
6786112cc4 adjusted warning level 2024-04-24 08:54:13 +02:00
Chris Vogel
0ee979a510 change debugging 2024-04-24 08:32:38 +02:00
Chris Vogel
9f57a29744 debugging to find CI error 2024-04-23 20:33:42 +02:00
Chris Vogel
0e28012847 chmod/chown install_dir in restore 2024-04-23 20:11:26 +02:00
Chris Vogel
7d3b175835 Merge pull request 'upgrade_script' (#27) from upgrade_script into main
Reviewed-on: https://codeberg.org/ChriChri/flohmarkt_ynh/pulls/27
2024-04-23 12:39:12 +00:00
Chris Vogel
19651800d9 correct jwtsecret 2024-04-23 14:12:44 +02:00
Chris Vogel
d3bd33b6e7 fix jwtsecret 2024-04-23 14:11:55 +02:00
Chris Vogel
af91b8744c Merge branch 'upgrade_script' of codeberg.org:ChriChri/flohmarkt_ynh into upgrade_script 2024-04-22 19:59:52 +02:00
Chris Vogel
27f90fa281 backup everything
…until there'll be complains.
2024-04-22 19:55:27 +02:00
Chris Vogel
34ac85c03b upgrade flohmarkt code 2024-04-22 19:55:27 +02:00