docbrown/app/models
Andy Zhao 5ace9a5fc9 Organization Notifications (#1762)
* Add spec for org reaction notification

* Add organization_id to notifications

* Add validations for user and org IDs

* Move comment json_data out of loop

* Use actual column names instead

* Add organization filters

* Remove extra text-align

* Add organization filtering

* Refactor to reduce complexity

* Add receiver argument to handle orgs

* Add has_many notifications for orgs

* Add follow notifications for orgs

* Add comment notifications for orgs

* Rename some tests for specificity

* Add mark org notifications as read functionality

* Add radix to parseInt

* Define json_data outside of loop

* Notify org followers of a new post as well

* Move test to proper location

* Add test for aggregated method

* Make send org reaction notification more readable

* Test the rest of the notification model

* Refactor tag adjustment spec

* Fix extra html
2019-02-25 14:25:37 -08:00
..
concerns Initial commit 2018-02-28 16:11:08 -05:00
.keep Initial commit 2018-02-28 16:11:08 -05:00
api_secret.rb ApiSecret model for Developer API (#1369) 2019-01-08 12:30:54 -05:00
application_record.rb Initial commit 2018-02-28 16:11:08 -05:00
article.rb Bust cache on article destroy instead of resave articles #1621 (#1801) 2019-02-23 19:41:06 -08:00
badge.rb Minimize creation of CacheBuster objects (#599) 2018-07-24 10:30:30 -07:00
badge_achievement.rb Fix URL Validations and Update Admin Dashboard (#1392) 2018-12-26 18:00:02 -05:00
block.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
broadcast.rb WIP Refactor/notifications (#1131) 2018-11-19 16:09:02 -05:00
buffer_update.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
chat_channel.rb Replace each with find_each for AR queries (#1557) 2019-01-15 16:38:03 -05:00
chat_channel_membership.rb Fix /connect bug and add email-if-inactive functionality (#482) 2018-08-27 14:29:53 -04:00
collection.rb Add ability for users to publish series (#1034) 2018-10-29 13:04:42 -04:00
comment.rb Organization Notifications (#1762) 2019-02-25 14:25:37 -08:00
display_ad.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
email_message.rb Fix repeated queries for reports (#835) 2018-10-09 12:42:55 -04:00
event.rb Use timezone aware methods (#893) 2018-10-18 16:26:29 -04:00
feedback_message.rb Fix repeated queries for reports (#835) 2018-10-09 12:42:55 -04:00
follow.rb Fix delayed job errors related to follows #1621 (#1835) 2019-02-23 18:16:20 -08:00
github_issue.rb Implement GitHub PR liquid tag support (#1784) 2019-02-15 13:40:15 -05:00
github_repo.rb Add profile_updated_at and github_repos_updated_at to avoid extra fet… (#1754) 2019-02-06 20:39:15 -04:00
html_variant.rb Add html_variant split testing to /badge (#1763) 2019-02-08 12:45:14 -04:00
html_variant_success.rb Add HTML variants for cta optimization and other nav bar adjustments (#970) 2018-10-22 17:03:57 -04:00
html_variant_trial.rb Add HTML variants for cta optimization and other nav bar adjustments (#970) 2018-10-22 17:03:57 -04:00
identity.rb Initial commit 2018-02-28 16:11:08 -05:00
job_opportunity.rb Fix rubocop lints (#794) 2018-10-03 13:00:09 -04:00
mention.rb Notifications part 2 (#1156) 2018-11-19 18:14:24 -05:00
mentor_relationship.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
message.rb Replace each with find_each for AR queries (#1557) 2019-01-15 16:38:03 -05:00
note.rb Add user status to internal/users (#1444) 2019-01-03 16:44:43 -05:00
notification.rb Organization Notifications (#1762) 2019-02-25 14:25:37 -08:00
organization.rb Organization Notifications (#1762) 2019-02-25 14:25:37 -08:00
podcast.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
podcast_episode.rb Fix Rubocop Style/MixinUsage and cleanup prefix_all_images (#1451) 2019-01-04 14:20:53 -05:00
push_notification_subscription.rb Add browser push notifications (attempt) (#412) 2018-06-09 17:33:58 -04:00
reaction.rb Fix ActiveRecord::RecordNotFound in Delayed::Jobs on article destroy (#1699) 2019-02-07 16:57:17 -05:00
role.rb Remove harsh video restriction and add video duration (#1811) 2019-02-16 17:42:44 -04:00
search_keyword.rb Add search_keywords record and associated functionality (#494) 2018-06-25 11:58:07 -04:00
tag.rb Improve performance for additional content boxes and tags index (#1750) 2019-02-06 16:50:35 -04:00
tag_adjustment.rb Rubocop cleanups (#1415) 2019-01-02 11:20:02 -05:00
tweet.rb Fix linting (#1463) 2019-01-04 21:13:12 -05:00
user.rb Bust cache on article destroy instead of resave articles #1621 (#1801) 2019-02-23 19:41:06 -08:00