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

66 commits

Author SHA1 Message Date
Chris Vogel
2370749704 upgrade venv
https://codeberg.org/flohmarkt/flohmarkt_ynh/issues/47

draft
2024-06-18 14:16:51 +02:00
Chris Vogel
dbb9891351 simple urlwatch integration
that sends an email to the admin of flohmarkt or the admin group of yunohost
when the user database changes
2024-06-15 13:34:58 +02:00
Chris Vogel
e9f1a5f245 remove some more linter warnings 2024-06-12 14:33:45 +02:00
Chris Vogel
6c6e6be731 linter correction, ynh6 2024-05-30 19:32:23 +02:00
Chris Vogel
abda91e1e2 get rid of flohmarkt_ynh_check_old_couchdb
CouchDB databases left over from old installations are now handled graceful:

* if restore finds one it's renamed before importing the backup from json and the user is warned
* if install finds one it is re-used

Integrated ynh_handle_getopts_args and ynh_local_curl development versions into _common.sh again, because sourcing them from there didn't work well because of different paths during install, restore.
2024-05-30 17:28:49 +02:00
Chris Vogel
e1ec0e97e1 moved initialize_couchdb into _common.sh
and replaced it in install and upgrade by a function call
2024-05-30 10:59:43 +02:00
Chris Vogel
59d2579bdf changed order of source …
yunohost helpers get included first so that I can overwrite them
from _common.sh
2024-05-26 19:47:35 +02:00
Chris Vogel
e8625977a7 fixed small problems 2024-05-19 13:51:00 +02:00
Chris Vogel
9d893b688e check for old db(user), added information
information added about the state of the integration
Release candidate for ynh5
2024-05-15 20:48:18 +02:00
Chris Vogel
f1bfdd1283 changed logfile path and added symlinks
issue #49
2024-05-15 13:38:45 +02:00
Chris Vogel
664e7475f1 fixed 2 syntax errors 2024-05-15 07:50:15 +02:00
Chris Vogel
01a864eef1 export/import couchdb 1st try 2024-05-14 14:13:41 +02:00
Chris Vogel
b7292ff44e debugging added
find reason for warnings
2024-05-13 12:29:10 +02:00
Chris Vogel
cd2eea1abb typo 2024-05-10 13:24:10 +02:00
Chris Vogel
4daa678ca4 testing 2024-05-10 13:07:21 +02:00
Chris Vogel
01ab9d6665 ironing out errors and warnings 2024-05-10 11:07:42 +02:00
Chris Vogel
c3973976cc improvements to upgrade 2024-05-10 09:15:22 +02:00
Chris Vogel
94ec94e32d corrections to backup/restore 2024-05-08 16:14:04 +02:00
Chris Vogel
6287cd7725 Upgrade paths/filename part III
now it works on my test system...
2024-05-08 11:18:05 +02:00
Chris Vogel
b943dfa6f1 paths and filenames - part II
adjusted paths after trying, thinking and talking to people in the matrix room again.
2024-05-07 12:18:36 +02:00
Chris Vogel
b6d9fac30f New file- and pathnames
Quiet a ride, but on my test system it installs and removes.

Upgrade will not work, yet. Renaming is missing.

Multiple installs should work.
2024-05-06 07:47:13 +02:00
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
4ce465d31a replaced " by ' because content itself contained " 2024-04-27 14:04:21 +02:00
Chris Vogel
5c31dfdb8b doc/PRE_INSTALL.md 2024-04-26 21:22:35 +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
19651800d9 correct jwtsecret 2024-04-23 14:12:44 +02:00
Chris Vogel
25ca85bb98 removed some comments 2024-04-22 19:55:27 +02:00
Chris Vogel
4c893a256a save jwtsecret 2024-04-22 19:51:27 +02:00
Chris Vogel
ebae47a4c9 before test
before I removed the explicit backup and restore of /etc/yunohost/apps/flohmarkt.
2024-04-21 16:23:59 +02:00
Chris Vogel
d043e17111 backup/restore done? 2024-04-21 13:07:00 +02:00
Chris Vogel
590198f862 5-flohmarkt.conf → 05-flohmarkt.conf, added to update 2024-04-21 12:43:18 +02:00
Chris Vogel
c34ed46550 file permission 2024-04-20 22:03:47 +02:00
Chris Vogel
41a989bb7b install/upgrade script correction 2024-04-20 20:02:52 +02:00
Chris Vogel
42c5d26fa8 install script correction 2024-04-20 19:59:49 +02:00
Chris Vogel
0ba0a14ee9 restart? 2024-04-20 16:27:34 +02:00
Chris Vogel
0af67b58da password generation more bash save 2024-04-20 15:52:03 +02:00
Chris Vogel
1307859fb4 issues #17 and #18 2024-04-20 15:40:57 +02:00
Chris Vogel
408f7de403 back to working version for main
I'll continue on branch testing...
2024-04-19 17:06:25 +02:00
Chris Vogel
8b9bad576c put 'bullseye' in manifest, generate flohmarkt couchdb password 2024-04-19 14:10:35 +02:00
Chris Vogel
1406e05519 repalce ynh_install_extra_app_dependencies by apt extras.couchdb.repo 2024-04-19 13:04:53 +02:00
Chris Vogel
c4cac5153c replace 'openssl rand' 2024-04-18 14:54:50 +02:00
Chris Vogel
3cf202c00f inconsistencies removed 2024-04-18 14:43:23 +02:00
Chris Vogel
1e05705732 save cookie 2024-04-17 20:01:14 +02:00
Chris Vogel
7701786e08 correct erlang cookie 2024-04-17 20:00:10 +02:00
Chris Vogel
aecc742095 don't block 2024-04-17 16:52:01 +02:00
Chris Vogel
2df60130ba install correction 2024-04-17 16:37:22 +02:00
Chris Vogel
e29eb3c75f stop and remove couchdb 2024-04-17 15:21:52 +02:00
Chris Vogel
7c050d2b89 improve error message 2024-04-17 15:10:30 +02:00
Chris Vogel
0745dedaf1 no install when couchdb found 2024-04-17 15:06:48 +02:00