docbrown/app/controllers/admin
Rajat Talesra bbb9fd2e1e
Add more visibility to admins (part-2) (#19375)
* Basic thumbsup, thumbsdown and vomit

* Refined UI of flags and vomits

* If check

* Optimised code and added a method in article.rb

* Removed public keyword

* Nit fixes

* Section for flags and quality details

* Basic vomit item

* Quality item UI

* Separated code into partials

* UI changes and empty state added

* With correct implementation

* Fixed showing reaction items in all cases

* Dropdown visible

* Enabled click listerners and call functions for dropdown-button clicks

* Empty state UI fixed

* Tabs and divider UI

* Mark as valid/invalid conditions

* Nit fixes

* Logical fixes

* Added comments

* Partial item status update fix

* Reload page feature fixed

* Removed snackbar

* I18n strings

* Bug fix

* I18n strings

* Nit fixes

* Added date

* Added view details button

* Added view details test

* Sample test

* Test fixes

* Added tests for new article

* Flagged item tests added

* Added more tests

* Nit fix

* Suggested design changes

* Nit design fixes

* Tests with cy.intercept

* Nit fixes

* Nit fixes

* Hero Billboard Placement (#19467)

* init

* add option to swagger docs

* in_house validation

* filtered ad quesry changes

* styling and prioritizing home hero banner over campaign banner

* rubocop

* typo

* broken spec

* more spec fixes

* found the spec break culprit

* derp

* Update app/views/shared/_display_ad.html.erb

Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>

* Update app/controllers/stories_controller.rb

Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>

* remove immediate return

* styling feedback and moving banner to articles index

* remove nil

* updated styling

* add signed in bool

* add feature flag

* remove feature flag data scripts

---------

Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>

* Fix typo / erroneous word in Admin Section (#19488)

* Typo fixes

* Update admin_menu.rb

* Minor background and shadow change (#19501)

* Refresh audience segment for 'active' user (#19470)

* Refresh an individual user's segmentation

* Refresh segment if creating a published article

* Quick refactor

* Refresh segment if update publishing

* Quick refactor

* Refresh segment if update user settings

* Refresh segments after user update + role change

* Using latest_article_updated_at

* Sidekiq uses JSON for arguments, needs basic types

* Fix test issues with last_updated_at and sidekiq params

* Tests update continues

* Consolidate dependencies

* Method names acknowledging manual exclusive

* Fix test name copypasta

* Rubocop

* Try to clarify Creator#series

* Try to avoid naming predicate

* Remove erroneously included helper

* Improve onboarding “suggested tags” page design (#19475)

* Onboarding tags

* Logical design issue fixes

* Posts count added

* Checkbox design fixes

* Optimised css

* Nit fixes

* Test case added

* Reduced data

* Nit fix

* Added more tests

* Nit fix

* Tests updatedt

* Update @honeybadger-io/js to version 5.4.1 (#19479)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* Update sidekiq-cron to version 1.10.1 (#19473)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* Update nokogiri to version 1.15.0 (#19495)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* use tabindex instead of disabled to get proper keyboard nav on /onboarding tags (#19513)

* Add billboard to safe param list in Fastly vcl (#19515)

* Removed static article id from setup

* All tests passing

* Nit fixes

* Nit fixes

* Fixed tests with Joshua's help

* Added trusted user related tests

* Fixed few tests

* Added intercept and wait

* Removed tab and enter key

* Updated comment

* Updated tests

---------

Co-authored-by: Lawrence <lawrence@forem.com>
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
Co-authored-by: Peter Frank <peter.kim.frank@gmail.com>
Co-authored-by: Joshua Wehner <joshua@forem.com>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2023-05-26 19:15:12 +05:30
..
settings Permit params needs update to allow saving mastodon (see 0baafea) (#19210) 2023-03-08 09:00:08 -08:00
tags controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06:00
application_controller.rb ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
articles_controller.rb Add more visibility to admins (part-2) (#19375) 2023-05-26 19:15:12 +05:30
badge_achievements_controller.rb controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06:00
badges_controller.rb controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06:00
broadcasts_controller.rb controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06:00
comments_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
consumer_apps_controller.rb controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06:00
creator_settings_controller.rb Refactor CreatorSettingsForm & spec (#19011) 2023-01-27 08:39:07 -05:00
data_update_scripts_controller.rb Navigation Items and Role access for Data Update Scripts (#12292) 2021-02-09 17:41:14 +02:00
display_ads_controller.rb Allow DisplayAd to target users via audience segmentation (#19284) 2023-04-25 08:41:10 -04:00
email_messages_controller.rb Remove resource_admin dashboards (Administrate) (#11792) 2020-12-08 12:38:13 -06:00
extensions_controller.rb Introduce "extensions" (#16840) 2022-03-18 11:22:17 +02:00
feedback_messages_controller.rb feat: remove possible spam abuse (#18499) 2022-09-26 20:01:10 +02:00
gdpr_delete_requests_controller.rb Searchable GDPR Delete Requests Table (#17633) 2022-05-31 16:22:25 -06:00
html_variants_controller.rb Bullet and access policy fix for HtmlVariant admin page (#19391) 2023-04-27 18:24:14 +01:00
invitations_controller.rb Update Users::ProfileImageGenerator (#19040) 2023-02-01 06:12:26 -05:00
listing_categories_controller.rb controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06:00
listings_controller.rb Update ListingsController, resolves issue #17683 (#17685) 2022-05-18 16:29:14 -04:00
moderator_actions_controller.rb Favoring constant over magic string (#15852) 2021-12-27 11:31:29 -05:00
mods_controller.rb controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06:00
navigation_links_controller.rb Async Hamburger Menu Implementation + Caching Optimizations (#18818) 2022-12-20 20:00:08 +02:00
organization_memberships_controller.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
organizations_controller.rb Change order of organizations on /admin (#19499) 2023-05-23 10:41:18 +02:00
overview_controller.rb Display analytics up to yesterday instead of today (#17064) 2022-04-04 15:17:32 -04:00
pages_controller.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
permissions_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
podcasts_controller.rb Fix force params of the fetch episodes (#18932) 2023-02-14 11:37:35 +01:00
privileged_reactions_controller.rb Caching sum privileged reaction scores (#15299) 2021-11-08 12:50:08 -05:00
profile_field_groups_controller.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
profile_fields_controller.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
reactions_controller.rb Touch reactable after taking admin action (#19185) 2023-03-02 09:35:11 -05:00
response_templates_controller.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
settings_controller.rb controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06:00
spaces_controller.rb Ensuring confirmation and flash message for spaces (#17072) 2022-04-04 11:49:15 -04:00
tags_controller.rb Update onboarding suggested tag logic (#19477) 2023-05-23 17:22:27 +02:00
tools_controller.rb Add internal tool to preview feed configs (#18544) 2022-10-06 07:48:44 -04:00
users_controller.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
welcome_controller.rb Update WelcomeController's daily_threads query (#18203) 2022-07-26 10:03:16 -04:00