commit 95bcef380f4a11b572b0e75b9ec3c386de537022
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date: Thu Apr 11 21:03:00 2024 +0200
validates lang selection for bookmarks and links
As title and link are both mandatory, we set the lang mandatory too.
The "xx" language code is removed from the valid list and blank is
refused.
The "xx" value was used as default value before we enable "blank" in
form. It is not really useful now except for links and bookmarks which
are already using this value.
commit 018f344d73e8e63949725f3e9fcb1314e4945a98
Author: Benoît Sibaud <oumph@linuxfr.org>
Date: Sun Mar 10 13:04:50 2024 +0100
Add extra validations for links, trackers; and news
- bookmarks: unique title, unique URL, force lang definition
- news (direct to moderation): force section definition, force lang definition on links,
different messages for max length of news title and link title
- news (in redaction): force lang definition on links,
different messages for max length of news title and link title
- trackers: for category definition
commit 471768f6641492f4bc3a0f30a43664c31018d959
Author: Benoît Sibaud <oumph@linuxfr.org>
Date: Sun Nov 16 10:49:01 2025 +0100
Do not mix Markdown and HTML
commit d9949971ff55a529f6233cc3374ae819fea215b1
Author: Benoît Sibaud <oumph@linuxfr.org>
Date: Sun Nov 16 10:44:21 2025 +0100
Update legal info after law evolution
commit 1455ac74efe6702d713e59b0d8b584cdfc2d2b9f
Author: Benoît Sibaud <oumph@linuxfr.org>
Date: Sun Oct 19 23:22:37 2025 +0200
Update FAQ
commit adeaed5b4a3faad82483e7bc15543798e3662d0e
Author: Benoît Sibaud <oumph@linuxfr.org>
Date: Sun Apr 27 20:30:17 2025 +0200
Mention in doc the cache store database in Redis
commit ffafa01d85bc4b358f01bf1cc5f5c5986e8fe287
Author: Steve Frécinaux <code@istique.net>
Date: Tue Mar 4 22:22:19 2025 +0100
Make the bookmark title field length consistent with the model
The model specifies a max length of 160 for the title column, but the
form template specified a max length of 100 for the title field.
Indeed, if you look in db/schema.rb you'll find:
t.string "title", limit: 160, null: false
commit 73ecdfac4e1a418693fd6445557b6a94a165e40c
Author: Benoît Sibaud <oumph@linuxfr.org>
Date: Sun Jan 12 19:56:53 2025 +0100
Explicit karma effect in the help page
commit c4a95bf331d1e1e88ba02363d1f4573f526c6f1d
Author: Benoît Sibaud <oumph@linuxfr.org>
Date: Tue Dec 17 23:24:09 2024 +0100
Display user's news/wiki versions if any
commit e2f40d1595f3c5036d3f9f9c4874426010ec81ce
Author: Benoît Sibaud <oumph@linuxfr.org>
Date: Sat Nov 9 21:26:01 2024 +0100
Update help doc
commit 5a006efc005a71c106f04396ca1fe0f4d7d0a4f8
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date: Fri Apr 19 19:22:23 2024 +0200
ensure markdown export is using only LF as end of line
Web browsers send multiline textarea value with CRLF as end of line.
As the markdown export uses the raw value from database, we need to
replace the CRLF by LF end of lines. Otherwise the file will have both
type of end of lines.
See suivi request: https://linuxfr.org/suivi/export-markdown
commit 06e3ef25d749b4f160aa08d0d82c88660304afa3
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date: Sun Mar 24 16:40:12 2024 +0100
use `exec` command in container documentation
The `docker compose exec` advantage is that it runs the command inside
the already running container and avoid to create new containers.
commit 1abb21fc30d6e00a228cce03a45e4205525afa6b
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date: Sun Mar 24 16:32:13 2024 +0100
improve health checks for container composition
commit d9962b5475090867715038cd94059a96bfd381a3
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date: Sat Mar 23 15:39:15 2024 +0100
linuxfr.org container uses Debian Bullseye and backports container definition from rails7
The linuxfr.org container wasn't anymore buildable due to `npm ci` which
were stuck. So, even if the prod still use Debian Stretch, we had to
upgrade the development environment to Debian Bullseye.
Took the opportunity to backport container definition improvements from
rails7. Especially, containers are run without root user and there are
healthchecks which can help to better see the state of the containers.
commit ac07ad51bb0498a9d01c9580b8783dca7f0c395f
Author: Oumph <37904057+Oumph@users.noreply.github.com>
Date: Wed Mar 20 19:34:51 2024 +0100
Update app/views/moderation/images/index.html.haml
Co-authored-by: Adrien Dorsaz <adrien@adorsaz.ch>