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

82 lines
3.5 KiB
Markdown
Raw Normal View History

2024-04-14 10:56:04 +02:00
## status
2024-02-09 14:32:20 +01:00
These are my notes about questions and ideas regarding packaging [flohmarkt](https://codeberg.org/flohmarkt/flohmarkt) for yunohost.
2024-04-17 20:15:47 +02:00
### installs
2024-04-14 10:56:04 +02:00
2024-04-17 20:15:47 +02:00
flohmarkt will only install if there's not yet a couchdb installed as .dep or running otherwise.
2024-04-14 10:56:04 +02:00
2024-04-17 20:15:47 +02:00
### removes
2024-04-15 20:31:38 +02:00
2024-04-14 10:56:04 +02:00
**Warning:** This will probably break any existing installation of couchdb (there's an couchdb app to install just couchdb and expose its port via nginx reverse-proxy).
2024-04-17 20:15:47 +02:00
### no backup, yet
2024-04-14 10:56:04 +02:00
2024-04-17 20:15:47 +02:00
**Another warning:** When installing flohmarkt on a a domain and letting it talk to other ActivityPub instances it will propagate a key associated to your domain. If you remove your flohmarkt from that domain and loose that key other instances might not want to talk to you anymore after you installed flohmarkt again on the same domain generating a new key.
2024-04-15 20:31:38 +02:00
**This is really strictly for testing only - don't install on a production yunohost.**
### Go ahead…
…test, break stuff and open issues :) !
2024-04-14 10:56:04 +02:00
2024-04-15 20:28:01 +02:00
## help welcome
2024-04-14 10:56:04 +02:00
2024-02-09 14:32:20 +01:00
You're welcome to take part by opening issues or sending pull requests. You can also reach me on Matrix in [Yunohost Apps development](https://matrix.to/#/%23yunohost-apps:matrix.org) as @chrichri:librem.one .
2024-02-11 12:01:52 +01:00
I also announced this work on the [yunohost forum](https://forum.yunohost.org/t/ynh-flohmarkt-flohmarkt-as-an-app-for-yunohost/28455?u=chrichri).
2024-04-15 20:28:01 +02:00
## roadmap
2024-02-09 14:32:20 +01:00
2024-04-15 20:28:01 +02:00
* ~~use couchdb installation from ynh_couchdb~~: no
2024-02-09 14:32:20 +01:00
* ~~why shouldn't~~ two apps install the same os dependency: no problem
* ~~stop the couchdb deb from being de-installed if one of the two apps is de-installed → pseudo deb with depency~~ This is already achived by `ynh_install_extra_app_dependencies` in the install script
* email
2024-04-15 20:28:01 +02:00
* ~~how to make flohmarkt send email per port 25 without login?~~ not: install generates an smpt account for flohmarkt to login with and puts it into flohmarkt.conf
* ~~postfix virtual-user table: allow flohmarkt to send email with 'mail from: <flohmarkt-email>'~~ works
* ~~define a custom setting `mail_user` and `mail_domain` using ynh_app_setting_set (or .toml?) if necessary~~ done
2024-02-09 14:32:20 +01:00
* make first ynh_package
2024-04-15 20:28:01 +02:00
* ~~nginx just reverse proxy~~ done
2024-04-17 20:15:47 +02:00
* ~~disable http (without s)~~ this is a general yunohost setting
* ~~remove script~~
2024-04-17 16:37:22 +02:00
* backup script
* export flohmarkt data from couchdb
* backup yunohost.app/$app
* check whether app settings are stored by yunohost framework (password, etc.)
2024-04-15 20:28:01 +02:00
### → 0.1 alpha
2024-04-17 16:37:22 +02:00
* ~~disable path selection and mark it that it needs its own domain.~~
2024-04-15 20:28:01 +02:00
* tag 0.1 alpha
2024-04-17 16:37:22 +02:00
* write limitations in README.md (copy from `antifeatures` in manifest.toml)
2024-04-17 20:15:47 +02:00
* fail2ban configuration
2024-04-15 20:28:01 +02:00
### → 0.2 beta
* restore script
* upgrade script
2024-04-16 13:09:41 +02:00
* fail2ban config
2024-04-15 20:28:01 +02:00
### later
* couchdb
* check if already installed
* if installed by flohmarkt: create couchdb user
* check if install results in the same configuration as with couchdb_ynh
2024-02-09 14:32:20 +01:00
* try to get a filter that stops registration
* in general
* for users without permission (sso)
* is it possible to have multiple flohmarkt instances in one couchdb
* database name could contain domain name
2024-04-15 20:28:01 +02:00
## ideas
For the time being I'd not like to integrate into ldap. I'd like to let the admin choose whether registration is open to anybody, to yunohost user group (sso) or nobody. _anybody_ and _nobody_ is what flohmarkt already offers.
For 'yunohost user group' I'd like to have the registration urls rewritten by nginx to some `you're not allowed to registered`-page if no user with permission is logged in. Is there an example somewhere or is it even possible at all?