1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 15:49:39 +02:00
Maybe/app/controllers
Christian dc024d63b0
Feature/profile image uploads (#687)
* Introduce ActiveStorage

* Add active storage related service gems

* Update storage.yml

* Install image processing gem
- sudo apt-get install libvips (required dependency)

* Set default active storage service

* Add profile image to user model

* Amend form to allow profile images to be saved, introduce stimulus controller.

* Purge image when form is blank

* Update markup/stimulus controller

* Add test for profile image uplaods

* Add profile image validation

* Use rails guide gem versions

* Use correct ERB syntax and make all storage options configurable

* Ensure form submits when user clears profile image

* Add profile image thumbnail method

* Extract profile image to a partial

* Updates env.example and storage.yml

* Fix bug with double form save

* Add profile image to the sidenav

* Update production config

* Fix ERB formatting

* normalize en.yml

* Handle non-square images

* Use pre-processing on thumbnail variant

* Resovle gemfile.lock issues

* Rubocop style changes

---------

Signed-off-by: Christian <47796704+crobbo@users.noreply.github.com>
Co-authored-by: Christian Robinson <christian@robbo.dev>
2024-04-30 13:38:33 -04:00
..
accounts Refactor placeholder logo into common controller (#673) 2024-04-25 10:32:45 -04:00
concerns Add zero-config self hosting on Render (#612) 2024-04-13 09:28:45 -04:00
settings Feature/profile image uploads (#687) 2024-04-30 13:38:33 -04:00
transactions Add Transaction Merchant management (#686) 2024-04-29 15:17:28 -04:00
accounts_controller.rb Add trends to sidebar account list (#697) 2024-04-29 09:56:38 -04:00
application_controller.rb Add zero-config self hosting on Render (#612) 2024-04-13 09:28:45 -04:00
currencies_controller.rb Shared money input should respond to change in currency (#654) 2024-04-20 08:07:06 -04:00
pages_controller.rb Implement savings rate insight card (#670) 2024-04-24 10:02:22 -04:00
password_resets_controller.rb Centralize auth (#598) 2024-04-03 10:35:55 -04:00
passwords_controller.rb Centralize auth (#598) 2024-04-03 10:35:55 -04:00
registrations_controller.rb Add zero-config self hosting on Render (#612) 2024-04-13 09:28:45 -04:00
sessions_controller.rb Centralize auth (#598) 2024-04-03 10:35:55 -04:00
transactions_controller.rb Add Transaction Merchant management (#686) 2024-04-29 15:17:28 -04:00
upgrades_controller.rb Add zero-config self hosting on Render (#612) 2024-04-13 09:28:45 -04:00
valuations_controller.rb Add partial account sync support (#653) 2024-04-24 15:55:52 -04:00