- Apr 11, 2018
-
-
Alexander authored
* update gem, test pam authentication * add description for test parameters * fix inclusion of optional group
-
Akihiko Odaki authored
This also limits the statuses returned by API, but pagination is not implemented in Web API yet. I still expect it brings user experience better than making a user wait to fetch all ancestor statuses and flooding the column with them.
-
- Apr 10, 2018
-
-
Paul Woolcock authored
-
Emelia Smith authored
* Admin: Show unconfirmed email address on account page * Admin: Allow staff to change user email addresses * ActionLog: On change_email, log current email address and new unconfirmed email address
-
- Apr 08, 2018
-
-
Levi Bard authored
* Enable updating additional account information from user preferences via rest api Resolves #6553 * Pacify rubocop * Decoerce incoming settings in UserSettingsDecorator * Create user preferences hash directly from incoming credentials instead of going through ActionController::Parameters * Clean up user preferences update * Use ActiveModel::Type::Boolean instead of manually checking stringified number equivalence
-
- Apr 03, 2018
-
-
Eugen Rochko authored
-
Emelia Smith authored
Previously these returns 302 redirects instead of 403s, which meant posting links to admin pages in slack caused them to unfurl, rather than stay as a link. Additionally, require_admin! doesn't appear to be actively used, on require_staff!
-
- Apr 02, 2018
-
-
Emelia Smith authored
* Implement Assignment of Reports (#6967) * Change translation of admin.report.comment.label to "Report Comment" for clarity As we'll soon add the ability for reports to have comments on them, this clarification makes sense. * Implement notes for Reports This enables moderators to leave comments about a report whilst they work on it * Fix display of report moderation notes * Allow reports to be reopened / marked as unresolved * Redirect to reports listing upon resolution of report * Implement "resolve with note" functionality * Add inverse relationship for report notes * Remove additional database querying when loading report notes * Fix tests for reports * Fix localisations for report notes / reports
-
- Apr 01, 2018
-
-
David Underwood authored
Federate custom emojis with accounts
-
- Mar 27, 2018
-
-
unarist authored
Note that this spec has a pending test about dots in the username, because allowing it has been reverted for now.
-
- Mar 26, 2018
-
-
Akihiko Odaki authored
to_s method of HTTP::Response keeps blocking while it receives the whole content, no matter how it is big. This means it may waste time to receive unacceptably large files. It may also consume memory and disk in the process. This solves the inefficency by checking response length while receiving.
-
- Mar 24, 2018
-
-
Akihiko Odaki authored
-
Akihiko Odaki authored
HTTP connections must be explicitly closed in many cases, and letting perform method close connections makes its callers less redundant and prevent them from forgetting to close connections.
-
- Mar 20, 2018
-
-
Rey Tucker authored
* request: in the event of failure, try other IPs (#6761) In the case where a name has multiple A/AAAA records, we should try subsequent records instead of immediately failing when we have a failure on the first IP address. This significantly improves delivery success when there are network connectivity problems affecting only IPv4 or IPv6. * fix method call style * request_spec: adjust test case to use Addrinfo * request: Request/open: move private addr check to within begin/rescue * request_spec: add case to test failover, fix exception check * Double Addrinfo.foreach so that it correctly yields instances
-
- Mar 07, 2018
-
-
Eugen Rochko authored
-
- Mar 05, 2018
-
-
Akihiko Odaki authored
This is also implemented in Pawoo: https://github.com/pixiv/mastodon/commit/ceafdbd1bbf30fe20a2a814df0f8cae429a4e9db
-
- Mar 04, 2018
-
-
Akihiko Odaki authored
site_title is "Mastodon" by default configuration, and there is no need to default site_title with site_hostname in InstanceHelper.
-
Akihiko Odaki authored
Previously the default locale was set by Localized concern for controllers, but it was not enforced for mailers. config is enforced throughout the application and an appropriate place to set the default locale.
-
Eugen Rochko authored
* Federate pinned statuses over ActivityPub * Display pinned toots in web UI Fix #6117 * Fix migration * Fix tests * Update outbox_serializer.rb * Update remove_serializer.rb * Update add_serializer.rb * Update fetch_featured_collection_service.rb
-
Eugen Rochko authored
-
- Feb 28, 2018
-
-
Eugen Rochko authored
* Fix #2176: Federated reports * UI for federated reports * Add spec for ActivityPub Flag handler * Add spec for ReportService
-
- Feb 24, 2018
-
-
Akihiko Odaki authored
-
Akihiko Odaki authored
A complemental change for precompute_feed_service_spec.rb also fixes its random failure which is caused by the Snowlake randomization of the order of an original status and its reblog.
-
- Feb 22, 2018
-
-
Eugen Rochko authored
* Redesign landing page (again) * Move login form in small version to the right column * Display closed registrations message * Add site setting for the hero image * Fix test * Increase spacing, maximum width, change call to action section
-
- Feb 21, 2018
-
-
Eugen Rochko authored
It was merge when it needed to be deep_merge. And added some tests
-
Eugen Rochko authored
* Fix #201: Account archive download * Export actor and private key in the archive * Optimize BackupService - Add conversation to cached associations of status, because somehow it was forgotten and is source of N+1 queries - Explicitly call GC between batches of records being fetched (Model class allocations are the worst offender) - Stream media files into the tar in 1MB chunks (Do not allocate media file (up to 8MB) as string into memory) - Use #bytesize instead of #size to calculate file size for JSON (Fix FileOverflow error) - Segment media into subfolders by status ID because apparently GIF-to-MP4 media are all named "media.mp4" for some reason * Keep uniquely generated filename in Paperclip::GifTranscoder * Ensure dumped files do not overwrite each other by maintaing directory partitions * Give tar archives a good name * Add scheduler to remove week-old backups * Fix code style issue
-
- Feb 20, 2018
-
-
abcang authored
-
- Feb 18, 2018
-
-
Kazushige Tominaga authored
* Added #link_header spec * Added #call spec * Delete spec of private methods * Added call test case activitypub
-
- Feb 17, 2018
-
-
Akihiko Odaki authored
The cache store is explicitly used by some specs, but they were not isolated and therefore not reliable. This fixes the issue by clearing the cache after each specs.
-
Akihiko Odaki authored
Some available languages lack translations for notification mails. Now it tests for two languages which is certain to have required translations: German and English. German is the language the current project owner, Eugen Rochko speaks, and providing English translations for new messages is de facto mandatory.
-
- Feb 16, 2018
-
-
Eugen Rochko authored
* Save metadata from video attachments, put correct dimensions into OG tags * Add twitter:player for videos * Fix code style and test
-
- Feb 11, 2018
-
-
Daniel King authored
In cases where a URL has a trailing hyphen the FetchLinkCardService incorrectly removes the hyphen when it is parsed The hyphen is not a reserved character in the URI spec https://tools.ietf.org/html/rfc3986#section-2.2
-
- Feb 10, 2018
-
-
Kazushige Tominaga authored
* Added #link_header spec * Added #call spec * Delete spec of private methods * Added #call spec
-
Kazushige Tominaga authored
* Added #link_header spec * Added #call spec * Delete spec of private methods
-
- Feb 09, 2018
-
-
Eugen Rochko authored
* Add full-text search for authorized statuses - Search API will return statuses that match the query - Only for logged in users - Only if you are author of the status, - Or you were mentioned in it - Or you favourited or reblogged it - Configuration over `ES_ENABLED`, `ES_HOST`, `ES_PORT`, `ES_PREFIX` - Run `rails chewy:deploy` to create & populate index Fix #5880 Fix #4293 Fix #1152 * Add commented out docker-compose configuration for ES container * Optimize index import, filter search results * Add basic normalization to the index * Add better stemming and normalization to the index * Skip webfinger request if search query includes both @ and a space * Fix code style * Visually separate search result sections * Fix code style issues
-
- Feb 08, 2018
-
-
Kazushige Tominaga authored
* Added #link_header spec * Added #perform_request spec
-
abcang authored
-
- Feb 07, 2018
-
-
Kazushige Tominaga authored
-
- Feb 04, 2018
-
-
Eugen Rochko authored
* Cas authentication feature * Config * Remove class_eval + Omniauth initializer * Codeclimate review * Codeclimate review 2 * Codeclimate review 3 * Remove uid/email reconciliation * SAML authentication * Clean up code * Improve login form * Fix code style issues * Add locales
-
- Feb 02, 2018
-
-
abcang authored
-