Compare commits

..

107 commits

Author SHA1 Message Date
hynet-mel
8ab3d34614 Squashed commit of the following:
commit 7cc6c35654
Merge: e7a558a5 228679e4
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Feb 24 13:55:57 2024 +0000

    Merge branch 'develop' into stable

commit 228679e49e
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Feb 24 13:55:10 2024 +0000

    2024.02 release

commit d610a46c32
Merge: ed0b403c 09257632
Author: Weblate <noreply@weblate.org>
Date:   Tue Feb 20 16:24:40 2024 +0000

    Merge branch 'origin/develop' into Weblate.

commit ed0b403c33
Merge: 0f842b30 a77a9e04
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Tue Feb 20 16:24:37 2024 +0000

    Merge pull request 'Auto-approve followbacks (frontend part)' (#365) from Oneric/akkoma-fe:followbacks-fe into develop

    Reviewed-on: #365

commit 0925763267
Merge: 0f842b30 e292af42
Author: Weblate <noreply@weblate.org>
Date:   Tue Feb 20 16:20:18 2024 +0000

    Merge branch 'origin/develop' into Weblate.

commit 0f842b300b
Merge: 865cb6f9 050c7df2
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Tue Feb 20 16:20:14 2024 +0000

    Merge pull request 'Display profile background of other users' (#371) from Oneric/akkoma-fe:profile-backgrounds into develop

    Reviewed-on: #371

commit e292af4211
Merge: 865cb6f9 4e7d5d3a
Author: Weblate <noreply@weblate.org>
Date:   Mon Feb 19 14:04:37 2024 +0000

    Merge branch 'origin/develop' into Weblate.

commit 865cb6f96a
Merge: 8dce31d0 a5733499
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Mon Feb 19 14:04:34 2024 +0000

    Merge pull request 'Add Indonesian translation' (#366) from leap123/akkoma-fe:leap123-patch-1 into develop

    Reviewed-on: #366

commit 4e7d5d3a08
Author: Weblate <noreply@weblate.org>
Date:   Thu Feb 15 17:32:33 2024 +0000

    Translated using Weblate (Vietnamese)

    Currently translated at 92.2% (965 of 1046 strings)

    Translated using Weblate (Vietnamese)

    Currently translated at 92.2% (965 of 1046 strings)

    Translated using Weblate (Vietnamese)

    Currently translated at 84.3% (882 of 1046 strings)

    Translated using Weblate (Vietnamese)

    Currently translated at 84.3% (882 of 1046 strings)

    Translated using Weblate (Vietnamese)

    Currently translated at 79.8% (835 of 1046 strings)

    Translated using Weblate (Vietnamese)

    Currently translated at 79.8% (835 of 1046 strings)

    Co-authored-by: Nguyễn Gia Phong <cnx@loang.net>
    Co-authored-by: Weblate <noreply@weblate.org>
    Co-authored-by: xarvos <huyngo@disroot.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/vi/
    Translation: Pleroma fe/pleroma-fe

commit f2d0c4c7d5
Author: Weblate <noreply@weblate.org>
Date:   Thu Feb 15 17:32:33 2024 +0000

    Translated using Weblate (Japanese)

    Currently translated at 0.2% (3 of 1046 strings)

    Added translation using Weblate (Japanese)

    Co-authored-by: Nakaya <s_fpfb_sub-second@yahoo.co.jp>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja/
    Translation: Pleroma fe/pleroma-fe

commit 02a6591f20
Author: Weblate <noreply@weblate.org>
Date:   Thu Feb 15 17:32:33 2024 +0000

    Translated using Weblate (Greek)

    Currently translated at 15.9% (167 of 1046 strings)

    Co-authored-by: Weblate <noreply@weblate.org>
    Co-authored-by: getimiskon <getimiskon@disroot.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/el/
    Translation: Pleroma fe/pleroma-fe

commit 94c70f8914
Author: Weblate <noreply@weblate.org>
Date:   Thu Feb 15 17:32:33 2024 +0000

    Merge branch 'origin/develop' into Weblate.

    Translated using Weblate (Chinese (Simplified))

    Currently translated at 100.0% (1046 of 1046 strings)

    Co-authored-by: Poesty Li <poesty7450@gmail.com>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/zh_Hans/
    Translation: Pleroma fe/pleroma-fe

commit 3ba8c90e1e
Author: Weblate <noreply@weblate.org>
Date:   Thu Feb 15 17:32:33 2024 +0000

    Translated using Weblate (Russian)

    Currently translated at 68.7% (719 of 1046 strings)

    Co-authored-by: Mel <hi@mel.gg>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ru/
    Translation: Pleroma fe/pleroma-fe

commit 83db80f88c
Author: Weblate <noreply@weblate.org>
Date:   Thu Feb 15 17:32:32 2024 +0000

    Translated using Weblate (Polish)

    Currently translated at 100.0% (1046 of 1046 strings)

    Translated using Weblate (Polish)

    Currently translated at 100.0% (1046 of 1046 strings)

    Co-authored-by: Weblate <noreply@weblate.org>
    Co-authored-by: subtype <subtype@hollow.capital>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/pl/
    Translation: Pleroma fe/pleroma-fe

commit 1489d92997
Author: Weblate <noreply@weblate.org>
Date:   Thu Feb 15 17:32:32 2024 +0000

    Translated using Weblate (Japanese (ja_EASY))

    Currently translated at 72.3% (757 of 1046 strings)

    Co-authored-by: Weblate <noreply@weblate.org>
    Co-authored-by: kazari <6c577a54-aac9-482a-955e-745c858445e3@simplelogin.com>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_EASY/
    Translation: Pleroma fe/pleroma-fe

commit db5c9572dc
Author: Weblate <noreply@weblate.org>
Date:   Thu Feb 15 17:32:32 2024 +0000

    Translated using Weblate (Italian)

    Currently translated at 80.4% (841 of 1045 strings)

    Translated using Weblate (Italian)

    Currently translated at 65.3% (683 of 1045 strings)

    Co-authored-by: Cuche <cuche@mailbox.org>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/it/
    Translation: Pleroma fe/pleroma-fe

commit 5bb53c8b0d
Author: Weblate <noreply@weblate.org>
Date:   Thu Feb 15 17:32:32 2024 +0000

    Translated using Weblate (Spanish)

    Currently translated at 93.9% (983 of 1046 strings)

    Translated using Weblate (Spanish)

    Currently translated at 92.5% (967 of 1045 strings)

    Co-authored-by: Weblate <noreply@weblate.org>
    Co-authored-by: taretka <info@tarteka.net>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
    Translation: Pleroma fe/pleroma-fe

commit 665f88f5c7
Author: Weblate <noreply@weblate.org>
Date:   Thu Feb 15 17:32:32 2024 +0000

    Translated using Weblate (Indonesian)

    Currently translated at 71.9% (753 of 1046 strings)

    Co-authored-by: Aldiantoro Nugroho <kriwil@gmail.com>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/id/
    Translation: Pleroma fe/pleroma-fe

commit 050c7df2e6
Author: Oneric <oneric@oneric.stub>
Date:   Wed Feb 14 17:44:57 2024 +0000

    Display profile background of other users

    And add a new frontend setting to hide other people's background.

commit a77a9e04d9
Author: Oneric <oneric@oneric.stub>
Date:   Wed Jan 17 19:50:47 2024 +0000

    Expose new server-side permit_followback setting

    Added to backend in AkkomaGang/akkoma#674

commit a57334991e
Author: leap123 <leapofazzam@protonmail.com>
Date:   Fri Jan 19 04:27:26 2024 +0000

    Add Indonesian translation

    The Indonesian translation is technically almost complete, just not added to messages.js

commit 8dce31d0ad
Merge: d304be65 ea9ad4d6
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Wed Dec 20 18:49:40 2023 +0000

    Merge pull request 'Improve UX of subject / Content Warning field' (#362) from hazelnoot/akkoma-fe:develop into develop

    Reviewed-on: #362

commit ea9ad4d600
Author: Hazel Koehler <acomputerdog@gmail.com>
Date:   Wed Dec 20 12:39:31 2023 -0500

    fix "always show content warning" setting

commit 34e2800f59
Author: Hazel Koehler <acomputerdog@gmail.com>
Date:   Sat Dec 16 14:44:26 2023 -0500

    add button to toggle the spoiler / CW field

commit 3d65eccf04
Author: Hazel Koehler <acomputerdog@gmail.com>
Date:   Sat Dec 16 13:37:59 2023 -0500

    use main emoji button for spoiler / CW field

commit d304be654f
Merge: aee97fa9 1de62fff
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 15 12:24:33 2023 +0000

    Merge pull request 'Update build setup instructions' (#343) from norm/pleroma-fe:update-build-setup into develop

    Reviewed-on: #343

commit aee97fa948
Merge: 7da1687f d9e1bc4d
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 15 12:24:07 2023 +0000

    Merge pull request 'Re-added extension checking for still-image' (#346) from Mergan/pleroma-fe:still-image-ultimate into develop

    Reviewed-on: #346

commit 7da1687f31
Merge: a8f193d4 235c734d
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 15 12:12:28 2023 +0000

    Merge pull request 'Use relative font size and set appropriate overflow behavior' (#355) from xarvos/pleroma-fe:update-css into develop

    Reviewed-on: #355

commit a8f193d4bd
Merge: 81c82e11 beee99e7
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 15 11:57:47 2023 +0000

    Merge pull request 'Stop constant movement of notifications due to changing timestamps' (#353) from Oneric/akkoma-fe:notification-writhing into develop

    Reviewed-on: #353

commit 81c82e11bc
Merge: 00cadce5 ab250c2f
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 15 11:54:15 2023 +0000

    Merge pull request 'Explicitly set SameSite attribute for cookies' (#352) from Oneric/akkoma-fe:cookie-samesite into develop

    Reviewed-on: #352

commit 00cadce5b4
Merge: 40a08f27 1b28ec3b
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 15 11:52:59 2023 +0000

    Merge pull request 'Format dates, times with window.navigator.language instead of UI i18n locale' (#354) from smitten/akkoma-fe:date-locale-fix-cherrypick into develop

    Reviewed-on: #354

commit 40a08f279b
Merge: 52b0b6f0 c524a47e
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Thu Nov 16 10:41:17 2023 +0000

    Merge pull request 'Drop broken "@ symbol as icon" setting' (#359) from Oneric/akkoma-fe:at-icon into develop

    Reviewed-on: #359

commit c524a47e6f
Author: Oneric <oneric@oneric.stub>
Date:   Wed Nov 15 23:36:19 2023 +0100

    Drop broken "@ symbol as icon" setting

    It was merged into pleroma-fe on 2022-02-03 in
    76547fe66d and imported
    into akkoma-fe on 2022-06-08 with the merge commit
    f6cf509a04.

    However, something went wrong in the merge and while the setting
    and its infrastructure exist, it is never used anywhere and @ is
    always displayed as text.

    Given it existed in this broken state for nearly one and a half years,
    never worked on akkoma-fe and no bugs were filed about this, it appears
    nobody cares, so let’s just remove it.

commit 235c734d37
Author: Ngô Ngọc Đức Huy <huyngo@disroot.org>
Date:   Sun Nov 5 09:21:49 2023 +0700

    Use overflow: auto for description

    Previously it sets overflow: scroll, so there's an unnecessary
    horizontal scroll.
    overflow: auto only shows scrollbar when it overflows

commit deaef1d0b9
Author: Ngô Ngọc Đức Huy <huyngo@disroot.org>
Date:   Sun Nov 5 09:21:01 2023 +0700

    Use relative unit for font size

commit 1b28ec3b72
Author: smitten <everything-cozy@pm.me>
Date:   Wed Nov 1 23:10:57 2023 -0400

    Match UI i18n configuration to browser locales

commit c9dc8f00f9
Author: smitten <everything-cozy@pm.me>
Date:   Mon Oct 30 18:54:07 2023 -0400

    Use window.navigator.language before interface i18n language

commit beee99e733
Author: Oneric <oneric@oneric.stub>
Date:   Wed Oct 18 22:51:24 2023 +0200

    Stop notifications boxes from change size over time

    Notifications about favourites and follows use .notification-right,
    notifications about replies instead use .heading-right.

    Previously only the former set a min-width, however the
    chosen value of 3em was too small to fit the worst case.
    As a consequence, when the timestamp text changes over time,
    its element width changes, which may result in neighbouring text
    (no longer) needing to wrap to a new line in turn changing the size
    of the whole notification box pushing older notification boxes down/up.

    These constant movements at the side of the screen can be quite
    annoying and confusing when the cause cannot be immediately discerned.

    Avoid this, by reserving enough space for any timestamp.

    For English, the worst case is the five-character 'XXmin', since the
    short identifier for minutes is the longest with three letters.
    With two exceptions, all other current localisation also do not exceed
    three letters in any short unit identifier up to days.
    However, some localisations (e.g. Polish) additionally insert a space
    between numerical value and unit. This matches SI recommendations
    pushing the worst case to 6 characters.

    6 characters will be sufficient for timestamps up to 3 weeks in all
    languages (minus prev exceptions), which seems reasonable enough
    as beyond this timestamps rarely change anyway.

    The aforementioned exceptions being Vietnamese and Occitan,
    but in the current localisation all or the relevant short unit
    identifiers are identical to the long forms indicating this is
    just due to incomplete translation.
    Indeed, Vietnamese Wikipedia (read through machine translation) suggests
    “ph” is commonly used as unit identifiers for minutes, but the current
    localisation fully spells it out as “phút”.

commit ccb0ffdc8a
Author: Oneric <oneric@oneric.stub>
Date:   Tue Oct 24 18:23:47 2023 +0200

    Don't show direction in notification timestamps

    Currently all notifications except follow-related once include
    and explicit direction text. (It missing in follow notifs is due to an
    omission in 804ba0cdb6 which only added
    the newly introduced with-direction to status-related notifs. Before,
    presumably all notifs included direction text.)

    But in the notification tray horizontal space is scarce
    and notifs can already be assumed to only come from the past.
    While it might not be too bad for the English localisation’s 4-letter
    ' ago' suffix, e.g. the Indonesian localisation’s ' yang lalu' needs
    10 letters.

    Thus instead of fixing the omission for follow-related notifs,
    drop direction text from all notification timestamps.

commit ab250c2f3a
Author: Oneric <oneric@oneric.stub>
Date:   Thu Oct 19 00:45:11 2023 +0200

    Explicitly set SameSite attribute for cookies

    Modern browsers start to tighten down on third-party access to cookies.
    E.g. in current Firefox, a warning about the userLanguage cookie was
    shown since it did not yet explicitly set the SameSite attribute and the
    default is about to change.

    The cookie name being referred to as BACKEND_LANGUAGE_COOKIE_NAME
    suggests it should be readable by the actual Akkoma backend, which can
    live at a different domain than akkoma-fe. Thus explicitly enable
    sharing with third-party sites.

    No warnings were shown for other cookies, so I assume
    this was the only one not yet setting SameSite.

commit 1de62fffcd
Author: Norm <normandy@biribiri.dev>
Date:   Sat Sep 23 20:34:30 2023 -0400

    Update config.example.json link and example domain

commit 306cea04a1
Author: Norm <normandy@biribiri.dev>
Date:   Sat Sep 23 20:33:46 2023 -0400

    Use corepack in build instructions

commit d9e1bc4d99
Author: Mergan <mergan@viridianpatriots.com>
Date:   Mon Oct 2 15:29:54 2023 -0700

    Re-added extension checking for still-image

    - Bonus refactoring

commit 52b0b6f008
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Mon Oct 2 13:28:23 2023 +0100

    add VI to messages.js

commit 8afbe5e3bc
Merge: 58be48d1 1056b89f
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Mon Sep 25 13:29:29 2023 +0000

    Merge pull request 'Making still-image better' (#341) from Mergan/pleroma-fe:still-image-ultimate into develop

    Reviewed-on: #341

commit 58be48d164
Merge: 174f98b1 6a1409e0
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Mon Sep 25 13:24:12 2023 +0000

    Merge pull request 'Do not copy all emojis in recentEmoji getter' (#340) from sn0w/akkoma-fe:feature/optimize-recent-emojis into develop

    Reviewed-on: #340

commit 1056b89fd1
Author: Mergan <mergan@viridianpatriots.com>
Date:   Tue Sep 12 04:19:08 2023 -0700

    Disabled aggressive matching for reduced motion (we search for gif now)

commit 3e64d78d05
Author: Mergan <mergan@viridianpatriots.com>
Date:   Tue Sep 12 04:17:28 2023 -0700

    An oopsie

commit 3947aafeba
Author: Mergan <mergan@viridianpatriots.com>
Date:   Tue Sep 12 04:08:47 2023 -0700

    Aligning canvas to image

commit 345934c2f3
Author: Mergan <mergan@viridianpatriots.com>
Date:   Tue Sep 12 03:36:14 2023 -0700

    Make label visible on avatar

commit 42a13b0f1b
Author: Mergan <mergan@viridianpatriots.com>
Date:   Tue Sep 12 03:05:42 2023 -0700

    Modify label

commit e13c4b6b85
Author: Mergan <mergan@viridianpatriots.com>
Date:   Tue Sep 12 02:48:53 2023 -0700

    Revamped still-image

commit 6a1409e09b
Author: sn0w <me@sn0w.cx>
Date:   Sun Sep 3 16:05:56 2023 +0200

    Do not copy all emojis in recentEmoji getter

commit e7a558a533
Merge: 5106fced 174f98b1
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Aug 5 14:17:53 2023 +0100

    Merge branch 'develop' into stable

commit 174f98b1cb
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Aug 5 14:17:42 2023 +0100

    don't die on my arm box please

commit 5106fcedd6
Merge: 1db322ba ab146b67
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Aug 5 13:29:55 2023 +0100

    Merge branch 'develop' into stable

commit ab146b67ec
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Aug 5 13:29:44 2023 +0100

    version

commit 1db322bae6
Merge: e530c2b4 3b4208ea
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Aug 5 13:29:26 2023 +0100

    Merge branch 'develop' into stable

commit 3b4208ea41
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Fri Aug 4 16:48:13 2023 +0100

    debounce emoji searching

commit 856324fa26
Merge: 5a9322d2 0da0e2c8
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Aug 4 15:09:56 2023 +0000

    Merge pull request 'Make favicon next to post username use Still-Image functionality' (#327) from Mergan/pleroma-fe:still-image-instance-favicon into develop

    Reviewed-on: #327

commit 5a9322d2c7
Merge: b52bfbcb 43d0a245
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Aug 4 15:09:32 2023 +0000

    Merge pull request 'StillImage: Improved animated image detection' (#335) from yukijoou/akkoma-fe:still-image-better-gif-detection into develop

    Reviewed-on: #335

commit b52bfbcba0
Merge: 2b05a738 fa5d31b7
Author: Weblate <noreply@weblate.org>
Date:   Fri Aug 4 14:56:22 2023 +0000

    Merge branch 'origin/develop' into Weblate.

commit 2b05a738c9
Merge: 29cfdcbb 7c14e1a5
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Aug 4 14:56:20 2023 +0000

    Merge pull request 'Add replying info for redraft' (#332) from xarvos/pleroma-fe:fix-reply-redraft into develop

    Reviewed-on: #332

commit fa5d31b793
Merge: 29cfdcbb 5174b959
Author: Weblate <noreply@weblate.org>
Date:   Fri Aug 4 14:54:38 2023 +0000

    Merge branch 'origin/develop' into Weblate.

commit 29cfdcbbcd
Author: tusooa <tusooa@kazv.moe>
Date:   Fri Aug 4 15:54:04 2023 +0100

    Add load more to blocks/mutes

commit 5174b95918
Author: Weblate <noreply@weblate.org>
Date:   Fri Aug 4 13:34:26 2023 +0000

    Translated using Weblate (Greek)

    Currently translated at 15.4% (162 of 1046 strings)

    Added translation using Weblate (Greek)

    Co-authored-by: Weblate <noreply@weblate.org>
    Co-authored-by: getimiskon <getimiskon@disroot.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/el/
    Translation: Pleroma fe/pleroma-fe

commit 56528206b8
Author: Weblate <noreply@weblate.org>
Date:   Fri Aug 4 13:34:26 2023 +0000

    Translated using Weblate (Portuguese)

    Currently translated at 62.7% (656 of 1046 strings)

    Co-authored-by: Jonathan Soares <jontix@murena.io>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/pt/
    Translation: Pleroma fe/pleroma-fe

commit 590380c084
Author: Weblate <noreply@weblate.org>
Date:   Fri Aug 4 13:34:26 2023 +0000

    Translated using Weblate (Thai)

    Currently translated at 1.7% (18 of 1046 strings)

    Added translation using Weblate (Thai)

    Co-authored-by: Chanakan Mungtin <chanakan5591@chanakancloud.net>
    Co-authored-by: Pongsatorn Paewsoongnern <akkoma@miraiverse.me>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/th/
    Translation: Pleroma fe/pleroma-fe

commit dfcbb3c1ec
Author: Weblate <noreply@weblate.org>
Date:   Fri Aug 4 13:34:26 2023 +0000

    Translated using Weblate (Ukrainian)

    Currently translated at 100.0% (1046 of 1046 strings)

    Co-authored-by: Denys Nykula <vegan@libre.net.ua>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/uk/
    Translation: Pleroma fe/pleroma-fe

commit 9b01c31283
Author: Weblate <noreply@weblate.org>
Date:   Fri Aug 4 13:34:26 2023 +0000

    Translated using Weblate (Chinese (Simplified))

    Currently translated at 100.0% (1046 of 1046 strings)

    Co-authored-by: Poesty Li <poesty7450@gmail.com>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/zh_Hans/
    Translation: Pleroma fe/pleroma-fe

commit 6be003b2f8
Author: Weblate <noreply@weblate.org>
Date:   Fri Aug 4 13:34:26 2023 +0000

    Translated using Weblate (French)

    Currently translated at 98.3% (1029 of 1046 strings)

    Co-authored-by: Thomate <thomas@burdick.fr>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/fr/
    Translation: Pleroma fe/pleroma-fe

commit cc302fb0e2
Author: Weblate <noreply@weblate.org>
Date:   Fri Aug 4 13:34:26 2023 +0000

    Translated using Weblate (Japanese (ja_EASY))

    Currently translated at 72.3% (757 of 1046 strings)

    Translated using Weblate (Japanese (ja_EASY))

    Currently translated at 71.9% (753 of 1046 strings)

    Co-authored-by: Hikaru Shinagawa <hikali.47041@gmail.com>
    Co-authored-by: Weblate <noreply@weblate.org>
    Co-authored-by: kazari <6c577a54-aac9-482a-955e-745c858445e3@simplelogin.com>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_EASY/
    Translation: Pleroma fe/pleroma-fe

commit c4e768f977
Author: Weblate <noreply@weblate.org>
Date:   Fri Aug 4 13:34:26 2023 +0000

    Translated using Weblate (Indonesian)

    Currently translated at 67.8% (710 of 1046 strings)

    Co-authored-by: Weblate <noreply@weblate.org>
    Co-authored-by: Yonle <yonle@lecturify.net>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/id/
    Translation: Pleroma fe/pleroma-fe

commit d8a7217335
Author: Weblate <noreply@weblate.org>
Date:   Fri Aug 4 13:34:26 2023 +0000

    Translated using Weblate (Turkish)

    Currently translated at 9.7% (102 of 1046 strings)

    Co-authored-by: Hasan Yıldız <hasanyildiz0@yaani.com>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/tr/
    Translation: Pleroma fe/pleroma-fe

commit 35d10ab9ff
Merge: af97dd74 51ebe643
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Aug 4 13:34:23 2023 +0000

    Merge pull request 'components: Honour 'prefers reduced motion' setting in many components' (#333) from yukijoou/akkoma-fe:fix-reduced-motion into develop

    Reviewed-on: #333

commit 43d0a24547
Author: Yuki Joou <yukijoou@laposte.net>
Date:   Thu Aug 3 16:03:12 2023 +0200

    StillImage: Improved animated image detection

    This patch makes StillImage's animation detection return early in cases
    where we can't detect the mimetype of the image. It also sets the image
    as animated in those cases if the user agent wants reduced motion.

    As reduced motion is an accessibility setting, I think it's best to use
    a "better safe than sorry" approach, it's better to accidentally mark
    something as animated that isn't than to have unblocked animations.

commit 51ebe643d5
Author: Yuki Joou <yukijoou@laposte.net>
Date:   Wed Aug 2 12:45:18 2023 +0200

    components: Honour 'prefers reduced motion' setting in many components

    This helps accessibility for motion-sensitive people such as myself, and
    can improve battery life in "battery saving" mode on most devices

commit 7c14e1a5bd
Author: Ngô Ngọc Đức Huy <huyngo@disroot.org>
Date:   Wed Aug 2 08:40:19 2023 +0700

    Add replying info for redraft

commit 0da0e2c814
Author: David <dmgf2008@hotmail.com>
Date:   Mon Jul 24 01:08:11 2023 -0700

    Make favicon next to post username use Still-Image functionality

commit af97dd7484
Merge: 28bf5974 2d387e2e
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Jul 21 19:44:25 2023 +0000

    Merge pull request 'docs: Update Pleroma references to Akkoma' (#318) from norm/pleroma-fe:update-docs into develop

    Reviewed-on: #318

commit 28bf597443
Merge: a249baea 14ed359c
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Jul 21 19:43:14 2023 +0000

    Merge pull request '[workaround] fix: emoji picker not scrollable on ios' (#323) from SukinoVerse/akkoma-fe:fix/emoji-picker-not-scrollable-ios into develop

    Reviewed-on: #323

commit a249baea8c
Merge: a4e82f78 32dc55b0
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Jul 21 19:42:41 2023 +0000

    Merge pull request 'Make emoji reactions use Still-Image functionality' (#326) from Mergan/pleroma-fe:still-image-emoji-reactions into develop

    Reviewed-on: #326

commit a4e82f7886
Merge: 42ffce97 91eab22d
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Jul 21 19:37:43 2023 +0000

    Merge pull request '[feat] Support prefers-reduced-motion disabling auto-play of animated images (#324)' (#325) from Mergan/pleroma-fe:support-prefers-reduced-motion into develop

    Reviewed-on: #325

commit 32dc55b07c
Author: David <dmgf2008@hotmail.com>
Date:   Thu Jul 20 17:20:54 2023 -0700

    Make emoji reactions use Still-Image functionality

commit 91eab22d77
Author: David <dmgf2008@hotmail.com>
Date:   Thu Jul 20 17:18:59 2023 -0700

    Simplified and fixed and/or oopsie

commit e2125c57d6
Author: David <dmgf2008@hotmail.com>
Date:   Thu Jul 20 16:26:52 2023 -0700

    Turn on by default

commit e0a6418e91
Author: David <dmgf2008@hotmail.com>
Date:   Thu Jul 20 16:14:36 2023 -0700

    Add prefers-reduced-motion support

commit 14ed359c33
Author: SukinoVERSΞ <github@miraiverse.me>
Date:   Tue Jul 11 22:16:37 2023 +0700

    fix: emoji picker not scrollable on ios

commit 2d387e2eb4
Author: Francis Dinh <normandy@biribiri.dev>
Date:   Fri May 26 23:02:38 2023 -0400

    update more images

commit 57f70371a9
Author: Francis Dinh <normandy@biribiri.dev>
Date:   Fri May 26 22:59:55 2023 -0400

    use better example emoji

commit 8feffbcdf6
Author: Francis Dinh <normandy@biribiri.dev>
Date:   Fri May 26 22:49:29 2023 -0400

    docs: Update Pleroma references to Akkoma

commit e530c2b462
Merge: 9aa64d82 42ffce97
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Tue May 23 14:10:31 2023 +0100

    Merge branch 'develop' into stable

commit 42ffce97d6
Merge: 2f479c67 ee6e7026
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Tue May 23 13:47:14 2023 +0100

    Merge remote-tracking branch 'origin/translations' into dm-privacy

commit 2f479c670f
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Tue May 23 13:46:59 2023 +0100

    Add DM settings

commit ee6e7026ab
Merge: 17c05a5c 42896c2a
Author: Weblate <noreply@weblate.org>
Date:   Tue May 23 11:38:58 2023 +0000

    Merge branch 'origin/develop' into Weblate.

commit 17c05a5ca2
Merge: ecb6be21 6b3b5545
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Tue May 23 11:38:57 2023 +0000

    Merge pull request 'paper theme: more contrast and fix setting tab hover' (#314) from denys/akkoma-fe:cool-paper-theme into develop

    Reviewed-on: #314

commit 42896c2abf
Merge: ecb6be21 6c92983a
Author: Weblate <noreply@weblate.org>
Date:   Tue May 23 11:38:30 2023 +0000

    Merge branch 'origin/develop' into Weblate.

commit ecb6be2152
Merge: 9e4985e2 8c6ccc32
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Tue May 23 11:38:28 2023 +0000

    Merge pull request 'fix unfinished post being sent when scrolling' (#312) from denys/akkoma-fe:accidental-mobile-posts into develop

    Reviewed-on: #312

commit 6c92983af6
Merge: 9e4985e2 60ff715a
Author: Weblate <noreply@weblate.org>
Date:   Tue May 23 11:37:26 2023 +0000

    Merge branch 'origin/develop' into Weblate.

commit 9e4985e225
Merge: 596ae7e3 2a76be56
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Tue May 23 11:37:24 2023 +0000

    Merge pull request 'fix apply theme button without page refresh' (#309) from denys/akkoma-fe:fix-apply-theme into develop

    Reviewed-on: #309

commit 60ff715aff
Author: Weblate <noreply@weblate.org>
Date:   Sun May 21 20:58:06 2023 +0000

    Translated using Weblate (Chinese (Simplified))

    Currently translated at 100.0% (1042 of 1042 strings)

    Co-authored-by: Poesty Li <poesty7450@gmail.com>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/zh_Hans/
    Translation: Pleroma fe/pleroma-fe

commit 04bcf7d804
Author: Weblate <noreply@weblate.org>
Date:   Sun May 21 20:58:06 2023 +0000

    Translated using Weblate (Polish)

    Currently translated at 66.1% (689 of 1042 strings)

    Co-authored-by: Jeder <jeder@jeder.pl>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/pl/
    Translation: Pleroma fe/pleroma-fe

commit 5fa305c58c
Author: Weblate <noreply@weblate.org>
Date:   Sun May 21 20:58:06 2023 +0000

    Translated using Weblate (Japanese (ja_EASY))

    Currently translated at 72.0% (751 of 1042 strings)

    Co-authored-by: Weblate <noreply@weblate.org>
    Co-authored-by: kazari <6c577a54-aac9-482a-955e-745c858445e3@simplelogin.com>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_EASY/
    Translation: Pleroma fe/pleroma-fe

commit a2ceb89d5e
Author: Weblate <noreply@weblate.org>
Date:   Sun May 21 20:58:06 2023 +0000

    Translated using Weblate (Turkish)

    Currently translated at 4.0% (42 of 1042 strings)

    Added translation using Weblate (Turkish)

    Co-authored-by: Hasan Yıldız <hasanyildiz0@yaani.com>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/tr/
    Translation: Pleroma fe/pleroma-fe

commit 6b3b55455d
Author: Denys Nykula <vegan@libre.net.ua>
Date:   Thu May 18 23:05:19 2023 +0300

    paper theme: more contrast and fix setting tab hover

commit 8c6ccc321d
Author: Denys Nykula <vegan@libre.net.ua>
Date:   Mon May 15 03:11:07 2023 +0300

    fix unfinished post being sent when scrolling

commit 596ae7e377
Merge: 0d22a22a 94d640f9
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Mon May 8 15:29:58 2023 +0000

    Merge pull request 'fix dropdown-item-icon and form controls using missing variables' (#307) from denys/akkoma-fe:missing-sass-vars into develop

    Reviewed-on: #307

commit 0d22a22a10
Merge: 1f943ce8 661a98d3
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Mon May 8 15:28:54 2023 +0000

    Merge pull request 'order bubble after public in sidebar like in other two menus' (#306) from denys/akkoma-fe:consistent-bubble-order into develop

    Reviewed-on: #306

commit 2a76be56e7
Author: Denys Nykula <vegan@libre.net.ua>
Date:   Mon May 1 20:54:18 2023 +0300

    fix apply theme button without page refresh

commit 661a98d38d
Author: Denys Nykula <vegan@libre.net.ua>
Date:   Mon May 1 20:53:29 2023 +0300

    order bubble after public in sidebar like in other two menus

commit 94d640f9f1
Author: Denys Nykula <vegan@libre.net.ua>
Date:   Mon May 1 20:50:31 2023 +0300

    fix dropdown-item-icon and form controls using missing variables

commit 9aa64d82c9
Merge: 85abc622 1f943ce8
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Fri Apr 14 18:10:41 2023 +0100

    Merge branch 'develop' into stable

commit 1f943ce8a5
Merge: c5407644 a4dfdc08
Author: Weblate <noreply@weblate.org>
Date:   Fri Apr 14 16:43:42 2023 +0000

    Merge branch 'origin/develop' into Weblate.

commit c540764408
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Fri Apr 14 17:43:05 2023 +0100

    ensure we only fetch reports when we're an admin

    Ref #288

commit a4dfdc0853
Merge: ddea499a f1bf2243
Author: Weblate <noreply@weblate.org>
Date:   Fri Apr 14 16:30:56 2023 +0000

    Merge branch 'origin/develop' into Weblate.

commit ddea499a36
Merge: 14cedc5e db33fe8e
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Apr 14 16:30:55 2023 +0000

    Merge pull request 'Fix edits and redrafts being erased by drafts' (#297) from solidsanek/pleroma-fe:drafts-edit-redraft-fix into develop

    Reviewed-on: #297

commit db33fe8ee2
Author: solidsanek <solidsanek@outerheaven.club>
Date:   Sun Apr 9 11:02:13 2023 +0200

    Drafts: Fix drafts erasing edits and redrafts

commit f1bf22436d
Author: Weblate <noreply@weblate.org>
Date:   Wed Apr 5 18:57:45 2023 +0000

    Translated using Weblate (Portuguese)

    Currently translated at 62.8% (655 of 1042 strings)

    Co-authored-by: cel <8cbv6di5@duck.com>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/pt/
    Translation: Pleroma fe/pleroma-fe

commit 459c73ec02
Author: Weblate <noreply@weblate.org>
Date:   Wed Apr 5 18:57:45 2023 +0000

    Translated using Weblate (Chinese (Simplified))

    Currently translated at 100.0% (1041 of 1041 strings)

    Translated using Weblate (Chinese (Simplified))

    Currently translated at 99.9% (1040 of 1041 strings)

    Translated using Weblate (Chinese (Simplified))

    Currently translated at 99.9% (1040 of 1041 strings)

    Translated using Weblate (Chinese (Simplified))

    Currently translated at 99.9% (1039 of 1040 strings)

    Co-authored-by: Poesty Li <poesty7450@gmail.com>
    Co-authored-by: SevicheCC <sevicheee@outlook.com>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/zh_Hans/
    Translation: Pleroma fe/pleroma-fe

commit 2acf1e5c59
Author: Weblate <noreply@weblate.org>
Date:   Wed Apr 5 18:57:45 2023 +0000

    Translated using Weblate (Ukrainian)

    Currently translated at 87.2% (908 of 1041 strings)

    Co-authored-by: Denys Nykula <vegan@libre.net.ua>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/uk/
    Translation: Pleroma fe/pleroma-fe

commit 33c4459744
Author: Weblate <noreply@weblate.org>
Date:   Wed Apr 5 18:57:45 2023 +0000

    Translated using Weblate (French)

    Currently translated at 98.5% (1027 of 1042 strings)

    Translated using Weblate (French)

    Currently translated at 98.3% (1024 of 1041 strings)

    Translated using Weblate (French)

    Currently translated at 96.9% (1002 of 1033 strings)

    Co-authored-by: Thomate <thomas@burdick.fr>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/fr/
    Translation: Pleroma fe/pleroma-fe

commit b00487e51f
Author: Weblate <noreply@weblate.org>
Date:   Wed Apr 5 18:57:45 2023 +0000

    Translated using Weblate (Japanese (ja_EASY))

    Currently translated at 71.6% (747 of 1042 strings)

    Translated using Weblate (Japanese (ja_EASY))

    Currently translated at 71.6% (747 of 1042 strings)

    Translated using Weblate (Japanese (ja_EASY))

    Currently translated at 54.1% (564 of 1042 strings)

    Co-authored-by: Hikaru Shinagawa <hikali.47041@gmail.com>
    Co-authored-by: Weblate <noreply@weblate.org>
    Co-authored-by: kazari <6c577a54-aac9-482a-955e-745c858445e3@simplelogin.com>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_EASY/
    Translation: Pleroma fe/pleroma-fe

commit 1e1cab643c
Author: Weblate <noreply@weblate.org>
Date:   Wed Apr 5 18:57:45 2023 +0000

    Translated using Weblate (Dutch)

    Currently translated at 99.7% (1038 of 1041 strings)

    Co-authored-by: Fristi <fristi@subcon.town>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
    Translation: Pleroma fe/pleroma-fe

commit 8d3219a6d2
Author: Weblate <noreply@weblate.org>
Date:   Wed Apr 5 18:57:45 2023 +0000

    Translated using Weblate (Indonesian)

    Currently translated at 65.4% (676 of 1033 strings)

    Translated using Weblate (Indonesian)

    Currently translated at 65.4% (676 of 1033 strings)

    Co-authored-by: Weblate <noreply@weblate.org>
    Co-authored-by: t1 <taaa@fedora.email>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/id/
    Translation: Pleroma fe/pleroma-fe

commit ec9753758f
Author: Weblate <noreply@weblate.org>
Date:   Wed Apr 5 18:57:45 2023 +0000

    Translated using Weblate (Spanish)

    Currently translated at 90.8% (938 of 1033 strings)

    Co-authored-by: Weblate <noreply@weblate.org>
    Co-authored-by: taretka <info@tarteka.net>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
    Translation: Pleroma fe/pleroma-fe

commit 97ff4a7241
Author: Weblate <noreply@weblate.org>
Date:   Wed Apr 5 18:57:45 2023 +0000

    Translated using Weblate (German)

    Currently translated at 99.5% (1036 of 1041 strings)

    Co-authored-by: Johann <johann@qwertqwefsday.eu>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/de/
    Translation: Pleroma fe/pleroma-fe

commit 14cedc5ed1
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Apr 1 07:55:47 2023 +0100

    don't crash if `class` isn't a list

commit 5911777aa2
Merge: 7e1b1e79 47fc082f
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Thu Mar 30 09:49:38 2023 +0000

    Merge pull request 'Fix floating point error for poll expiry' (#294) from xarvos/pleroma-fe:fix-poll-expire into develop

    Reviewed-on: #294

commit 47fc082fb9
Author: Ngô Ngọc Đức Huy <huyngo@disroot.org>
Date:   Fri Mar 24 20:44:29 2023 +0700

    Fix floating point error for poll expiry

    Previous code multiply with 0.001 before multiplication which leads to a
    floating point error.  By changing it to division by 1000 after
    multiplication this is avoided.

commit 7e1b1e79f4
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Mar 18 20:22:47 2023 +0000

    simplify timeline vibility checks

commit b92b2f74a4
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Mar 18 20:01:05 2023 +0000

    add timeline visibility setting parsing

commit 7361f4e77e
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Thu Mar 16 16:41:37 2023 +0000

    Add checks for currentUser on sidebar

commit 9f7f9e2798
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Wed Mar 15 23:00:31 2023 +0000

    Remove unused bits and bobs

commit 42ab3eada4
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Wed Mar 15 22:20:54 2023 +0000

    Remove links from navs if we can't see the timeline

commit 85abc62213
Merge: 8569b594 6fdef479
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Mar 11 17:27:22 2023 +0000

    Merge branch 'develop' into stable

commit 6fdef479d0
Author: flisk <akkomadev.mvch71fq@flisk.xyz>
Date:   Fri Mar 10 19:10:42 2023 +0000

    add recently used emojis panel to emoji picker (#283)

    ~~(not intended for merging yet, just submitting this for preliminary review and discussion)~~

    this patch adds a tab with recently used emojis to the emoji picker: https://akko.lain.gay/notice/ASoGCtyoiXbYPJjqpk

    there's a couple of things i'm ~~still trying to work out~~ not totally happy with and i'd appreciate any feedback on them:

    * the recentEmojis getter is called very frequently and has to do a possibly somewhat expensive lookup of emoji objects by their `displayName` each time, which i'm not sure is ideal
    * ~~emoji reactions on posts added through the picker are picked up by the recentEmojis module, but clicks on existing emoji reactions are not, because `addReaction` in `react_button.js` only currently receives the replacement and not the full emoji object (if there even is one wherever that method is called from)~~ this works now and does the same stupid full search of all emojis by their name which i guess is less bad because this only happens when you hit a reaction emoji button that already existed

    Reviewed-on: #283
    Co-authored-by: flisk <akkomadev.mvch71fq@flisk.xyz>
    Co-committed-by: flisk <akkomadev.mvch71fq@flisk.xyz>

commit fe08691f05
Merge: 6a976495 626c8800
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Mar 10 18:57:38 2023 +0000

    Merge pull request 'support Misskey's oblong reactions' (#284) from yheuhtozr/pleroma-fe:oblong-reactions into develop

    Reviewed-on: #284

commit 6a9764951f
Merge: 0f33b1cd 999c3859
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Mar 10 18:56:31 2023 +0000

    Merge pull request 'fix realtime updates in 'following' replies filter' (#285) from flisk/akkoma-fe:fix-realtime-reply-filter into develop

    Reviewed-on: #285

commit 0f33b1cd79
Merge: 6a9d169e 2c007f06
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Mar 10 18:55:03 2023 +0000

    Merge pull request 'Post drafting' (#282) from solidsanek/pleroma-fe:drafts into develop

    Reviewed-on: #282

commit 999c38594e
Author: flisk <akkomadev.mvch71fq@flisk.xyz>
Date:   Fri Feb 24 00:23:53 2023 +0100

    fix realtime updates in 'following' replies filter

    i'm not sure how this code was supposed to work, but the way it was
    written would only add statuses to the timeline if they were in reply to
    someone the user is following and erroneously filter out posts that
    aren't replies.

commit 626c880038
Author: Yhëhtozr <conlang2012@outlook.com>
Date:   Wed Feb 22 10:20:25 2023 +0900

    oblong emoji in status

commit 6d7761c7e5
Author: Yhëhtozr <conlang2012@outlook.com>
Date:   Mon Feb 20 23:27:41 2023 +0900

    perhaps more graceful cqw

commit 996ce3dde3
Author: Yhëhtozr <conlang2012@outlook.com>
Date:   Mon Feb 20 23:18:04 2023 +0900

    support oblong reactions

commit 2c007f06e3
Author: solidsanek <solidsanek@outerheaven.club>
Date:   Sun Feb 19 18:58:53 2023 +0100

    Post: remove debug logs

commit 00704bd88c
Author: solidsanek <solidsanek@outerheaven.club>
Date:   Fri Feb 17 13:56:01 2023 +0100

    Post: Add drafting feature

commit 8569b5946e
Merge: 9c9b4cc0 6a9d169e
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Feb 11 10:50:04 2023 +0000

    Merge branch 'develop' into stable

commit 6a9d169e24
Merge: 9e04e4fd 581c53a1
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Sat Feb 11 10:41:00 2023 +0000

    Merge pull request 'components: emoji_reactions: force custom emoji reaction height' (#280) from a1batross/akkoma-fe:a1batross-patch-1 into develop

    Reviewed-on: #280

commit 581c53a15e
Author: a1batross <a1ba.omarov@gmail.com>
Date:   Fri Feb 10 23:28:46 2023 +0000

    components: emoji_reactions: force custom emoji reaction height

    Prevents the usage of too long emoji reactions

commit 9e04e4fd80
Author: yanchan09 <yan@omg.lol>
Date:   Sat Feb 4 21:10:06 2023 +0000

    Improve emoji picker performance (#275)

    A simple virtual scroller is now used for the emoji grid. This avoids loading all emoji images at once, saving network bandwidth and reducing load on the server, while also putting less work on the browser's DOM and layout engine.

    Co-authored-by: yan <yan@omg.lol>
    Reviewed-on: #275
    Co-authored-by: yanchan09 <yan@omg.lol>
    Co-committed-by: yanchan09 <yan@omg.lol>

commit 88d5149db5
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Sat Feb 4 21:09:09 2023 +0000

    paginate-follow-requests (#277)

    Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
    Reviewed-on: #277

commit b4b13d777f
Merge: 56fd2e77 7f4dd9ff
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Jan 27 10:08:17 2023 +0000

    Merge pull request 'Add indicator to user card if user blocks you' (#274) from eris/pleroma-fe:block-indicator into develop

    Reviewed-on: #274

commit 7f4dd9ff03
Author: eris <femmediscord@gmail.com>
Date:   Fri Jan 27 00:26:50 2023 +0000

    Disable follow button if blocked by user

commit a9a95e9120
Author: eris <femmediscord@gmail.com>
Date:   Thu Jan 26 20:49:07 2023 +0000

    Add indicator if user blocks you

commit 56fd2e773b
Merge: 236bc2c7 42dc1a02
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sun Jan 15 17:59:50 2023 +0000

    Merge branch 'languages' into develop

commit 42dc1a027a
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sun Jan 15 17:59:32 2023 +0000

    add language input

commit 236bc2c762
Merge: f288d0c2 e9f47509
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Mon Jan 9 22:20:31 2023 +0000

    Merge pull request 'Only show "keep open" emoji checkbox on post form' (#269) from sfr/pleroma-fe:fix/keepopen into develop

    Reviewed-on: #269

commit e9f47509ae
Author: Sol Fisher Romanoff <sol@solfisher.com>
Date:   Tue Jan 3 16:04:26 2023 +0200

    Only show "keep open" emoji checkbox on post form

commit f288d0c219
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Mon Jan 2 15:16:42 2023 +0000

    Make everything work with a strict CSP

commit d973396c96
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sun Jan 1 21:06:02 2023 +0000

    Remove console.log

commit 62287fffae
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sun Jan 1 21:05:25 2023 +0000

    add follow/unfollow to followed tags list

commit e9f16af82d
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sun Jan 1 20:11:07 2023 +0000

    Add list of followed hashtags to profile

commit dfba8be134
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 30 05:03:25 2022 +0000

    Fall back to nsfw image if no blurhash

commit 313ddcebcb
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 30 04:57:23 2022 +0000

    Add blurhash support

commit 236b19e854
Merge: ea941d7c 2e5001e5
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 30 03:20:30 2022 +0000

    Merge branch 'develop' of akkoma.dev:AkkomaGang/akkoma-fe into develop

commit ea941d7cfa
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 30 03:20:12 2022 +0000

    remove IHBA assets

commit 2e5001e5de
Author: Beefox <bee@beefox.xyz>
Date:   Fri Dec 30 03:04:15 2022 +0000

    Allow follow(er) lists to be acessible by account owner even if follower counts are disabled (#246)

    Currently, if a user has their follower/follow counts hidden, they cannot access their own list of followers/follows. This makes no real sense and means that they cannot modify those lists without disabling their privacy options.

    This fix simply allows those tabs to be accessed no matter if the counts are hidden or not.

    Reviewed-on: #246
    Co-authored-by: Beefox <bee@beefox.xyz>
    Co-committed-by: Beefox <bee@beefox.xyz>

commit 014f8b0dd2
Author: Norm <normandy@biribiri.dev>
Date:   Fri Dec 30 03:01:17 2022 +0000

    Make minimum width for 3-column layout 1280px (#255) (#256)

    1280px is a pretty common screen width for several resolutions
    (1280x720, 1280x800, 1280x1024, etc.). Since it is only 20px less than
    the current 1300px minimum, this shouldn't be a big issue to lower the
    minimum screen width for the 3-column layout to 1280px.

    Closes: AkkomaGang/pleroma-fe#255

    Co-authored-by: Francis Dinh <normandy@biribiri.dev>
    Reviewed-on: #256
    Co-authored-by: Norm <normandy@biribiri.dev>
    Co-committed-by: Norm <normandy@biribiri.dev>

commit dd403b295f
Merge: f668455d 9cd62fe0
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 30 03:00:49 2022 +0000

    Merge pull request 'Remove stray debug log' (#265) from sfr/pleroma-fe:del-log into develop

    Reviewed-on: #265

commit 9cd62fe08d
Author: Sol Fisher Romanoff <sol@solfisher.com>
Date:   Fri Dec 30 01:03:31 2022 +0200

    Remove stray debug log

commit f668455dff
Merge: 5a431538 da491f32
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Thu Dec 29 20:56:22 2022 +0000

    Merge branch 'link-verification' into develop

commit 5a4315384e
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Thu Dec 29 15:25:03 2022 +0000

    force CI build

commit 401dfa8fa6
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Thu Dec 29 15:22:06 2022 +0000

    update readme

commit bb243168b3
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Thu Dec 29 15:18:13 2022 +0000

    Revert "Merge pull request 'Don't show timeline links if disabled and logged out' (#250) from sfr/pleroma-fe:fix/hide-timelines into develop"

    This reverts commit 0b5793c1e0, reversing
    changes made to 72ef2e7454.

commit da491f3278
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Thu Dec 29 15:17:35 2022 +0000

    add verification of links

commit d00e28d5e9
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Thu Dec 22 05:43:01 2022 +0000

    fix emoji picker in replies in notifications

commit 7ff17ab722
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Tue Dec 20 13:20:13 2022 +0000

    don't crash out if notification status is null

commit b009428814
Merge: 7bec96a1 c39332c1
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Wed Dec 14 12:09:03 2022 +0000

    Merge pull request 'Revert "Revert "use v1 urls""' (#254) from v1-urls into develop

    Reviewed-on: AkkomaGang/pleroma-fe#254

commit 7bec96a1bf
Merge: 0b5793c1 830e8fdb
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Wed Dec 14 12:08:27 2022 +0000

    Merge pull request 'Fix user moderation dropdown clipping' (#249) from sfr/pleroma-fe:fix/dropdown into develop

    Reviewed-on: AkkomaGang/pleroma-fe#249

commit 0b5793c1e0
Merge: 72ef2e74 6e1ba218
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Wed Dec 14 12:08:08 2022 +0000

    Merge pull request 'Don't show timeline links if disabled and logged out' (#250) from sfr/pleroma-fe:fix/hide-timelines into develop

    Reviewed-on: AkkomaGang/pleroma-fe#250

commit 72ef2e7454
Merge: 8c6cf86d 413acbc7
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Wed Dec 14 12:07:27 2022 +0000

    Merge pull request 'Fix 404 when reacting with Keycap Number Sign' (#252) from fef/pleroma-fe:develop into develop

    Reviewed-on: AkkomaGang/pleroma-fe#252

commit c39332c1bf
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Wed Dec 14 09:39:01 2022 +0000

    Revert "Revert "use v1 urls""

    This reverts commit 8c6cf86de3.

commit 8c6cf86de3
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Wed Dec 14 09:38:46 2022 +0000

    Revert "use v1 urls"

    This reverts commit 909271c764.

commit 909271c764
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Wed Dec 14 09:38:07 2022 +0000

    use v1 urls

commit 413acbc7dd
Author: fef <owo@fef.moe>
Date:   Mon Dec 12 18:59:57 2022 +0100

    fix 404 when reacting with Keycap Number Sign

    The Unicode sequence for the Keycap Number Sign
    emoji starts with an ASCII "#" character, which
    the browser's URL parser will interpret as a URI
    fragment and truncate it before sending the
    request to the backend.

commit 6e1ba218df
Author: Sol Fisher Romanoff <sol@solfisher.com>
Date:   Sat Dec 10 21:17:41 2022 +0200

    Don't show timeline links if disabled and logged out

commit 830e8fdb45
Author: Sol Fisher Romanoff <sol@solfisher.com>
Date:   Sat Dec 10 21:03:12 2022 +0200

    Fix user moderation dropdown clipping

commit 9c9b4cc07c
Merge: 2c9b7364 9bf310d5
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Dec 10 14:52:00 2022 +0000

    Merge branch 'develop' into stable

commit 9bf310d509
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Dec 10 14:51:08 2022 +0000

    bump version

commit e3e8b19df3
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sat Dec 10 00:17:33 2022 +0000

    fix ES translation having weird o in a key

commit e86c7abb39
Merge: 8a0da886 b33d15a7
Author: Weblate <noreply@weblate.org>
Date:   Thu Dec 8 18:41:37 2022 +0000

    Merge branch 'origin/develop' into Weblate.

commit 8a0da8861d
Merge: 40e86998 6c7e691a
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Thu Dec 8 18:41:36 2022 +0000

    Merge pull request 'Add YAML bug and feat templates' (#247) from sfr/pleroma-fe:issue-template into develop

    Reviewed-on: AkkomaGang/pleroma-fe#247

commit 6c7e691aea
Author: Sol Fisher Romanoff <sol@solfisher.com>
Date:   Thu Dec 8 20:24:21 2022 +0200

    Add YAML bug and feat templates

commit b33d15a739
Merge: 40e86998 177f3440
Author: Weblate <noreply@weblate.org>
Date:   Wed Dec 7 22:37:54 2022 +0000

    Merge branch 'origin/develop' into Weblate.

commit 40e86998e6
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Wed Dec 7 22:37:52 2022 +0000

    Update 'ISSUE_TEMPLATE.md'

commit 177f344033
Merge: 9079ac4a dfc4e0a0
Author: Weblate <noreply@weblate.org>
Date:   Wed Dec 7 22:32:07 2022 +0000

    Merge branch 'origin/develop' into Weblate.

commit 9079ac4afa
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Wed Dec 7 22:31:49 2022 +0000

    Update 'ISSUE_TEMPLATE.md'

commit dfc4e0a026
Author: Weblate <noreply@weblate.org>
Date:   Wed Dec 7 22:31:39 2022 +0000

    Translated using Weblate (Japanese (ja_PEDANTIC))

    Currently translated at 99.8% (1031 of 1033 strings)

    Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
    Translation: Pleroma fe/pleroma-fe

commit 3d732d1d28
Author: Weblate <noreply@weblate.org>
Date:   Wed Dec 7 22:31:39 2022 +0000

    Translated using Weblate (Indonesian)

    Currently translated at 59.4% (614 of 1033 strings)

    Translated using Weblate (Indonesian)

    Currently translated at 53.0% (548 of 1033 strings)

    Co-authored-by: Weblate <noreply@weblate.org>
    Co-authored-by: t1 <taaa@fedora.email>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/id/
    Translation: Pleroma fe/pleroma-fe

commit e8ee31afed
Author: Weblate <noreply@weblate.org>
Date:   Wed Dec 7 22:31:39 2022 +0000

    Translated using Weblate (English)

    Currently translated at 100.0% (1033 of 1033 strings)

    Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
    Translation: Pleroma fe/pleroma-fe

commit d9d6b1e80b
Author: Weblate <noreply@weblate.org>
Date:   Wed Dec 7 22:31:39 2022 +0000

    Translated using Weblate (Spanish)

    Currently translated at 89.2% (918 of 1029 strings)

    Co-authored-by: Weblate <noreply@weblate.org>
    Co-authored-by: taretka <info@tarteka.net>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
    Translation: Pleroma fe/pleroma-fe

commit 1dd7a89544
Author: Weblate <noreply@weblate.org>
Date:   Wed Dec 7 22:31:38 2022 +0000

    Translated using Weblate (German)

    Currently translated at 93.9% (967 of 1029 strings)

    Co-authored-by: Johann <johann@qwertqwefsday.eu>
    Co-authored-by: Weblate <noreply@weblate.org>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/de/
    Translation: Pleroma fe/pleroma-fe

commit d3280c4ab3
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Wed Dec 7 22:31:29 2022 +0000

    Add issue template

commit abc75c360b
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Wed Dec 7 11:01:58 2022 +0000

    Ensure only content gets clipped

commit a8e119b0f1
Merge: 17e574b1 71d2e0b0
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Tue Dec 6 15:56:06 2022 +0000

    Merge branch 'develop' of akkoma.dev:AkkomaGang/pleroma-fe into develop

commit 17e574b173
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Tue Dec 6 15:55:39 2022 +0000

    Move theme apply/reset to new row

    Fixes #225

commit 71d2e0b0ce
Merge: b68e968b 337a30fe
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Tue Dec 6 15:32:40 2022 +0000

    Merge pull request 'fix scope selector icon spacing' (#243) from nocebo/crt-fe:shared/fix-scope-spacing into develop

    Reviewed-on: AkkomaGang/pleroma-fe#243

commit b68e968bf9
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Tue Dec 6 15:26:16 2022 +0000

    Add ability to include custom CSS

commit eb49295422
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Sun Dec 4 17:31:41 2022 +0000

    Add hashtag following button (#244)

    Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
    Reviewed-on: AkkomaGang/pleroma-fe#244

commit 337a30fe01
Author: astra akari <nocebo@noreply.akkoma>
Date:   Sat Dec 3 07:12:55 2022 +0000

    remove whitespace between scope selector icons

    when i originally wrote this, for reasons unclear to the present me, i used literal whitespaces to space out the icons on the scope selector
    this causes strange inconsistencies in spacing depending on the font being used
    akkoma also did not include the whitespace when adding the local-only scope, resulting in even weirder spacing
    this corrects all of that by removing the whitespaces and using css instead

commit 105ecd3836
Merge: b86f12ce a3e490ed
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 2 12:01:43 2022 +0000

    Merge pull request 'pwa config' (#242) from pwa into develop

    Reviewed-on: AkkomaGang/pleroma-fe#242

commit a3e490edcd
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 2 12:00:30 2022 +0000

    use cutout of 512 logo

commit f8f5e1c89b
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 2 11:57:45 2022 +0000

    fix SW path

commit e132814478
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 2 11:56:15 2022 +0000

    Register serviceworker

commit 6af1df8bef
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 2 11:27:24 2022 +0000

    Add logo files

commit b86f12cede
Merge: 0900a9d8 c6697017
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Fri Dec 2 10:21:32 2022 +0000

    Merge pull request 'Add a small margin to search bar' (#240) from karl/pleroma-fe:search-bar-margin into develop

    Reviewed-on: AkkomaGang/pleroma-fe#240

commit c669701762
Author: Karl Prieb <karl@prieb.me>
Date:   Tue Nov 29 18:04:33 2022 -0300

    add a left margin on search bar

commit 0900a9d87b
Merge: 7860c885 0a01a2bd
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Mon Nov 28 13:35:08 2022 +0000

    Merge pull request 'Add post expiry inputs' (#239) from default-post-expiry into develop

    Reviewed-on: AkkomaGang/pleroma-fe#239

commit 0a01a2bdf0
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Mon Nov 28 12:08:18 2022 +0000

    Add post expiry inputs

commit 7860c885c4
Author: darkkirb <lotte@chir.rs>
Date:   Sat Nov 26 20:57:04 2022 +0000

    Add link to RSS feed to the profile (#234)

    Today I learned that akkoma and mastodon (and potentially other activitypub services) offer RSS/Atom feeds for user profiles at `[user profile url].rss`. This PR adds a direct link to the feed because I haven’t seen anything link to the feed on either mastodon-fe or pleroma-fe

    Co-authored-by: Charlotte 🦝 Delenk <lotte@chir.rs>
    Reviewed-on: AkkomaGang/pleroma-fe#234
    Co-authored-by: darkkirb <lotte@chir.rs>
    Co-committed-by: darkkirb <lotte@chir.rs>

commit 1c3bd60af2
Merge: c01c62f1 b8faee5d
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Sat Nov 26 18:32:35 2022 +0000

    Merge pull request 'fix formatting for large number of favorites/interactions' (#236) from drudge/pleroma-fe:develop into develop

    Reviewed-on: AkkomaGang/pleroma-fe#236

commit b8faee5d6d
Author: Sean Meininger <sean.meininger@pm.me>
Date:   Sat Nov 26 00:15:12 2022 -0800

    added maintainer code

commit c01c62f149
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Tue Nov 22 14:44:44 2022 +0000

    Redirect users to "awaiting approval" message on register (#231)

    Ref #81 - this implements a "your request has been sent" message

     ![image](/attachments/61dc3f5e-2706-46f9-a1ca-4efe3f526ff3)

    Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
    Reviewed-on: AkkomaGang/pleroma-fe#231

commit 105b934f90
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Tue Nov 22 14:40:25 2022 +0000

    Only reload user if it _is_ a user (#232)

    Ref #181

    Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
    Reviewed-on: AkkomaGang/pleroma-fe#232

commit b1f41add0e
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Mon Nov 21 17:08:53 2022 +0000

    Don't error out if we can't fetch reports

commit e4e8ed812b
Merge: 684894ae e06348ee
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Mon Nov 21 16:51:30 2022 +0000

    Merge pull request 'Allow using mouse wheel to navigate through the emoji tabs (#179)' (#222) from Mergan/pleroma-fe:emoji-picker-allow-scroll into develop

    Reviewed-on: AkkomaGang/pleroma-fe#222

commit 684894aee3
Author: Beefox <bee@beefox.xyz>
Date:   Mon Nov 21 16:49:18 2022 +0000

    mobile-newline (#226)

    Allows the handle of users to drop down onto the next line if there isn't enough room in order to improve useability on mobile

    Reviewed-on: AkkomaGang/pleroma-fe#226
    Co-authored-by: Beefox <bee@beefox.xyz>
    Co-committed-by: Beefox <bee@beefox.xyz>

commit f8a796b234
Merge: 70ea9e77 862c9370
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Mon Nov 21 16:46:29 2022 +0000

    Merge pull request 'move domain block to drop down menu (#223)' (#224) from nocebo/crt-fe:shared/move-domain-mute into develop

    Reviewed-on: AkkomaGang/pleroma-fe#224

commit 70ea9e772c
Merge: efe0f537 fcbbbad8
Author: floatingghost <hannah@coffee-and-dreams.uk>
Date:   Mon Nov 21 10:11:19 2022 +0000

    Merge pull request 'Allow for searching unicode emoji via inputting emoji (#163 & #227)' (#230) from Mergan/pleroma-fe:beefox-emoji-search into develop

    Reviewed-on: AkkomaGang/pleroma-fe#230

commit efe0f53736
Author: Mergan <mergan@noreply.akkoma>
Date:   Mon Nov 21 10:10:50 2022 +0000

    Constrain content to status content (#218) (#220)

    MFM No longer overflows
    ![image](/attachments/7bbf519a-9fd2-492d-aba0-9a0e1ded6373)

    Co-authored-by: David <dmgf2008@hotmail.com>
    Reviewed-on: AkkomaGang/pleroma-fe#220
    Co-authored-by: Mergan <mergan@noreply.akkoma>
    Co-committed-by: Mergan <mergan@noreply.akkoma>

commit fcbbbad8d4
Author: Beefox <bee@beefox.xyz>
Date:   Sat Sep 10 16:36:12 2022 +1000

    Allow for searching unicode emoji via inputting emoji
    (This is needed for the react menu)

commit 39b6b0b49f
Merge: 867a86d8 2d4b2f2e
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sun Nov 20 22:26:32 2022 +0000

    Merge remote-tracking branch 'origin/translations' into develop

commit 867a86d887
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sun Nov 20 22:26:16 2022 +0000

    Fix build

commit 7538369fa1
Author: FloatingGhost <hannah@coffee-and-dreams.uk>
Date:   Sun Nov 20 22:18:34 2022 +0000

    Copy conversation display style from instance

    Fixes #210

commit 2d4b2f2e20
Author: Weblate <noreply@weblate.org>
Date:   Sat Nov 19 21:22:45 2022 +0000

    Translated using Weblate (Spanish)

    Currently translated at 87.1% (893 of 1025 strings)

    Co-authored-by: taretka <info@tarteka.net>
    Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
    Translation: Pleroma fe/pleroma-fe

commit 862c93706c
Author: astra <nocebo@cathoderay.tube>
Date:   Fri Nov 18 08:49:57 2022 -0500

    move domain block to drop down menu

commit e06348ee33
Author: David <dmgf2008@hotmail.com>
Date:   Thu Nov 17 14:45:32 2022 -0800

    Allow using mouse wheel to navigate through the emoji tabs
2024-05-16 00:35:53 +02:00
hynet-mel
4f4aa6f75e Bruh I forgot the custom.css elements 2023-05-09 19:41:36 +02:00
Weblate
de7561ddde Translated using Weblate (Portuguese)
Currently translated at 62.8% (655 of 1042 strings)

Co-authored-by: cel <8cbv6di5@duck.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/pt/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:11:12 +02:00
Weblate
4f26a90106 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1041 of 1041 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (1040 of 1041 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (1040 of 1041 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (1039 of 1040 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Co-authored-by: SevicheCC <sevicheee@outlook.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/zh_Hans/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:11:12 +02:00
Weblate
3640526ab7 Translated using Weblate (Ukrainian)
Currently translated at 87.2% (908 of 1041 strings)

Co-authored-by: Denys Nykula <vegan@libre.net.ua>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/uk/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:11:12 +02:00
Weblate
191589283f Translated using Weblate (French)
Currently translated at 98.5% (1027 of 1042 strings)

Translated using Weblate (French)

Currently translated at 98.3% (1024 of 1041 strings)

Translated using Weblate (French)

Currently translated at 96.9% (1002 of 1033 strings)

Co-authored-by: Thomate <thomas@burdick.fr>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/fr/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:11:12 +02:00
Weblate
7c59aac3d5 Translated using Weblate (Japanese (ja_EASY))
Currently translated at 71.6% (747 of 1042 strings)

Translated using Weblate (Japanese (ja_EASY))

Currently translated at 71.6% (747 of 1042 strings)

Translated using Weblate (Japanese (ja_EASY))

Currently translated at 54.1% (564 of 1042 strings)

Co-authored-by: Hikaru Shinagawa <hikali.47041@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: kazari <6c577a54-aac9-482a-955e-745c858445e3@simplelogin.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_EASY/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:11:12 +02:00
Weblate
5eb4e8a58b Translated using Weblate (Dutch)
Currently translated at 99.7% (1038 of 1041 strings)

Co-authored-by: Fristi <fristi@subcon.town>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:11:12 +02:00
Weblate
8ed3826ee4 Translated using Weblate (Indonesian)
Currently translated at 65.4% (676 of 1033 strings)

Translated using Weblate (Indonesian)

Currently translated at 65.4% (676 of 1033 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: t1 <taaa@fedora.email>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/id/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:11:12 +02:00
Weblate
b333542a77 Translated using Weblate (Spanish)
Currently translated at 90.8% (938 of 1033 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: taretka <info@tarteka.net>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:11:12 +02:00
Weblate
10163831ac Translated using Weblate (German)
Currently translated at 99.5% (1036 of 1041 strings)

Co-authored-by: Johann <johann@qwertqwefsday.eu>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/de/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:11:12 +02:00
25c205fe4c ensure we only fetch reports when we're an admin
Ref #288
2023-05-09 19:11:12 +02:00
solidsanek
9056321750 Drafts: Fix drafts erasing edits and redrafts 2023-05-09 19:11:12 +02:00
e5b226799d don't crash if class isn't a list 2023-05-09 19:11:12 +02:00
86d2553acf Fix floating point error for poll expiry
Previous code multiply with 0.001 before multiplication which leads to a
floating point error.  By changing it to division by 1000 after
multiplication this is avoided.
2023-05-09 19:11:12 +02:00
c3208db28d simplify timeline vibility checks 2023-05-09 19:11:12 +02:00
b552d8116a add timeline visibility setting parsing 2023-05-09 19:11:12 +02:00
0f4cdcda48 Add checks for currentUser on sidebar 2023-05-09 19:11:12 +02:00
6b4680bf37 Remove unused bits and bobs 2023-05-09 19:11:12 +02:00
3a8354abb4 Remove links from navs if we can't see the timeline 2023-05-09 19:11:12 +02:00
1e66217c16 add recently used emojis panel to emoji picker (#283)
~~(not intended for merging yet, just submitting this for preliminary review and discussion)~~

this patch adds a tab with recently used emojis to the emoji picker: https://akko.lain.gay/notice/ASoGCtyoiXbYPJjqpk

there's a couple of things i'm ~~still trying to work out~~ not totally happy with and i'd appreciate any feedback on them:

* the recentEmojis getter is called very frequently and has to do a possibly somewhat expensive lookup of emoji objects by their `displayName` each time, which i'm not sure is ideal
* ~~emoji reactions on posts added through the picker are picked up by the recentEmojis module, but clicks on existing emoji reactions are not, because `addReaction` in `react_button.js` only currently receives the replacement and not the full emoji object (if there even is one wherever that method is called from)~~ this works now and does the same stupid full search of all emojis by their name which i guess is less bad because this only happens when you hit a reaction emoji button that already existed

Reviewed-on: #283
Co-authored-by: flisk <akkomadev.mvch71fq@flisk.xyz>
Co-committed-by: flisk <akkomadev.mvch71fq@flisk.xyz>
2023-05-09 19:11:12 +02:00
9d450953b6 oblong emoji in status 2023-05-09 19:10:45 +02:00
e8e4b4fc96 perhaps more graceful cqw 2023-05-09 19:10:45 +02:00
417f7a3ac1 support oblong reactions 2023-05-09 19:10:45 +02:00
1b038d3fdc fix realtime updates in 'following' replies filter
i'm not sure how this code was supposed to work, but the way it was
written would only add statuses to the timeline if they were in reply to
someone the user is following and erroneously filter out posts that
aren't replies.
2023-05-09 19:10:45 +02:00
solidsanek
93e1b750cf Post: remove debug logs 2023-05-09 19:10:45 +02:00
solidsanek
7463cbca53 Post: Add drafting feature 2023-05-09 19:10:45 +02:00
f7ea95cd0e components: emoji_reactions: force custom emoji reaction height
Prevents the usage of too long emoji reactions
2023-05-09 19:10:45 +02:00
3dbbc2519f Improve emoji picker performance (#275)
A simple virtual scroller is now used for the emoji grid. This avoids loading all emoji images at once, saving network bandwidth and reducing load on the server, while also putting less work on the browser's DOM and layout engine.

Co-authored-by: yan <yan@omg.lol>
Reviewed-on: #275
Co-authored-by: yanchan09 <yan@omg.lol>
Co-committed-by: yanchan09 <yan@omg.lol>
2023-05-09 19:10:45 +02:00
5164f595bd paginate-follow-requests (#277)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #277
2023-05-09 19:10:45 +02:00
5f19c25fa5 Disable follow button if blocked by user 2023-05-09 19:10:45 +02:00
74026fc562 Add indicator if user blocks you 2023-05-09 19:10:45 +02:00
f7301dab5a add language input 2023-05-09 19:10:45 +02:00
Sol Fisher Romanoff
dca56dd40f Only show "keep open" emoji checkbox on post form 2023-05-09 19:10:45 +02:00
5bbac1fa61 Make everything work with a strict CSP 2023-05-09 19:10:45 +02:00
48700ea8d5 Remove console.log 2023-05-09 19:10:45 +02:00
e095e22f2c add follow/unfollow to followed tags list 2023-05-09 19:10:45 +02:00
79d506e331 Add list of followed hashtags to profile 2023-05-09 19:10:45 +02:00
0e71597e56 Fall back to nsfw image if no blurhash 2023-05-09 19:10:45 +02:00
e834656dc6 Add blurhash support 2023-05-09 19:10:45 +02:00
7ac8c9122c Allow follow(er) lists to be acessible by account owner even if follower counts are disabled (#246)
Currently, if a user has their follower/follow counts hidden, they cannot access their own list of followers/follows. This makes no real sense and means that they cannot modify those lists without disabling their privacy options.

This fix simply allows those tabs to be accessed no matter if the counts are hidden or not.

Reviewed-on: #246
Co-authored-by: Beefox <bee@beefox.xyz>
Co-committed-by: Beefox <bee@beefox.xyz>
2023-05-09 19:10:45 +02:00
c9a76f6224 Make minimum width for 3-column layout 1280px (#255) (#256)
1280px is a pretty common screen width for several resolutions
(1280x720, 1280x800, 1280x1024, etc.). Since it is only 20px less than
the current 1300px minimum, this shouldn't be a big issue to lower the
minimum screen width for the 3-column layout to 1280px.

Closes: AkkomaGang/pleroma-fe#255

Co-authored-by: Francis Dinh <normandy@biribiri.dev>
Reviewed-on: #256
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
2023-05-09 19:10:45 +02:00
Sol Fisher Romanoff
ca775554d3 Remove stray debug log 2023-05-09 19:10:45 +02:00
d16182547a remove IHBA assets 2023-05-09 19:10:45 +02:00
d9fa3d8251 add verification of links 2023-05-09 19:10:31 +02:00
47b7017256 force CI build 2023-05-09 19:09:52 +02:00
d2ac971f7f update readme 2023-05-09 19:09:52 +02:00
4b45a96c77 Revert "Merge pull request 'Don't show timeline links if disabled and logged out' (#250) from sfr/pleroma-fe:fix/hide-timelines into develop"
This reverts commit 0b5793c1e0, reversing
changes made to 72ef2e7454.
2023-05-09 19:09:38 +02:00
af3d4f8065 fix emoji picker in replies in notifications 2023-05-09 19:09:38 +02:00
ee2568d21a don't crash out if notification status is null 2023-05-09 19:09:38 +02:00
109bb1fa8a Revert "Revert "use v1 urls""
This reverts commit 8c6cf86de3.
2023-05-09 19:09:38 +02:00
Sol Fisher Romanoff
9dc8c6ea9f Fix user moderation dropdown clipping 2023-05-09 19:09:38 +02:00
Sol Fisher Romanoff
b7411c85f4 Don't show timeline links if disabled and logged out 2023-05-09 19:09:38 +02:00
fef
8c664a1396 fix 404 when reacting with Keycap Number Sign
The Unicode sequence for the Keycap Number Sign
emoji starts with an ASCII "#" character, which
the browser's URL parser will interpret as a URI
fragment and truncate it before sending the
request to the backend.
2023-05-09 19:09:38 +02:00
c53faaf284 Revert "use v1 urls"
This reverts commit 909271c764.
2023-05-09 19:09:38 +02:00
29865caf9a use v1 urls 2023-05-09 19:09:38 +02:00
ae75bb598b bump version 2023-05-09 19:09:38 +02:00
03e2912598 fix ES translation having weird o in a key 2023-05-09 19:09:38 +02:00
Weblate
d6ab4f85d3 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 99.8% (1031 of 1033 strings)

Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:09:38 +02:00
Weblate
59a09bb60d Translated using Weblate (Indonesian)
Currently translated at 59.4% (614 of 1033 strings)

Translated using Weblate (Indonesian)

Currently translated at 53.0% (548 of 1033 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: t1 <taaa@fedora.email>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/id/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:09:38 +02:00
Weblate
0d81a1fcb3 Translated using Weblate (English)
Currently translated at 100.0% (1033 of 1033 strings)

Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:09:38 +02:00
Weblate
1bc98ce722 Translated using Weblate (Spanish)
Currently translated at 89.2% (918 of 1029 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: taretka <info@tarteka.net>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:08:31 +02:00
Weblate
7ba8c31adf Translated using Weblate (German)
Currently translated at 93.9% (967 of 1029 strings)

Co-authored-by: Johann <johann@qwertqwefsday.eu>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/de/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:08:31 +02:00
Sol Fisher Romanoff
24bc2c29ad Add YAML bug and feat templates 2023-05-09 19:08:31 +02:00
a339e03a8a Update 'ISSUE_TEMPLATE.md' 2023-05-09 19:08:31 +02:00
77e67f40ff Update 'ISSUE_TEMPLATE.md' 2023-05-09 19:08:31 +02:00
28a4c70516 Add issue template 2023-05-09 19:08:31 +02:00
3cdb990ea2 Ensure only content gets clipped 2023-05-09 19:08:31 +02:00
be4b1a8a5a remove whitespace between scope selector icons
when i originally wrote this, for reasons unclear to the present me, i used literal whitespaces to space out the icons on the scope selector 
this causes strange inconsistencies in spacing depending on the font being used 
akkoma also did not include the whitespace when adding the local-only scope, resulting in even weirder spacing 
this corrects all of that by removing the whitespaces and using css instead
2023-05-09 19:08:31 +02:00
19681d0c90 Move theme apply/reset to new row
Fixes #225
2023-05-09 19:08:31 +02:00
6b9c787bb8 Add ability to include custom CSS 2023-05-09 19:08:31 +02:00
11d374a3a1 Add hashtag following button (#244)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: AkkomaGang/pleroma-fe#244
2023-05-09 19:08:31 +02:00
1f875844aa use cutout of 512 logo 2023-05-09 19:08:31 +02:00
4510d3d130 fix SW path 2023-05-09 19:08:31 +02:00
ec0164452c Register serviceworker 2023-05-09 19:08:31 +02:00
3da3e09dc5 Add logo files 2023-05-09 19:08:31 +02:00
Karl Prieb
fdaef74109 add a left margin on search bar 2023-05-09 19:08:00 +02:00
2e9a36557d Add post expiry inputs 2023-05-09 19:08:00 +02:00
613e8584de Add link to RSS feed to the profile (#234)
Today I learned that akkoma and mastodon (and potentially other activitypub services) offer RSS/Atom feeds for user profiles at `[user profile url].rss`. This PR adds a direct link to the feed because I haven’t seen anything link to the feed on either mastodon-fe or pleroma-fe

Co-authored-by: Charlotte 🦝 Delenk <lotte@chir.rs>
Reviewed-on: AkkomaGang/pleroma-fe#234
Co-authored-by: darkkirb <lotte@chir.rs>
Co-committed-by: darkkirb <lotte@chir.rs>
2023-05-09 19:08:00 +02:00
Sean Meininger
359886928e added maintainer code 2023-05-09 19:08:00 +02:00
d2f704c6f5 Redirect users to "awaiting approval" message on register (#231)
Ref #81 - this implements a "your request has been sent" message

 ![image](/attachments/61dc3f5e-2706-46f9-a1ca-4efe3f526ff3)

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: AkkomaGang/pleroma-fe#231
2023-05-09 19:08:00 +02:00
cba4a23379 Only reload user if it _is_ a user (#232)
Ref #181

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: AkkomaGang/pleroma-fe#232
2023-05-09 19:08:00 +02:00
64cb7443a8 Don't error out if we can't fetch reports 2023-05-09 19:08:00 +02:00
David
c3f829eb68 Allow using mouse wheel to navigate through the emoji tabs 2023-05-09 19:08:00 +02:00
46520dadfd mobile-newline (#226)
Allows the handle of users to drop down onto the next line if there isn't enough room in order to improve useability on mobile

Reviewed-on: AkkomaGang/pleroma-fe#226
Co-authored-by: Beefox <bee@beefox.xyz>
Co-committed-by: Beefox <bee@beefox.xyz>
2023-05-09 19:08:00 +02:00
f75571edd0 move domain block to drop down menu 2023-05-09 19:08:00 +02:00
240389a83f Allow for searching unicode emoji via inputting emoji
(This is needed for the react menu)
2023-05-09 19:08:00 +02:00
d03969eb03 Constrain content to status content (#218) (#220)
MFM No longer overflows
![image](/attachments/7bbf519a-9fd2-492d-aba0-9a0e1ded6373)

Co-authored-by: David <dmgf2008@hotmail.com>
Reviewed-on: AkkomaGang/pleroma-fe#220
Co-authored-by: Mergan <mergan@noreply.akkoma>
Co-committed-by: Mergan <mergan@noreply.akkoma>
2023-05-09 19:08:00 +02:00
Weblate
7ea89a8b44 Translated using Weblate (Spanish)
Currently translated at 87.1% (893 of 1025 strings)

Co-authored-by: taretka <info@tarteka.net>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:08:00 +02:00
84950b9671 Fix build 2023-05-09 19:08:00 +02:00
4379c67180 Copy conversation display style from instance
Fixes #210
2023-05-09 19:08:00 +02:00
hynet-mel
a6d842b0b9 Customize the theme 2022-11-17 16:09:43 +01:00
hynet-mel
1547c34a6a Funky string customizing 2022-11-17 16:09:43 +01:00
hynet-mel
e651134249 Change NSFW image 2022-11-17 16:03:10 +01:00
hynet-mel
e27f020e2e Add custom fonts to css + misc tweaks like logo 2022-11-17 16:03:10 +01:00
hynet-mel
9660a57be1 Add fonts 2022-11-17 16:03:10 +01:00
hynet-mel
c02148c41c Replace background + base user prefs 2022-11-17 16:03:10 +01:00
hynet-mel
a87ddccaa6 Replace logos 2022-11-17 16:03:10 +01:00
hynet-mel
da958beb7b Add HyNET themes 2022-11-17 16:03:10 +01:00
hynet-mel
0090240e7d initial commit 2022-11-17 16:03:10 +01:00
2c9b73646c Merge pull request 'hotfix: mfm mysteries' (#215) from develop into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: AkkomaGang/pleroma-fe#215
2022-11-15 16:01:07 +00:00
80a519d7e4 Merge pull request 'hotfix: translation' (#207) from develop into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: AkkomaGang/pleroma-fe#207
2022-11-12 19:08:20 +00:00
975f04bf5a Merge pull request '2022.11 stable release' (#202) from develop into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: AkkomaGang/pleroma-fe#202
2022-11-12 15:33:57 +00:00
c8c8d40827 Merge pull request '2022.10 stable' (#177) from develop into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: AkkomaGang/pleroma-fe#177
2022-10-08 11:13:01 +00:00
d7499a1f91 Merge pull request '2022.09 stable' (#160) from develop into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: AkkomaGang/pleroma-fe#160
2022-09-10 14:39:13 +00:00
5972d89117 Merge pull request 'stable release' (#130) from develop into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: AkkomaGang/pleroma-fe#130
2022-08-12 15:26:51 +00:00
d03872d598 Merge pull request 'port MFM link into stable docs' (#38) from develop into stable
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: AkkomaGang/pleroma-fe#38
2022-07-15 13:02:06 +00:00
138 changed files with 6574 additions and 7026 deletions

2
.eslintignore Normal file
View file

@ -0,0 +1,2 @@
build/*.js
config/*.js

30
.eslintrc.js Normal file
View file

@ -0,0 +1,30 @@
module.exports = {
root: true,
parserOptions: {
parser: '@babel/eslint-parser',
sourceType: 'module'
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: [
'plugin:vue/recommended'
],
// required to lint *.vue files
plugins: [
'vue',
'import'
],
// add your custom rules here
rules: {
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'vue/require-prop-types': 0,
'vue/no-unused-vars': 0,
'no-tabs': 0,
'vue/multi-word-component-names': 0,
'vue/no-reserved-component-names': 0
}
}

1
.node-version Normal file
View file

@ -0,0 +1 @@
7.2.1

View file

@ -1 +0,0 @@
nodejs 20.12.2

View file

@ -1,25 +1,24 @@
labels: platform: linux/amd64
platform: linux/amd64 pipeline:
steps:
lint: lint:
when: when:
event: event:
- pull_request - pull_request
image: node:20 image: node:18
commands: commands:
- yarn - yarn
- yarn lint - yarn lint
#- yarn stylelint
test: test:
when: when:
event: event:
- pull_request - pull_request
image: node:20 image: node:18
commands: commands:
- apt update - apt update
- apt install firefox-esr -y --no-install-recommends - apt install firefox-esr -y --no-install-recommends
- yarn - yarn
- yarn unit - yarn unit
build: build:
@ -29,7 +28,7 @@ steps:
branch: branch:
- develop - develop
- stable - stable
image: node:20 image: node:18
commands: commands:
- yarn - yarn
- yarn build - yarn build
@ -41,15 +40,15 @@ steps:
branch: branch:
- develop - develop
- stable - stable
image: node:20 image: node:18
secrets: secrets:
- SCW_ACCESS_KEY - SCW_ACCESS_KEY
- SCW_SECRET_KEY - SCW_SECRET_KEY
- SCW_DEFAULT_ORGANIZATION_ID - SCW_DEFAULT_ORGANIZATION_ID
commands: commands:
- apt-get update && apt-get install -y rclone wget zip - apt-get update && apt-get install -y rclone wget zip
- wget https://github.com/scaleway/scaleway-cli/releases/download/v2.30.0/scaleway-cli_2.30.0_linux_amd64 - wget https://github.com/scaleway/scaleway-cli/releases/download/v2.5.1/scaleway-cli_2.5.1_linux_amd64
- mv scaleway-cli_2.30.0_linux_amd64 scaleway-cli - mv scaleway-cli_2.5.1_linux_amd64 scaleway-cli
- chmod +x scaleway-cli - chmod +x scaleway-cli
- ./scaleway-cli object config install type=rclone - ./scaleway-cli object config install type=rclone
- zip akkoma-fe.zip -r dist - zip akkoma-fe.zip -r dist
@ -71,8 +70,8 @@ steps:
- SCW_DEFAULT_ORGANIZATION_ID - SCW_DEFAULT_ORGANIZATION_ID
commands: commands:
- apt-get update && apt-get install -y rclone wget git zip - apt-get update && apt-get install -y rclone wget git zip
- wget https://github.com/scaleway/scaleway-cli/releases/download/v2.30.0/scaleway-cli_2.30.0_linux_amd64 - wget https://github.com/scaleway/scaleway-cli/releases/download/v2.5.1/scaleway-cli_2.5.1_linux_amd64
- mv scaleway-cli_2.30.0_linux_amd64 scaleway-cli - mv scaleway-cli_2.5.1_linux_amd64 scaleway-cli
- chmod +x scaleway-cli - chmod +x scaleway-cli
- ./scaleway-cli object config install type=rclone - ./scaleway-cli object config install type=rclone
- cd docs - cd docs
@ -80,4 +79,4 @@ steps:
- mkdocs build - mkdocs build
- zip -r docs.zip site/* - zip -r docs.zip site/*
- cd site - cd site
- rclone copy . scaleway:akkoma-docs/frontend/$CI_COMMIT_BRANCH/ - rclone copy . scaleway:akkoma-docs/frontend/$CI_COMMIT_BRANCH/

View file

@ -6,6 +6,8 @@ This is a fork of Akkoma-FE from the Pleroma project, with support for new Akkom
- MFM support via [marked-mfm](https://akkoma.dev/sfr/marked-mfm) - MFM support via [marked-mfm](https://akkoma.dev/sfr/marked-mfm)
- Custom emoji reactions - Custom emoji reactions
And specificly, this is a tweaked version with all the hyena.network themes and tweaks in place
# For Translators # For Translators
The [Weblate UI](https://translate.akkoma.dev/projects/akkoma/pleroma-fe/) is recommended for adding or modifying translations for Akkoma-FE. The [Weblate UI](https://translate.akkoma.dev/projects/akkoma/pleroma-fe/) is recommended for adding or modifying translations for Akkoma-FE.
@ -20,8 +22,6 @@ To use Akkoma-FE in Akkoma, use the [frontend](https://docs.akkoma.dev/stable/ad
## Build Setup ## Build Setup
Make sure you have [Node.js](https://nodejs.org/) installed. You can check `/.woodpecker.yml` for which node version the Akkoma CI currently uses.
``` bash ``` bash
# install dependencies # install dependencies
corepack enable corepack enable

View file

@ -1,36 +1,36 @@
// https://github.com/shelljs/shelljs // https://github.com/shelljs/shelljs
require("./check-versions")(); require('./check-versions')()
require("shelljs/global"); require('shelljs/global')
env.NODE_ENV = "production"; env.NODE_ENV = 'production'
var path = require("path"); var path = require('path')
var config = require("../config"); var config = require('../config')
var webpack = require("webpack"); var ora = require('ora')
var webpackConfig = require("./webpack.prod.conf"); var webpack = require('webpack')
var webpackConfig = require('./webpack.prod.conf')
console.log( console.log(
" Tip:\n" + ' Tip:\n' +
" Built files are meant to be served over an HTTP server.\n" + ' Built files are meant to be served over an HTTP server.\n' +
" Opening index.html over file:// won't work.\n", ' Opening index.html over file:// won\'t work.\n'
); )
var assetsPath = path.join( var spinner = ora('building for production...')
config.build.assetsRoot, spinner.start()
config.build.assetsSubDirectory,
); var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory)
rm("-rf", assetsPath); rm('-rf', assetsPath)
mkdir("-p", assetsPath); mkdir('-p', assetsPath)
cp("-R", "static/*", assetsPath); cp('-R', 'static/*', assetsPath)
webpack(webpackConfig, function (err, stats) { webpack(webpackConfig, function (err, stats) {
if (err) throw err; spinner.stop()
process.stdout.write( if (err) throw err
stats.toString({ process.stdout.write(stats.toString({
colors: true, colors: true,
modules: false, modules: false,
children: false, children: false,
chunks: false, chunks: false,
chunkModules: false, chunkModules: false
}) + "\n", }) + '\n')
); })
});

View file

@ -5,7 +5,7 @@ var path = require('path')
var express = require('express') var express = require('express')
var webpack = require('webpack') var webpack = require('webpack')
var opn = require('opn') var opn = require('opn')
const { createProxyMiddleware } = require('http-proxy-middleware'); var proxyMiddleware = require('http-proxy-middleware')
var webpackConfig = process.env.NODE_ENV === 'testing' var webpackConfig = process.env.NODE_ENV === 'testing'
? require('./webpack.prod.conf') ? require('./webpack.prod.conf')
: require('./webpack.dev.conf') : require('./webpack.dev.conf')
@ -36,13 +36,7 @@ Object.keys(proxyTable).forEach(function (context) {
if (typeof options === 'string') { if (typeof options === 'string') {
options = { target: options } options = { target: options }
} }
const targetUrl = new URL(options.target); app.use(proxyMiddleware(context, options))
// add path
targetUrl.pathname = context;
options.target = targetUrl.toString();
console.log("Proxying", context, "to", options.target);
app.use(context, createProxyMiddleware(options))
}) })
// handle fallback for HTML5 history API // handle fallback for HTML5 history API

View file

@ -3,7 +3,6 @@ var config = require('../config')
var utils = require('./utils') var utils = require('./utils')
var projectRoot = path.resolve(__dirname, '../') var projectRoot = path.resolve(__dirname, '../')
var { VueLoaderPlugin } = require('vue-loader') var { VueLoaderPlugin } = require('vue-loader')
const ESLintPlugin = require('eslint-webpack-plugin');
var env = process.env.NODE_ENV var env = process.env.NODE_ENV
// check env & config/index.js to decide weither to enable CSS Sourcemaps for the // check env & config/index.js to decide weither to enable CSS Sourcemaps for the
@ -36,7 +35,6 @@ module.exports = {
], ],
fallback: { fallback: {
"url": require.resolve("url/"), "url": require.resolve("url/"),
querystring: require.resolve("querystring-es3")
}, },
alias: { alias: {
'static': path.resolve(__dirname, '../static'), 'static': path.resolve(__dirname, '../static'),
@ -49,6 +47,20 @@ module.exports = {
module: { module: {
noParse: /node_modules\/localforage\/dist\/localforage.js/, noParse: /node_modules\/localforage\/dist\/localforage.js/,
rules: [ rules: [
{
enforce: 'pre',
test: /\.(js|vue)$/,
include: projectRoot,
exclude: /node_modules/,
use: {
loader: 'eslint-loader',
options: {
formatter: require('eslint-friendly-formatter'),
sourceMap: config.build.productionSourceMap,
extract: true
}
}
},
{ {
enforce: 'post', enforce: 'post',
test: /\.(json5?|ya?ml)$/, // target json, json5, yaml and yml files test: /\.(json5?|ya?ml)$/, // target json, json5, yaml and yml files
@ -106,9 +118,6 @@ module.exports = {
] ]
}, },
plugins: [ plugins: [
new VueLoaderPlugin(), new VueLoaderPlugin()
new ESLintPlugin({
configType: 'flat'
})
] ]
} }

View file

@ -2,4 +2,5 @@ var { merge } = require('webpack-merge')
var devEnv = require('./dev.env') var devEnv = require('./dev.env')
module.exports = merge(devEnv, { module.exports = merge(devEnv, {
NODE_ENV: '"testing"'
}) })

View file

@ -12,6 +12,13 @@ code,
--md-accent-fg-color: #455a63; --md-accent-fg-color: #455a63;
} }
#app { background-repeat: repeat !important; }
@media all and (min-width: 800px) { .tab-icon { display: none !important; } }
.tab-switcher .tab-icon { color: #fff !important; }
.site-name { font-family: BLACKOUT; font-size: 3rem !important; line-height: 4rem;}
.site-name::before { content: "%"; }
.dropdown-item { color: #fff !important; }
@font-face { @font-face {
font-family: 'Tiresias PCFont'; font-family: 'Tiresias PCFont';
font-style: normal; font-style: normal;
@ -21,8 +28,47 @@ code,
} }
@font-face { @font-face {
font-family: 'Tiresias Infofont'; font-family: 'Tiresias Infofont';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: local('Tiresias Infofont'), local('Tiresias Infofont'), src: local('Tiresias Infofont'), local('Tiresias Infofont'),
url('./fonts/Tiresias_Infofont.ttf') format('truetype') url('./fonts/Tiresias_Infofont.ttf') format('truetype')
} }
@font-face{
font-family:'blockzone';
src:url('./fonts/blockzone-webfont.woff2') format("woff2"),
url('./fonts/blockzone-webfont.woff') format("woff");
font-style:normal;
font-weight:400
}
@font-face{
font-family:'PeanutMoney';
src:url('./fonts/PeanutMoney.ttf') format("opentype");
font-style:normal;
font-weight:400
}
@font-face{
font-family:'Heading';
src:url('./fonts/heading.woff');
font-style:normal;
font-weight:400
}
@font-face{
font-family:'MonoMMM_5';
src:url('./fonts/monoMMM_5.woff');
font-style:normal;
font-weight:400
}
@font-face{
font-family:'Tiny';
src:url('./fonts/tiny.woff');
font-style:normal;
font-weight:400
}
@font-face{
font-family:'BLACKOUT';
src:url('./fonts/BLACKOUT.woff');
font-style:normal;
font-weight:400
}

View file

@ -1,31 +0,0 @@
const pluginVue = require('eslint-plugin-vue')
const pluginImport = require('eslint-plugin-import')
module.exports = [
...pluginVue.configs['flat/recommended'],
{
languageOptions: {
parserOptions: {
parser: '@babel/eslint-parser',
sourceType: 'module'
}
},
rules: {
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'vue/require-prop-types': 0,
'vue/no-unused-vars': 0,
'no-tabs': 0,
'vue/multi-word-component-names': 0,
'vue/no-reserved-component-names': 0
},
ignores: [
'build/*.js',
'config/*.js'
]
}
]

View file

@ -1,6 +1,6 @@
{ {
"name": "pleroma_fe", "name": "pleroma_fe",
"version": "3.10.0", "version": "3.11.0",
"description": "A frontend for Akkoma instances", "description": "A frontend for Akkoma instances",
"author": "Roger Braun <roger@rogerbraun.net>", "author": "Roger Braun <roger@rogerbraun.net>",
"private": true, "private": true,
@ -12,118 +12,120 @@
"e2e": "node test/e2e/runner.js", "e2e": "node test/e2e/runner.js",
"test": "npm run unit && npm run e2e", "test": "npm run unit && npm run e2e",
"stylelint": "stylelint src/**/*.scss", "stylelint": "stylelint src/**/*.scss",
"lint": "eslint src test/unit/specs test/e2e/specs", "lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs",
"lint-fix": "eslint --fix src test/unit/specs test/e2e/specs" "lint-fix": "eslint --fix --ext .js,.vue src test/unit/specs test/e2e/specs"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "7.17.8", "@babel/runtime": "7.17.8",
"@chenfengyuan/vue-qrcode": "^2.0.0", "@chenfengyuan/vue-qrcode": "2.0.0",
"@floatingghost/pinch-zoom-element": "^1.3.1", "@floatingghost/pinch-zoom-element": "^1.3.1",
"@fortawesome/fontawesome-svg-core": "^6.5.2", "@fortawesome/fontawesome-svg-core": "1.3.0",
"@fortawesome/free-regular-svg-icons": "^6.5.2", "@fortawesome/free-regular-svg-icons": "^6.1.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2", "@fortawesome/free-solid-svg-icons": "^6.2.0",
"@fortawesome/vue-fontawesome": "^3.0.8", "@fortawesome/vue-fontawesome": "3.0.1",
"@vuelidate/core": "^2.0.3", "@vuelidate/core": "^2.0.0",
"@vuelidate/validators": "^2.0.4", "@vuelidate/validators": "^2.0.0",
"blurhash": "^2.0.5", "blurhash": "^2.0.4",
"body-scroll-lock": "^3.1.5", "body-scroll-lock": "2.7.1",
"chromatism": "^3.0.0", "chromatism": "3.0.0",
"click-outside-vue3": "^4.0.1", "click-outside-vue3": "4.0.1",
"cropperjs": "^1.6.2", "cropperjs": "1.5.12",
"diff": "^5.2.0", "diff": "3.5.0",
"escape-html": "^1.0.3", "escape-html": "1.0.3",
"iso-639-1": "^2.1.15", "iso-639-1": "^2.1.15",
"js-cookie": "^3.0.1", "js-cookie": "^3.0.1",
"localforage": "^1.10.0", "localforage": "1.10.0",
"parse-link-header": "^2.0.0", "parse-link-header": "^2.0.0",
"phoenix": "^1.7.12", "phoenix": "1.6.2",
"punycode.js": "^2.3.1", "punycode.js": "2.1.0",
"qrcode": "^1.5.3", "qrcode": "1",
"querystring-es3": "^0.2.1", "url": "^0.11.0",
"url": "^0.11.3", "vue": "^3.2.31",
"vue": "^3.4.38", "vue-i18n": "^9.2.2",
"vue-i18n": "^9.14.0", "vue-router": "4.0.14",
"vue-router": "^4.4.3", "vue-template-compiler": "2.6.11",
"vue-template-compiler": "^2.7.16", "vuex": "4.0.2"
"vuex": "^4.1.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.24.6", "@babel/core": "7.17.8",
"@babel/eslint-parser": "^7.19.1", "@babel/eslint-parser": "^7.19.1",
"@babel/plugin-transform-runtime": "^7.24.6", "@babel/plugin-transform-runtime": "7.17.0",
"@babel/preset-env": "^7.24.6", "@babel/preset-env": "7.16.11",
"@babel/register": "^7.24.6", "@babel/register": "7.17.7",
"@intlify/vue-i18n-loader": "^5.0.0", "@intlify/vue-i18n-loader": "^5.0.0",
"@ungap/event-target": "^0.2.4", "@ungap/event-target": "0.2.3",
"@vue/babel-helper-vue-jsx-merge-props": "^1.4.0", "@vue/babel-helper-vue-jsx-merge-props": "1.2.1",
"@vue/babel-plugin-jsx": "^1.2.2", "@vue/babel-plugin-jsx": "1.1.1",
"@vue/compiler-sfc": "^3.1.0", "@vue/compiler-sfc": "^3.1.0",
"@vue/test-utils": "^2.0.2", "@vue/test-utils": "^2.0.2",
"autoprefixer": "^10.4.19", "autoprefixer": "6.7.7",
"babel-loader": "^9.1.0", "babel-loader": "^9.1.0",
"babel-plugin-lodash": "^3.3.4", "babel-plugin-lodash": "3.3.4",
"chai": "^4.3.7", "chai": "^4.3.7",
"chalk": "^1.1.3", "chalk": "1.1.3",
"chromedriver": "^119.0.1", "chromedriver": "^107.0.3",
"connect-history-api-fallback": "^2.0.0", "connect-history-api-fallback": "^2.0.0",
"cross-spawn": "^7.0.3", "cross-spawn": "^7.0.3",
"css-loader": "^7.1.2", "css-loader": "^6.7.2",
"custom-event-polyfill": "^1.0.7", "custom-event-polyfill": "^1.0.7",
"eslint": "^9.3.0", "eslint": "^7.32.0",
"eslint-config-standard": "^17.1.0", "eslint-config-standard": "^17.0.0",
"eslint-friendly-formatter": "^4.0.1", "eslint-friendly-formatter": "^4.0.1",
"eslint-plugin-import": "^2.29.1", "eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.2.0", "eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0", "eslint-plugin-standard": "^5.0.0",
"eslint-plugin-vue": "^9.26.0", "eslint-plugin-vue": "^9.7.0",
"eslint-webpack-plugin": "^4.2.0", "eventsource-polyfill": "0.9.6",
"eventsource-polyfill": "^0.9.6", "express": "4.17.3",
"express": "^4.19.2",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"function-bind": "^1.1.2", "function-bind": "1.1.1",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"http-proxy-middleware": "^3.0.0", "http-proxy-middleware": "0.21.0",
"json-loader": "^0.5.7", "inject-loader": "2.0.1",
"karma": "^6.4.3", "isparta-loader": "2.0.0",
"karma-coverage": "^2.2.1", "json-loader": "0.5.7",
"karma-firefox-launcher": "^2.1.3", "karma": "6.3.17",
"karma-mocha": "^2.0.1", "karma-coverage": "1.1.2",
"karma-mocha-reporter": "^2.2.5", "karma-firefox-launcher": "1.3.0",
"karma-sinon-chai": "^2.0.2", "karma-mocha": "2.0.1",
"karma-sourcemap-loader": "^0.4.0", "karma-mocha-reporter": "2.2.5",
"karma-spec-reporter": "^0.0.36", "karma-sinon-chai": "2.0.2",
"karma-sourcemap-loader": "0.3.8",
"karma-spec-reporter": "0.0.33",
"karma-webpack": "^5.0.0", "karma-webpack": "^5.0.0",
"lodash": "^4.17.21", "lodash": "4.17.21",
"lolex": "^6.0.0", "lolex": "1.6.0",
"mini-css-extract-plugin": "^2.9.0", "mini-css-extract-plugin": "0.12.0",
"mocha": "^10.4.0", "mocha": "3.5.3",
"nightwatch": "^3.6.3", "nightwatch": "0.9.21",
"opn": "^6.0.0", "opn": "4.0.2",
"ora": "0.4.1",
"postcss-html": "^1.5.0", "postcss-html": "^1.5.0",
"postcss-loader": "^8.1.1", "postcss-loader": "3.0.0",
"postcss-sass": "^0.5.0", "postcss-sass": "^0.5.0",
"raw-loader": "^4.0.2", "raw-loader": "0.5.1",
"sass": "^1.77.2", "sass": "^1.56.0",
"sass-loader": "^14.2.1", "sass-loader": "^13.2.0",
"selenium-server": "^3.141.59", "selenium-server": "2.53.1",
"semver": "^7.6.2", "semver": "5.7.1",
"shelljs": "^0.8.5", "shelljs": "0.8.5",
"sinon": "^18.0.0", "sinon": "2.4.1",
"sinon-chai": "^3.7.0", "sinon-chai": "2.14.0",
"stylelint": "^14.15.0", "stylelint": "^14.15.0",
"stylelint-config-recommended-vue": "^1.4.0", "stylelint-config-recommended-vue": "^1.4.0",
"stylelint-config-standard": "^29.0.0", "stylelint-config-standard": "^29.0.0",
"stylelint-config-standard-scss": "^6.1.0", "stylelint-config-standard-scss": "^6.1.0",
"stylelint-rscss": "^0.4.0", "stylelint-rscss": "^0.4.0",
"url-loader": "^4.1.1", "url-loader": "^4.1.1",
"vue-loader": "^17.4.2", "vue-loader": "^17.0.0",
"vue-style-loader": "^4.1.3", "vue-style-loader": "^4.1.2",
"webpack": "^5.91.0", "webpack": "^5.75.0",
"webpack-dev-middleware": "^7.2.1", "webpack-dev-middleware": "^5.3.3",
"webpack-hot-middleware": "^2.26.1", "webpack-hot-middleware": "^2.25.1",
"webpack-merge": "^5.10.0", "webpack-merge": "^5.8.0",
"workbox-webpack-plugin": "^7.1.0" "workbox-webpack-plugin": "^6.5.4"
}, },
"engines": { "engines": {
"node": ">= 16.0.0", "node": ">= 16.0.0",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 5 KiB

View file

@ -9,7 +9,7 @@
</div> </div>
</template> </template>
<script src="./about.js"></script> <script src="./about.js" ></script>
<style lang="scss"> <style lang="scss">
</style> </style>

View file

@ -6,7 +6,7 @@
:bound-to="{ x: 'container' }" :bound-to="{ x: 'container' }"
remove-padding remove-padding
> >
<template #content> <template v-slot:content>
<div class="dropdown-menu"> <div class="dropdown-menu">
<template v-if="relationship.following"> <template v-if="relationship.following">
<button <button
@ -71,7 +71,7 @@
</button> </button>
</div> </div>
</template> </template>
<template #trigger> <template v-slot:trigger>
<button class="button-unstyled ellipsis-button"> <button class="button-unstyled ellipsis-button">
<FAIcon <FAIcon
class="icon" class="icon"
@ -93,7 +93,7 @@
keypath="user_card.block_confirm" keypath="user_card.block_confirm"
tag="span" tag="span"
> >
<template #user> <template v-slot:user>
<span <span
v-text="user.screen_name_ui" v-text="user.screen_name_ui"
/> />

View file

@ -246,8 +246,8 @@
ref="flash" ref="flash"
class="flash" class="flash"
:src="attachment.large_thumb_url || attachment.url" :src="attachment.large_thumb_url || attachment.url"
@player-opened="setFlashLoaded(true)" @playerOpened="setFlashLoaded(true)"
@player-closed="setFlashLoaded(false)" @playerClosed="setFlashLoaded(false)"
/> />
</span> </span>
</div> </div>

View file

@ -14,7 +14,7 @@
</div> </div>
</template> </template>
<script src="./avatar_list.js"></script> <script src="./avatar_list.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -22,12 +22,12 @@
<script> <script>
export default { export default {
emits: ['update:modelValue'],
props: [ props: [
'modelValue', 'modelValue',
'indeterminate', 'indeterminate',
'disabled' 'disabled'
], ]
emits: ['update:modelValue']
} }
</script> </script>

View file

@ -14,7 +14,7 @@
:model-value="present" :model-value="present"
:disabled="disabled" :disabled="disabled"
class="opt" class="opt"
@update:model-value="$emit('update:modelValue', typeof modelValue === 'undefined' ? fallback : undefined)" @update:modelValue="$emit('update:modelValue', typeof modelValue === 'undefined' ? fallback : undefined)"
/> />
<div class="input color-input-field"> <div class="input color-input-field">
<input <input
@ -46,6 +46,7 @@
</div> </div>
</div> </div>
</template> </template>
<style lang="scss" src="./color_input.scss"></style>
<script> <script>
import Checkbox from '../checkbox/checkbox.vue' import Checkbox from '../checkbox/checkbox.vue'
import { hex2rgb } from '../../services/color_convert/color_convert.js' import { hex2rgb } from '../../services/color_convert/color_convert.js'
@ -107,7 +108,6 @@ export default {
} }
} }
</script> </script>
<style lang="scss" src="./color_input.scss"></style>
<style lang="scss"> <style lang="scss">
.color-control { .color-control {

View file

@ -25,8 +25,6 @@
</dialog-modal> </dialog-modal>
</template> </template>
<script src="./confirm_modal.js"></script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../_variables'; @import '../../_variables';
@ -37,3 +35,5 @@
} }
} }
</style> </style>
<script src="./confirm_modal.js"></script>

View file

@ -267,11 +267,11 @@ const conversation = {
}, },
replies () { replies () {
let i = 1 let i = 1
// eslint-disable-next-line camelcase
return reduce(this.conversation, (result, { id, in_reply_to_status_id }) => { return reduce(this.conversation, (result, { id, in_reply_to_status_id }) => {
/* eslint-disable camelcase */
const irid = in_reply_to_status_id const irid = in_reply_to_status_id
/* eslint-enable camelcase */
if (irid) { if (irid) {
result[irid] = result[irid] || [] result[irid] = result[irid] || []
result[irid].push({ result[irid].push({

View file

@ -91,7 +91,7 @@
:controlled-set-media-playing="(newVal) => toggleStatusContentProperty(status.id, 'mediaPlaying', newVal)" :controlled-set-media-playing="(newVal) => toggleStatusContentProperty(status.id, 'mediaPlaying', newVal)"
@goto="setHighlight" @goto="setHighlight"
@toggle-expanded="toggleExpanded" @toggleExpanded="toggleExpanded"
/> />
<div <div
v-if="showOtherRepliesButtonBelowStatus && getReplies(status.id).length > 1" v-if="showOtherRepliesButtonBelowStatus && getReplies(status.id).length > 1"
@ -184,7 +184,7 @@
:toggle-status-content-property="toggleStatusContentProperty" :toggle-status-content-property="toggleStatusContentProperty"
@goto="setHighlight" @goto="setHighlight"
@toggle-expanded="toggleExpanded" @toggleExpanded="toggleExpanded"
/> />
</div> </div>
</div> </div>

View file

@ -44,9 +44,9 @@
/> />
</router-link> </router-link>
<router-link <router-link
v-if="publicTimelineVisible"
:to="{ name: 'public-timeline' }" :to="{ name: 'public-timeline' }"
class="nav-icon" class="nav-icon"
v-if="publicTimelineVisible"
> >
<FAIcon <FAIcon
fixed-width fixed-width
@ -68,9 +68,9 @@
/> />
</router-link> </router-link>
<router-link <router-link
v-if="federatedTimelineVisible"
:to="{ name: 'public-external-timeline' }" :to="{ name: 'public-external-timeline' }"
class="nav-icon" class="nav-icon"
v-if="federatedTimelineVisible"
> >
<FAIcon <FAIcon
fixed-width fixed-width

View file

@ -9,7 +9,7 @@
class="btn button-default" class="btn button-default"
> >
{{ $t('domain_mute_card.unmute') }} {{ $t('domain_mute_card.unmute') }}
<template #progress> <template v-slot:progress>
{{ $t('domain_mute_card.unmute_progress') }} {{ $t('domain_mute_card.unmute_progress') }}
</template> </template>
</ProgressButton> </ProgressButton>
@ -19,7 +19,7 @@
class="btn button-default" class="btn button-default"
> >
{{ $t('domain_mute_card.mute') }} {{ $t('domain_mute_card.mute') }}
<template #progress> <template v-slot:progress>
{{ $t('domain_mute_card.mute_progress') }} {{ $t('domain_mute_card.mute_progress') }}
</template> </template>
</ProgressButton> </ProgressButton>

View file

@ -2,7 +2,7 @@
<Modal <Modal
v-if="isFormVisible" v-if="isFormVisible"
class="edit-form-modal-view" class="edit-form-modal-view"
@backdrop-clicked="closeModal" @backdropClicked="closeModal"
> >
<div class="edit-form-modal-panel panel"> <div class="edit-form-modal-panel panel">
<div class="panel-heading"> <div class="panel-heading">
@ -11,10 +11,10 @@
<PostStatusForm <PostStatusForm
class="panel-body" class="panel-body"
v-bind="params" v-bind="params"
:disable-polls="true"
:disable-visibility-selector="true"
:post-handler="doEditStatus"
@posted="closeModal" @posted="closeModal"
:disablePolls="true"
:disableVisibilitySelector="true"
:post-handler="doEditStatus"
/> />
</div> </div>
</Modal> </Modal>

View file

@ -43,10 +43,7 @@
:class="{ highlighted: index === highlighted }" :class="{ highlighted: index === highlighted }"
@click.stop.prevent="onClick($event, suggestion)" @click.stop.prevent="onClick($event, suggestion)"
> >
<span <span v-if="!suggestion.mfm" class="image">
v-if="!suggestion.mfm"
class="image"
>
<img <img
v-if="suggestion.img" v-if="suggestion.img"
:src="suggestion.img" :src="suggestion.img"

View file

@ -122,14 +122,14 @@ export const suggestUsers = ({ dispatch, state }) => {
const screenNameAlphabetically = a.screen_name > b.screen_name ? 1 : -1 const screenNameAlphabetically = a.screen_name > b.screen_name ? 1 : -1
return diff + nameAlphabetically + screenNameAlphabetically return diff + nameAlphabetically + screenNameAlphabetically
/* eslint-disable camelcase */
}).map(({ screen_name, screen_name_ui, name, profile_image_url_original }) => ({ }).map(({ screen_name, screen_name_ui, name, profile_image_url_original }) => ({
displayText: screen_name_ui, displayText: screen_name_ui,
detailText: name, detailText: name,
imageUrl: profile_image_url_original, imageUrl: profile_image_url_original,
replacement: '@' + screen_name + ' ' replacement: '@' + screen_name + ' '
})) }))
/* eslint-enable camelcase */
suggestions = newSuggestions || [] suggestions = newSuggestions || []
return suggestions return suggestions

View file

@ -42,7 +42,7 @@
</div> </div>
</template> </template>
<script src="./emoji_reactions.js"></script> <script src="./emoji_reactions.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -7,7 +7,7 @@
:bound-to="{ x: 'container' }" :bound-to="{ x: 'container' }"
remove-padding remove-padding
> >
<template #content="{close}"> <template v-slot:content="{close}">
<div class="dropdown-menu"> <div class="dropdown-menu">
<button <button
v-if="canMute && !status.thread_muted" v-if="canMute && !status.thread_muted"
@ -172,7 +172,7 @@
</button> </button>
</div> </div>
</template> </template>
<template #trigger> <template v-slot:trigger>
<button class="button-unstyled popover-trigger"> <button class="button-unstyled popover-trigger">
<FAIcon <FAIcon
class="fa-scale-110 fa-old-padding" class="fa-scale-110 fa-old-padding"
@ -205,7 +205,7 @@
</Popover> </Popover>
</template> </template>
<script src="./extra_buttons.js"></script> <script src="./extra_buttons.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -35,7 +35,7 @@
</div> </div>
</template> </template>
<script src="./favorite_button.js"></script> <script src="./favorite_button.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -23,7 +23,7 @@
</div> </div>
</template> </template>
<script src="./features_panel.js"></script> <script src="./features_panel.js" ></script>
<style lang="scss"> <style lang="scss">
.features-panel li { .features-panel li {

View file

@ -1,8 +1,5 @@
<template> <template>
<basic-user-card <basic-user-card :user="user" v-if="show">
v-if="show"
:user="user"
>
<div class="follow-request-card-content-container"> <div class="follow-request-card-content-container">
<button <button
class="btn button-default" class="btn button-default"

View file

@ -47,7 +47,7 @@
</div> </div>
</template> </template>
<script src="./font_control.js"></script> <script src="./font_control.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -31,8 +31,8 @@
:description="descriptions && descriptions[attachment.id]" :description="descriptions && descriptions[attachment.id]"
:hide-description="size === 'small' || tooManyAttachments && hidingLong" :hide-description="size === 'small' || tooManyAttachments && hidingLong"
:style="itemStyle(attachment.id, row.items)" :style="itemStyle(attachment.id, row.items)"
@set-media="onMedia" @setMedia="onMedia"
@natural-size-load="onNaturalSizeLoad" @naturalSizeLoad="onNaturalSizeLoad"
/> />
</div> </div>
</div> </div>

View file

@ -14,6 +14,6 @@
</span> </span>
</template> </template>
<script src="./hashtag_link.js" /> <script src="./hashtag_link.js"/>
<style lang="scss" src="./hashtag_link.scss" /> <style lang="scss" src="./hashtag_link.scss"/>

View file

@ -10,4 +10,4 @@
</div> </div>
</template> </template>
<script src="./instance_specific_panel.js"></script> <script src="./instance_specific_panel.js" ></script>

View file

@ -42,7 +42,6 @@ export default {
@import '../../_variables.scss'; @import '../../_variables.scss';
.list { .list {
min-height: 1em;
&-item:not(:last-child) { &-item:not(:last-child) {
border-bottom: 1px solid; border-bottom: 1px solid;
border-bottom-color: $fallback--border; border-bottom-color: $fallback--border;

View file

@ -10,7 +10,7 @@
</div> </div>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<p>{{ $t("about.bubble_instances_description") }}:</p> <p>{{ $t("about.bubble_instances_description")}}:</p>
<ul> <ul>
<li <li
v-for="instance in bubbleInstances" v-for="instance in bubbleInstances"

View file

@ -90,7 +90,7 @@
</div> </div>
</template> </template>
<script src="./login_form.js"></script> <script src="./login_form.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -2,7 +2,7 @@
<Modal <Modal
v-if="showing" v-if="showing"
class="media-modal-view" class="media-modal-view"
@backdrop-clicked="hideIfNotSwiped" @backdropClicked="hideIfNotSwiped"
> >
<SwipeClick <SwipeClick
v-if="type === 'image'" v-if="type === 'image'"

View file

@ -42,7 +42,7 @@ const mediaUpload = {
.then((fileData) => { .then((fileData) => {
self.$emit('uploaded', fileData) self.$emit('uploaded', fileData)
self.decreaseUploadCount() self.decreaseUploadCount()
}, (error) => { }, (error) => { // eslint-disable-line handle-callback-err
self.$emit('upload-failed', 'default') self.$emit('upload-failed', 'default')
self.decreaseUploadCount() self.decreaseUploadCount()
}) })

View file

@ -26,7 +26,7 @@
</label> </label>
</template> </template>
<script src="./media_upload.js"></script> <script src="./media_upload.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -66,6 +66,6 @@
</span> </span>
</template> </template>
<script src="./mention_link.js" /> <script src="./mention_link.js"/>
<style lang="scss" src="./mention_link.scss" /> <style lang="scss" src="./mention_link.scss"/>

View file

@ -37,5 +37,5 @@
</span> </span>
</span> </span>
</template> </template>
<script src="./mentions_line.js"></script> <script src="./mentions_line.js" ></script>
<style lang="scss" src="./mentions_line.scss" /> <style lang="scss" src="./mentions_line.scss" />

View file

@ -69,4 +69,4 @@
</div> </div>
</div> </div>
</template> </template>
<script src="./recovery_form.js"></script> <script src="./recovery_form.js" ></script>

View file

@ -18,7 +18,6 @@
<input <input
id="code" id="code"
v-model="code" v-model="code"
autocomplete="one-time-code"
class="form-control" class="form-control"
> >
</div> </div>

View file

@ -4,7 +4,7 @@
class="panel-heading" class="panel-heading"
@click="toggleHidden" @click="toggleHidden"
> >
<h4>{{ $t('moderation.reports.report') + ' ' + account.screen_name }}</h4> <h4>{{ $t('moderation.reports.report') + ' ' + this.account.screen_name }}</h4>
<button <button
v-if="isOpen" v-if="isOpen"
class="button-default" class="button-default"
@ -24,7 +24,7 @@
class="button-default" class="button-default"
@click.stop="updateReportState('open')" @click.stop="updateReportState('open')"
> >
{{ $t('moderation.reports.reopen') }} {{ $t('moderation.reports.reopen') }}
</button> </button>
</div> </div>
<div <div
@ -35,10 +35,7 @@
<div v-if="content"> <div v-if="content">
{{ decode(content) }} {{ decode(content) }}
</div> </div>
<i <i v-else class="faint">
v-else
class="faint"
>
{{ $t('moderation.reports.no_content') }} {{ $t('moderation.reports.no_content') }}
</i> </i>
<div class="report-author"> <div class="report-author">
@ -46,12 +43,12 @@
class="small-avatar" class="small-avatar"
:user="actor" :user="actor"
/> />
{{ actor.screen_name }} {{ this.actor.screen_name }}
</div> </div>
</div> </div>
<div <div
v-if="!hidden && statuses.length > 0"
class="dropdown" class="dropdown"
v-if="!hidden && this.statuses.length > 0"
> >
<button <button
class="button button-unstyled dropdown-header" class="button button-unstyled dropdown-header"
@ -77,8 +74,8 @@
</div> </div>
</div> </div>
<div <div
v-if="!hidden && notes.length > 0"
class="dropdown" class="dropdown"
v-if="!hidden && this.notes.length > 0"
> >
<button <button
class="button button-unstyled dropdown-header" class="button button-unstyled dropdown-header"
@ -102,9 +99,9 @@
</div> </div>
<div class="report-add-note"> <div class="report-add-note">
<textarea <textarea
v-model.trim="note"
rows="1" rows="1"
cols="1" cols="1"
v-model.trim="note"
:placeholder="$t('moderation.reports.note_placeholder')" :placeholder="$t('moderation.reports.note_placeholder')"
/> />
<button <button
@ -137,7 +134,7 @@
:offset="{ y: 5 }" :offset="{ y: 5 }"
remove-padding remove-padding
> >
<template #trigger> <template v-slot:trigger>
<button <button
class="btn button-default" class="btn button-default"
:disabled="!tagPolicyEnabled" :disabled="!tagPolicyEnabled"
@ -150,7 +147,7 @@
/> />
</button> </button>
</template> </template>
<template #content="{close}"> <template v-slot:content="{close}">
<div <div
class="dropdown-menu" class="dropdown-menu"
:disabled="!tagPolicyEnabled" :disabled="!tagPolicyEnabled"

View file

@ -6,7 +6,7 @@
class="small-avatar" class="small-avatar"
:user="user" :user="user"
/> />
{{ user.screen_name }} {{ this.user.screen_name }}
</div> </div>
<div class="header-right"> <div class="header-right">
<Timeago <Timeago

View file

@ -22,9 +22,6 @@ export default {
default: false default: false
} }
}, },
emits: [
'backdropClicked',
],
computed: { computed: {
classes () { classes () {
return { return {

View file

@ -8,7 +8,7 @@
@show="setToggled(true)" @show="setToggled(true)"
@close="setToggled(false)" @close="setToggled(false)"
> >
<template #content> <template v-slot:content>
<div class="dropdown-menu"> <div class="dropdown-menu">
<span v-if="user.is_local"> <span v-if="user.is_local">
<button <button
@ -122,7 +122,7 @@
</span> </span>
</div> </div>
</template> </template>
<template #trigger> <template v-slot:trigger>
<button <button
class="btn button-default btn-block moderation-tools-button" class="btn button-default btn-block moderation-tools-button"
:class="{ toggled }" :class="{ toggled }"
@ -137,11 +137,11 @@
v-if="showDeleteUserDialog" v-if="showDeleteUserDialog"
:on-cancel="deleteUserDialog.bind(this, false)" :on-cancel="deleteUserDialog.bind(this, false)"
> >
<template #header> <template v-slot:header>
{{ $t('user_card.admin_menu.delete_user') }} {{ $t('user_card.admin_menu.delete_user') }}
</template> </template>
<p>{{ $t('user_card.admin_menu.delete_user_confirmation') }}</p> <p>{{ $t('user_card.admin_menu.delete_user_confirmation') }}</p>
<template #footer> <template v-slot:footer>
<button <button
class="btn button-default" class="btn button-default"
@click="deleteUserDialog(false)" @click="deleteUserDialog(false)"

View file

@ -102,7 +102,7 @@
</div> </div>
</template> </template>
<script src="./nav_panel.js"></script> <script src="./nav_panel.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -6,7 +6,6 @@ import UserCard from '../user_card/user_card.vue'
import Timeago from '../timeago/timeago.vue' import Timeago from '../timeago/timeago.vue'
import RichContent from 'src/components/rich_content/rich_content.jsx' import RichContent from 'src/components/rich_content/rich_content.jsx'
import ConfirmModal from '../confirm_modal/confirm_modal.vue' import ConfirmModal from '../confirm_modal/confirm_modal.vue'
import StillImage from '../still-image/still-image.vue'
import { isStatusNotification } from '../../services/notification_utils/notification_utils.js' import { isStatusNotification } from '../../services/notification_utils/notification_utils.js'
import { highlightClass, highlightStyle } from '../../services/user_highlighter/user_highlighter.js' import { highlightClass, highlightStyle } from '../../services/user_highlighter/user_highlighter.js'
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator' import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
@ -51,8 +50,7 @@ const Notification = {
Timeago, Timeago,
Status, Status,
RichContent, RichContent,
ConfirmModal, ConfirmModal
StillImage
}, },
methods: { methods: {
toggleUserExpanded () { toggleUserExpanded () {

View file

@ -116,13 +116,12 @@
scope="global" scope="global"
keypath="notifications.reacted_with" keypath="notifications.reacted_with"
> >
<still-image <img
v-if="notification.emoji_url !== null" v-if="notification.emoji_url !== null"
class="notification-reaction-emoji" class="notification-reaction-emoji"
:src="notification.emoji_url" :src="notification.emoji_url"
:title="notification.emoji" :name="notification.emoji"
:alt="notification.emoji" >
/>
<span <span
v-else v-else
class="emoji-reaction-emoji" class="emoji-reaction-emoji"

View file

@ -5,7 +5,7 @@
placement="bottom" placement="bottom"
:bound-to="{ x: 'container' }" :bound-to="{ x: 'container' }"
> >
<template #content> <template v-slot:content>
<div class="dropdown-menu"> <div class="dropdown-menu">
<button <button
class="button-default dropdown-item" class="button-default dropdown-item"
@ -72,7 +72,7 @@
</button> </button>
</div> </div>
</template> </template>
<template #trigger> <template v-slot:trigger>
<button class="filter-trigger-button button-unstyled"> <button class="filter-trigger-button button-unstyled">
<FAIcon icon="filter" /> <FAIcon icon="filter" />
</button> </button>

View file

@ -14,7 +14,7 @@
:model-value="present" :model-value="present"
:disabled="disabled" :disabled="disabled"
class="opt" class="opt"
@update:model-value="$emit('update:modelValue', !present ? fallback : undefined)" @update:modelValue="$emit('update:modelValue', !present ? fallback : undefined)"
/> />
<input <input
:id="name" :id="name"

View file

@ -2,6 +2,7 @@
<pinch-zoom <pinch-zoom
class="pinch-zoom-parent" class="pinch-zoom-parent"
v-bind="$attrs" v-bind="$attrs"
v-on="$listeners"
> >
<slot /> <slot />
</pinch-zoom> </pinch-zoom>

View file

@ -9,12 +9,11 @@ import StatusContent from '../status_content/status_content.vue'
import fileTypeService from '../../services/file_type/file_type.service.js' import fileTypeService from '../../services/file_type/file_type.service.js'
import { findOffset } from '../../services/offset_finder/offset_finder.service.js' import { findOffset } from '../../services/offset_finder/offset_finder.service.js'
import { reject, map, uniqBy, debounce } from 'lodash' import { reject, map, uniqBy, debounce } from 'lodash'
import { usePostLanguageOptions } from 'src/lib/post_language'
import suggestor from '../emoji_input/suggestor.js' import suggestor from '../emoji_input/suggestor.js'
import { mapGetters, mapState } from 'vuex' import { mapGetters, mapState } from 'vuex'
import Checkbox from '../checkbox/checkbox.vue' import Checkbox from '../checkbox/checkbox.vue'
import Select from '../select/select.vue' import Select from '../select/select.vue'
import iso6391 from 'iso-639-1'
import { library } from '@fortawesome/fontawesome-svg-core' import { library } from '@fortawesome/fontawesome-svg-core'
import { import {
@ -63,13 +62,6 @@ const deleteDraft = (draftKey) => {
localStorage.setItem('drafts', JSON.stringify(draftData)); localStorage.setItem('drafts', JSON.stringify(draftData));
} }
const interfaceToISOLanguage = (ilang) => {
const sep = ilang.indexOf("_");
return sep < 0 ?
ilang :
ilang.substr(0, sep);
}
const PostStatusForm = { const PostStatusForm = {
props: [ props: [
'statusId', 'statusId',
@ -137,13 +129,6 @@ const PostStatusForm = {
this.$refs.textarea.focus() this.$refs.textarea.focus()
} }
}, },
setup() {
const {postLanguageOptions} = usePostLanguageOptions()
return {
postLanguageOptions,
}
},
data () { data () {
const preset = this.$route.query.message const preset = this.$route.query.message
let statusText = preset || '' let statusText = preset || ''
@ -153,8 +138,7 @@ const PostStatusForm = {
statusText = buildMentionsString({ user: this.repliedUser, attentions: this.attentions }, currentUser) statusText = buildMentionsString({ user: this.repliedUser, attentions: this.attentions }, currentUser)
} }
const { postContentType: contentType, postLanguage: defaultPostLanguage, sensitiveByDefault, sensitiveIfSubject, interfaceLanguage, alwaysShowSubjectInput } = this.$store.getters.mergedConfig const { postContentType: contentType, sensitiveByDefault, sensitiveIfSubject, interfaceLanguage, alwaysShowSubjectInput } = this.$store.getters.mergedConfig
const postLanguage = defaultPostLanguage || interfaceToISOLanguage(interfaceLanguage)
let statusParams = { let statusParams = {
spoilerText: this.subject || '', spoilerText: this.subject || '',
@ -165,7 +149,7 @@ const PostStatusForm = {
poll: {}, poll: {},
mediaDescriptions: {}, mediaDescriptions: {},
visibility: this.suggestedVisibility(), visibility: this.suggestedVisibility(),
language: postLanguage, language: interfaceLanguage,
contentType contentType
} }
@ -180,7 +164,7 @@ const PostStatusForm = {
poll: this.statusPoll || {}, poll: this.statusPoll || {},
mediaDescriptions: this.statusMediaDescriptions || {}, mediaDescriptions: this.statusMediaDescriptions || {},
visibility: this.statusScope || this.suggestedVisibility(), visibility: this.statusScope || this.suggestedVisibility(),
language: this.statusLanguage || postLanguage, language: this.statusLanguage || interfaceLanguage,
contentType: statusContentType contentType: statusContentType
} }
} }
@ -325,6 +309,9 @@ const PostStatusForm = {
...mapState({ ...mapState({
mobileLayout: state => state.interface.mobileLayout mobileLayout: state => state.interface.mobileLayout
}), }),
isoLanguages () {
return iso6391.getAllCodes();
}
}, },
watch: { watch: {
'newStatus': { 'newStatus': {

View file

@ -118,8 +118,8 @@
/> />
</div> </div>
<EmojiInput <EmojiInput
v-if="subjectVisible"
ref="subject-emoji-input" ref="subject-emoji-input"
v-if="subjectVisible"
v-model="newStatus.spoilerText" v-model="newStatus.spoilerText"
enable-emoji-picker enable-emoji-picker
hide-emoji-button hide-emoji-button
@ -170,7 +170,7 @@
cols="1" cols="1"
:disabled="posting && !optimisticPosting" :disabled="posting && !optimisticPosting"
class="form-post-body" class="form-post-body"
:class="{ 'scrollable-form': !!maxHeight, '-has-subject': subjectVisible }" :class="{ 'scrollable-form': !!maxHeight }"
@keydown.exact.enter="submitOnEnter && postStatus($event, newStatus)" @keydown.exact.enter="submitOnEnter && postStatus($event, newStatus)"
@keydown.meta.enter="postStatus($event, newStatus)" @keydown.meta.enter="postStatus($event, newStatus)"
@keydown.ctrl.enter="!submitOnEnter && postStatus($event, newStatus)" @keydown.ctrl.enter="!submitOnEnter && postStatus($event, newStatus)"
@ -190,7 +190,6 @@
<div <div
v-if="!disableScopeSelector" v-if="!disableScopeSelector"
class="visibility-tray" class="visibility-tray"
:class="{ 'visibility-tray-edit': isEdit }"
> >
<scope-selector <scope-selector
v-if="!disableVisibilitySelector" v-if="!disableVisibilitySelector"
@ -201,50 +200,47 @@
/> />
<div <div
class="format-selector-container"> class="language-selector"
<div
class="format-selector"
>
<Select
id="post-language"
v-model="newStatus.language"
class="form-control"
>
<option
v-for="language in postLanguageOptions"
:key="language.key"
:value="language.value"
>
{{ language.label }}
</option>
</Select>
</div>
<div
v-if="postFormats.length > 1"
class="text-format format-selector"
> >
<Select <Select
id="post-content-type" id="post-language"
v-model="newStatus.contentType" v-model="newStatus.language"
class="form-control" class="form-control"
>
<option
v-for="postFormat in postFormats"
:key="postFormat"
:value="postFormat"
>
{{ $t(`post_status.content_type["${postFormat}"]`) }}
</option>
</Select>
</div>
<div
v-if="postFormats.length === 1 && postFormats[0] !== 'text/plain'"
class="text-format format-selector"
> >
<span class="only-format"> <option
{{ $t(`post_status.content_type["${postFormats[0]}"]`) }} v-for="language in isoLanguages"
</span> :key="language"
</div> :value="language"
>
{{ language }}
</option>
</Select>
</div>
<div
v-if="postFormats.length > 1"
class="text-format"
>
<Select
id="post-content-type"
v-model="newStatus.contentType"
class="form-control"
>
<option
v-for="postFormat in postFormats"
:key="postFormat"
:value="postFormat"
>
{{ $t(`post_status.content_type["${postFormat}"]`) }}
</option>
</Select>
</div>
<div
v-if="postFormats.length === 1 && postFormats[0] !== 'text/plain'"
class="text-format"
>
<span class="only-format">
{{ $t(`post_status.content_type["${postFormats[0]}"]`) }}
</span>
</div> </div>
</div> </div>
</div> </div>
@ -464,10 +460,6 @@
align-items: baseline; align-items: baseline;
} }
.visibility-tray-edit {
justify-content: right;
}
.visibility-notice.edit-warning { .visibility-notice.edit-warning {
> :first-child { > :first-child {
margin-top: 0; margin-top: 0;
@ -478,12 +470,6 @@
} }
} }
.format-selector-container {
.format-selector {
display: inline-block;
}
}
.media-upload-icon, .poll-icon, .emoji-icon, .spoiler-icon { .media-upload-icon, .poll-icon, .emoji-icon, .spoiler-icon {
font-size: 1.85em; font-size: 1.85em;
line-height: 1.1; line-height: 1.1;
@ -584,11 +570,6 @@
line-height: 1.85; line-height: 1.85;
} }
.form-post-subject {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.form-post-body { .form-post-body {
// TODO: make a resizable textarea component? // TODO: make a resizable textarea component?
box-sizing: content-box; // needed for easier computation of dynamic size box-sizing: content-box; // needed for easier computation of dynamic size
@ -601,11 +582,6 @@
min-height: calc(var(--post-line-height) * 1em); min-height: calc(var(--post-line-height) * 1em);
resize: none; resize: none;
&.-has-subject {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
&.scrollable-form { &.scrollable-form {
overflow-y: auto; overflow-y: auto;
} }

View file

@ -3,7 +3,7 @@
v-if="isLoggedIn && !resettingForm" v-if="isLoggedIn && !resettingForm"
:is-open="modalActivated" :is-open="modalActivated"
class="post-form-modal-view" class="post-form-modal-view"
@backdrop-clicked="closeModal" @backdropClicked="closeModal"
> >
<div class="post-form-modal-panel panel"> <div class="post-form-modal-panel panel">
<div class="panel-heading"> <div class="panel-heading">

View file

@ -8,13 +8,13 @@
remove-padding remove-padding
@show="focusInput" @show="focusInput"
> >
<template #content="{close}"> <template v-slot:content="{close}">
<EmojiPicker <EmojiPicker
:enable-sticker-picker="false" :enable-sticker-picker="false"
@emoji="addReaction($event, close)" @emoji="addReaction($event, close)"
/> />
</template> </template>
<template #trigger> <template v-slot:trigger>
<button <button
class="button-unstyled popover-trigger" class="button-unstyled popover-trigger"
:title="$t('tool_tip.add_reaction')" :title="$t('tool_tip.add_reaction')"
@ -28,7 +28,7 @@
</Popover> </Popover>
</template> </template>
<script src="./react_button.js"></script> <script src="./react_button.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -2,7 +2,7 @@ export default {
props: [ 'user' ], props: [ 'user' ],
computed: { computed: {
subscribeUrl () { subscribeUrl () {
// eslint-disable-next-line no-undef
const serverUrl = new URL(this.user.statusnet_profile_url) const serverUrl = new URL(this.user.statusnet_profile_url)
return `${serverUrl.protocol}//${serverUrl.host}/main/ostatus` return `${serverUrl.protocol}//${serverUrl.host}/main/ostatus`
} }

View file

@ -54,7 +54,7 @@
</div> </div>
</template> </template>
<script src="./retweet_button.js"></script> <script src="./retweet_button.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -24,7 +24,7 @@
:items="items" :items="items"
:get-key="getKey" :get-key="getKey"
> >
<template #item="{item}"> <template v-slot:item="{item}">
<div <div
class="selectable-list-item-inner" class="selectable-list-item-inner"
:class="{ 'selectable-list-item-selected-inner': isSelected(item) }" :class="{ 'selectable-list-item-selected-inner': isSelected(item) }"
@ -41,7 +41,7 @@
/> />
</div> </div>
</template> </template>
<template #empty> <template v-slot:empty>
<slot name="empty" /> <slot name="empty" />
</template> </template>
</List> </List>

View file

@ -6,7 +6,7 @@
<Checkbox <Checkbox
:model-value="state" :model-value="state"
:disabled="disabled" :disabled="disabled"
@update:model-value="update" @update:modelValue="update"
> >
<span <span
v-if="!!$slots.default" v-if="!!$slots.default"

View file

@ -8,7 +8,7 @@
<Select <Select
:model-value="state" :model-value="state"
:disabled="disabled" :disabled="disabled"
@update:model-value="update" @update:modelValue="update"
> >
<option <option
v-for="option in options" v-for="option in options"

View file

@ -6,14 +6,14 @@
<Popover <Popover
trigger="hover" trigger="hover"
> >
<template #trigger> <template v-slot:trigger>
&nbsp; &nbsp;
<FAIcon <FAIcon
icon="wrench" icon="wrench"
:aria-label="$t('settings.setting_changed')" :aria-label="$t('settings.setting_changed')"
/> />
</template> </template>
<template #content> <template v-slot:content>
<div class="modified-tooltip"> <div class="modified-tooltip">
{{ $t('settings.setting_changed') }} {{ $t('settings.setting_changed') }}
</div> </div>

View file

@ -6,14 +6,14 @@
<Popover <Popover
trigger="hover" trigger="hover"
> >
<template #trigger> <template v-slot:trigger>
&nbsp; &nbsp;
<FAIcon <FAIcon
icon="server" icon="server"
:aria-label="$t('settings.setting_server_side')" :aria-label="$t('settings.setting_server_side')"
/> />
</template> </template>
<template #content> <template v-slot:content>
<div class="serverside-tooltip"> <div class="serverside-tooltip">
{{ $t('settings.setting_server_side') }} {{ $t('settings.setting_server_side') }}
</div> </div>

View file

@ -69,7 +69,7 @@ const SettingsModal = {
this.$store.dispatch('closeSettingsModal') this.$store.dispatch('closeSettingsModal')
}, },
logout () { logout () {
this.$router.replace(this.$store.state.instance.redirectRootNoLogin || '/main/all') this.$router.replace('/main/public')
this.$store.dispatch('closeSettingsModal') this.$store.dispatch('closeSettingsModal')
this.$store.dispatch('logout') this.$store.dispatch('logout')
}, },

View file

@ -108,7 +108,7 @@
<Checkbox <Checkbox
:model-value="!!expertLevel" :model-value="!!expertLevel"
class="expertMode" class="expertMode"
@update:model-value="expertLevel = Number($event)" @update:modelValue="expertLevel = Number($event)"
> >
{{ $t("settings.expert_mode") }} {{ $t("settings.expert_mode") }}
</Checkbox> </Checkbox>

View file

@ -72,7 +72,7 @@ const DataImportExportTab = {
// check is it's a local user // check is it's a local user
if (user && user.is_local) { if (user && user.is_local) {
// append the instance address // append the instance address
// eslint-disable-next-line no-undef
return user.screen_name + '@' + location.hostname return user.screen_name + '@' + location.hostname
} }
return user.screen_name return user.screen_name

View file

@ -4,7 +4,6 @@ import ScopeSelector from 'src/components/scope_selector/scope_selector.vue'
import IntegerSetting from '../helpers/integer_setting.vue' import IntegerSetting from '../helpers/integer_setting.vue'
import InterfaceLanguageSwitcher from 'src/components/interface_language_switcher/interface_language_switcher.vue' import InterfaceLanguageSwitcher from 'src/components/interface_language_switcher/interface_language_switcher.vue'
import { usePostLanguageOptions } from 'src/lib/post_language'
import SharedComputedObject from '../helpers/shared_computed_object.js' import SharedComputedObject from '../helpers/shared_computed_object.js'
import ServerSideIndicator from '../helpers/server_side_indicator.vue' import ServerSideIndicator from '../helpers/server_side_indicator.vue'
import { library } from '@fortawesome/fontawesome-svg-core' import { library } from '@fortawesome/fontawesome-svg-core'
@ -18,11 +17,6 @@ library.add(
) )
const GeneralTab = { const GeneralTab = {
setup() {
const {postLanguageOptions} = usePostLanguageOptions()
return {postLanguageOptions}
},
data () { data () {
return { return {
subjectLineOptions: ['email', 'noop', 'masto'].map(mode => ({ subjectLineOptions: ['email', 'noop', 'masto'].map(mode => ({
@ -124,12 +118,6 @@ const GeneralTab = {
this.$store.dispatch('setOption', { name: 'translationLanguage', value: val }) this.$store.dispatch('setOption', { name: 'translationLanguage', value: val })
} }
}, },
postLanguage: {
get: function () { return this.$store.getters.mergedConfig.postLanguage },
set: function (val) {
this.$store.dispatch('setOption', { name: 'postLanguage', value: val })
}
},
...SharedComputedObject() ...SharedComputedObject()
}, },
methods: { methods: {

View file

@ -44,6 +44,7 @@
<template <template
v-if="profilesExpanded" v-if="profilesExpanded"
> >
<div <div
v-for="profile in settingsProfiles" v-for="profile in settingsProfiles"
:key="profile.id" :key="profile.id"
@ -72,24 +73,15 @@
</button> </button>
</template> </template>
</div> </div>
<button <button class="btn button-default" @click="refreshProfiles()">
class="btn button-default"
@click="refreshProfiles()"
>
{{ $t('settings.settings_profiles_refresh') }} {{ $t('settings.settings_profiles_refresh') }}
<FAIcon <FAIcon icon="sync" @click="refreshProfiles()" />
icon="sync"
@click="refreshProfiles()"
/>
</button> </button>
<h3>{{ $t('settings.settings_profile_creation') }}</h3> <h3>{{ $t('settings.settings_profile_creation') }}</h3>
<label for="settings-profile-new-name"> <label for="settings-profile-new-name">
{{ $t('settings.settings_profile_creation_new_name_label') }} {{ $t('settings.settings_profile_creation_new_name_label') }}
</label> </label>
<input <input v-model="newProfileName" id="settings-profile-new-name">
id="settings-profile-new-name"
v-model="newProfileName"
>
<button <button
class="btn button-default" class="btn button-default"
@click="createSettingsProfile" @click="createSettingsProfile"
@ -593,15 +585,6 @@
{{ $t('settings.post_status_content_type') }} {{ $t('settings.post_status_content_type') }}
</ChoiceSetting> </ChoiceSetting>
</li> </li>
<li>
<ChoiceSetting
id="postLanguage"
path="postLanguage"
:options="postLanguageOptions"
>
{{ $t('settings.post_language') }}
</ChoiceSetting>
</li>
<li> <li>
<BooleanSetting <BooleanSetting
path="alwaysShowNewPostButton" path="alwaysShowNewPostButton"

View file

@ -85,7 +85,7 @@ const MutesAndBlocks = {
// check is it's a local user // check is it's a local user
if (user && user.is_local) { if (user && user.is_local) {
// append the instance address // append the instance address
// eslint-disable-next-line no-undef
return user.screen_name + '@' + location.hostname return user.screen_name + '@' + location.hostname
} }
return user.screen_name return user.screen_name

View file

@ -10,7 +10,7 @@
:query="queryUserIds" :query="queryUserIds"
:placeholder="$t('settings.search_user_to_block')" :placeholder="$t('settings.search_user_to_block')"
> >
<template #default="row"> <template v-slot="row">
<BlockCard <BlockCard
:user-id="row.item" :user-id="row.item"
/> />
@ -21,7 +21,7 @@
:refresh="true" :refresh="true"
:get-key="i => i" :get-key="i => i"
> >
<template #header="{selected}"> <template v-slot:header="{selected}">
<div class="bulk-actions"> <div class="bulk-actions">
<ProgressButton <ProgressButton
v-if="selected.length > 0" v-if="selected.length > 0"
@ -29,7 +29,7 @@
:click="() => blockUsers(selected)" :click="() => blockUsers(selected)"
> >
{{ $t('user_card.block') }} {{ $t('user_card.block') }}
<template #progress> <template v-slot:progress>
{{ $t('user_card.block_progress') }} {{ $t('user_card.block_progress') }}
</template> </template>
</ProgressButton> </ProgressButton>
@ -39,16 +39,16 @@
:click="() => unblockUsers(selected)" :click="() => unblockUsers(selected)"
> >
{{ $t('user_card.unblock') }} {{ $t('user_card.unblock') }}
<template #progress> <template v-slot:progress>
{{ $t('user_card.unblock_progress') }} {{ $t('user_card.unblock_progress') }}
</template> </template>
</ProgressButton> </ProgressButton>
</div> </div>
</template> </template>
<template #item="{item}"> <template v-slot:item="{item}">
<BlockCard :user-id="item" /> <BlockCard :user-id="item" />
</template> </template>
<template #empty> <template v-slot:empty>
{{ $t('settings.no_blocks') }} {{ $t('settings.no_blocks') }}
</template> </template>
</BlockList> </BlockList>
@ -63,7 +63,7 @@
:query="queryUserIds" :query="queryUserIds"
:placeholder="$t('settings.search_user_to_mute')" :placeholder="$t('settings.search_user_to_mute')"
> >
<template #default="row"> <template v-slot="row">
<MuteCard <MuteCard
:user-id="row.item" :user-id="row.item"
/> />
@ -74,7 +74,7 @@
:refresh="true" :refresh="true"
:get-key="i => i" :get-key="i => i"
> >
<template #header="{selected}"> <template v-slot:header="{selected}">
<div class="bulk-actions"> <div class="bulk-actions">
<ProgressButton <ProgressButton
v-if="selected.length > 0" v-if="selected.length > 0"
@ -82,7 +82,7 @@
:click="() => muteUsers(selected)" :click="() => muteUsers(selected)"
> >
{{ $t('user_card.mute') }} {{ $t('user_card.mute') }}
<template #progress> <template v-slot:progress>
{{ $t('user_card.mute_progress') }} {{ $t('user_card.mute_progress') }}
</template> </template>
</ProgressButton> </ProgressButton>
@ -92,16 +92,16 @@
:click="() => unmuteUsers(selected)" :click="() => unmuteUsers(selected)"
> >
{{ $t('user_card.unmute') }} {{ $t('user_card.unmute') }}
<template #progress> <template v-slot:progress>
{{ $t('user_card.unmute_progress') }} {{ $t('user_card.unmute_progress') }}
</template> </template>
</ProgressButton> </ProgressButton>
</div> </div>
</template> </template>
<template #item="{item}"> <template v-slot:item="{item}">
<MuteCard :user-id="item" /> <MuteCard :user-id="item" />
</template> </template>
<template #empty> <template v-slot:empty>
{{ $t('settings.no_mutes') }} {{ $t('settings.no_mutes') }}
</template> </template>
</MuteList> </MuteList>
@ -114,7 +114,7 @@
:query="queryKnownDomains" :query="queryKnownDomains"
:placeholder="$t('settings.type_domains_to_mute')" :placeholder="$t('settings.type_domains_to_mute')"
> >
<template #default="row"> <template v-slot="row">
<DomainMuteCard <DomainMuteCard
:domain="row.item" :domain="row.item"
/> />
@ -125,7 +125,7 @@
:refresh="true" :refresh="true"
:get-key="i => i" :get-key="i => i"
> >
<template #header="{selected}"> <template v-slot:header="{selected}">
<div class="bulk-actions"> <div class="bulk-actions">
<ProgressButton <ProgressButton
v-if="selected.length > 0" v-if="selected.length > 0"
@ -133,16 +133,16 @@
:click="() => unmuteDomains(selected)" :click="() => unmuteDomains(selected)"
> >
{{ $t('domain_mute_card.unmute') }} {{ $t('domain_mute_card.unmute') }}
<template #progress> <template v-slot:progress>
{{ $t('domain_mute_card.unmute_progress') }} {{ $t('domain_mute_card.unmute_progress') }}
</template> </template>
</ProgressButton> </ProgressButton>
</div> </div>
</template> </template>
<template #item="{item}"> <template v-slot:item="{item}">
<DomainMuteCard :domain="item" /> <DomainMuteCard :domain="item" />
</template> </template>
<template #empty> <template v-slot:empty>
{{ $t('settings.no_mutes') }} {{ $t('settings.no_mutes') }}
</template> </template>
</DomainMuteList> </DomainMuteList>

View file

@ -130,7 +130,7 @@ const ProfileTab = {
note: this.newBio, note: this.newBio,
locked: this.newLocked, locked: this.newLocked,
// Backend notation. // Backend notation.
/* eslint-disable camelcase */
display_name: this.newName, display_name: this.newName,
fields_attributes: this.newFields.filter(el => el != null), fields_attributes: this.newFields.filter(el => el != null),
bot: this.bot, bot: this.bot,
@ -138,7 +138,7 @@ const ProfileTab = {
status_ttl_days: this.expirePosts ? this.newPostTTLDays : -1, status_ttl_days: this.expirePosts ? this.newPostTTLDays : -1,
permit_followback: this.permit_followback, permit_followback: this.permit_followback,
accepts_direct_messages_from: this.userAcceptsDirectMessagesFrom accepts_direct_messages_from: this.userAcceptsDirectMessagesFrom
/* eslint-enable camelcase */
} }
if (this.emailLanguage) { if (this.emailLanguage) {
@ -187,7 +187,7 @@ const ProfileTab = {
}) })
return return
} }
// eslint-disable-next-line no-undef
const reader = new FileReader() const reader = new FileReader()
reader.onload = ({ target }) => { reader.onload = ({ target }) => {
const img = target.result const img = target.result

View file

@ -110,9 +110,11 @@
max="730" max="730"
class="expire-posts-days" class="expire-posts-days"
:placeholder="$t('settings.expire_posts_input_placeholder')" :placeholder="$t('settings.expire_posts_input_placeholder')"
> />
</p>
<p>
</p> </p>
<p />
<p> <p>
<interface-language-switcher <interface-language-switcher
:prompt-text="$t('settings.email_language')" :prompt-text="$t('settings.email_language')"

View file

@ -215,7 +215,7 @@
</div> </div>
</template> </template>
<script src="./shadow_control.js"></script> <script src="./shadow_control.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -218,7 +218,7 @@
</div> </div>
</template> </template>
<script src="./side_drawer.js"></script> <script src="./side_drawer.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -24,7 +24,7 @@
</div> </div>
</template> </template>
<script src="./staff_panel.js"></script> <script src="./staff_panel.js" ></script>
<style lang="scss"> <style lang="scss">

View file

@ -266,16 +266,6 @@
color: $fallback--cGreen; color: $fallback--cGreen;
color: var(--cGreen, $fallback--cGreen); color: var(--cGreen, $fallback--cGreen);
} }
.right-side {
display: flex;
align-items: center;
gap: 0.3em;
}
.repeat-tooltip {
flex-shrink: 0;
}
} }
.repeater-avatar { .repeater-avatar {

View file

@ -83,7 +83,7 @@
:user="statusoid.user" :user="statusoid.user"
/> />
<div class="right-side faint"> <div class="right-side faint">
<div <span
class="status-username repeater-name" class="status-username repeater-name"
:title="retweeter" :title="retweeter"
> >
@ -100,19 +100,14 @@
v-else v-else
:to="retweeterProfileLink" :to="retweeterProfileLink"
>{{ retweeter }}</router-link> >{{ retweeter }}</router-link>
</div> </span>
{{ ' ' }} {{ ' ' }}
<FAIcon
<div icon="retweet"
class="repeat-tooltip" class="repeat-icon"
> :title="$t('tool_tip.repeat')"
<FAIcon />
icon="retweet" {{ $t('timeline.repeated') }}
class="repeat-icon"
:title="$t('tool_tip.repeat')"
/>
{{ $t('timeline.repeated') }}
</div>
</div> </div>
</div> </div>
@ -373,7 +368,7 @@
:controlled-toggle-showing-long-subject="controlledToggleShowingLongSubject" :controlled-toggle-showing-long-subject="controlledToggleShowingLongSubject"
@mediaplay="addMediaPlaying($event)" @mediaplay="addMediaPlaying($event)"
@mediapause="removeMediaPlaying($event)" @mediapause="removeMediaPlaying($event)"
@parse-ready="setHeadTailLinks" @parseReady="setHeadTailLinks"
/> />
</div> </div>
@ -481,8 +476,8 @@
/> />
<extra-buttons <extra-buttons
:status="status" :status="status"
@on-error="showError" @onError="showError"
@on-success="clearError" @onSuccess="clearError"
/> />
</div> </div>
</div> </div>

View file

@ -54,7 +54,7 @@
:mfm="renderMisskeyMarkdown && (status.media_type === 'text/x.misskeymarkdown')" :mfm="renderMisskeyMarkdown && (status.media_type === 'text/x.misskeymarkdown')"
:greentext="mergedConfig.greentext" :greentext="mergedConfig.greentext"
:attentions="status.attentions" :attentions="status.attentions"
@parse-ready="onParseReady" @parseReady="onParseReady"
/> />
<div <div
v-if="status.translation" v-if="status.translation"
@ -70,7 +70,7 @@
:mfm="renderMisskeyMarkdown && (status.media_type === 'text/x.misskeymarkdown')" :mfm="renderMisskeyMarkdown && (status.media_type === 'text/x.misskeymarkdown')"
:greentext="mergedConfig.greentext" :greentext="mergedConfig.greentext"
:attentions="status.attentions" :attentions="status.attentions"
@parse-ready="onParseReady" @parseReady="onParseReady"
/> />
<div> <div>
<label class="label">{{ $t('status.override_translation_source_language') }}</label> <label class="label">{{ $t('status.override_translation_source_language') }}</label>
@ -89,10 +89,7 @@
</option> </option>
</Select> </Select>
{{ ' ' }} {{ ' ' }}
<button <button @click="translateStatus" class="btn button-default">
class="btn button-default"
@click="translateStatus"
>
{{ $t('status.translate') }} {{ $t('status.translate') }}
</button> </button>
</div> </div>
@ -141,5 +138,5 @@
<slot v-if="!hideSubjectStatus" /> <slot v-if="!hideSubjectStatus" />
</div> </div>
</template> </template>
<script src="./status_body.js"></script> <script src="./status_body.js" ></script>
<style lang="scss" src="./status_body.scss" /> <style lang="scss" src="./status_body.scss" />

View file

@ -14,7 +14,7 @@
:toggle-showing-tall="toggleShowingTall" :toggle-showing-tall="toggleShowingTall"
:toggle-expanding-subject="toggleExpandingSubject" :toggle-expanding-subject="toggleExpandingSubject"
:toggle-showing-long-subject="toggleShowingLongSubject" :toggle-showing-long-subject="toggleShowingLongSubject"
@parse-ready="$emit('parseReady', $event)" @parseReady="$emit('parseReady', $event)"
> >
<div v-if="status.poll && status.poll.options && !compact"> <div v-if="status.poll && status.poll.options && !compact">
<Poll <Poll
@ -63,7 +63,7 @@
</div> </div>
</template> </template>
<script src="./status_content.js"></script> <script src="./status_content.js" ></script>
<style lang="scss"> <style lang="scss">
.StatusContent { .StatusContent {
flex: 1; flex: 1;

View file

@ -2,7 +2,7 @@
<Modal <Modal
v-if="modalActivated" v-if="modalActivated"
class="status-history-modal-view" class="status-history-modal-view"
@backdrop-clicked="closeModal" @backdropClicked="closeModal"
> >
<div class="status-history-modal-panel panel"> <div class="status-history-modal-panel panel">
<div class="panel-heading"> <div class="panel-heading">
@ -17,9 +17,9 @@
v-for="status in history" v-for="status in history"
:key="status.id" :key="status.id"
:statusoid="status" :statusoid="status"
:is-preview="true" :isPreview="true"
class="conversation-status status-fadein panel-body" class="conversation-status status-fadein panel-body"
/> />
</div> </div>
</div> </div>
</div> </div>

View file

@ -5,10 +5,10 @@
:bound-to="{ x: 'container' }" :bound-to="{ x: 'container' }"
@show="enter" @show="enter"
> >
<template #trigger> <template v-slot:trigger>
<slot /> <slot />
</template> </template>
<template #content> <template v-slot:content>
<Status <Status
v-if="status" v-if="status"
:is-preview="true" :is-preview="true"
@ -35,7 +35,7 @@
</Popover> </Popover>
</template> </template>
<script src="./status_popover.js"></script> <script src="./status_popover.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -7,9 +7,8 @@
> >
<div <div
v-if="animated && imageTypeLabel" v-if="animated && imageTypeLabel"
class="image-type-label" class="image-type-label">
> {{ imageTypeLabel }}
{{ imageTypeLabel }}
</div> </div>
<canvas <canvas
v-if="animated" v-if="animated"

View file

@ -13,7 +13,7 @@
</div> </div>
</template> </template>
<script src="./terms_of_service_panel.js"></script> <script src="./terms_of_service_panel.js" ></script>
<style lang="scss"> <style lang="scss">
.tos-content { .tos-content {

View file

@ -32,7 +32,7 @@
:dive="dive ? () => dive(status.id) : undefined" :dive="dive ? () => dive(status.id) : undefined"
@goto="setHighlight" @goto="setHighlight"
@toggle-expanded="toggleExpanded" @toggleExpanded="toggleExpanded"
/> />
<div <div
v-if="currentReplies.length && threadShowing" v-if="currentReplies.length && threadShowing"

View file

@ -28,7 +28,4 @@
} }
} }
} }
.timeline {
min-height: 1em;
}
} }

View file

@ -4,7 +4,7 @@
class="TimelineQuickSettings" class="TimelineQuickSettings"
:bound-to="{ x: 'container' }" :bound-to="{ x: 'container' }"
> >
<template #content> <template v-slot:content>
<div class="dropdown-menu"> <div class="dropdown-menu">
<div v-if="loggedIn"> <div v-if="loggedIn">
<button <button
@ -80,7 +80,7 @@
</button> </button>
</div> </div>
</template> </template>
<template #trigger> <template v-slot:trigger>
<button class="button-unstyled"> <button class="button-unstyled">
<FAIcon icon="filter" /> <FAIcon icon="filter" />
</button> </button>

View file

@ -9,12 +9,12 @@
@show="openMenu" @show="openMenu"
@close="() => isOpen = false" @close="() => isOpen = false"
> >
<template #content> <template v-slot:content>
<div class="timeline-menu-popover popover-default"> <div class="timeline-menu-popover popover-default">
<TimelineMenuContent /> <TimelineMenuContent />
</div> </div>
</template> </template>
<template #trigger> <template v-slot:trigger>
<button class="button-unstyled title timeline-menu-title"> <button class="button-unstyled title timeline-menu-title">
<span class="timeline-title">{{ timelineName() }}</span> <span class="timeline-title">{{ timelineName() }}</span>
<span> <span>
@ -32,7 +32,7 @@
</Popover> </Popover>
</template> </template>
<script src="./timeline_menu.js"></script> <script src="./timeline_menu.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -62,6 +62,7 @@
:title="$t('nav.twkn_timeline_description')" :title="$t('nav.twkn_timeline_description')"
:aria-label="$t('nav.twkn_timeline_description')" :aria-label="$t('nav.twkn_timeline_description')"
>{{ $t("nav.twkn") }}</span> >{{ $t("nav.twkn") }}</span>
</router-link> </router-link>
</li> </li>
<li v-if="currentUser"> <li v-if="currentUser">
@ -99,7 +100,7 @@
</ul> </ul>
</template> </template>
<script src="./timeline_menu_content.js"></script> <script src="./timeline_menu_content.js" ></script>
<style lang="scss"> <style lang="scss">
@import "../../_variables.scss"; @import "../../_variables.scss";

View file

@ -99,7 +99,7 @@
</ul> </ul>
</template> </template>
<script src="./timeline_menu_content.js"></script> <script src="./timeline_menu_content.js" ></script>
<style lang="scss"> <style lang="scss">
@import "../../_variables.scss"; @import "../../_variables.scss";

View file

@ -16,9 +16,9 @@
/> />
</router-link> </router-link>
<router-link <router-link
v-if="publicTimelineVisible"
:to="{ name: 'public-timeline' }" :to="{ name: 'public-timeline' }"
class="nav-icon" class="nav-icon"
v-if="publicTimelineVisible"
> >
<FAIcon <FAIcon
fixed-width fixed-width
@ -40,9 +40,9 @@
/> />
</router-link> </router-link>
<router-link <router-link
v-if="federatedTimelineVisible"
:to="{ name: 'public-external-timeline' }" :to="{ name: 'public-external-timeline' }"
class="nav-icon" class="nav-icon"
v-if="federatedTimelineVisible"
> >
<FAIcon <FAIcon
fixed-width fixed-width
@ -55,7 +55,7 @@
</div> </div>
</template> </template>
<script src="./timeline_menu_tabs.js"></script> <script src="./timeline_menu_tabs.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -66,7 +66,7 @@ export default {
return this.user.id !== this.$store.state.users.currentUser.id return this.user.id !== this.$store.state.users.currentUser.id
}, },
subscribeUrl () { subscribeUrl () {
// eslint-disable-next-line no-undef
const serverUrl = new URL(this.user.statusnet_profile_url) const serverUrl = new URL(this.user.statusnet_profile_url)
return `${serverUrl.protocol}//${serverUrl.host}/main/ostatus` return `${serverUrl.protocol}//${serverUrl.host}/main/ostatus`
}, },

View file

@ -4,10 +4,10 @@
placement="top" placement="top"
:offset="{ y: 5 }" :offset="{ y: 5 }"
> >
<template #trigger> <template v-slot:trigger>
<slot /> <slot />
</template> </template>
<template #content> <template v-slot:content>
<div class="user-list-popover"> <div class="user-list-popover">
<template v-if="users.length"> <template v-if="users.length">
<div <div
@ -45,7 +45,7 @@
</Popover> </Popover>
</template> </template>
<script src="./user_list_popover.js"></script> <script src="./user_list_popover.js" ></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss'; @import '../../_variables.scss';

View file

@ -121,8 +121,8 @@
</FriendList> </FriendList>
</div> </div>
<div <div
v-if="isUs"
key="tags" key="tags"
v-if="isUs"
:label="$t('user_card.followed_tags')" :label="$t('user_card.followed_tags')"
> >
<FollowedTagList <FollowedTagList
@ -133,7 +133,7 @@
<FollowedTagCard :tag="item" /> <FollowedTagCard :tag="item" />
</template> </template>
<template #empty> <template #empty>
{{ $t('user_card.not_following_any_hashtags') }} {{ $t('user_card.not_following_any_hashtags')}}
</template> </template>
</FollowedTagList> </FollowedTagList>
</div> </div>

View file

@ -1,7 +1,7 @@
<template> <template>
<Modal <Modal
v-if="isOpen" v-if="isOpen"
@backdrop-clicked="closeModal" @backdropClicked="closeModal"
> >
<div class="user-reporting-panel panel"> <div class="user-reporting-panel panel">
<div class="panel-heading"> <div class="panel-heading">
@ -45,7 +45,7 @@
</div> </div>
<div class="user-reporting-panel-right"> <div class="user-reporting-panel-right">
<List :items="statuses"> <List :items="statuses">
<template #item="{item}"> <template v-slot:item="{item}">
<div class="status-fadein user-reporting-panel-sitem"> <div class="status-fadein user-reporting-panel-sitem">
<Status <Status
:in-conversation="false" :in-conversation="false"

View file

@ -27,7 +27,7 @@
</div> </div>
</template> </template>
<script src="./who_to_follow_panel.js"></script> <script src="./who_to_follow_panel.js" ></script>
<style lang="scss"> <style lang="scss">
.who-to-follow * { .who-to-follow * {

Some files were not shown because too many files have changed in this diff Show more