docbrown/app/controllers/admin
Ridhwana cae4c929ec
Save selected tags to the display ad model (#18633)
* feat: Add a pack file that pulls in the MultiSelect Component

* feat: move the tags to its own component

* save tags

* refactor: create a getCSRFToken function in the packs files so that it can be used in the admin

* feat: import the new module in request.js

* feat: remove unnecessary id

* feat: first pass of csrf token test

* chore: update the test

* fix: csrf token

* feat: hide the enw functionality behinda  feature flag

* fix: loading form twice

* refactor: import for csrftoken

* chore: update the description of the function

* feat: use acts_on_taggable to craete a relationship between display_ad and tag

* feat: add a tag field to the display_ad form

* feat: add the selected tags from the multiselect autocomplete component to the input text field that references the tag_list

* feat: add the tag_list to the controller so that we can save it to the db with the display ad parameters

* feat: pull out the tag validation from the article and the display_ads into a concern

* feat: write soem tests for validating the tag on the display_ads model

* feat: add the tag_list as a hidden field

* feat: set the selected tags on edit
2022-10-27 20:22:29 +02:00
..
settings controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06: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 Remove featured number usage from articles (#18510) 2022-09-28 08:59:03 -06:00
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 Refactoring questions asked of user (#15762) 2021-12-21 12:45:12 -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 Save selected tags to the display ad model (#18633) 2022-10-27 20:22:29 +02: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 Remove html variants tracking (#18594) 2022-10-21 14:57:20 +03:00
invitations_controller.rb Allowing UserQuery to filter on multiple roles (#17919) 2022-06-15 08:50:03 -04: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 Add "only display when logged out" as an option on Navigation Links (#18275) 2022-08-08 10:55:24 +01:00
organization_memberships_controller.rb Member Index View Actions: "Add Organization" (#17879) 2022-06-14 08:31:51 -06:00
organizations_controller.rb controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06:00
overview_controller.rb Display analytics up to yesterday instead of today (#17064) 2022-04-04 15:17:32 -04:00
pages_controller.rb controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06:00
permissions_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
podcasts_controller.rb controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06:00
privileged_reactions_controller.rb Caching sum privileged reaction scores (#15299) 2021-11-08 12:50:08 -05:00
profile_field_groups_controller.rb controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06:00
profile_fields_controller.rb controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06:00
reactions_controller.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
response_templates_controller.rb Admin can attach user via username (#18056) 2022-07-18 14:17:45 +02:00
secrets_controller.rb controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06: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 controllers/admin i18n (#17085) 2022-04-26 09:40:09 -06:00
tools_controller.rb Add internal tool to preview feed configs (#18544) 2022-10-06 07:48:44 -04:00
users_controller.rb Display information about "unpublish all" actions in the member manager (#18576) 2022-10-14 15:46:53 +03:00
welcome_controller.rb Update WelcomeController's daily_threads query (#18203) 2022-07-26 10:03:16 -04:00