Thibaut Girka
658ac4396c
Hide media in report modal regardless of whether they are marked sensitive
...
The rationale behind this is that if the user wants to report violent media,
they might not want to see it repeatedly. The “sensitive” property is still
kept, displaying different messages for hidden media depending on whether
they are marked as sensitive.
7 years ago
Thibaut Girka
6b94237810
[Glitch] Allow report modal to be up to 80% of viewport height
...
Port bddb330a8a08b7459c299fb56ae8770c3ac69af5 to glitch-soc
7 years ago
Thibaut Girka
7972464e71
[Glitch] Also display replies in report modal
...
Port c88e12fca622c46a361a5c751a529e77aa5bf2ba to glitch-soc
7 years ago
Thibaut Girka
de7feea30e
Revert "[Glitch] Prevent timeline from moving when cursor is hovering over it"
...
This reverts commit 553cc28240
.
7 years ago
Thibaut Girka
4133f70902
Revert "[Glitch] Do not re-position scroll when loading more (inserting items from below)"
...
This reverts commit 32974a58dc
.
7 years ago
Thibaut Girka
1adca9b040
Fix glitch high-contrast skin text colors
...
Port from 3c5006ec7f
7 years ago
Thibaut Girka
65349bc155
Fix color of status icons in glitch-soc high contrast skin
7 years ago
Thibaut Girka
2d065ceaf6
minor fix
7 years ago
Thibaut Girka
f7a076eded
[Glitch] Add high-contrast theme
7 years ago
Thibaut Girka
caebf69e77
Move attachment-lists out of lists.scss
7 years ago
Thibaut Girka
bd3b9bf7b9
[Glitch] Fix text color in "show more" link inside boost confirmation modal
...
Port ba917e15f6
to glitch-soc
7 years ago
Thibaut Girka
983328376b
Fix link colors in report modal
7 years ago
Thibaut Girka
b3a236637e
[Glitch] Add color variables of texts for better accesibility
...
Port 74dae9458d
and related to glitch-soc
7 years ago
Thibaut Girka
390cfdef2e
[Glitch] Update SCSS of admin and setting pages
...
Port the SCSS changes from cb74c0cfe4
to glitch-soc
7 years ago
Thibaut Girka
9edc5cafe4
[Glitch] Improve styling of closed registrations message
...
Port SCSS changes from 5acd5315f2
to glitch-soc
7 years ago
Thibaut Girka
32974a58dc
[Glitch] Do not re-position scroll when loading more (inserting items from below)
...
Port 8c601b54cc
to glitch-soc
7 years ago
Thibaut Girka
553cc28240
[Glitch] Prevent timeline from moving when cursor is hovering over it
...
Port 58852695c8
to glitch-soc
7 years ago
Thibaut Girka
cee157fc19
Improve accessibility of toot dropdown menu
...
* Prevent Enter keypresses from triggering dropdown display toggle twice
* Give focus to first/selected item of dropdown menus
* Implement keyboard navigation in generic dropdown menus
Partial port from ef7d64c801
to glitch-soc
7 years ago
Thibaut Girka
bfa5bdde2c
[Glitch] Place emoji picker top if it is closer to the bottom of the viewport
...
Port ad5d3134e4
to glitch-soc
7 years ago
Daggertooth
b25278180a
Escape metachars in keywords
7 years ago
Marcin Mikołajczak
4c2b522a60
Add a light theme
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years ago
Eugen Rochko
2c1f7b2ece
Better pagination for ActivityPub outbox ( #7356 )
7 years ago
Marcin Mikołajczak
a7a61889d7
“Enable” high contrast theme
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years ago
Eugen Rochko
251bbf9728
Show remote reports in admin UI as coming from domain rather than user ( #7347 )
...
Fix #6994
7 years ago
David Yip
106a5d7b83
Remove unnecessary code from MediaAttachment#set_type_and_extension.
...
Well, it seems unnecessary, anyway.
7 years ago
ThibG
a24605961a
Fixes/do not override timestamps ( #7336 )
...
* Revert "Fixes/do not override timestamps (#7331 )"
This reverts commit 581a5c9d29
.
* Document Snowflake ID corner-case a bit more
Snowflake IDs are used for two purposes: making object identifiers harder to
guess and ensuring they are in chronological order. For this reason, they
are based on the `created_at` attribute of the object.
Unfortunately, inserting items with older snowflakes IDs will break the
assumption of consumers of the paging APIs that new items will always have
a greater identifier than the last seen one.
* Add `override_timestamps` virtual attribute to not correlate snowflake ID with created_at
7 years ago
ThibG
8c601b54cc
Do not re-position scroll when loading more (inserting items from below) ( #7344 )
7 years ago
Yamagishi Kazutoshi
7495a3470e
Add el and te ( #7332 )
...
* Add el and te
* Add missing locale files
7 years ago
ThibG
581a5c9d29
Fixes/do not override timestamps ( #7331 )
...
* Do not override timestamps for incoming toots
* Remove every reference to override_timestamps
Statuses are now created with the announced publishing date
and are only pushed to timelines if that date is at most
6 hours earlier than the time at which it is processed.
7 years ago
Eugen Rochko
d5fa4fbcd2
Revert "Do not override timestamps for incoming toots" ( #7330 )
...
* Revert "Weblate translations 20180503 (#7325 )"
This reverts commit dfa6bccb64
.
* Revert "Prevent timeline from moving when cursor is hovering over it (fixes #7278 ) (#7327 )"
This reverts commit 58852695c8
.
* Revert "Add pry-byebug (#7307 )"
This reverts commit ab773e4d5f
.
* Revert "Do not override timestamps for incoming toots (#7326 )"
This reverts commit bd36791832
.
7 years ago
Renato "Lond" Cerqueira
dfa6bccb64
Weblate translations 20180503 ( #7325 )
...
* Translated using Weblate (German)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/de/
* Translated using Weblate (Slovak)
Currently translated at 92.3% (578 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Added translation using Weblate (Greek)
* Translated using Weblate (Chinese (Hong Kong))
Currently translated at 100.0% (75 of 75 strings)
Translation: Mastodon/Doorkeeper
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/doorkeeper/zh_Hant_HK/
* Translated using Weblate (Chinese (Hong Kong))
Currently translated at 93.5% (58 of 62 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/zh_Hant_HK/
* Translated using Weblate (Chinese (Hong Kong))
Currently translated at 100.0% (62 of 62 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/zh_Hant_HK/
* Translated using Weblate (Chinese (Hong Kong))
Currently translated at 100.0% (62 of 62 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/zh_Hant_HK/
* Translated using Weblate (Chinese (Hong Kong))
Currently translated at 99.6% (624 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/zh_Hant_HK/
* Added translation using Weblate (Greek)
* Added translation using Weblate (Malay)
* Translated using Weblate (Greek)
Currently translated at 0.6% (2 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (Greek)
Currently translated at 1.3% (4 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (Greek)
Currently translated at 2.0% (6 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (Greek)
Currently translated at 2.3% (7 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (Greek)
Currently translated at 2.7% (8 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (Greek)
Currently translated at 3.0% (9 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (Greek)
Currently translated at 4.3% (27 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 4.7% (30 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 4.7% (30 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 5.1% (32 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 5.2% (33 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Swedish)
Currently translated at 95.1% (59 of 62 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sv/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.3% (622 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/pt_BR/
* Translated using Weblate (Greek)
Currently translated at 23.8% (70 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (Catalan)
Currently translated at 100.0% (626 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ca/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sk/
* Translated using Weblate (Slovak)
Currently translated at 94.0% (589 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Added translation using Weblate (Telugu)
* Translated using Weblate (German)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/de/
* Translated using Weblate (German)
Currently translated at 98.3% (61 of 62 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/de/
* Translated using Weblate (Telugu)
Currently translated at 0.3% (2 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/te/
* Translated using Weblate (German)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/de/
* Translated using Weblate (German)
Currently translated at 98.3% (62 of 62 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/de/
* Translated using Weblate (German)
Currently translated at 100.0% (62 of 62 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/de/
* Translated using Weblate (German)
Currently translated at 100.0% (62 of 62 strings)
Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/de/
* Translated using Weblate (German)
Currently translated at 100.0% (75 of 75 strings)
Translation: Mastodon/Doorkeeper
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/doorkeeper/de/
* Translated using Weblate (German)
Currently translated at 99.5% (623 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/de/
* Translated using Weblate (Spanish)
Currently translated at 93.2% (584 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/es/
* Translated using Weblate (Spanish)
Currently translated at 93.2% (584 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/es/
* Translated using Weblate (Spanish)
Currently translated at 93.2% (584 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/es/
* Translated using Weblate (Spanish)
Currently translated at 93.2% (584 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/es/
* Translated using Weblate (Spanish)
Currently translated at 99.8% (625 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/es/
* Translated using Weblate (Slovak)
Currently translated at 95.0% (595 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Greek)
Currently translated at 24.1% (71 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (Greek)
Currently translated at 24.1% (71 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (French)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fr/
* Translated using Weblate (French)
Currently translated at 99.6% (624 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (Italian)
Currently translated at 54.6% (342 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/it/
* Translated using Weblate (Italian)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/it/
* Translated using Weblate (Slovak)
Currently translated at 95.3% (597 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Japanese)
Currently translated at 99.8% (625 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (German)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/de/
* Translated using Weblate (German)
Currently translated at 99.6% (624 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/de/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (62 of 62 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sk/
* Translated using Weblate (Galician)
Currently translated at 100.0% (626 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/
* Translated using Weblate (Galician)
Currently translated at 100.0% (294 of 294 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/gl/
* Translated using Weblate (Galician)
Currently translated at 100.0% (62 of 62 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/gl/
* Translated using Weblate (Swedish)
Currently translated at 100.0% (62 of 62 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sv/
* Translated using Weblate (Swedish)
Currently translated at 99.5% (623 of 626 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sv/
* Normalize translations
ran yarn build:development && i18n-tasks normalize && yarn
manage:translations && i18n-tasks remove-unused
* Add back file removed by weblate
7 years ago
ThibG
58852695c8
Prevent timeline from moving when cursor is hovering over it ( fixes #7278 ) ( #7327 )
7 years ago
ThibG
bd36791832
Do not override timestamps for incoming toots ( #7326 )
7 years ago
ThibG
ad5d3134e4
Place emoji picker top if it is closer to the bottom of the viewport ( fixes #7277 ) ( #7314 )
7 years ago
Eugen Rochko
a5293fdf61
Fix n+1 queries in StatusThreadingConcern ( #7321 )
7 years ago
Eugen Rochko
a3d84e705a
Fix cache_associated no longer working ( #7320 )
7 years ago
Eugen Rochko
28bd4b9800
Serialize webfinger XML with Ox instead of Nokogiri ( #7319 )
...
25ms -> 0.5ms
7 years ago
Eugen Rochko
658cbc9425
Improve PostStatusService performance ( #7317 )
...
Offload creation of local notifications to a worker. Remove two
redundant SQL queries from ProcessMentionsService, remove n+1
XML/JSON serialization via memoization
7 years ago
Eugen Rochko
cb5b5cb5f7
Slightly reduce RAM usage ( #7301 )
...
* No need to re-require sidekiq plugins, they are required via Gemfile
* Add derailed_benchmarks tool, no need to require TTY gems in Gemfile
* Replace ruby-oembed with FetchOEmbedService
Reduce startup by 45382 allocated objects
* Remove preloaded JSON-LD in favour of caching HTTP responses
Reduce boot RAM by about 6 MiB
* Fix tests
* Fix test suite by stubbing out JSON-LD contexts
7 years ago
abcang
71a7cea73f
Keep notification when muting_notifications is true ( #7311 )
...
* Keep notification when muting_notifications is true
* Retrun mute object
* Fix test
7 years ago
ThibG
d0cdd5cf94
Accept actor object updates from all supported actor types ( #7312 )
7 years ago
Eugen Rochko
cae933510c
Allow updating bio fields via PUT /api/v1/accounts/update_credentials ( #7288 )
...
Add raw bio fields to the source attribute on GET /api/v1/accounts/verify_credentials
7 years ago
Eugen Rochko
f62539ce5c
Remove most behaviour disparities between blocks and mutes ( #7231 )
...
* Remove most behaviour disparities between blocks and mutes
The only differences between block and mute should be:
- Mutes can optionally NOT affect notifications
- Mutes should not be visible to the muted
Fix #7230
Fix #5713
* Do not allow boosting someone you blocked
Fix #7248
* Do not allow favouriting someone you blocked
* Fix nil error in StatusPolicy
7 years ago
Eugen Rochko
c5dcd7d836
Speed up test suite by not generating RSA keys in test environment ( #7296 )
...
One RSA keypair for all fabricated test accounts is enough
7 years ago
Eugen Rochko
965345316f
Guard against nil URLs in Request class ( #7284 )
...
Fix #7265
7 years ago
Thibaut Girka
70a16d8858
[Glitch] Improve relative timestamps in web UI
...
Port 660cb058e1
to glitch-soc flavour
7 years ago
Surinna Curtis
dc786c0cf4
Support Actors/Statuses with multiple types ( #7305 )
...
* Add equals_or_includes_any? helper in JsonLdHelper
* Support arrays in JSON-LD type fields for actors/tags/objects.
* Spec for resolving accounts with extension types
* Style tweaks for codeclimate
7 years ago
Lynx Kotoura
86efccce2a
Fix low-contrasted cancel button of reply indicator ( #7300 )
7 years ago
David Yip
5f8f481425
Also treat non-whole-word mutes as case-insensitive. #450 .
7 years ago
Eugen Rochko
705f1d7bf1
Fix missing updated_at attribute on emoji EntityCache ( #7297 )
...
Just don't try to save space by only selecting few attributes. If
anyone is wondering, this is needed because the emoji entity cache
is not really only used for entities, it's accessed again to
generate Emoji tags in ActivityPub/OStatus, so a lot more properties
are used than what is needed in HTML alone...
7 years ago