- May 19, 2018
-
-
Eugen Rochko authored
* Ensure push subscription is immediately removed when application is revoked * When token is revoked from app, unsubscribe too
-
Eugen Rochko authored
> Good lord what is happening in there Previously the contents of the Web Push API payloads closely resembled the structure of JavaScript's [Notification](https://developer.mozilla.org/en-US/docs/Web/API/Notification). But now that the API is open to non-browser apps, and given that there is no required coupling between contents of the payload and a Notification object, here is how I changed the payload: ```json { "access_token": "...", "preferred_locale": "en", "notification_id": "12345", "notification_type": "follow", "title": "So and so followed you", "body": "This is my bio", "icon": "https://example.com/avatar.png" } ``` The title, body and icon attributes are included as a fallback so you can construct a minimal notification if you cannot perform a network request to the API to get more data.
-
- May 18, 2018
-
-
Eugen Rochko authored
* Add preference to hide following/followers lists - Public pages - ActivityPub collections (does not return pages but does give total) - REST API (unless it's your own) (does not federate) Fix #6901 * Add preference * Add delegation * Fix issue * Fix issue
-
- May 13, 2018
-
-
Eugen Rochko authored
Fix #7462
-
- May 11, 2018
-
-
ThibG authored
-
Eugen Rochko authored
- POST /api/v1/push/subscription - PUT /api/v1/push/subscription - DELETE /api/v1/push/subscription - New OAuth scope: "push" (required for the above methods)
-
- May 07, 2018
-
-
Eugen Rochko authored
* Store actor type in database * Add bot nameplate to web UI, add setting to preferences, API, AP Fix #7365 * Fix code style issues
-
- May 06, 2018
-
-
Eugen Rochko authored
Follow-up to #6124
-
- May 05, 2018
-
-
Eugen Rochko authored
Fix #7303
-
- May 04, 2018
-
-
Eugen Rochko authored
* Store home feeds for 7 days instead of 14 Reduces workload for status fan-out to active followers * Fix test for user model
-
Eugen Rochko authored
Same URI passed between follow request and follow, since they are the same thing in ActivityPub. Local URIs are generated during creation using UUIDs and are passed to serializers.
-
- May 03, 2018
-
-
ThibG authored
* Revert "Fixes/do not override timestamps (#7331)" This reverts commit 581a5c9d. * Document Snowflake ID corner-case a bit more Snowflake IDs are used for two purposes: making object identifiers harder to guess and ensuring they are in chronological order. For this reason, they are based on the `created_at` attribute of the object. Unfortunately, inserting items with older snowflakes IDs will break the assumption of consumers of the paging APIs that new items will always have a greater identifier than the last seen one. * Add `override_timestamps` virtual attribute to not correlate snowflake ID with created_at
-
Eugen Rochko authored
-
Eugen Rochko authored
-
- May 02, 2018
-
-
abcang authored
* Keep notification when muting_notifications is true * Retrun mute object * Fix test
-
Eugen Rochko authored
Add raw bio fields to the source attribute on GET /api/v1/accounts/verify_credentials
-
Eugen Rochko authored
One RSA keypair for all fabricated test accounts is enough
-
- Apr 26, 2018
-
-
Eugen Rochko authored
* Add entity cache Use a caching layer for mentions and custom emojis that are dynamically extracted from text. Reduce duplicate text extractions * Fix code style issue
-
- Apr 23, 2018
-
-
Emelia Smith authored
The goal here isn't to prevent these hashtags from existing, but just to strongly curtail their usage; The hashtags may still exist in the database via federated status, or from being created prior to this feature.
-
Emelia Smith authored
-
Akihiko Odaki authored
-
Yamagishi Kazutoshi authored
* Update annotate to version 2.7.3 * Update aws-sdk-s3 to version 1.9.2 * Update browser to version 2.5.3 * Update capistrano to version 3.10.2 * Update domain_name to version 0.5.20180417 * Update http to version 3.2.0 * Update lograge to version 0.10.0 * Update oj to version 3.5.1 * Update parallel_tests to version 2.21.3 * Update puma to version 3.11.4 * Update rubocop to version 0.55.0 * Update scss_lint to version 0.57.0 * Update simplecov to version 0.16.1 * Update tty-command to version 0.8.0 * Update tty-prompt to version 0.16.0 * Update pkg-config to version 1.3.0 * Update fog-local to version 0.5.0 * Update fog-openstack to version 0.1.25 * Update devise-two-factor to version 3.0.3 * bundle update
-
Eugen Rochko authored
-
- Apr 22, 2018
-
-
Eugen Rochko authored
Fix #7198 by allowing records with optional attachments to save
-
- Apr 21, 2018
-
-
Eugen Rochko authored
* Force convert to JPG for preview card thumbnails to avoid animations Fix #7093 * Conditionally convert to JPG only if original is GIF Coalesce and strip on all formats to ensure no animated APNGs
-
- Apr 18, 2018
-
-
Kaito Sinclaire authored
* Added a timeline for Direct statuses * Lists all Direct statuses you've sent and received * Displayed in Getting Started * Streaming server support for direct TL * Changes to match other timelines in 2.0
-
- Apr 17, 2018
-
-
Eugen Rochko authored
-
- Apr 14, 2018
-
-
Eugen Rochko authored
* Add bio fields - Fix #3211 - Fix #232 - Fix #121 * Display bio fields in web UI * Fix output of links and missing fields * Federate bio fields over ActivityPub as PropertyValue * Improve how the fields are stored, add to Edit profile form * Add rel=me to links in fields Fix #121
-
- Apr 12, 2018
-
-
Yamagishi Kazutoshi authored
-
- Apr 11, 2018
-
-
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
-
-
Emelia Smith authored
* Further improvements to Reports UI - Clean up notes display - Clean up add new note form - Simplify controller - Allow reopening a report with a note - Show created at date for reports - Fix report details table formatting * Show history of report using Admin::ActionLog beneath the report * Fix incorrect log message when reopening a report * Implement fetching of all ActionLog items that could be related to the report * Ensure adding a report_note updates the report's updated_at * Limit Report History to actions that happened between the report being created and the report being resolved * Fix linting issues * Improve report history builder Thanks @gargron for the improvements
-
bb 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
-
MIYAGI Hikaru authored
- Explicitly specify video codec. When ffmpeg isn't compiled with libx264 but openh264, mpeg4 is selected as video codec. - Swap avarage bitrate and max bitrate.
-
- Apr 09, 2018
-
-
Akihiko Odaki authored
ancestor_statuses and descendant_statuses used to include the root status itself, but the behavior is confusing because the root status is not an ancestor nor descendant.
-
- 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
-
-
Eugen Rochko authored
Comparison was downcasing only one side, therefore if previously existing account had a non-lowercase spelling, it would be ignored when checking for duplicates. New rake task `mastodon:maintenance:find_duplicate_usernames` will help find constraint violations that might have occured from the presence of this bug. Bump version to 2.3.3
-
- 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
-