docbrown/app/policies
Fernando Valverde e602d50d32
Push Notification multi app support (#13304)
* PushNotificationTarget model + /admin/push_notifications (index)

* Admin panel CRUD + request tests

* Migrate Redis backed Rpush model responsibilities into PushNotificationTarget

* Fix failing specs

* Fix conflicts + clean up test by using constant reference

* Removed unused policy

* policy + services + misc feedback

* PushNotificationTarget refactored to AppIntegration

* Review feedback

* Some small cleanup

* Refactor AppIntegration -> ConsumerApp

* Fixing specs

* Trigger Travis

* More naming refactor changes

* Refactor services into queries

* Revert to where(...).first, fix typo and tests

* Apply suggestions from code review

Co-authored-by: rhymes <rhymes@hey.com>

* PR review feedback - create_or_find_by, validations, renaming + more tests

* Fix aria-label text

* Remove unnecessary individual index - composite index will do

Co-authored-by: rhymes <rhymes@hey.com>
2021-04-21 17:13:01 -06:00
..
admin_policy.rb
api_secret_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
application_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
article_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
chat_channel_membership_policy.rb
chat_channel_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
comment_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
consumer_app_policy.rb Push Notification multi app support (#13304) 2021-04-21 17:13:01 -06:00
follow_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
github_repo_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
html_variant_policy.rb
image_upload_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
internal_policy.rb
liquid_tag_policy.rb
listing_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
message_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
organization_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
rating_vote_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
reaction_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
response_template_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
stripe_active_card_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
stripe_subscription_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
tag_policy.rb
user_block_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
user_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
video_policy.rb