Journal des modifications

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 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