docbrown/spec/lib/data_update_scripts
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
..
cleanup_articles_with_invalid_feed_source_url_spec.rb [deploy] Remove draft articles with duplicate feed source URL and cleanup invalid data: take 2 (#10239) 2020-09-08 11:53:41 -05:00
create_profile_fields_spec.rb Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
index_chat_channel_memberships_to_elasticsearch_spec.rb Clear Elasticsearch Data Instead of Resetting Entire Index for Specs (#7602) 2020-04-30 11:59:10 -04:00
make_tags_with_mods_supported_spec.rb Automatically mark tag supported when adding mod (#11151) 2020-10-30 09:46:10 -04:00
populate_explicit_follow_points_spec.rb Add implicit points to follows to improve feed relevancy (in all algorithms) (#11513) 2020-11-25 16:09:51 -05:00
re_index_feed_content_and_users_to_elasticsearch_spec.rb [deploy] Changes to profile field indexing (#10313) 2020-09-16 17:15:22 -04:00
reindex_listing_search_column_spec.rb [deploy] Bug Fix:Rename Listing Search Field in Elasticsearch to Fix Searching (#9609) 2020-08-03 10:18:17 -05:00
reindex_users_for_username_search_spec.rb Copy username to search_fields (#11045) 2020-11-02 08:38:15 -06:00
remove_reaction_index_by_name_spec.rb Bug Fix:Remove Reaction Index By Name (#10430) 2020-09-25 10:34:29 +07:00
resync_elasticsearch_documents_spec.rb Clear Elasticsearch Data Instead of Resetting Entire Index for Specs (#7602) 2020-04-30 11:59:10 -04:00
update_article_main_image_path_spec.rb [deploy] Store Article's main_image path unprocessed (#10867) 2020-10-16 14:46:37 -04:00
update_articles_cached_entities_spec.rb Rubocop: Move from OpenStruct to Struct in Organization (#9431) 2020-07-30 21:04:05 +07:00