Skip to content

Conversation

@echarp
Copy link
Member

@echarp echarp commented Jan 4, 2026

No description provided.

echarp added 30 commits March 24, 2024 16:49
Dépendant de la gemme rails-sass-images qui n'est plus développée
Ajout de "optional: true" pour les modèles qui permettent une valeur "null".

Document du comportement belongs_to:
https://sipsandbits.com/2015/09/21/whats-new-in-rails-5/#belongs_toisrequiredbydefault
Il y avait deux classes pour dynamiquement chercher des templates entre
les espaces de rédaction et modération, après tests et recherches il
semble que ça ne soit pas (ou plus?) nécessaire.
Tests et validations nécessaires, mais en pause car migration vers 7 prévue
La méthode est maintenant nommée File.exist?
(en tous cas du code testé d'après la gemme simplecov...)
Il pourrait y avoir d'autres cas, cela vient de la simplification de
recherche des chemins de partiaux, suite (ou grâce) à la migration à rails 7
Il manque les contrôleurs d'API dans cette couverture...
echarp and others added 23 commits January 4, 2026 17:01
- 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
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.
This way, the errors is easier to see at they appear first on screen.
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.
The bookmark attribute for URL is "link" and not "url".
The inclusion validator already does the job correctly.
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
@echarp echarp marked this pull request as draft January 11, 2026 16:22
- Target Debian Trixie (stable)
- Update MySQL/MariaDB package names
- Simplify Bundler installation (now included with Ruby)
- Improve document structure and add syntax highlighting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants