docbrown/app/models
Julianna Tetreault 31990b3d3b
Add Recent Reports to Users' Admin User Page (#10058) [deploy]
* Adds _reports partial and renders _reports.html.erb in /admin/users/edit.html.erb

* Adds a Recent Reports sections and a toggle function to /admin/users/_reports

* WIP: display feedback_messages in _reports.html.erb

* Adds #set_feedback_messages to Admin::Users::Controller and adjusts _reports.html.erb

* Adjusts #set_feedback_messages to look for message ids and adds to _reports.html.erb data

* Remove accidental dead code from Admin::Users::Controller

* Adjusts the else statement wording to be more fun

* Adjusts style of recent reports to mirror style of recent reactions

* Implement Admin UI changes to Recent Reports section of admin/users/:id/edit

* Adds a link to the admin_feedback_messages_path for each report in _reports.html.erb

* Adjusts the path used when a report is clicked on in _reports.html.erb

* Adds #user_types check to feedback_message.rb to determine Affected, Offender, or Reporter in _reports
2020-09-03 12:06:15 -06:00
..
ahoy [deploy] Rubocop: fix Rails/HasManyOrHasOneDependent for Ahoy::Visit and Badge (#9565) 2020-07-31 11:43:50 -04:00
articles Rubocop: Move from OpenStruct to Struct in Organization (#9431) 2020-07-30 21:04:05 +07:00
concerns [deploy] Set UserSubscription sourceable columns to nullable (#10033) 2020-08-27 16:25:48 +02:00
liquid_tags [deploy] Add role and docs for user subscription liquid tag (#9170) 2020-07-08 14:07:53 -04:00
webhook Routine rubocop fixes (#8685) 2020-06-16 11:09:15 +02:00
announcement.rb Add Polymorphism to Broadcasts (Part 1) (#9231) [deploy] 2020-07-13 09:36:19 -06:00
api_secret.rb Limit the Number of API Keys a User Can Have (#7870) 2020-05-15 11:33:02 +02:00
application_record.rb Filter only ordinary tables in estimated count (#8913) 2020-06-25 14:04:13 -04:00
article.rb [deploy] Add unique index on articles slug user_id (#10126) 2020-09-01 18:35:03 +02:00
audit_log.rb Nullify audit logs on users delete (#7275) 2020-04-15 18:26:16 +02:00
backup_data.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
badge.rb [deploy] Rubocop: fix Rails/HasManyOrHasOneDependent for Ahoy::Visit and Badge (#9565) 2020-07-31 11:43:50 -04:00
badge_achievement.rb Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
banished_user.rb Introduce BanishedUser table (#5589) [deploy] 2020-01-21 17:15:58 -05:00
broadcast.rb Fix Rails/HasManyOrHasOneDependent for Broadcast and Collection (#9662) 2020-08-07 14:27:24 -04:00
buffer_update.rb Reduce arguments method buff! at model buffer_update (#9793) 2020-08-18 19:42:01 +02:00
campaign.rb Introduce domain model for campaigns (#9300) 2020-07-20 09:04:53 -04:00
chat_channel.rb [deploy] Revert "Migrate ProfileImage to Images::Profile (#10055)" (#10149) 2020-09-01 18:28:58 -05:00
chat_channel_membership.rb [deploy] Revert "Migrate ProfileImage to Images::Profile (#10055)" (#10149) 2020-09-01 18:28:58 -05:00
collection.rb Fix Rails/HasManyOrHasOneDependent for Broadcast and Collection (#9662) 2020-08-07 14:27:24 -04:00
comment.rb Deleting hidden comment notification using after_update (#9823) 2020-08-31 11:01:25 +02:00
config.rb Add single resource admin concept (#5069) [deploy] 2019-12-11 13:17:55 -05:00
credit.rb Replace activerecord-import with Rails 6 insert_all and upsert_all (#8407) 2020-06-12 11:16:06 +02:00
data_update_script.rb Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
display_ad.rb [deploy] Extracts DisplayAds from Administrate into admin (#10153) 2020-09-02 09:28:22 -06:00
display_ad_event.rb Remove unused columns from display_ad_events (#6806) [deploy] 2020-03-25 17:47:05 -04:00
email_authorization.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
email_message.rb Rubocop: move dot in multi-line calls to leading position (#9262) 2020-07-16 15:51:11 +02:00
event.rb Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
feedback_message.rb Add Recent Reports to Users' Admin User Page (#10058) [deploy] 2020-09-03 12:06:15 -06:00
follow.rb Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
github_issue.rb [deploy] Add unique indexes - part 3 (#8050) 2020-05-26 08:34:53 -05:00
github_repo.rb [deploy] Optimization:Break Github Repo Updates into Individual Sidekiq Jobs (#10040) 2020-08-27 16:01:36 -05:00
growth.rb Add single resource admin concept (#5069) [deploy] 2019-12-11 13:17:55 -05:00
html_variant.rb [deploy] Replace #cloudinary with #optimized_image_url (#9876) 2020-08-21 14:46:00 -04:00
html_variant_success.rb [deploy] Add relations and foreign keys between HtmlVariant related models (#9846) 2020-08-18 11:33:38 -04:00
html_variant_trial.rb [deploy] Add relations and foreign keys between HtmlVariant related models (#9846) 2020-08-18 11:33:38 -04:00
identity.rb Update CODEOWNERS and team names in TODO comments (#9460) 2020-07-24 12:17:20 +07:00
invitation.rb [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
languages.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
listing.rb [deploy] Listing endorsements: models setup (#9841) 2020-08-20 11:13:44 +02:00
listing_category.rb Rubocop: Fix ListingCategory has_many relation to Listing (#9853) 2020-08-19 19:23:49 +02:00
listing_endorsement.rb [deploy] Listing endorsements: models setup (#9841) 2020-08-20 11:13:44 +02:00
mention.rb [deploy] Add missing unique indexes - part 2 (#8002) 2020-05-21 14:15:49 -05:00
message.rb [deploy] Revert "Migrate ProfileImage to Images::Profile (#10055)" (#10149) 2020-09-01 18:28:58 -05:00
mod.rb Add single resource admin concept (#5069) [deploy] 2019-12-11 13:17:55 -05:00
moderator_action.rb [deploy] Moderator and admin actions log (#6797) 2020-03-26 16:59:24 -05:00
note.rb [deploy] Add missing dependent clauses to User and cleanup relations (#10011) 2020-08-28 20:19:24 +02:00
notification.rb Rubocop: Enable and fix Style/OptionalBooleanParameter cop (#9711) 2020-08-10 19:35:55 +02:00
notification_subscription.rb Finalize UI for all types of notification settings (#3164) 2019-06-14 18:28:38 -04:00
organization.rb [deploy] Revert "Migrate ProfileImage to Images::Profile (#10055)" (#10149) 2020-09-01 18:28:58 -05:00
organization_membership.rb Refactoring ChatChannel - distributing into services (#9253) 2020-08-07 10:41:34 +02:00
page.rb Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
page_view.rb Add two new experiments and one new conversion event (#6633) [deploy] 2020-03-16 18:16:02 -04:00
permission.rb Add single resource admin concept (#5069) [deploy] 2019-12-11 13:17:55 -05:00
podcast.rb [deploy] Revert "Migrate ProfileImage to Images::Profile (#10055)" (#10149) 2020-09-01 18:28:58 -05:00
podcast_episode.rb [deploy] Add relations and foreign keys between Podcast related models (#9888) 2020-08-20 16:53:53 +02:00
poll.rb [deploy] Add relations and foreign keys between Poll related models (#9854) 2020-08-20 11:14:54 +02:00
poll_option.rb [deploy] Add relations and foreign keys between Poll related models (#9854) 2020-08-20 11:14:54 +02:00
poll_skip.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
poll_vote.rb Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
privileged_reaction.rb [deploy] New Feature: Mod Actions Panel (#7777) 2020-06-08 13:24:18 -04:00
profile.rb [deploy] Add Profiles::Update service object (#9912) 2020-09-03 09:19:25 -04:00
profile_field.rb [deploy] Start ignoring group column for profile fields (#10045) 2020-08-31 10:16:37 +07:00
profile_field_group.rb Add ProfileFieldGroupsController to API (#10124) 2020-09-03 10:12:53 +07:00
profile_pin.rb Fix Typos (#3510) 2019-07-22 12:56:48 -04:00
rating_vote.rb [deploy] Add missing foreign keys to models related to users (#10018) 2020-08-31 15:39:57 +02:00
reaction.rb Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
response_template.rb Add unique indexes - part 4 (#8059) 2020-05-27 09:29:20 +02:00
role.rb [deploy] Add new support admin role (#9681) 2020-08-07 22:52:13 -04:00
secret.rb [deploy] Feature: Setup Admin Area to Update Vault Secrets (#8935) 2020-06-29 15:08:09 -05:00
site_config.rb Allow admins to set brand color (#10097) 2020-09-01 11:16:31 +02:00
sponsorship.rb Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
tag.rb Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
tag_adjustment.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
tool.rb Add single resource admin concept (#5069) [deploy] 2019-12-11 13:17:55 -05:00
tweet.rb Rubocop: Enable and fix Style/StringConcatenation (#9844) 2020-08-18 14:50:15 +02:00
user.rb [deploy] Add Profiles::Update service object (#9912) 2020-09-03 09:19:25 -04:00
user_block.rb Routine rubocop fixes (#8685) 2020-06-16 11:09:15 +02:00
user_subscription.rb [deploy] Set UserSubscription sourceable columns to nullable (#10033) 2020-08-27 16:25:48 +02:00
webhook_endpoint.rb Add single resource admin concept (#5069) [deploy] 2019-12-11 13:17:55 -05:00
welcome.rb Add single resource admin concept (#5069) [deploy] 2019-12-11 13:17:55 -05:00
welcome_notification.rb Add Polymorphism to Broadcasts (Part 1) (#9231) [deploy] 2020-07-13 09:36:19 -06:00