- Oct 20, 2018
-
-
takayamaki authored
and use 'if' option of context block
-
Eugen Rochko authored
* Do not test PAM authentication by default * Disable PAM tests if PAM is not enabled
-
- Oct 17, 2018
-
-
Eugen Rochko authored
* Add silent column to mentions * Save silent mentions in ActivityPub Create handler and optimize it Move networking calls out of the database transaction * Add "limited" visibility level masked as "private" in the API Unlike DMs, limited statuses are pushed into home feeds. The access control rules between direct and limited statuses is almost the same, except for counter and conversation logic * Ensure silent column is non-null, add spec * Ensure filters don't check silent mentions for blocks/mutes As those are "this person is also allowed to see" rather than "this person is involved", therefore does not warrant filtering * Clean up code * Use Status#active_mentions to limit returned mentions * Fix code style issues * Use Status#active_mentions in Notification And remove stream_entry eager-loading from Notification
-
- Oct 11, 2018
-
-
Eugen Rochko authored
* 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 a00ce8c9. * 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
-
- Oct 08, 2018
-
-
ashleyhull-versent authored
* cleanup pass * undo mistakes * fixed. * revert
-
- Oct 07, 2018
-
-
ashleyhull-versent authored
-
Eugen Rochko authored
* 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
-
- Oct 05, 2018
-
-
Jeong Arm authored
* Force use language detector if account is remote * Set unknown remote toot's language as nil
-
- Oct 04, 2018
-
-
aus-social authored
* Code quality pass * Typofix * Update applications_controller_spec.rb * Update applications_controller_spec.rb
-
Eugen Rochko authored
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
-
Eugen Rochko authored
-
Eugen Rochko authored
-
aus-social authored
-
- Sep 28, 2018
-
-
Eugen Rochko authored
* 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
-
Eugen Rochko authored
* Revert "Fix some icon names changed by the Font Awesome 5. (#8796)" This reverts commit 3f9ec3de. * Revert "Migrate to font-awesome 5.0. (#8799)" This reverts commit 8bae1459. * Revert "Fix some icons names, unavailable in fontawesome5 (free license). (#8792)" This reverts commit b9c727a9. * Revert "Update the icon name changed by the Font Awesome 5. (#8776)" This reverts commit 17af4d27. * Revert "Add bot icon to bot avatars and migrate to newer version of Font Awesome (#8484)" This reverts commit 4b794e13.
-
- Sep 27, 2018
-
-
Naoki Kosaka authored
-
- Sep 23, 2018
-
-
ThibG authored
-
- Sep 19, 2018
-
-
Eugen Rochko authored
(e.g. URL shortener)
-
Yamagishi Kazutoshi authored
-
- Sep 18, 2018
-
-
Eugen Rochko authored
* Verify link ownership with rel="me" * Add explanation about verification to UI * Perform link verifications * Add click-to-copy widget for verification HTML * Redesign edit profile page * Redesign forms * Improve responsive design of settings pages * Restore landing page sign-up form * Fix typo * Support <link> tags, add spec * Fix links not being verified on first discovery and passive updates
-
- Sep 13, 2018
-
-
luzpaz authored
Found via `codespell -q 3 --skip="./app/javascript/mastodon/locales,./config/locales"`
-
- Sep 09, 2018
-
-
Eugen Rochko authored
* Add force_login option to OAuth authorize page For when a user needs to sign into an app from multiple accounts on the same server * When logging out from modal header, redirect back after re-login
-
- Sep 08, 2018
-
-
Sorin Davidoi authored
CSFR-prevention is already implemented but adding this doesn't hurt. A brief introduction to Same-Site cookies (and the difference between strict and lax) can be found at https://blog.mozilla.org/security/2018/04/24/same-site-cookies-in-firefox-60/ TLDR: We use lax since we want the cookies to be sent when the user navigates safely from an external site.
-
- Sep 01, 2018
-
-
Eugen Rochko authored
If an unresolved report for the same target account already exists, no new notification is generated
-
- Aug 31, 2018
-
-
Renato "Lond" Cerqueira authored
Add tests to avoid similar issues in the future
-
- Aug 30, 2018
-
-
Renato "Lond" Cerqueira authored
* Add animate custom emoji param to embed pages * Rename param, use it for avatars and gifs * Fix issues pointed by codeclimate and breaking test * Ignore brakeman warning
-
- Aug 29, 2018
-
-
Renato "Lond" Cerqueira authored
Host can be nil in urls like 'https:https://example.com/path/file.png'
-
- Aug 28, 2018
-
-
sundevour authored
updates some "context" and "it" lines to have clearer explanations updates "context" lines to properly describe function input, and "it" lines to describe results
-
Eugen Rochko authored
* Add missing specs for relay accept/reject * Display pending message on admin relays UI
-
- Aug 26, 2018
-
-
Jakub Mendyk authored
Fixes #8463
-
- Aug 25, 2018
-
-
Eugen Rochko authored
Add forgotten custom CSS admin setting strings
-
- Aug 23, 2018
-
-
Eugen Rochko authored
* Allow moderators to disable/enable login * Instead of rejecting login, show forbidden error when login disabled Avoid confusion because when login is rejected, the message is that the account is not activated, which is wrong. * Fix tests
-
Jakub Mendyk authored
* Add default_settings class method to ScopedSettings ScopedSettings was extended to use value of unscoped setting instead of only using defaults set in config/settings.yml for selected settings. This adds possibility for admins to set default values of users' settings, for example default theme (as requested in #7092). * Add ability to change an instance default theme Closes #7092
-
- Aug 22, 2018
-
-
Eugen Rochko authored
* Fix URI not being sufficiently validated with prefetched JSON * Add additional id validation to OStatus documents, when possible
-
masarakki authored
-
Eugen Rochko authored
* Add confirmation page for suspensions * Suspension confirmation closes reports, linked from report UI * Fix tests
-
- Aug 20, 2018
-
-
Eugen Rochko authored
Fix #7316
-
- Aug 18, 2018
-
-
Eugen Rochko authored
-
Eugen Rochko authored
* Add remote interaction dialog for toots * Change AuthorizeFollow into AuthorizeInteraction, support statuses * Update brakeman.ignore * Adjust how interaction buttons are display on public pages * Fix tests
-
- Aug 17, 2018
-
-
ThibG authored
* Add Follow#revoke_request! * Implement Undo { Accept { Follow } } (fixes #8234)
-