Journal des modifications

commit ef44425bd728012ff29fb61448df67470a96633b
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Wed Jan 14 22:45:19 2026 +0100

    Make the news and comment title field length consistent with the model

commit 1577d9681916960e20a56292473bc78f7f72936d
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Wed Jan 14 19:34:22 2026 +0100

    Update _wiki_help.html.haml ortho aide rédaction #398 (thx baud123)

commit ad7c3358a84765690b19fca2db61586d2fce7c31
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sun Jan 11 18:33:29 2026 +0100

    Add help about Markdown, external images and summaries

commit 2f84c3921cebb1480cec5a790263dd6e65794cc7
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sun Jan 11 18:13:02 2026 +0100

    add global schema

commit 0bf4498305250e9c1a5cdb78b25d86e1e6c77834
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sun Jan 11 15:17:33 2026 +0100

    fix help for different keyboard mappings

commit a57de1f3970129811f0985bc13a9a0dddcf76b77
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sun Jan 11 12:18:51 2026 +0100

    add help for Wikipedia links with lang and Wiktionary links

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.