You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec/models
Sorin Davidoi 0c7c188c45 Web Push Notifications (#3243)
* 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
8 years ago
..
concerns Introduce StatusThreadingConcern (#3490) 8 years ago
web Web Push Notifications (#3243) 8 years ago
account_domain_block_spec.rb Spec AccountDomainBlock (#3816) 8 years ago
account_filter_spec.rb Add coverage for ReportFilter and AccountFilter (#3236) 8 years ago
account_spec.rb Some minor change and spec for Account (#3813) 8 years ago
block_spec.rb Cover Block more (#3837) 8 years ago
conversation_mute_spec.rb Feature conversations muting (#3017) 8 years ago
conversation_spec.rb Add conversation model, <ostatus:conversation /> (#3016) 8 years ago
domain_block_spec.rb Cover DomainBlock more (#3838) 8 years ago
export_spec.rb Cover Export more (#3840) 8 years ago
favourite_spec.rb Cover Favourite more (#3841) 8 years ago
feed_spec.rb Remove sort in Feed (#4050) 8 years ago
follow_request_spec.rb add more tests to models 8 years ago
follow_spec.rb Introduce recent to Follow (#3247) 8 years ago
import_spec.rb Import feature for following/blocking lists (addresses #62, #177, #201, #454) 8 years ago
media_attachment_spec.rb Add media dimensions (#2448) 8 years ago
mention_spec.rb add more tests to models 8 years ago
mute_spec.rb Mute button progress so far. WIP, doesn't entirely work correctly. 8 years ago
notification_spec.rb Adding unified streamable notifications 9 years ago
preview_card_spec.rb Fix #463 - Fetch and display previews of URLs using OpenGraph tags 8 years ago
report_filter_spec.rb Add coverage for ReportFilter and AccountFilter (#3236) 8 years ago
report_spec.rb Reports spec for media attachments, clean up method (#2660) 8 years ago
session_activation_spec.rb Revocable sessions (#3616) 8 years ago
status_spec.rb Fix regression from #3842 (#3892) 8 years ago
stream_entry_spec.rb Stream entry specs and refactor to use delegate (#2827) 8 years ago
subscription_spec.rb Misc spec coverage improvements (#2821) 8 years ago
tag_spec.rb Make tag search case insensitive again (#4184) 8 years ago
user_spec.rb Add a setting allowing the use of system's default font in Web UI (#4033) 8 years ago