- Jul 13, 2019
-
-
Eugen Rochko authored
* Add a spam check * Use Nilsimsa to generate locality-sensitive hashes and compare using Levenshtein distance * Add more tests * Add exemption when the message is a reply to something that mentions the sender * Use Nilsimsa Compare Value instead of Levenshtein distance * Use MD5 for messages shorter than 10 characters * Add message to automated report, do not add non-public statuses to automated report, add trust level to accounts and make unsilencing raise the trust level to prevent repeated spam checks on that account * Expire spam check data after 3 months * Add support for local statuses, reduce expiration to 1 week, always create a report * Add content warnings to the spam check and exempt empty statuses * Change Nilsimsa threshold to 95 and make sure removed statuses are removed from the spam check * Add all matched statuses into automatic report
-
- Jul 11, 2019
-
-
Eugen Rochko authored
* Add HTTP signature requirement for served ActivityPub resources * Change `SECURE_MODE` to `AUTHORIZED_FETCH` * Add 'Signature' to 'Vary' header and improve code style * Improve code style by adding `public_fetch_mode?` method
-
Eugen Rochko authored
-
- Jul 10, 2019
-
-
Eugen Rochko authored
-
- Jul 09, 2019
-
-
Eugen Rochko authored
-
- Jul 08, 2019
-
-
Eugen Rochko authored
-
Eugen Rochko authored
-
- Jul 07, 2019
-
-
Eugen Rochko authored
-
- Jul 06, 2019
-
-
Eugen Rochko authored
* Remove Salmon and PubSubHubbub endpoints * Add error when trying to follow OStatus accounts * Fix new accounts not being created in ResolveAccountService
-
- Jul 05, 2019
-
-
Eugen Rochko authored
-
Eugen Rochko authored
-
- Jul 01, 2019
-
-
Eugen Rochko authored
* Add request pool to improve delivery performance Fix #7909 * Ensure connection is closed when exception interrupts execution * Remove Timeout#timeout from socket connection * Fix infinite retrial loop on HTTP::ConnectionError * Close sockets on failure, reduce idle time to 90 seconds * Add MAX_REQUEST_POOL_SIZE option to limit concurrent connections to the same server * Use a shared pool size, 512 by default, to stay below open file limit * Add some tests * Add more tests * Reduce MAX_IDLE_TIME from 90 to 30 seconds, reap every 30 seconds * Use a shared pool that returns preferred connection but re-purposes other ones when needed * Fix wrong connection being returned on subsequent calls within the same thread * Reduce mutex calls on flushes from 2 to 1 and add test for reaping
-
- Jun 28, 2019
-
-
Eugen Rochko authored
Fix #7940
-
- Jun 27, 2019
-
-
ThibG authored
* Fix account URI in UpdatePollSerializer Fixes #11185 * Add specs
-
- Jun 26, 2019
-
-
ThibG authored
Fixes #11127
-
- Jun 25, 2019
-
-
ThibG authored
* Apply filters to poll options in WebUI Fixes #11128 * Apply filters to poll options server-side * Add poll options to searchable text
-
- Jun 21, 2019
-
-
Eugen Rochko authored
* Change domain blocks to automatically support subdomains If a more authoritative domain is blocked (example.com), then the same block will be applied to a subdomain (foo.example.com) * Match subdomains of existing accounts when blocking/unblocking domains * Improve code style
-
- Jun 20, 2019
-
-
Eugen Rochko authored
Fix #8580 Fix #7143
-
- Jun 16, 2019
-
-
Eugen Rochko authored
Fix #10834
-
- Jun 07, 2019
-
-
Eugen Rochko authored
-
Eugen Rochko authored
-
- Jun 04, 2019
-
-
ThibG authored
* Do not misattribute inlined boosts if `attributedTo` isn't present Fixes #10950 * Fix tests
-
Eugen Rochko authored
* Fix poll API not requiring authentication on non-public polls That API does not reveal the content of the status, i.e. the question itself, nor who the author is, nor which status it belongs to, but it does reveal the poll options and how many answers they got Fix #10959 * Add test
-
- Jun 02, 2019
-
-
ThibG authored
Fixes #10890
-
- May 21, 2019
-
-
a authored
-
Paul Woolcock authored
* Add `from_account` to notifications API this adds the ability to filter notifications by the account they originated from * passing a non-existent user should cause none to be returned * Fix codeclimate warnings * fix more codeclimate warnings * make requested changes: * use account id instead of user@domain * name the param `account_id` instead of `from_account` * Don't use `return` in a lambda
-
- May 19, 2019
- May 17, 2019
-
-
ThibG authored
-
- May 14, 2019
-
-
ThibG authored
* Record account suspend/silence time and keep track of domain blocks * Also unblock users who were suspended/silenced before dates were recorded * Add tests * Keep track of suspending date for users suspended through the CLI * Show accurate number of accounts that would be affected by unsuspending an instance * Change migration to set silenced_at and suspended_at * Revert "Also unblock users who were suspended/silenced before dates were recorded" This reverts commit a015c65d2d1e28c7b7cfab8b3f8cd5fb48b8b71c. * Switch from using suspended and silenced to suspended_at and silenced_at * Add post-deployment migration script to remove `suspended` and `silenced` columns * Use Account#silence! and Account#suspend! instead of updating the underlying property * Add silenced_at and suspended_at migration to post-migration * Change account fabricator to translate suspended and silenced attributes * Minor fixes * Make unblocking domains always retroactive
-
- May 09, 2019
-
-
ThibG authored
* Prevent silenced local users from notifying remote users not following them This is an attempt to extend the local restrictions of silenced users to the federation. * Add tests * Add tests for making sure private status don't get sent over OStatus
-
- May 03, 2019
-
-
Eugen Rochko authored
* Change e-mail whitelist/blacklist to not be checked when invited And only when creating an account, not when updating it later Fix #10648 * Fix test
-
ThibG authored
* When trying to block an already-blocked domain, provide a link to the block * Fix styling for links in flash messages * Allow blocks to be upgraded but not downgraded
-
- May 02, 2019
-
-
ThibG authored
* Check that an invite link is valid before bypassing approval mode Fixes #10656 * Add tests * Only consider valid invite links in registration controller * fixup
-
- Apr 10, 2019
-
-
Eugen Rochko authored
-
Alex Gessner authored
* compare usernames case-insensitively on new proof creation flow * Fix code style issue
-
- Apr 09, 2019
-
-
Eugen Rochko authored
Fix sorting of the pending accounts page
-
Hinaloe authored
* Add spec of PollValidator for #10190 * Raise fraction less than 1 second * format * simplify time initialize
-
Eugen Rochko authored
* Add "why do you want to join" field to invite requests Fix #10512 * Remove unused translations * Fix broken registrations when no invite request text is submitted
-
- Apr 08, 2019
-
-
ThibG authored
* Refactor imports * Export show_reblogs when exporting list of followed users * Add support for importing show_reblogs with following collection * Fix tests
-