docbrown/spec/requests
Ridhwana e250b46ed2
Using a Form Object that will persist for the Creator Settings Form (#15684)
* WIP: add a creatore settings form

* WIP: updat the controller to use the Creator Settings FOREM

* feat: use the creator settings form for the new action

* feat: add some default values for the new action

* a note about form data

* update the initiaize function to set some default values

* feat: update the form to use the model data

* feat: permit adn use the attributes within creator_settings_form

* update the flash error

* refactor: require and permit parameters

* chore: use booleans, set defaults and validate the form

* spec: update all the creator_settings tests

* chore: remove comment

* refactor: use self

* feat: aggregate failures'

* chore: remove the logo uploader in the controller

* refactor: update error handling

* feat: update the wasy the controller handles success and error

* chore: remove the resource errors

* feat: show flash message on new line

* fix: use a redirect so that we can get back to /new

* refactor: pass these values through as they seem to be caching whne setting them as default

* chore: change default values

* spec: update tests

* Fix CreatorSettingsForm specs

* fix: use a boolean for public

* spec: add another test for the success var

* fix: radio button labels to correspond + cyress specs

* spec: update based on new changes

* spec: update the params and the expected output

* spec: update the comments and status

* feat: no need for the initialize as we use Active Record Attributes

* feat: update the tac and coc to be persisted when ticked

* fix: amend spec

* blank space

* Message

Co-authored-by: Michael Kohl <me@citizen428.net>
2021-12-10 17:07:40 +02:00
..
admin Using a Form Object that will persist for the Creator Settings Form (#15684) 2021-12-10 17:07:40 +02:00
api/v0 ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
articles Spelling (#15702) 2021-12-07 06:59:10 -07:00
incoming_webhooks/mailchimp Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
notifications
oauth
podcasts views/podcasts, views/podcast_episodes i18n (#15020) 2021-10-25 14:32:51 +01:00
shared_examples Hiding comments: an option to hide or keep children (#15178) 2021-11-18 11:57:40 +03:00
stories Fixing weighted query hotness grab logic (#15528) 2021-11-30 12:55:48 -05:00
user Removing the stackbit integration (#15701) 2021-12-08 10:20:15 -05:00
api_secrets_create_spec.rb
api_secrets_destroy_spec.rb
article_approvals_spec.rb
async_info_spec.rb Creator Onboarding: Creator Setup View (#14728) 2021-11-01 15:50:08 -04:00
badges_spec.rb
collections_spec.rb
comments_create_spec.rb When a user is blocked from commenting on an article, show correct error message (#15009) 2021-10-14 07:42:08 -06:00
comments_destroy_spec.rb
comments_spec.rb Hiding comments: an option to hide or keep children (#15178) 2021-11-18 11:57:40 +03:00
comments_update_spec.rb
credits_spec.rb
dashboard_spec.rb Spelling (#15702) 2021-12-07 06:59:10 -07:00
devices_spec.rb ForemMobile namespaced functions (#15212) 2021-11-23 15:25:29 -06:00
discussion_locks_spec.rb Spelling (#15702) 2021-12-07 06:59:10 -07:00
display_ad_events_spec.rb
editor_spec.rb
email_subscriptions_spec.rb Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
feedback_messages_spec.rb ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
followings_spec.rb
follows_bulk_show_spec.rb Spelling (#15702) 2021-12-07 06:59:10 -07:00
follows_bulk_update_spec.rb
follows_create_spec.rb
follows_show_spec.rb
ga_events_spec.rb
github_repos_spec.rb ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
html_variant_successes_spec.rb
html_variant_trials_spec.rb
image_uploads_spec.rb
invitations_spec.rb
liquid_embeds_spec.rb
liquid_tags_request_spec.rb
listings_spec.rb ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
moderations_spec.rb Spelling (#15702) 2021-12-07 06:59:10 -07:00
notification_counts_spec.rb
notification_subscriptions_spec.rb
notifications_spec.rb Rename User.dev_account to User.staff_account (#14321) 2021-07-26 10:46:26 -04:00
onboardings_spec.rb
open_search_spec.rb
organizations_update_spec.rb
page_views_spec.rb
pages_spec.rb I18n copy on Tags index page (#14891) 2021-10-08 10:21:06 +07:00
poll_skips_spec.rb
poll_votes_spec.rb
profile_field_groups_request_spec.rb
profile_pins_spec.rb
profile_preview_cards_spec.rb Profile generalization cleanup phase 2 (#14555) 2021-08-27 09:17:26 +07:00
profiles_request_spec.rb
rating_votes_spec.rb
reactions_spec.rb Don't try to create invalid RatingVote (#14706) 2021-09-14 09:41:59 +07:00
reading_list_items_spec.rb
registrations_spec.rb Spelling (#15702) 2021-12-07 06:59:10 -07:00
response_templates_spec.rb
search_spec.rb ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
sidebars_spec.rb
sitemaps_spec.rb Fix legacy sitemap logic (#14926) 2021-10-07 08:59:16 -04:00
social_previews_spec.rb
stories_index_spec.rb Remove unneeded test (#15698) 2021-12-08 11:35:20 -06:00
stories_show_spec.rb Article layout (#14753) 2021-09-30 19:08:06 +02:00
stripe_active_cards_spec.rb
tag_adjustments_spec.rb
tags_spec.rb Update TagsController#index query (#15202) 2021-10-27 08:17:53 -04:00
universal_links_spec.rb Add exclusion to AASA supported paths (#14593) 2021-08-26 10:17:39 -06:00
user_blocks_spec.rb ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
user_subscriptions_spec.rb
users_onboarding_spec.rb Profile generalization cleanup phase 2 (#14555) 2021-08-27 09:17:26 +07:00
video_states_update_spec.rb
videos_spec.rb Videos UI update (#15177) 2021-10-28 09:34:44 +02:00