docbrown/spec
Julianna Tetreault 24a3b50d4a
Add the Ability to Remove Badge Achievements From Users (#9896) [deploy]
* Moves badge_achievement-related code from /admin/bagdes to /admin/badge_achievements
  - Adds an Admin::BadgeAchievements::Controller
  - Moves #award and #award_badges to Admin::BadgeAchievements::Controller
  - Removes #award and #award_badges from Admin::Badges::Controller
  - Moves award.html.erb from /admin/badges to /admin/badge_achievements
  - Removes badge_achievement routes from /admin/badges
  - Adds a redirect for /admin/badges/badge_achievements to routes.rb
  - Cleans up and refactors code in controllers, views, and routes

* Add more actions to Admin::BadgeAchievements::Controller and matching routes
  - Adds an #index and #destory action to the BadgeAchievements::Controller
  - Adds destroy to the badge_achievements routes
  - Adjusts redirects for badge_achievements in routes.rb
  - Removes dead code from the index view for Badges
  - Refactors the existing code in the index view for BadgeAchievements

* Adds an /admin/badge_achievements_spec and cleans up the /admin/badges_spec
  - Removes the badge_achievement-related tests from badges_spec.rb
  - Adds an additional test around deleting badge_achievements

* Add pagination to badge_achievements index view

* Adds badge_achievements to Admin menu items and add comment to routes.rb
  -Add badge_achievements to the Admin nav bar
  -Add a comment regarding redirects for badge_achievements

* Resolve JS console stacktrace notices and change wording on deletion buttons

* Add a Back to Badge Achievements button to the badge award form

* Adjust styling to fix failing /admin/badges_spec.rb

* Uses SQL paging to optimize scalibility and adds search functionality to index.html.erb
  - Use SQL paging in Admin::BadgeAchievements::Controller in #index and #award
  - Add a search by user ID to Badge Achievements index view
  - Add a limit of 15 badges to be shown on the Badge Achievement index view
  - Add a User ID column to the Badge Achievement index view

* Add Award Badge button back to Badge Achievement index.html.erb

* Change @badge to be more explicit and reword warning around badge deletion

* Adds award badge button back, rewords success message, and adjusts SQL paging
2020-08-25 11:14:47 -06:00
..
black_box [deploy] Comment out flaky Blackbox Spec (#9778) 2020-08-13 16:37:36 -05:00
decorators [deploy] Replace #cloudinary with #optimized_image_url (#9876) 2020-08-21 14:46:00 -04:00
factories [deploy] Stop using ProfileField#active Part 1 (#9910) 2020-08-24 11:55:53 +07:00
fixtures [deploy] Seed profile fields (#9605) 2020-08-05 10:11:30 -04:00
helpers Display all authentication providers in mailer footer (#9961) 2020-08-24 21:02:05 +02:00
initializers [deploy] Refactor:Change Unset Var Warnings to Debug Level (#9985) 2020-08-25 09:45:42 +02:00
labor Allow Nginx cached static content to be purged (#9857) [deploy] 2020-08-21 09:31:23 -07:00
lib [deploy] Migrate profile data (#9750) 2020-08-20 11:17:57 +07:00
liquid_tags Rubocop: Enable and fix Style/StringConcatenation (#9844) 2020-08-18 14:50:15 +02:00
mailers [deploy] Add community_name to site config (#9864) 2020-08-19 14:54:40 -04:00
models [deploy] Add dependent clauses to relations for Organization and add cleanup scripts (#9932) 2020-08-24 19:35:02 +02:00
policies [deploy] [Moderation] Allow admins to delete comments (#9628) 2020-08-13 10:15:48 -04:00
queries/admin [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
requests Add the Ability to Remove Badge Achievements From Users (#9896) [deploy] 2020-08-25 11:14:47 -06:00
routing [deploy] Display banner if site hasn't been configured (PRE DEPLOYMENT TASKS) (#8435) 2020-07-07 07:37:04 -05:00
serializers/search Enable pending Style/SingleArgumentDig (#9842) 2020-08-18 10:26:40 -04:00
services Profile Fields Admin UI v2 (#9830) 2020-08-25 17:39:12 +02:00
support Add support for <picture> tag in RSSReader (#9977) 2020-08-24 19:10:37 -04:00
system Improve styling for series (#9893) 2020-08-24 09:53:51 +02:00
tasks Refactor:Send Welcome Broadcast Notifications From Sidekiq (#9923) 2020-08-21 12:57:08 -04:00
uploaders Flaky Spec Fix:Remove let_it_be Test Prof Helper (#9556) 2020-07-29 11:31:01 +02:00
view_objects Enable Rubocop 0.89 cops and fix Lint/ violations (#9709) 2020-08-10 16:57:12 +02:00
views [deploy] Add community_name to site config (#9864) 2020-08-19 14:54:40 -04:00
workers [deploy] Refactor:Move Enqueueing Podcast Workers to Sidekiq Cron (#9983) 2020-08-24 16:28:57 -05:00
rails_helper.rb Allow Nginx cached static content to be purged (#9857) [deploy] 2020-08-21 09:31:23 -07:00
spec_helper.rb Manually load dotenv in test (#9971) 2020-08-24 20:19:03 +02:00