catstodon/spec/fabricators
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
2017-07-13 22:15:32 +02:00
..
account_domain_block_fabricator.rb Ensure unique identifiers in fabricated objects in tests (#3173) 2017-05-20 17:09:40 +02:00
account_fabricator.rb Ensure unique identifiers in fabricated objects in tests (#3173) 2017-05-20 17:09:40 +02:00
application_fabricator.rb Fix tests, add applications to eager loading/cache for statuses, fix 2017-01-15 14:01:33 +01:00
block_fabricator.rb add more tests to models 2017-04-05 00:29:56 +02:00
conversation_fabricator.rb Add conversation model, <ostatus:conversation /> (#3016) 2017-05-12 19:09:21 +02:00
conversation_mute_fabricator.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
domain_block_fabricator.rb Cover Admin::DomainBlocksController more (#3329) 2017-06-25 21:42:36 +02:00
favourite_fabricator.rb Delete records in smaller transaction (#2802) 2017-05-04 23:44:39 +02:00
follow_fabricator.rb add more tests to models 2017-04-05 00:29:56 +02:00
follow_request_fabricator.rb Remove redundant code in AtomSerializer and spec (#3528) 2017-06-03 20:51:08 +02:00
import_fabricator.rb Import feature for following/blocking lists (addresses #62, #177, #201, #454) 2017-03-30 19:42:33 +02:00
media_attachment_fabricator.rb Update fabricator for MediaAttachment to attach a file according to type (#3862) 2017-06-20 20:40:45 +02:00
mention_fabricator.rb add more tests to models 2017-04-05 00:29:56 +02:00
mute_fabricator.rb More status specs (#2564) 2017-04-28 15:10:41 +02:00
notification_fabricator.rb Fixes slow query in notifications api (#2851) 2017-05-06 21:55:40 +02:00
preview_card_fabricator.rb Ensure unique identifiers in fabricated objects in tests (#3173) 2017-05-20 17:09:40 +02:00
report_fabricator.rb Admin reports controller improvements (#1714) 2017-04-14 11:10:28 +02:00
session_activation_fabricator.rb Revocable sessions (#3616) 2017-06-23 18:50:53 +02:00
status_fabricator.rb Add specs for PostStatusService 2017-04-07 14:21:16 -04:00
stream_entry_fabricator.rb Cover ApplicationController more in spec (#3230) 2017-05-22 17:58:57 +02:00
subscription_fabricator.rb Spec coverage and refactor for pubsub/delivery worker (#3021) 2017-05-12 20:35:36 +02:00
tag_fabricator.rb Ensure unique identifiers in fabricated objects in tests (#3173) 2017-05-20 17:09:40 +02:00
user_fabricator.rb Ensure unique identifiers in fabricated objects in tests (#3173) 2017-05-20 17:09:40 +02:00
web_push_subscription_fabricator.rb Web Push Notifications (#3243) 2017-07-13 22:15:32 +02:00
web_setting_fabricator.rb Persist UI settings, add missing localizations for German 2017-01-09 14:00:55 +01:00