Michael Kohl
|
4ae59b56e3
|
Add custom profile fields (#10202)
* Add custom_profile_fields table
* Add CustomProfileField model and refactor
* Remove trailing whitespace
* Stop ignoring removed column
* Add explanatory comment
* Update service object
* Fix bug in service object
* Refactor and fix specs
* Increase limit from 3 to 5
* Update comment to reflect code changes
|
2020-09-09 14:37:15 +00:00 |
|
Michael Kohl
|
d284e597cd
|
[deploy] Add Profiles::Update service object (#9912)
* Add Profiles::Update service object
* Refactor
* Rename Profile.fields to Profile.attributes
* Keep sync from user -> profile
* And and update comments
* Rename Profile.refresh_store_accessors!
* Make forwarding getters in user dynamic
* Add more explanation
* Fix typo
* Update service object
* Fix return value
* Fix specs
* Travis, let's be friends again?
* Remove Travis change
* Add require_dependency in Profile
* Refactor
* More refactoring
* Avoid double sync
* Fix specs
* Fix mapped attributes sync
|
2020-09-03 09:19:25 -04:00 |
|
Michael Kohl
|
eff28766fc
|
[deploy] Migrate profile data (#9750)
* Add temporary Rake task for creating profile fields
* Fix problems after splitting branch
* Add profile migration Rake task
* Add unique index to profiles
* Add migration code to users
* Be smarter about updating profiles
* Update spec
* Update Bullet config
* Fix typo
* Change temporary rake task to data update script
* Re-add profile factory and update spec
* Change private declaration to make CodeClimate happy
* Update comment
* Drop validation in favor of DB default
* Update spec
|
2020-08-20 11:17:57 +07:00 |
|