docbrown/app/policies
Michael Kohl 1ebec4b67f
Remove hardcoded user profile fields (#14079)
* Remove duplicated work display from header

* Update work profile field handling

* Update DUS + spec

* Delegate more carefully

* Update delegation guard

* Adapt for removed delegation

* Undo accidental schema changes

* Fix seeds

* Remove accidentaly change

* Fix User#processed_website_url

* Update guard clause

* Update profile card content

* Add Organization#profile

* Be more conservative with profile fields

* Spec fixes round 1

* Fix typo

* Update spec

* Limit number of header fields and update card content

* Decorate correct model

* Update factory

* Update schema.rb

* Fix validation

* How bad could this possibly be?

* Pretty bad, nevermind

* Remove obsolete code

* Reset profile fields during test runs

* Move profile fields back to before(:suite)

* Spec fixes

* Remove accidentally re-added files

* More spec fixes

* Specs

* Change User#tag_keywords_for_search

* More spec fixes

* Add comment

* Undo accidental schema changes

* Attempt spec fix

* Remove fix attempt

* Fix e2e test

* Update spec

* Remove guard clause

* Remove hardcoded instances of education field

* WIP Access display_email_on_profile via User Settings

* Remove unused profile column

* WIP fix issues revealed by systems specs

* WIP fix issues revealed by services specs

* WIP Fix failing tests

* WIP Fix spec failures

* wip

* Move two attributes from controller to decorator

* Update comment

* More consistently use user.tag_line

Even before the profile changes we sometimes used the user.summary
attribute directly but used the user.tag_line method in other places.

* Remove education

* Add comment

* WIP

* Clean up mostly_work_with

* WIP

* Update work profile field handling

* More work-related changes

* Remove settings_only from display_area enum

* Remove quickfix from _metadata partial

* Remove special attributes

* Remove leftover spec

* Retrieve location from profile, not user

* Profile.special_attributes no longer exists

* Update specs

* More spec fixes

* Update UsersController

* Update UsersController and spec

* Fix e2e seeds

* Minor cleanup

* More e2e seed fixes

* Fix profile field CSV

* Fix e2e seeds

* Move one more attribute in e2e seeds

* Remove duplicate line

* Clear inputs before typing in them

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>
2021-08-18 11:44:53 +07:00
..
admin_policy.rb Various internal functionality adjustments (#1264) 2018-12-05 13:28:46 -05:00
api_secret_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
application_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
article_policy.rb Create DiscussionLocks (#13905) 2021-06-10 11:04:33 -04:00
chat_channel_membership_policy.rb [deploy] 🚀 Feature: Chat channel request manager (#9305) 2020-07-22 09:12:09 -04:00
chat_channel_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
comment_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
consumer_app_policy.rb Push Notification multi app support (#13304) 2021-04-21 17:13:01 -06:00
discussion_lock_policy.rb Create DiscussionLocks (#13905) 2021-06-10 11:04:33 -04:00
follow_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
github_repo_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
html_variant_policy.rb Add below-article html variant (#1669) 2019-01-28 14:31:43 -05:00
image_upload_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
internal_policy.rb Create InternalPolicy (#4380) 2019-10-17 14:21:43 -04:00
liquid_tag_policy.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
listing_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
message_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
organization_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
pinned_article_policy.rb Pin posts to feed (#13807) 2021-06-04 10:54:53 +02:00
rating_vote_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
reaction_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
registration_policy.rb Refactor RegistrationsController (#13903) 2021-06-08 17:03:41 -04:00
response_template_policy.rb Rename unidiomatic methods (#13328) 2021-04-09 10:59:56 -05:00
stripe_active_card_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
stripe_subscription_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
tag_policy.rb Update tag admin page(#1990) 2019-03-06 14:28:30 -05:00
user_block_policy.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
user_policy.rb Remove hardcoded user profile fields (#14079) 2021-08-18 11:44:53 +07:00
video_policy.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00