docbrown/spec/system/admin
Michael Kohl 8f5cfa2c0f
Drop profile columns from user (#10707)
* Prepare to drop profile columns from user

* Update code and factory

* Also remove unused constant

* Move validation from user to profile

* Remove Profiles::ExtractData service object

* Add more comments

* Simplify sameAs attribute generation

* Obey me machine, I am your master

* Fix condition order in guard clause

* Temporarily disable callback

* Fix specs

* Reduce usage of Profile#refresh_attributes!

* Remove leftover comment

* Handle social media links differently

* More spec fixes

* Fix specs for admin profile fields controller

* Fix specs after merge

* Fix remaining specs

* Update user show request spec

* Add comment for follow_hiring_tag

* Only save profile when user is valid

* Fix seeds.rb for profile fields

* Switch from before_save to after_save

* Undo unrelated formattin change

* Update spec/fixtures/files/profile_fields.csv

Co-authored-by: Molly Struve <mollylbs@gmail.com>

* Remove data update script and spec

* Fix spec

* Fix typo in comment

* Fix typo in comment

* Move article resave logic to service object

* Move profile field creation to before(:suite)

* Refactor error handling in Profiles::Update

* Fix Profiles::Update specs and refactor

* Temporarily disable spec

* Add ProfileValidator

* Clean up

* Move DB ready check into app/lib

* Refresh attributes after importing from CSV

* Fix specs

* Remove unused file

* A girl has no name. A profile neither.

* Fix specs

* Add responds_to? check

* Spec fix

* Add name to user fields in profile settings page

Co-authored-by: Molly Struve <mollylbs@gmail.com>
2020-12-03 08:14:38 +07:00
..
admin_awards_badges_spec.rb Use Rails path helpers in admin system specs (#11399) 2020-11-13 10:45:57 -06:00
admin_bans_or_warns_user_spec.rb [EOY 2020] Replace "ban" with "suspend" in Admin (#11581) 2020-11-25 09:15:07 -05:00
admin_creates_new_event_spec.rb Use Rails path helpers in admin system specs (#11399) 2020-11-13 10:45:57 -06:00
admin_creates_new_page_spec.rb Adds a Default Color Hex Value to the Admin Tags Color Field (#11105) [deploy] 2020-11-02 12:50:03 -07:00
admin_deletes_user_spec.rb Use Rails path helpers in admin system specs (#11399) 2020-11-13 10:45:57 -06:00
admin_manages_chat_channels_spec.rb [deploy] Adding Crayons to Admin (#10015) 2020-08-31 10:29:06 -04:00
admin_manages_configuration_spec.rb [deploy] Update site config defaults (#11172) 2020-10-30 13:40:09 -04:00
admin_manages_organizations_spec.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
admin_manages_pages_spec.rb [deploy] Improve error messages and validation for admin pages (#11141) 2020-10-28 13:54:38 -05:00
admin_manages_profile_fields_spec.rb Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
admin_manages_reports_spec.rb [deploy] Adding Crayons to Admin (#10015) 2020-08-31 10:29:06 -04:00
admin_updates_tag_spec.rb Adds ability for admins to create new tags via /admin/tags (#11240) 2020-12-02 08:12:57 -06:00