Ynh_flohmarkt - flohmarkt as an app for yunohost

I started thinking about how to package flohmarkt for yunohost.

I’ll be slow and I hope that this will at least improve the result :slight_smile: .

To collect ideas, questions and knowledge I’d need I started ynh_flohmarkt .

You’re welcome to participate, follow progress, ask why I’m not faster, help with your ideas and suggestions.

Collaboration will be:

If I can spare the time I’ll be reading and writing on the matrix channel.

9 Likes

It’s not production ready nor feature complete, but testing would be very much appreciated:

3 Likes

Available now in the app catalog.

3 Likes

awesome. Thanks for starting flohmarkt and this Yuno package :heart_eyes:

I’ve probably found a bug. When I enter a wrong password with an existing user, there is no message telling me that it’s wrong. It just doesn’t login. With username that is not in the user database, I do get a proper error message. But that should also do with an existing user.

One more: When I try to login with a fediverse account, the format of the log-in e-mail address needs to be perfect, otherwise no login is possible. There’s no message or anything after a failed login attempt, that would indicate that something is wrong and what it may be. I did copy my username but it also copied trailing whitespaces and it took me some time to figure out why I can’t login.
It would be nice if whitespaces (at the beginning or trailing) would be automatically removed or not considered during log-in.

Issue created: #242 - Log-in issues - flohmarkt/flohmarkt - Codeberg.org

1 Like

Would you like to put it into issues on codeberg yourself?

1 Like

Here we go: version ynh6 improved the handling of backup, restore, remove, re-install a lot: Issues - flohmarkt/flohmarkt_ynh - Codeberg.org

On the way trying to replace calls directly to curl by ynh_local_curl made me look at that code and ynh_handle_getopts. I extended the first one to deliver features needed to use it to handle couchdb and nearly re-wrote the second one to make it possible to get the command line options I wanted.

The code is included in _common.sh which leads to some linter warnings and available as PRs for testing and discussion:

There are still features that could be improved and probably some rough edges, but I’d say we’re getting close to a nice integration.

The newer version will soon be available on the app store. Feedback like always is very welcome!

Just installed the ynh8 yunohost app integration on my flohmarkt.

I added an hourly check of the user database of flohmarkt to send out an email notification for changes.

To enable admins through the web gui to change the address I added a configuration panel and while at it I put the setup URL for the initial setup of a new flohmarkt installation on the configuration panel, too.

Now it should be easy to install and initialize a flohmarkt instance by only using yunohosts web gui.

I didn’t know about this project. It looks really fun, thanks for packaging!

1 Like