- Jul 31, 2017
-
-
Yamagishi Kazutoshi authored
-
- Jul 27, 2017
-
-
nullkal authored
-
- Jul 24, 2017
-
-
sdukhovni authored
* Allow domain blocks to reject media without silencing or suspending * Fix typo * Hide 'Reject media' button when superfluous, instead of disabling it * Properly hide 'reject media' checkbox on page load if needed This may happen when resubmitting the domain block form after an error. * Don't ask whether undoing a media-only block should be retroactive * Rename :media_only block to :noop * Display :noop block as None in frontend, allow blocks that do nothing * Remove 'coding' line auto-added by emacs
-
- Jul 22, 2017
-
-
Eugen Rochko authored
-
- Jul 19, 2017
-
-
Eugen Rochko authored
* Do not raise unretryable exceptions in ResolveRemoteAccountService * Removed fatal exceptions from ResolveRemoteAccountService Exceptions that cannot be retried should not be raised. New exception class for those that can be retried (Mastodon::UnexpectedResponseError)
-
Sorin Davidoi authored
-
Eugen Rochko authored
-
Akihiko Odaki authored
-
Eugen Rochko authored
* Refactor ResolveRemoteAccountService * Remove trailing whitespace * Use redis locks around critical ResolveRemoteAccountService code * Add test for race condition of lock
-
- Jul 18, 2017
-
-
Eugen Rochko authored
-
Akihiko Odaki authored
* Wrap methods of ProcessFeedService::ProcessEntry in classes This is a change same with 425acecf, except that it has the following changes: * Revert irrelevant change in find_or_create_conversation * Fix error handling for RemoteActivity * Introduce Ostatus name space
-
Sorin Davidoi authored
-
- Jul 15, 2017
-
-
ThibG authored
* Add dependency on idn-ruby to speed up URI normalization * Use normalized_host instead of normalize.host when applicable When we are only interested in the normalized host, calling normalized_host avoids normalizing the other components of the URI as well as creating a new object
-
- Jul 14, 2017
-
-
Eugen Rochko authored
* Fix #2672 - Connect signed PuSH subscription requests to instance domain Resolves #2739 * Fix return of locate_subscription * Fix tests
-
Eugen Rochko authored
* Add Request class with HTTP signature generator Spec: https://tools.ietf.org/html/draft-cavage-http-signatures-06 * Add HTTP signature verification concern * Add test for SignatureVerification concern * Add basic test for Request class * Make PuSH subscribe/unsubscribe requests use new Request class Accidentally fix lease_seconds not being set and sent properly, and change the new minimum subscription duration to 1 day * Make all PuSH workers use new Request class * Make Salmon sender use new Request class * Make FetchLinkService use new Request class * Make FetchAtomService use the new Request class * Make Remotable use the new Request class * Make ResolveRemoteAccountService use the new Request class * Add more tests * Allow +-30 seconds window for signed request to remain valid * Disable time window validation for signed requests, restore 7 days as PuSH subscription duration (which was previous default due to a bug)
-
Eugen Rochko authored
- Use unicode when selecting emoji through picker - Convert shortcodes to unicode when storing text input server-side - Do not convert shortcodes in JS anymore
-
- Jul 13, 2017
-
-
Sorin Davidoi authored
* feat: Register push subscription * feat: Notify when mentioned * feat: Boost, favourite, reply, follow, follow request * feat: Notification interaction * feat: Handle change of public key * feat: Unsubscribe if things go wrong * feat: Do not send normal notifications if push is enabled * feat: Focus client if open * refactor: Move push logic to WebPushSubscription * feat: Better title and body * feat: Localize messages * chore: Fix lint errors * feat: Settings * refactor: Lazy load * fix: Check if push settings exist * feat: Device-based preferences * refactor: Simplify logic * refactor: Pull request feedback * refactor: Pull request feedback * refactor: Create /api/web/push_subscriptions endpoint * feat: Spec PushSubscriptionController * refactor: WebPushSubscription => Web::PushSubscription * feat: Spec Web::PushSubscription * feat: Display first media attachment * feat: Support direction * fix: Stuff broken while rebasing * refactor: Integration with session activations * refactor: Cleanup * refactor: Simplify implementation * feat: Set VAPID keys via environment * chore: Comments * fix: Crash when no alerts * fix: Set VAPID keys in testing environment * fix: Follow link * feat: Notification actions * fix: Delete previous subscription * chore: Temporary logs * refactor: Move migration to a later date * fix: Fetch the correct session activation and misc bugs * refactor: Move migration to a later date * fix: Remove follow request (no notifications) * feat: Send administrator contact to push service * feat: Set time-to-live * fix: Do not show sensitive images * fix: Reducer crash in error handling * feat: Add badge * chore: Fix lint error * fix: Checkbox label overlap * fix: Check for payload support * fix: Rename action "type" (crash in latest Chrome) * feat: Action to expand notification * fix: Lint errors * fix: Unescape notification body * fix: Do not allow boosting if the status is hidden * feat: Add VAPID keys to the production sample environment * fix: Strip HTML tags from status * refactor: Better error messages * refactor: Handle browser not implementing the VAPID protocol (Samsung Internet) * fix: Error when target_status is nil * fix: Handle lack of image * fix: Delete reference to invalid subscriptions * feat: Better error handling * fix: Unescape HTML characters after tags are striped * refactor: Simpify code * fix: Modify to work with #4091 * Sort strings alphabetically * i18n: Updated Polish translation it annoys me that it's not fully localized :P * refactor: Use current_session in PushSubscriptionController * fix: Rebase mistake * fix: Set cacheName to mastodon * refactor: Pull request feedback * refactor: Remove logging statements * chore(yarn): Fix conflicts with master * chore(yarn): Copy latest from master * chore(yarn): Readd offline-plugin * refactor: Use save! and update! * refactor: Send notifications async * fix: Allow retry when push fails * fix: Save track for failed pushes * fix: Minify sw.js * fix: Remove account_id from fabricator
-
- Jul 11, 2017
-
-
Eugen Rochko authored
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
ProcessFeedService::ProcessEntry had many methods, so wrap them in classes representing activities.
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
-
- Jul 10, 2017
-
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
-
abcang authored
-
- Jul 09, 2017
-
-
abcang authored
* Rescue exceptions related to Goldfinger * Exclude Goldfinger::SSLError
-
- Jul 08, 2017
-
-
nullkal authored
* Specs for language detection * Use CharlockHolmes instead of NKF * Correct mistakes * Correct style * Set hint_enc instead of falling back and strip_tags * Improve specs * Add dependencies
-
- Jul 07, 2017
-
-
Eugen Rochko authored
Ensure the only allowed author of top-level entries in feed is the person the feed belongs to (a verified user). Ensure delete events only apply if the deleted item belonged to that user.
-
Eugen Rochko authored
-
- Jul 05, 2017
-
-
abcang authored
-
- Jul 03, 2017
-
-
abcang authored
-
- Jun 30, 2017
-
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
-
- Jun 29, 2017
-
-
abcang authored
-
- Jun 28, 2017
-
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
-
- Jun 26, 2017
-
-
ThibG authored
-
- Jun 20, 2017
-
-
ThibG authored
* Actually create conversations given explicit URIs * Try to get the parent toot in before validation, to avoid creating a new conversation
-
Akihiko Odaki (@fn_aki@pawoo.net) authored
The classes using Status.as_home_timeline, namely Feed and PrecomputeFeedService are expected to filter direct statuses as FanOutWriteService does, but their filtering were incomplete or missing. This commit solves the problem by filtering direct statuses in as_home_timeline as the other similar methods such as as_public_timeline does.
-
- Jun 18, 2017
-
-
Eugen Rochko authored
Rename Activitypub to ActivityPub
-
- Jun 15, 2017
-
-
ThibG authored
-
- Jun 14, 2017
-
-
Eugen Rochko authored
account before removing content for quicker feedback to end-users
-
Eugen Rochko authored
* Make Pubsubhubbub::DistributionWorker handle both single stream entry arguments, as well as arrays of stream entries * Add BatchedRemoveStatusService, make SuspendAccountService use it * Improve method names * Add test * Add more tests * Use PuSH payloads of 100 to have a clear mapping of 1000 input statuses -> 10 PuSH payloads It was nice while it lasted
-