docbrown/app/services
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
..
articles Refactor/Optimization:Use more_comments_minimal_weight_randomized_at_end for Signed In Feed (#11604) 2020-11-24 15:36:55 -06:00
audit Remove Audit::Event::Util (#8704) 2020-06-16 12:50:53 -04:00
authentication Fix Facebook Login profile image download failure (#11478) 2020-11-19 16:18:09 -05:00
broadcasts/welcome_notification Social Auth generalization refactor (#9837) 2020-08-17 20:09:44 -04:00
chat_channels Rubocop: Enable and fix Style/StringConcatenation (#9844) 2020-08-18 14:50:15 +02:00
color Allow admins to set brand color (#10097) 2020-09-01 11:16:31 +02:00
credits Refactoring user_controller separating some classes to service (#10384) 2020-10-05 10:41:59 +02:00
data_sync/elasticsearch [deploy] Refactor:Remove Reaction Search Code (#10377) 2020-09-23 12:27:50 -05:00
edge_cache Refactor EdgeCache (#11684) 2020-12-02 14:20:22 -05:00
error_messages Move app/labor/error_message_cleaner.rb to service (#11679) 2020-12-02 11:05:36 +07:00
exporter Update data exporter to handle admin send (#10274) 2020-10-26 18:00:56 -04:00
fastly_config [deploy] Create FastlyConfig & refactor params safe list (#7630) 2020-05-01 11:23:48 -04:00
feeds Move HtmlCleaner from app/labor into service (#11609) 2020-11-27 08:21:57 +07:00
follows Move app/labor/follow_checker.rb to service (#11613) 2020-12-01 14:14:36 +07:00
giphy Deduplicate giphy_img? function and add tests (#4590) 2019-10-30 11:40:17 -04:00
github Routine rubocop fixes (#10478) 2020-09-29 10:14:26 -04:00
images Move GeneratedImage to Images::GenerateSocialmage (#11691) 2020-12-02 11:03:14 +07:00
loggers Move LogWorkerQueueStats from labor to services (#11642) 2020-11-30 09:31:15 +07:00
mentions Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
moderator Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
notifications Remove app/labor/random_gif.rb (#11611) 2020-11-25 14:58:32 +00:00
payments Refactor: Send RSS Reader and Payment Errors to Honeybadger (#9209) 2020-07-09 08:48:52 +02:00
podcasts [deploy] Ensure podcast episodes are created with processed_html (#10715) 2020-10-07 12:09:36 -04:00
profile_fields Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
profiles Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
re_captcha Split ReCaptcha service and use verbs instead of pronouns (#11706) 2020-12-02 16:50:42 -06:00
rss_reader Move HtmlCleaner from app/labor into service (#11609) 2020-11-27 08:21:57 +07:00
search Feature:Backend Username Search Endpoint for Mention Completion (#11479) 2020-11-18 16:43:59 -06:00
secrets Use a sortable unique ID for the event_id (#3972) 2019-09-09 10:15:12 -04:00
slack Slack notification with reminder to delete user gdpr data (#10532) 2020-10-02 10:12:12 -04:00
suggester/users Refactor:Replace Production Check with Average Metrics (#11096) 2020-11-12 10:03:10 -06:00
twitter_client Routine rubocop fixes (#10478) 2020-09-29 10:14:26 -04:00
user_blocks Remove algolia from chat channel memberships (#6323) 2020-02-27 09:59:12 -05:00
user_subscriptions Update CODEOWNERS and team names in TODO comments (#9460) 2020-07-24 12:17:20 +07:00
users Auto generate mascot accounts (#11380) 2020-11-12 16:33:16 -05:00
webhook Move Webhook::DispatchEventJob to Sidekiq (#5722) [deploy] 2020-01-27 14:36:27 -05:00
analytics_service.rb Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
application_service.rb [deploy] Refactor 🚀 : Replaced Chat Channel Setting page with Preact component. (#8271) 2020-06-10 16:58:37 -04:00
article_api_index_service.rb Articles API: filtering by tags (#3654) (#10614) 2020-10-09 12:49:34 +02:00
article_with_video_creation_service.rb Upgrade Rubocop to 0.81 (#7219) 2020-04-11 10:10:04 +02:00
bulk_sql_delete.rb Use SQL DELETE statement to delete notifications without a SELECT (#5303) [deploy] 2019-12-31 07:30:27 -06:00
email_digest.rb [deploy] Bug Fix:Run Individual Digest Workers inline for DEV (#10070) 2020-08-29 09:25:54 -05:00
email_digest_article_collector.rb Optimization:Select Only Necessary Columns from Ahoy Messages For Digest Emails (#10194) 2020-09-03 16:46:33 -04:00
feature_flag.rb Add system spec for profile fields (#11398) 2020-11-13 14:51:42 -06:00
flare_tag.rb [deploy] Refactor Flare Tag Class (#9064) 2020-07-01 16:57:03 -04:00
medium_article_retrieval_service.rb Nokogiri::HTML should receive the body, not the response object (#5297) 2019-12-31 08:46:49 -05:00
notifications.rb Remove notifiable access from articles and comments notifications (#5415) [deploy] 2020-01-09 10:19:45 -05:00
rate_limit_checker.rb [deploy] Limit articles created by newer users (#10686) 2020-10-06 21:02:05 -04:00
rss_reader.rb Refactor RssReader and Feeds::Import common parts: take 1 (#11412) 2020-11-18 14:17:53 +01:00
tag_adjustment_creation_service.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
tag_adjustment_update_service.rb [WIP] Allow mods to remove tags and send user notification (#1252) 2018-12-04 16:45:32 -05:00