Journal des modifications

commit 780f4e857c3ac2c8461fcac6d93c2a3b0e2fb2ef
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sat Jan 28 19:06:21 2023 +0100

    Admin part of new Mastodon URL feature
    
    - Mastodon link displayed only if karma > 0
    - Mastodon and URLs removed from inactive accounts
    - Same value for maxlength in front and back
    - Display Mastodon account on user page and last accounts page
    - Update karma help for Mastodon link
    - Update SQL DB schema for Mastodon link

commit 983e8b81f5717417380eeb304b01e4b1c628419b
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sat Jan 28 18:02:24 2023 +0100

    Fix link to users account in preferences for Mastodon URL

commit 0ec430271e0ed07df0202520b6294088a7f50700
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sat Jan 28 17:39:45 2023 +0100

    Moderation stats: 90d view + other acts

commit 59132159c3b28615108d5701c4395509b62c5cd2
Author: Oumph <37904057+Oumph@users.noreply.github.com>
Date:   Sat Jan 28 17:27:37 2023 +0100

    Wording

commit 9d85d2b02ce7cb0ecbf4dc7baeef32deeec6f053
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date:   Tue Jan 17 23:24:37 2023 +0100

    fix gasp between backgrounds of body and sidebar divs
    
    The issue is the linear-gradient in the body background seems to not working
    really correctly with pixel dimensions (in Firefox at least): if you
    zoom in / out the page you'll see the body background to not always
    correctly update the rendering (and so you'll see a growing gasp for
    example).
    
    Due to this issue, there was a gap between the backgrounds of the body and the
    sidebar elements. PR #354 tried to solve this by adjusting the
    linear-gradient pixel dimensions, but due to the bug of linear-gradient
    implementation, it was not working when window was resized or page zoomed.
    
    As the linear-gradient usage in the body background was clearly already a
    workaround to create two vertical color stripes, we replace it with
    another workaround using the CSS feature which allows to define multiple
    background images with different size and position.
    
    First background image is defined with the sidebar color (using
    linear-gradient with only one color) and the width which resolve the
    pixel gasp reported in #354 (which means the width should be the
    branding width + body border width). To be able to define a color as an
    image, we use again linear-gradient, but, this time it fills all the
    stripe with the same color, so we won't have error due to
    linear-gradient implementation.
    
    Second image is defined from the first image position for the rest of the body
    block with the container color.
    
    This new workaround idea comes from this StackOverflow answer which
    explain how to create pixel perfect horizontal stripes:
    https://stackoverflow.com/a/24829344

commit c7ef92a3de2669ca817004e08c4a094721d00635
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Mon Jan 16 20:15:44 2023 +0100

    Alt Gr + W to type «

commit 0b3b099ad73842ff7a87cd470a56df434907de83
Author: Steve Frécinaux <code@istique.net>
Date:   Thu Jan 5 21:21:48 2023 +0100

    Add "Top Mastodon domains" in user statistics
    
    This is mostly cut and paste from commit 3ac001ba1c635.

commit 04f487d9c2c54be5b7d5dfd21473c50a895e6873
Author: Steve Frécinaux <code@istique.net>
Date:   Mon Jan 2 22:06:13 2023 +0100

    Include a Mastodon link besides the user name below post titles
    
    We show the Mastodon URL alongside the website URL and XMPP address.
    This crowds the user box even more and I think LinuxFR should switch to
    using a proper profile page instead.
    
    This was requested by Adrien Dorsaz.

commit 5fca5df5c1a8bb04c1d010ad90d8744190ba7cc0
Author: Steve Frécinaux <code@istique.net>
Date:   Mon Dec 19 21:42:24 2022 +0100

    Include the Mastodon URL in a link element on user page (#2046)
    
    We add a `<link rel="me" href="https://mastodon.example/@me">` URL in
    the `<head>` when the user configures their Mastodon URL.
    
    We only accept URLs (not `@me@mastodon.example`-style identifiers) for
    the sake of simplicity, because it's both the most universal format and
    the one required for the "verification" feature. A placeholder is used
    to convey that fact.
    
    For the record, at this time Mastodon requires a `<a>` or `<link>`
    element with `rel="me"` and an `href` attribute pointing to the
    `https://` URL of the Mastodon account. I opted for the `<link>` element
    because it didn't involve modifying the web interface any further. See
    https://docs.joinmastodon.org/user/profile/#verification for details.
    
    https://linuxfr.org/suivi/faire-valider-sa-page-perso-linuxfr-org-sur-mastodon

commit fe811a6bccf69cfbb8ca9cd55d9b7ec27ca784c6
Author: Steve Frécinaux <code@istique.net>
Date:   Thu Dec 29 23:17:34 2022 +0100

    Fix formatting of command lines in Docker.md
    
    These were using "inline code" syntax rather than code block. Code
    blocks look better and make the lines easier to cut and paste when
    editing the file.

commit 3ac001ba1c635f3e2306120777b21baa3bd9742d
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Tue Jan 3 21:05:56 2023 +0100

    Top XMPP domains in stats
    
    Fix #2048 Statistiques sur les domaines XMPP

commit 31ae3e8975677cc393e8000f8163c315977728bc
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date:   Sun Dec 25 14:23:19 2022 +0100

    Use minimal deploy Bullseye Docker image for linuxfr-img
    
    This is possible because Go creates static binaries by default.

commit de82bdc66fa82a1c4c69dec6259551bb916ce373
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date:   Mon Dec 19 22:47:45 2022 +0100

    docker: fix nginx configuration to serve correctly avatar links

commit a74388318186e7c2eb801b735eb297385c1f18f0
Author: Adrien Dorsaz <adrien@adorsaz.ch>
Date:   Mon Dec 19 22:05:28 2022 +0100

    docker: deploy development and test databases on same service

commit f1385d0cec3cdac4ee3edd99f83e3c3d82fcaeb8
Author: Benoît Sibaud <oumph@linuxfr.org>
Date:   Sat Nov 19 18:36:10 2022 +0100

    Fix #1991 Souci indéfini sur le tsv de la tribune
    
    Occurred between 0 and 4 times per day in November 2022