docbrown/app/views
Diogo Osório 3bc51a13cc
Fixes 500 error when viewing the "Tag Mods" page without having the role on the database (#10515)
* Makes the ModeratorsQuery not return an exception on invalid role

The current implementation of the query would yield an exception when
recieving an invalid state parameter. As per the [GH issue
discussion](https://github.com/forem/forem/issues/10060#issuecomment-692295217),
Zhao recommended to change its behaviour and not trigger an exception in
this condition.

This commit does just that. If the state argument is invalid, the query
now returns an empty result set.

* Adds a warning when there are no matching mods

* Re-trigger the build
2020-10-01 12:55:25 -06:00
..
admin Fixes 500 error when viewing the "Tag Mods" page without having the role on the database (#10515) 2020-10-01 12:55:25 -06:00
api/v0 API: Add route for fetching a user's followed tags (#9108) 2020-09-18 16:28:42 -05:00
articles Crayonisification of "Reading list" (#10428) 2020-09-28 15:53:20 -04:00
badges [deploy] Replace #cloudinary with #optimized_image_url (#9876) 2020-08-21 14:46:00 -04:00
chat_channel_memberships [deploy] 🚀 Feature: Chat channel request manager (#9305) 2020-07-22 09:12:09 -04:00
chat_channels [deploy] Reintroduce sticky_nav changes (ab81f36 & 7f92855) (#10263) 2020-09-09 15:33:13 -04:00
collections [deploy] Add index and show pages for series (#9201) 2020-07-29 10:01:52 -04:00
comments Fix bug that arises when a previously tagged comment is deleted (#10486) 2020-09-29 13:43:25 -04:00
credits Set Stripe dynamically instead of at boot (#9862) 2020-08-19 21:24:19 -04:00
dashboards [deploy] Reintroduce sticky_nav changes (ab81f36 & 7f92855) (#10263) 2020-09-09 15:33:13 -04:00
devise Add multiple entry options (#10117) 2020-09-01 08:59:52 -04:00
doorkeeper [deploy] Replace #cloudinary with #optimized_image_url (#9876) 2020-08-21 14:46:00 -04:00
email_subscriptions Removal of morrrre hardcoded dev.to links (#7390) 2020-04-21 11:50:18 +02:00
events [deploy] Replace #cloudinary with #optimized_image_url (#9876) 2020-08-21 14:46:00 -04:00
feedback_messages [deploy] Replace HEROKU_SLUG_COMMIT with custom footprint (naive) (#9904) 2020-08-25 13:47:14 -04:00
fields Ignore unused users columns (#6954) [deploy] 2020-04-01 10:11:40 +02:00
followings Refactor jbuilder (#7411) 2020-04-24 12:49:12 +02:00
github_repos Refactoring GitHub Repos functionality - step 1 (#7764) 2020-05-12 13:48:19 +02:00
homepage Stories views reorganization (#1317) 2018-12-13 14:54:02 -05:00
kaminari/internal Upgrade erb_lint to support latest Rubocop and fix violations (#9663) 2020-08-07 15:36:48 +02:00
layouts Crayonisification of "Reading list" (#10428) 2020-09-28 15:53:20 -04:00
liquid_embeds [deploy] Replace HEROKU_SLUG_COMMIT with custom footprint (naive) (#9904) 2020-08-25 13:47:14 -04:00
liquids [deploy] Create details liquid tag (#9777) 2020-08-17 20:28:00 -04:00
listings Crayonsification of Listings form (#10429) 2020-09-30 09:14:48 +02:00
mailers [deploy] Bug Fix:Update Text Request Email with confirm_delete Link (#10277) 2020-09-10 13:54:30 -05:00
moderations Add and apply crayons link header style (#10368) 2020-09-30 16:14:38 +02:00
notifications Add and apply crayons link header style (#10368) 2020-09-30 16:14:38 +02:00
onboardings [deploy] Replace HEROKU_SLUG_COMMIT with custom footprint (naive) (#9904) 2020-08-25 13:47:14 -04:00
open_search [deploy] Remove need for ENV vars during asset precompile (#10349) 2020-09-16 13:57:05 -04:00
organizations [deploy] Frontend cleanups (#10416) 2020-09-24 08:15:12 -05:00
pages [deploy] Add ga tracking to config (#10150) 2020-09-04 09:37:16 -04:00
partnerships [deploy] Reintroduce sticky_nav changes (ab81f36 & 7f92855) (#10263) 2020-09-09 15:33:13 -04:00
podcast_episodes [deploy] Frontend cleanups (#10416) 2020-09-24 08:15:12 -05:00
podcasts [deploy] Frontend cleanups (#10416) 2020-09-24 08:15:12 -05:00
profile_field_groups Add ProfileFieldGroupsController to API (#10124) 2020-09-03 10:12:53 +07:00
reading_list_items Crayonisification of "Reading list" (#10428) 2020-09-28 15:53:20 -04:00
resouce_admin/application [deploy] Move Admin interface paths (#9576) 2020-08-03 08:49:23 -04:00
response_templates Refactor jbuilder (#7411) 2020-04-24 12:49:12 +02:00
service_worker Refactor: Extract app-shell unsupported paths (#10504) 2020-10-01 13:41:59 -04:00
shared Add multiple entry options (#10117) 2020-09-01 08:59:52 -04:00
shell [deploy] Refactor: Cleanup Frontend Code (#10466) 2020-09-28 08:57:34 -05:00
sitemaps Replaced ApplicationConfig with app_url in views (#7708) 2020-05-08 13:19:29 +03:00
social_previews [deploy] Reintroduce sticky_nav changes (ab81f36 & 7f92855) (#10263) 2020-09-09 15:33:13 -04:00
stories [deploy] Frontend cleanups (#10416) 2020-09-24 08:15:12 -05:00
tags Fix incomplete inline CSS style (#9960) 2020-08-23 12:50:25 -04:00
twitch_live_streams Replace querySelector and getElementsByTagName when selecting for head and body (#8315) 2020-06-08 20:08:40 -04:00
users [deploy] Frontend cleanups (#10416) 2020-09-24 08:15:12 -05:00
video_chats Fix remaining erblint errors (#8405) 2020-06-11 20:03:19 +02:00
videos [deploy] Fixes a duplicate page title on the /videos page (#10170) 2020-09-03 16:07:11 +02:00