Quint Guvernator
f5e2e96e95
always allow DMs from staff ( #8993 )
6 years ago
Eugen Rochko
35b576dbec
Improve form for selecting media display preference ( #8965 )
...
Regression from #8569
6 years ago
Masoud Abkenar
d35801aaa2
Fixes 8987 broken alignment at "Remote interaction dialog" ( #8988 )
6 years ago
Masoud Abkenar
efd09e2ebb
undo part of PR 8202 to fix RTL ( #8979 )
6 years ago
Thibaut Girka
b0527a4ce7
Handle alt+enter in the spoiler input as shortcut for secondary post
...
Fixes #780
6 years ago
Eugen Rochko
b972478812
Improve style of notice/alert messages ( #8973 )
6 years ago
Eugen Rochko
7d182442a7
Weblate translations (2018-10-12) ( #8972 )
...
* Translated using Weblate (Welsh)
Currently translated at 64.4% (448 of 696 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cy/
* Translated using Weblate (Arabic)
Currently translated at 98.0% (682 of 696 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (French)
Currently translated at 99.9% (695 of 696 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (Arabic)
Currently translated at 94.3% (82 of 87 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ar/
* Translated using Weblate (Welsh)
Currently translated at 88.7% (297 of 335 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cy/
* Translated using Weblate (French)
Currently translated at 100.0% (335 of 335 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fr/
* Translated using Weblate (French)
Currently translated at 100,0% (87 of 87 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/fr/
* Translated using Weblate (Czech)
Currently translated at 100.0% (335 of 335 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cs/
* Translated using Weblate (Czech)
Currently translated at 100.0% (87 of 87 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/cs/
* Translated using Weblate (Czech)
Currently translated at 99.9% (695 of 696 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (Persian)
Currently translated at 100.0% (335 of 335 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fa/
* Translated using Weblate (Arabic)
Currently translated at 94.6% (88 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ar/
* Translated using Weblate (Arabic)
Currently translated at 100.0% (335 of 335 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ar/
* Translated using Weblate (Czech)
Currently translated at 100.0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/cs/
* Translated using Weblate (Galician)
Currently translated at 100,0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/gl/
* Translated using Weblate (Galician)
Currently translated at 100,0% (696 of 696 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/
* Translated using Weblate (Greek)
Currently translated at 100.0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/el/
* Translated using Weblate (Greek)
Currently translated at 98.8% (331 of 335 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (Greek)
Currently translated at 99.7% (694 of 696 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Persian)
Currently translated at 100.0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/fa/
* Translated using Weblate (Czech)
Currently translated at 99.9% (695 of 696 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (French)
Currently translated at 100,0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/fr/
* Translated using Weblate (French)
Currently translated at 99.9% (695 of 696 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (Japanese)
Currently translated at 99.4% (692 of 696 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Corsican)
Currently translated at 100.0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/co/
* Translated using Weblate (Corsican)
Currently translated at 99.9% (695 of 696 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/co/
* Translated using Weblate (German)
Currently translated at 99.6% (693 of 696 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/de/
* Translated using Weblate (German)
Currently translated at 100,0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/de/
* Translated using Weblate (Japanese)
Currently translated at 99.4% (692 of 696 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Japanese)
Currently translated at 99.9% (695 of 696 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (335 of 335 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ja/
* Translated using Weblate (Japanese)
Currently translated at 94.6% (88 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ja/
* i18n-tasks normalize
* yarn manage:translations
6 years ago
Thibaut Girka
70d346ea95
Fix auto-unfold CWs when no regexp is set
...
Fixes #778
6 years ago
Thibaut Girka
3d5d899094
Allow selecting both default flavour and theme
...
Fixes #672
6 years ago
Eugen Rochko
fac529975b
Improve signature verification safeguards ( #8959 )
...
* Downcase signed_headers string before building the signed string
The HTTP Signatures draft does not mandate the “headers” field to be downcased,
but mandates the header field names to be downcased in the signed string, which
means that prior to this patch, Mastodon could fail to process signatures from
some compliant clients. It also means that it would not actually check the
Digest of non-compliant clients that wouldn't use a lowercased Digest field
name.
Thankfully, I don't know of any such client.
* Revert "Remove dead code (#8919 )"
This reverts commit a00ce8c92c
.
* Restore time window checking, change it to 12 hours
By checking the Date header, we can prevent replaying old vulnerable
signatures. The focus is to prevent replaying old vulnerable requests
from software that has been fixed in the meantime, so a somewhat long
window should be fine and accounts for timezone misconfiguration.
* Escape users' URLs when formatting them
Fixes possible HTML injection
* Escape all string interpolations in Formatter class
Slightly improve performance by reducing class allocations
from repeated Formatter#encode calls
* Fix code style issues
6 years ago
Eugen Rochko
9d4541c612
Display customized mascot in web UI and fix admin form for it ( #8964 )
...
Follow-up to #8766
6 years ago
Eugen Rochko
22de24b8ca
Fix missing protocol in dns-prefetch, improve code style ( #8963 )
...
Regression from #8942
6 years ago
Eugen Rochko
5cbbd2c3b5
Fix microformats on statuses according to updated spec ( #8958 )
6 years ago
Eugen Rochko
8fd2cc54c1
Fix type of conversation ID in conversations API ( #8961 )
6 years ago
Eugen Rochko
21ad21cb50
Improve signature verification safeguards ( #8959 )
...
* Downcase signed_headers string before building the signed string
The HTTP Signatures draft does not mandate the “headers” field to be downcased,
but mandates the header field names to be downcased in the signed string, which
means that prior to this patch, Mastodon could fail to process signatures from
some compliant clients. It also means that it would not actually check the
Digest of non-compliant clients that wouldn't use a lowercased Digest field
name.
Thankfully, I don't know of any such client.
* Revert "Remove dead code (#8919 )"
This reverts commit a00ce8c92c
.
* Restore time window checking, change it to 12 hours
By checking the Date header, we can prevent replaying old vulnerable
signatures. The focus is to prevent replaying old vulnerable requests
from software that has been fixed in the meantime, so a somewhat long
window should be fine and accounts for timezone misconfiguration.
* Escape users' URLs when formatting them
Fixes possible HTML injection
* Escape all string interpolations in Formatter class
Slightly improve performance by reducing class allocations
from repeated Formatter#encode calls
* Fix code style issues
6 years ago
ThibG
0075964244
Merge pull request #775 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
ThibG
2d27c11061
Set Content-Security-Policy rules through RoR's config ( #8957 )
...
* Set CSP rules in RoR's configuration
* Override CSP setting in the embed controller to allow frames
6 years ago
Thibaut Girka
8f720be9f3
Merge commit 'ac7df62a0441b95ec04fd9111a9394795dd53ff2' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko
61d44dd11f
Fix typo in ActivityPub Create handler ( #8952 )
...
Regression from #8951
6 years ago
Eugen Rochko
87fdd139b8
Do not push DMs into the home feed ( #8940 )
...
* Do not push DMs into the home feed
* Show DMs column after sending a DM, if DMs column is not already shown
6 years ago
Eugen Rochko
790d3bc637
Move network calls out of transaction in ActivityPub handler ( #8951 )
...
Mention and emoji code may perform network calls, but does not need
to do that inside the database transaction. This may improve availability
of database connections when using pgBouncer in transaction mode.
6 years ago
Thibaut Girka
bb1103d974
Really fix HotKeys
6 years ago
Eugen Rochko
2459da29c2
Add description meta tag additionally to og:description ( #8941 )
...
Fix #8685
6 years ago
Eugen Rochko
da7705b274
Add dns-prefetch if using different host for assets or uploads ( #8942 )
6 years ago
Thibaut Girka
a02244f17c
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
app/javascript/packs/public.js
Changes made to app/javascript/packs/publics.js were applied to
app/javascript/core/settings.js
6 years ago
mayaeh
e50cb5f4bd
Fix that the copy button of verify link did not work. ( #8938 )
6 years ago
Eugen Rochko
7f9dd92a27
Track historical space stats in PgHero to determine PostgreSQL growth ( #8906 )
6 years ago
Thibaut Girka
269edc0e48
Fix CW icon color in local-settings modal
6 years ago
Thibaut Girka
721aec40cd
Define some local-settings hints
6 years ago
Thibaut Girka
26409f3e8e
Add support for hints (or extended descriptions) in local-settings pages
6 years ago
Thibaut Girka
5f308a7f05
When screen width is too narrow, hide local-settings page text, keep only icons
6 years ago
Thibaut Girka
6cd793f0ac
Change “preferences” icon to match settings page icon
6 years ago
Thibaut Girka
edb9ec8543
Add icons for each of the local-setting pages
6 years ago
Thibaut Girka
122ac9cd1d
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
ThibG
4134a10549
Merge pull request #770 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
Thibaut Girka
d0b1369a85
Fix app-wide hotkeys randomly failing to work
6 years ago
mayaeh
87abbb07f3
Add Japanese translations. ( #8927 )
6 years ago
Thibaut Girka
b368d3c15d
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
mayaeh
770e337497
Fixed error occurrence when pinning the DM column. ( #8922 )
6 years ago
Thibaut Girka
d17844e6d1
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Thibaut Girka
96c3d26870
Move “Show action buttons in collapsed toots” option
6 years ago
Thibaut Girka
faecb35fe0
Switch from selects to radio buttons for local settings, improve styling
6 years ago
ashleyhull-versent
f194857ac9
rubocop issues - Cleaning up ( #8912 )
...
* cleanup pass
* undo mistakes
* fixed.
* revert
6 years ago
Eugen Rochko
a00ce8c92c
Remove dead code ( #8919 )
...
SignatureVerification#matches_time_window? is not called anywhere.
6 years ago
ashleyhull-versent
2dba313100
Replace SVG asset with Custom mascot ( #8766 )
6 years ago
Eugen Rochko
774ac47373
Add conversations API ( #8832 )
...
* Add conversations API
* Add web UI for conversations
* Add test for conversations API
* Add tests for ConversationAccount
* Improve web UI
* Rename ConversationAccount to AccountConversation
* Remove conversations on block and mute
* Change last_status_id to be a denormalization of status_ids
* Add optimistic locking
6 years ago
Thibaut Girka
a3677a828d
[Glitch] Change documentation URL
...
Port 28401962ca
to glitch-soc
6 years ago
Thibaut Girka
b4ba1058b8
[Glitch] RTL: fix margins of public-account-header__tabs
...
Port 185cb2dc3a
to glitch-soc
6 years ago
Thibaut Girka
611740ce81
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
ThibG
25744d43b0
Ensure only toots from the reported users are reported ( #8916 )
6 years ago
Thibaut Girka
7cc7843109
Do not scroll timelines when *closing* media modals
...
Media modals push an history state so that pressing back on mobile closes them.
We made sure to not scroll when opening them, but not when *closing* them,
which caused some issues in rare cases.
6 years ago
Marcin Mikołajczak
2fb692ea45
i18n: Update Polish translation ( #8901 )
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
6 years ago
Eugen Rochko
28401962ca
Change documentation URL ( #8898 )
...
* Change documentation URL
* Fix hardcoded documentation URL in locales
6 years ago
Masoud Abkenar
185cb2dc3a
RTL: fix margins of public-account-header__tabs ( #8897 )
...
* RTL: fix margins of public-account-header__tabs
* fix style
* even more stylish code :)
6 years ago
Thibaut Girka
98bb6815a7
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Jeong Arm
144d73730d
Leave unknown language as nil if account is remote ( #8861 )
...
* Force use language detector if account is remote
* Set unknown remote toot's language as nil
6 years ago
Thibaut Girka
c6e4c48942
[Glitch] Add a confirmation dialog when hitting reply and the compose box isn't empty
6 years ago
ThibG
42aecb4c13
Add a confirmation dialog when hitting reply and the compose box isn't empty ( #8893 )
...
* Add a confirmation dialog when hitting reply and the compose box isn't empty
Fixes #878
* Performance improvement
6 years ago
Thibaut Girka
00fcdebed7
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
db/migrate/20170716191202_add_hide_notifications_to_mute.rb
spec/controllers/application_controller_spec.rb
Took our version, upstream changes were only minor style linting.
6 years ago
Eugen Rochko
a46ab86adf
Limit the number of people that can be followed from one account ( #8807 )
...
Configurable soft limit of 7,500, and above that, configurable
ratio of 1.1 * followers, controlled by:
- MAX_FOLLOWS_THRESHOLD
- MAX_FOLLOWS_RATIO
Fix #2311
6 years ago
Eugen Rochko
e645ae9561
Change admin accounts default sort to most recent ( #8813 )
6 years ago
Eugen Rochko
7fe137d2f7
Fix link verification for remote accounts ( #8868 )
6 years ago
ThibG
ba444797d2
Fix handling of ActivityPub activities lacking some attributes ( #8864 )
6 years ago
Thibaut Girka
a9e8f98a9d
Make hidden media clickable in account media gallery
6 years ago
Thibaut Girka
d82c495c0f
Add media description (or status spoiler) in account media gallery
6 years ago
Thibaut Girka
bd1f08fa9a
Fix account gallery hidden media background color in mastodon-light
6 years ago
Thibaut Girka
eb85427576
[Glitch] Honour displayMedia setting in accountMedia gallery
...
Inspired by b79ab15859
6 years ago
Thibaut Girka
6ad7606909
[Glitch] Add support for new display_media setting
...
Port f7a6f9489d
to glitch-soc
[API] [vanilla required] [glitch-soc optional] initial_state show_sensitive_media boolean changed to show_media string with options "default", "hide_all", "show_all"
6 years ago
Thibaut Girka
15197a831c
[Glitch] RTL: fix margins: public-layout.header.nav-button
...
Port df2f4052b8
to glitch-soc
6 years ago
Thibaut Girka
884a898442
[Glitch] RTL: fix statubar action buttons/counter margins
...
Port 9f6662fcc9
to glitch-soc
6 years ago
Thibaut Girka
36d426cec9
[Glitch] Separate font-family into variable
...
Port d0d65b5a28
to glitch-soc
6 years ago
Thibaut Girka
c91d9b7389
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
app/lib/user_settings_decorator.rb
app/models/user.rb
app/serializers/initial_state_serializer.rb
app/views/stream_entries/_simple_status.html.haml
config/locales/simple_form.en.yml
config/locales/simple_form.ja.yml
config/locales/simple_form.pl.yml
config/routes.rb
6 years ago
Eugen Rochko
5d5d1b528e
Double the threshold for "read more" functionality ( #8835 )
6 years ago
Spencer Alves
4e60a0d543
Add option to hide action bar in collapsed toots
6 years ago
David Yip
c065717b67
Merge pull request #681 from ThibG/glitch-soc/fixes/accessibility
...
Port various accessibility improvements from upstream
6 years ago
David Yip
2bb3c8c944
Merge pull request #755 from ThibG/glitch-soc/features/optional-reply-selection
...
Make pre-selection of usernames optional when replying to a toot
6 years ago
David Yip
19968912fa
Merge pull request #754 from ThibG/glitch-soc/fixes/scroll-compose-into-view
...
Scroll to textarea when composing a toot
6 years ago
David Yip
5b43d7bcbf
Merge pull request #745 from ThibG/glitch-soc/fixes/grey-out-button
...
Disable the “TOOT” button (and secondary toot button) if the toot text is empty
6 years ago
Eugen Rochko
6c835085a3
Fix timeline pagination ( #8827 )
...
Ruby's ** operator does not play well with non-Hash objects, which
the params slice is
Fix #8821
6 years ago
Masoud Abkenar
df2f4052b8
RTL: fix margins: public-layout.header.nav-button ( #8823 )
...
* RTL: fix margins: public-layout.header.nav-button
* add empty line to meet style guides
6 years ago
Thibaut Girka
86b2b009dd
Make pre-selection of usernames optional when replying to a toot
...
Fixes #751
6 years ago
Thibaut Girka
15134beb1e
Fix styling issue in “Compose box options” local settings page
6 years ago
Thibaut Girka
9594c68532
Scroll to textarea when composing a toot
6 years ago
Thibaut Girka
fa18859b20
[Glitch] Adjust beforeUnload conditions
...
Port 05f90e3695
to glitch-soc
6 years ago
Thibaut Girka
abffbba819
Fix maxCharacters in vanilla front-end
6 years ago
Eugen Rochko
ef69c655cc
Fix class autoloading issue in ActivityPub::Activity::Create ( #8820 )
6 years ago
Eugen Rochko
f0fff3eb10
Support min_id-based pagination in REST API ( #8736 )
...
* Allow min_id pagination in Feed#get
* Add min_id pagination to home and list timeline APIs
* Add min_id pagination to account statuses, public and tag APIs
* Remove unused stub in reports API
* Use min_id pagination in notifications, favourites, and fix order
* Fix HomeFeed#from_database not using paginate_by_id
6 years ago
Eugen Rochko
3d7f68c273
Revert Font Awesome 5 upgrade ( #8810 )
...
* Revert "Fix some icon names changed by the Font Awesome 5. (#8796 )"
This reverts commit 3f9ec3de82
.
* Revert "Migrate to font-awesome 5.0. (#8799 )"
This reverts commit 8bae14591b
.
* Revert "Fix some icons names, unavailable in fontawesome5 (free license). (#8792 )"
This reverts commit b9c727a945
.
* Revert "Update the icon name changed by the Font Awesome 5. (#8776 )"
This reverts commit 17af4d27da
.
* Revert "Add bot icon to bot avatars and migrate to newer version of Font Awesome (#8484 )"
This reverts commit 4b794e134d
.
6 years ago
cbayerlein
4b78546135
Exclude replies from list timelines ( #8683 )
...
* Changed list behaviour
I added the following line to the FeedManager (app/lib/feed_manager.rb) in the push_to_list function:
`return false if status.reply?`
Now all posts that are replies are filtered out, so that now only "genuine" posts are displayed in the list.
This is a first approach to solve issue #5916
* Update feed_manager.rb
As suggested by @Gargron
6 years ago
mayaeh
3f9ec3de82
Fix some icon names changed by the Font Awesome 5. ( #8796 )
6 years ago
Maciek Baron
a72a939334
Add test for AutosuggestEmoji ( #8805 )
6 years ago
Colin Dean
330e320b40
Adds follow action timestamp to notification ( #8756 )
...
Fixes #8755
6 years ago
Naoki Kosaka
8bae14591b
Migrate to font-awesome 5.0. ( #8799 )
6 years ago
Haelwenn Monnier
15fc2b76f9
Show "read more" link on overly long in-stream statuses ( #8205 )
...
Show "read more" link on overly long in-stream statuses
6 years ago
Yamagishi Kazutoshi
c6d43115c2
Fix broken report detail (regression from #8569 ) ( #8795 )
6 years ago
theboss
b9c727a945
Fix some icons names, unavailable in fontawesome5 (free license). ( #8792 )
...
- pencil => pencil-alt
- sliders => sliders-h
related: #8484 #8776
6 years ago
rhoio
c6e765f81e
remove meta label in settings column ( #8704 )
6 years ago
mayaeh
17af4d27da
Update the icon name changed by the Font Awesome 5. ( #8776 )
6 years ago
ふぁぼ原
f7a6f9489d
Add a new preference to always hide all media ( #8569 )
6 years ago
Maciek Baron
4b794e134d
Add bot icon to bot avatars and migrate to newer version of Font Awesome ( #8484 )
...
* Migrate to newer version of Font Awesome
* Add bot icon to bot avatars
6 years ago