docbrown/app
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
..
assets [EOY2020 Issue] Default new forems to Email Authentication only (#11696) 2020-12-02 16:49:07 -05:00
black_box Small adjustment to blackbox.rb (#10961) 2020-10-20 21:14:56 -04:00
controllers Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
dashboards Add registered fields to resource_admin (#10941) 2020-10-19 17:50:34 -04:00
decorators Refactor EdgeCache (#11684) 2020-12-02 14:20:22 -05:00
errors [deploy] Add contexts and permissions to liquid tags (#8917) 2020-06-30 14:53:18 -04:00
fields Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
helpers [EOY2020 Issue] Default new forems to Email Authentication only (#11696) 2020-12-02 16:49:07 -05:00
javascript [EOY2020 Issue] Default new forems to Email Authentication only (#11696) 2020-12-02 16:49:07 -05:00
labor Move app/labor/error_message_cleaner.rb to service (#11679) 2020-12-02 11:05:36 +07:00
lib Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
liquid_tags Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
mailers Update trusted role email Subject (#11519) 2020-11-20 09:54:21 -06:00
middlewares Move TimeZoneSetter middleware in proper place (#11336) 2020-11-09 17:11:10 +01:00
models Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
policies Add implicit points to follows to improve feed relevancy (in all algorithms) (#11513) 2020-11-25 16:09:51 -05:00
queries/admin Filter by a few other roles when adding potential mods (#11187) 2020-11-02 15:05:19 -05:00
refinements Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
sanitizers [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
serializers [deploy] Refactor:Remove Reaction Search Code (#10377) 2020-09-23 12:27:50 -05:00
services Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
uploaders [deploy] Bug Fix: Validate GIFs Frames and Add MiniMagick Timeout (#9319) 2020-07-15 09:49:24 -05:00
validators Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
view_objects Move GeneratedImage to Images::GenerateSocialmage (#11691) 2020-12-02 11:03:14 +07:00
views Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
workers Refactor EdgeCache (#11684) 2020-12-02 14:20:22 -05:00