Journal des modifications

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

commit 36353241732244ca873c7fce9b72891a98c882f9
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Mon Sep 18 23:08:49 2023 +0200

    Update help on personal data and restrict access to account activity
    
    - admin only requires a blurry view of last_seen_on
    - help user to know who see what from account info
    - display last action timestamp is useless (for account owner or admin)
    - display last seen info is useless for the account owner
    - only account owner needs to see last connection timestamp
    - moderation needs to see current and past moderation acts

commit 10d814c907b9dd49dc5abc7f71c4106422654635
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sun Sep 3 11:37:30 2023 +0200

    Animation of logos
    
    See https://linuxfr.org/news/vingt-cinq-ans-de-linuxfr-org#comment-1928847
    Merci à Ysabeau et bobble bubble, à GIMP, ImageMagick et ffmpeg pour la
    réalisation.

commit 4565ec01ae748520a5c6624a25790c7b9902b396
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sat Sep 2 10:40:55 2023 +0200

    Fix #3027 Dernière visite (affichage et stats) + pages statiques
    
    Mise à jour des pages d'aide et de mentions légales

commit d787c9fb65eb0c3c2d7e27d29e05a440bdd5c0ab
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sun Aug 27 11:11:46 2023 +0200

    Detail the 'when/how to contact us' part

commit 8c2e60d215282017c260189e8435151a1fd9aac5
Author: Steve Frécinaux <code@istique.net>
Date:   Wed Jul 26 11:50:01 2023 +0200

    Fix overlay totoz positioning
    
    Positioning was previously using the jQuery offset() method to compute
    the position. This method returns the absolute position of the element
    relative to the whole document, but the values are then used to set the
    absolute position (top and left CSS properties) of the totoz element.
    These properties apply based on the closest positioned parent, which in
    this case is the <body> element.
    
    Due to this, when the document is larger than the max-width of the
    <body> element (150ex) the overlay image was being pushed further right
    by half the difference. For instance, if the window is 1600px wide, and
    the body reaches its max width at 1213px in my case, the overlay is
    being displayed (1600-1213)/2 = 193px to the right of the intended
    position.
    
    We fix this issue by using the jQuery position() instead, which
    according to the documentation returns the absolute position of the
    element relative to the offset parent, in this case the <body> element.
    We also explicitly position the totoz below the [:...] anchor.

commit 1b0b775be704a6505a013d3e9b602f9d6b57070d
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sat Aug 19 15:47:07 2023 +0200

    Image pour une section Programmation (autres)
    
    Merci à Ysabeau pour l'image.

commit 0b6882a0ff8f3be8c5cb261f94eeb61d857279ba
Author: Steve Frécinaux <code@istique.net>
Date:   Fri Aug 18 22:37:16 2023 +0200

    docker: Fix creating linuxfr.org using docker-compose
    
    This commit fixes errors related to the recent-ish archival of Debian
    Stretch. Indeed, the linuxfr.org container is still based on Debian
    Stretch but this version of the distribution was archived when Bookworm
    was released. This implies a change in the APT sources but neither the
    debian:stretch-slim nor this repository were updated accordingly.
    
    The errors fixed are:
    
     - we replace the `deb.debian.org` domain with `archive.debian.org`,
       where the archived repositories are located;
     - we downgrade `zlib1g` forcefully because the version which is already
       installed in the upstream container is newer than the one we can find
       in the archived repositories, and it caused a dependency issue when
       trying to install the `zlib1g-dev` package.

commit 8a0a71597a41b0a5e02f2f88f071a7ccb89b285d
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sat Jun 3 12:51:51 2023 +0200

    Remove broken friendsite links from footer

commit bb979973a5cf319e84d6964455688d54df2bb6ae
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Thu Jun 1 21:24:12 2023 +0200

    Fix for new accounts with last_seen_on NULL