1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 12:05:19 +02:00
Maybe/test
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
..
channels/application_cable Initial commit 2024-02-02 09:05:04 -06:00
controllers Add ability to delete Maybe account (#698) 2024-04-30 11:40:31 -04:00
fixtures Feature/profile image uploads (#687) 2024-04-30 13:38:33 -04:00
helpers Addd application_helper_test.rb (#302) 2024-02-06 19:51:32 -06:00
integration Initial commit 2024-02-02 09:05:04 -06:00
interfaces Add zero-config self hosting on Render (#612) 2024-04-13 09:28:45 -04:00
jobs Add ability to delete Maybe account (#698) 2024-04-30 11:40:31 -04:00
lib Shared money input should respond to change in currency (#654) 2024-04-20 08:07:06 -04:00
mailers Allow a self-hosted user to configure their SMTP settings directly from within the UI (#682) 2024-04-29 16:44:24 -04:00
models Allow a self-hosted user to configure their SMTP settings directly from within the UI (#682) 2024-04-29 16:44:24 -04:00
system Feature/profile image uploads (#687) 2024-04-30 13:38:33 -04:00
vcr_cassettes Add zero-config self hosting on Render (#612) 2024-04-13 09:28:45 -04:00
application_system_test_case.rb New Settings Menu, Routes and Controllers Organization (#641) 2024-04-18 07:56:51 -04:00
i18n_test.rb Centralize auth messages (#269) 2024-02-03 14:17:49 -06:00
test_helper.rb New Settings Menu, Routes and Controllers Organization (#641) 2024-04-18 07:56:51 -04:00