Journal des modifications

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>

commit 8a582a0325c84ab5fbb7a6c5381ae7a5a0f07f60
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date:   Mon Mar 18 07:41:12 2024 +0100

    update help to inspect the database schema with the container setup

commit 4a98d06e5bc4ac1902012f5e8dfb912d460b0358
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sat Mar 9 17:19:31 2024 +0100

    List blocked images
    
    - Moderation team can block unblocked images
    - Moderation team can see last blocked images.
    - Admin team can see all blocked images.
    - Full remove of blocked images still by hand
      (delete in img/latest, img/blocked and img/<uri> for redis)

commit 4dfd531e90395c21a7694ae3c41f5ce561b01741
Author: Adrien Kunysz <adrien@kunysz.be>
Date:   Mon Mar 11 18:06:12 2024 +0100

    Allow showing user e-mail address.
    
    As per https://linuxfr.org/suivi/permettre-aux-utilisateurs-de-publier-leur-adresse-de-courriel
    
    This adds an account preference field "show_email" that is controlled
    by the user. When it is enabled, the user's e-mail is displayed along
    their username in a similar way than their website, XMPP address and
    Mastodon identifier.
    
    Test plan:
    * have a user with karma >0 and at least one post
    * go to http://dlfp.lo/compte/modifier
    * tick "Rendre mon adresse de courriel visible publiquement" and save
    * check the e-mail is shown along the post
    * go to http://dlfp.lo/statistiques/users#stats_fonctionnalites
    * check "Publication de l'adresse de courriel" has at least one user

commit b4ea61cf7675ab4b9a4a234901f8c33eb3c432c8
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sun Mar 10 16:13:16 2024 +0100

    Update help after #380 Don't show Jabber ID for sub-zero karma users

commit bd3701bb4a6db030099a773b4cbda7a64953f188
Author: Adrien Kunysz <adrien@kunysz.be>
Date:   Wed Mar 6 20:55:34 2024 +0100

    Don't show Jabber ID for sub-zero karma users.
    
    We already do that for website and Mastodon. No reason to treat Jabber any different.

commit 0310a784c9b60e8dbc718691fbf2f2e896b15dbd
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sun Jan 14 12:24:26 2024 +0100

    Ticket 3049 - fix help and statistics about preferences

commit d0aa50685230405056b7f0c7abc313ccd881a0e0
Author: Adrien Kunysz <adrien@kunysz.be>
Date:   Wed Dec 13 22:26:06 2023 +0100

    Remove unused "date" date format.
    
    All usages have been replaced with "posted" in a previous commit.
    
            linuxfr.org$ ack -l ':date\b' | grep -v svg$
            app/controllers/admin/accounts_controller.rb
            app/models/account.rb
            app/models/board.rb
            db/migrate/20230506121910_add_last_seen_on_to_accounts.rb
    
    None of the references to ":date" in those three files refer to the custom "date" date format.

commit 94c365e63360259448424b928fc9beb60249d964
Author: Adrien Kunysz <adrien@kunysz.be>
Date:   Wed Dec 13 22:09:10 2023 +0100

    Format dates in a nicer way.
    
    Before this change timestamps are shown to users like this:
    
            le 13/12/23 à 20:38
    
    After this change it shows this:
    
            le 13 décembre 2023 à 20:38
    
    This avoids some confusion for users who are often exposed to the "mm/dd/yy" format.
    This resolves https://linuxfr.org/suivi/le-format-d-affichage-des-dates-est-ambigu