Journal des modifications

commit 14b882c341d0422fe78dc7c9f16f5e4257cb2931
Author: Benoît Sibaud <oumph@linuxfr.org>
Date: Sat Jan 10 21:39:42 2026 +0100
 extra validations
 
 bookmarks: title uniqueness/strip/100->160 char, link uniqueness, missing tags field
 comments: title strip
 diaries: title 100->160 char, missing tags field
 forums: title strip
 lang: missing difference function
 links: title strip
 news: title strip/100->160 char, missing tags field
 nodes: missing tags field
 polls: title strip
 posts: title strip/100->160 char, missing tags field
 tracker: title strip
 wikipages: title strip, message trim, missing tags field
commit c61dc1b28ba52f38e09bf192d7b61f736d8791b0
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date: Thu Apr 11 23:30:43 2024 +0200
 tracker: category must be present (update model to follow form)
commit 08f4750f5ac6d129d5d8d685834da4b970bb9bc8
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date: Thu Apr 11 23:14:40 2024 +0200
 remove unused lang_validation for links
 
 The inclusion validator already does the job correctly.
commit 487f81949d18837b980a613b089eff439e9d718e
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date: Thu Apr 11 22:32:45 2024 +0200
 fix typo while copying test from model/link
 
 The bookmark attribute for URL is "link" and not "url".
commit 6812e0a32e2cfe328b61b4fbd65570f240843df9
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date: Thu Apr 11 21:44:08 2024 +0200
 add validates_associated for fields user have to choose
commit 3fdfcb4e889a2887d4146715f56abb215ff7ef30
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date: Thu Apr 11 21:41:29 2024 +0200
 only show preview and save button if content is valid
commit 25e0a7de6eca661c1029352dd79625ecbbc7fef2
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date: Thu Apr 11 21:07:47 2024 +0200
 news: validate association to section and show preview only if valid
 
 This shows a user friendly message instead of an exception if user
 remove the client side validation of section.
 
 The exception were thrown by the preview, so we avoid to show preview
 and submit button for invalid news.
commit 93ba40116e6134305b730fd4c0da5699f0a6699f
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date: Thu Apr 11 21:06:44 2024 +0200
 bookmarks: do not render preview and save button if bookmark is invalid
 
 This way, the errors is easier to see at they appear first on screen.
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 428ead40a5ac6c48294513aaeb9ec36fefc7e374
Author: Benoît Audouard <baud123@users.noreply.github.com>
Date: Thu Sep 25 13:50:19 2025 +0200
 display percentage of those having declared a mastodon or xmpp account
commit f266c80076a8bbdba3a66c19cd67854114fb5823
Author: Benoît Audouard <baud123@users.noreply.github.com>
Date: Thu Sep 25 13:30:17 2025 +0200
 add percentage of those having declared a mastodon or xmpp account