Thibaut Girka
a8e896af12
Fix fav/boosts hotkeys not working on detailed statuses
6 years ago
Thibaut Girka
ccf5ddfd88
Handle alt+enter in the spoiler input as shortcut for secondary post
...
Fixes #780
6 years ago
Thibaut Girka
794b2dad99
Fix auto-unfold CWs when no regexp is set
...
Fixes #778
6 years ago
Thibaut Girka
dbc1b36b61
Allow selecting both default flavour and theme
...
Fixes #672
6 years ago
Eugen Rochko
27376e2457
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 65d1a2d10a
.
* 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
10ed0ddd2a
Merge pull request #775 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
Thibaut Girka
70a7f72fda
Merge commit '0167397218110e26300bbc6891bc4b1849add083' into glitch-soc/merge-upstream
6 years ago
Thibaut Girka
bf559a477a
Really fix HotKeys
6 years ago
Eugen Rochko
af3ef0afb0
Add description meta tag additionally to og:description ( #8941 )
...
Fix #8685
6 years ago
Eugen Rochko
c227151023
Add dns-prefetch if using different host for assets or uploads ( #8942 )
6 years ago
Thibaut Girka
8cb843039c
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
cf43973ecd
Fix that the copy button of verify link did not work. ( #8938 )
6 years ago
Eugen Rochko
ad0f37e924
Track historical space stats in PgHero to determine PostgreSQL growth ( #8906 )
6 years ago
Thibaut Girka
f9fc7d7660
Fix CW icon color in local-settings modal
6 years ago
Thibaut Girka
d21c9f08e5
Define some local-settings hints
6 years ago
Thibaut Girka
c40ba63f42
Add support for hints (or extended descriptions) in local-settings pages
6 years ago
Thibaut Girka
c598692cdf
When screen width is too narrow, hide local-settings page text, keep only icons
6 years ago
Thibaut Girka
56773bc55c
Change “preferences” icon to match settings page icon
6 years ago
Thibaut Girka
065a19b18b
Add icons for each of the local-setting pages
6 years ago
Thibaut Girka
f09150f2a9
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
ThibG
d73c1df33b
Merge pull request #770 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
Thibaut Girka
e968dcea13
Fix app-wide hotkeys randomly failing to work
6 years ago
mayaeh
bcb43baf50
Add Japanese translations. ( #8927 )
6 years ago
Thibaut Girka
683608dd60
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
mayaeh
96a313d02b
Fixed error occurrence when pinning the DM column. ( #8922 )
6 years ago
Thibaut Girka
74e411f4e8
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Thibaut Girka
3f68e9ed11
Move “Show action buttons in collapsed toots” option
6 years ago
Thibaut Girka
caa56b01a9
Switch from selects to radio buttons for local settings, improve styling
6 years ago
ashleyhull-versent
00d31a292c
rubocop issues - Cleaning up ( #8912 )
...
* cleanup pass
* undo mistakes
* fixed.
* revert
6 years ago
Eugen Rochko
65d1a2d10a
Remove dead code ( #8919 )
...
SignatureVerification#matches_time_window? is not called anywhere.
6 years ago
ashleyhull-versent
ea57aca5e1
Replace SVG asset with Custom mascot ( #8766 )
6 years ago
Eugen Rochko
c9b5168ebd
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
58cbb9ef8f
[Glitch] Change documentation URL
...
Port 7635a136c9
to glitch-soc
6 years ago
Thibaut Girka
52f97080e7
[Glitch] RTL: fix margins of public-account-header__tabs
...
Port e2065ceead
to glitch-soc
6 years ago
Thibaut Girka
bdbbbb1bdb
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
ThibG
8b48543b77
Ensure only toots from the reported users are reported ( #8916 )
6 years ago
Thibaut Girka
b4bab7eb35
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
07d123fd3c
i18n: Update Polish translation ( #8901 )
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
6 years ago
Eugen Rochko
7635a136c9
Change documentation URL ( #8898 )
...
* Change documentation URL
* Fix hardcoded documentation URL in locales
6 years ago
Masoud Abkenar
e2065ceead
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
463f250f26
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Jeong Arm
708c12af1e
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
72305816ea
[Glitch] Add a confirmation dialog when hitting reply and the compose box isn't empty
6 years ago
ThibG
d6df42df16
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
f627ea99e4
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
48c2ab8cf5
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
1ae62b87ed
Change admin accounts default sort to most recent ( #8813 )
6 years ago
Eugen Rochko
24f168e58e
Fix link verification for remote accounts ( #8868 )
6 years ago
ThibG
47eaba870e
Fix handling of ActivityPub activities lacking some attributes ( #8864 )
6 years ago
Thibaut Girka
1476e653ec
Make hidden media clickable in account media gallery
6 years ago