Thibaut Gorioux
6fdb8e8d69
Allow a self-hosted user to configure their SMTP settings directly from within the UI ( #682 )
...
* Add setting fields to model
* Allow to configure SMTP settings
* Normalize locales
* Cleanup locales
* Remove 'coming soon'
* fix test
* Reset credentials
* Reset development config
* Check smtp spelling
* Use post instead of get method
* TLS ENV variable is more descriptive
* Rework application mailer
* Follow rails convention for mailer action params
* Reset schema.rb to main
* Test WIP
* Add test for controller and mailer
* Move tests from controller to model
* Custom error message if settings are not all present
* Comment smtp config in development env
* Add default tls enabled value
* Rubocop
* Fix controller test
* Reset credentials
* Normalize locales
* Test
* fix test
* Fix application mailer test that fails randomly
* Error flash message instead of notice
* Rework application mailer tests
2024-04-29 16:44:24 -04:00
dependabot[bot]
f0480e7ab7
Bump pagy from 8.2.2 to 8.3.0 ( #694 )
...
Bumps [pagy](https://github.com/ddnexus/pagy ) from 8.2.2 to 8.3.0.
- [Release notes](https://github.com/ddnexus/pagy/releases )
- [Changelog](https://github.com/ddnexus/pagy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ddnexus/pagy/compare/8.2.2...8.3.0 )
---
updated-dependencies:
- dependency-name: pagy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 15:21:36 -04:00
dependabot[bot]
1a565137fb
Bump tailwindcss-rails from 2.4.0 to 2.5.0 ( #693 )
...
Bumps [tailwindcss-rails](https://github.com/rails/tailwindcss-rails ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/rails/tailwindcss-rails/releases )
- [Changelog](https://github.com/rails/tailwindcss-rails/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rails/tailwindcss-rails/compare/v2.4.0...v2.5.0 )
---
updated-dependencies:
- dependency-name: tailwindcss-rails
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 15:20:57 -04:00
dependabot[bot]
e65e61c974
Bump selenium-webdriver from 4.19.0 to 4.20.1 ( #695 )
...
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium ) from 4.19.0 to 4.20.1.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases )
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES )
- [Commits](https://github.com/SeleniumHQ/selenium/commits )
---
updated-dependencies:
- dependency-name: selenium-webdriver
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 15:20:35 -04:00
dependabot[bot]
66c49a37ef
Bump rails from d462fb5
to a94938f
( #691 )
...
Bumps [rails](https://github.com/rails/rails ) from `d462fb5` to `a94938f`.
- [Release notes](https://github.com/rails/rails/releases )
- [Commits](d462fb54b4...a94938f10c
)
---
updated-dependencies:
- dependency-name: rails
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 15:20:22 -04:00
Jakub Kottnauer
9549182462
Add Transaction Merchant management ( #686 )
...
* Add basid crud for merchant management
* Tweak UI and add localization
* Fix lint
* Add filtering by merchant
* Add tests
* Add stimulus controller to update avatar in merchant form
* Add line between merchant rows
* Change default merchant color
* Cleanup
2024-04-29 15:17:28 -04:00
Josh Brown
7f491f5064
Add trends to sidebar account list ( #697 )
2024-04-29 09:56:38 -04:00
Razvan Marescu
93953499a6
Fix profile page on fresh install ( #684 )
2024-04-27 08:59:02 -04:00
Zach Gollwitzer
e7fe1b5a4b
Reorder settings nav and add translations ( #680 )
...
* Reorder settings nav and add translations
* Attempt to fix flaky system test
2024-04-25 16:31:12 -04:00
Zach Gollwitzer
8ea7b54fe8
Update self host settings page styles ( #677 )
...
* Update page styles
* Add new styles to self host settings page
* Update self hosting page title
2024-04-25 14:55:39 -04:00
Zach Gollwitzer
da5021b6b0
Clean up i18n translations ( #676 )
...
* Clean up i18n translations
* Normalize translations
2024-04-25 14:41:12 -04:00
Josh Brown
be21d2b4fd
Refactor placeholder logo into common controller ( #673 )
...
This can be updated to redirect/pull from third party sources in future,
with the option of always falling back to the placeholder if there are
any failures.
2024-04-25 10:32:45 -04:00
Zach Gollwitzer
5a5f13b46b
Add new settings profile and preferences pages ( #672 )
...
* Add new settings profile and preferences pages
* Fix lint errors
2024-04-25 07:54:56 -04:00
Jakub Kottnauer
ad4de99f1a
Add partial account sync support ( #653 )
...
* Add partial account sync support
* Fix indentation
* Use historical balance as base when doing partial sync
* Simplify controller crud tests
* Fix linter errors
2024-04-24 15:55:52 -04:00
Josh Brown
b3f8ab78d9
Implement savings rate insight card ( #670 )
2024-04-24 10:02:22 -04:00
Josh Brown
461fa672ff
Add income and spending insight cards to dashboard ( #668 )
...
* Generate time series for rolling 30 day sum of income and spending
* Highlight accounts with most income and spending in the last 30 days
* Aggregate chips after 3 top accounts in insight card
* Refactor aggregation filter
I think this is easier to read and understand whats happening at a
glance
* Refactor and tidy
* Use family currency for insight cards
* Further reduce risk of sql injection
* Fix lint
* Refactor rolling total queries
* Add test for transaction snapshot
2024-04-24 08:34:50 -04:00
Josh Brown
1f6e83ee91
Add pie chart for asset/debt allocation in dashboard view ( #666 )
...
* Add pie chart for asset/debt allocation in dashboard view
* Fix lint issue
* Fix z-index issue with tooltip under pie chart
* Fix spacing of dashboard charts
2024-04-23 12:05:18 -04:00
Mattia
8a29725562
Add transactions widget to dashboard page ( #656 )
2024-04-22 16:51:06 -04:00
Jose Farias
49b603f478
Flesh out D3 time series charts ( #657 )
...
* Reindent TimeSeries classes
* Fix spacing in time series tests
* Remove trend tests where current is nil
I think if we've gotten this far with a nil value for current, there's a data integrity problem.
If we allow this, we'll have to be very defensive in our code. Best to raise and fix early.
* Reindent Money class
* Refactor TimeSeries artifacts
* Use as_json in TimeSeries
* Bring back tests for trends where current is nil
* Bring back trend test
* Correctly enumerate trend test
* Use favorable_direction for trend_styles helper
* Make trend public in TimeSeries::Value
* Allow nil current values in trends
I think I might've gotten it wrong before, nils might appear in trends if values are unavailable for snapshots
* Clean up TimeSeries::Trend
* Skip trend values same class validations if any values are nil
* Refactor Money
* Remove object parsing in TimeSeries::Value
We're only every passing hashes
* Refactor trendline chart controller into a time series chart controller
* Replace trendline controller
* Implement empty state
* Port line-chart controller into time-series-chart
* Split out methods
* Group similar time series chart functionality
* Fix indicator color
* Fix empty state in time series chart
* Replace line-chart controller with time-series-chart controller
* Draw empty time series chart if less than 2 data points
* Fix favorable direction serialization
* Handle integers as well as money
* Fix favorable direction serialization
* Replace chart types with optional elements
* Prevent double-renders when displaying turbo caches of time series charts
* Remove ambiguities between time series and series data
* Improve time series chart property names
* Clean up tooltip template
* Match tooltip designs
* Apply trendline gradient
* Implement trendline split behavior
* Use same stroke width on all trend lines
* Sort time series data by date
* Support percentages
* Use data color for guideline circles
* Revert "Use data color for guideline circles"
This reverts commit f239a1e00f
.
* Use expected defaults for time series chart
* Include day in time-series chart x-axis labels
* favorableDirection -> favorable_direction
* data -> datum where appropriate
* Hide change data in tooltip for percentages
2024-04-22 13:44:26 -04:00
dependabot[bot]
070084078a
Bump rails from 6d3fd5b
to d462fb5
( #665 )
...
Bumps [rails](https://github.com/rails/rails ) from `6d3fd5b` to `d462fb5`.
- [Release notes](https://github.com/rails/rails/releases )
- [Commits](6d3fd5b98c...d462fb54b4
)
---
updated-dependencies:
- dependency-name: rails
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 09:40:37 -04:00
dependabot[bot]
594bd6282f
Bump good_job from 3.27.4 to 3.28.0 ( #663 )
...
Bumps [good_job](https://github.com/bensheldon/good_job ) from 3.27.4 to 3.28.0.
- [Release notes](https://github.com/bensheldon/good_job/releases )
- [Changelog](https://github.com/bensheldon/good_job/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bensheldon/good_job/compare/v3.27.4...v3.28.0 )
---
updated-dependencies:
- dependency-name: good_job
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 09:33:30 -04:00
dependabot[bot]
4d255e5670
Bump pagy from 8.1.2 to 8.2.2 ( #662 )
...
Bumps [pagy](https://github.com/ddnexus/pagy ) from 8.1.2 to 8.2.2.
- [Release notes](https://github.com/ddnexus/pagy/releases )
- [Changelog](https://github.com/ddnexus/pagy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ddnexus/pagy/compare/8.1.2...8.2.2 )
---
updated-dependencies:
- dependency-name: pagy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 09:33:21 -04:00
dependabot[bot]
11d00a648a
Bump sentry-rails from 5.17.2 to 5.17.3 ( #661 )
...
Bumps [sentry-rails](https://github.com/getsentry/sentry-ruby ) from 5.17.2 to 5.17.3.
- [Release notes](https://github.com/getsentry/sentry-ruby/releases )
- [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-ruby/compare/5.17.2...5.17.3 )
---
updated-dependencies:
- dependency-name: sentry-rails
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 09:33:03 -04:00
dependabot[bot]
ce1840d846
Bump redis from 5.1.0 to 5.2.0 ( #660 )
...
Bumps [redis](https://github.com/redis/redis-rb ) from 5.1.0 to 5.2.0.
- [Changelog](https://github.com/redis/redis-rb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/redis/redis-rb/compare/v5.1.0...v5.2.0 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 09:32:52 -04:00
Jose Farias
fc3ade392a
Refactor TimeSeries
artifacts ( #651 )
...
* Reindent TimeSeries classes
* Fix spacing in time series tests
* Remove trend tests where current is nil
I think if we've gotten this far with a nil value for current, there's a data integrity problem.
If we allow this, we'll have to be very defensive in our code. Best to raise and fix early.
* Reindent Money class
* Refactor TimeSeries artifacts
* Use as_json in TimeSeries
* Bring back tests for trends where current is nil
* Bring back trend test
* Correctly enumerate trend test
* Use favorable_direction for trend_styles helper
* Make trend public in TimeSeries::Value
* Allow nil current values in trends
I think I might've gotten it wrong before, nils might appear in trends if values are unavailable for snapshots
* Clean up TimeSeries::Trend
* Skip trend values same class validations if any values are nil
* Refactor Money
* Remove object parsing in TimeSeries::Value
We're only every passing hashes
2024-04-22 08:30:42 -04:00
Zach Gollwitzer
fe2a2ac3f9
Update issue templates
2024-04-20 08:28:00 -04:00
Thibaut Gorioux
5be1ced19e
Shared money input should respond to change in currency ( #654 )
...
* Add step method to currency
* Change amount placeholder and step, when currency select change
* Lint
* Add test with auth
* Extract request to specific service
2024-04-20 08:07:06 -04:00
Zach Gollwitzer
c46662c99f
Add apply button, improve transaction filters ( #655 )
...
* Add apply button, improve transaction filters
* Remove temp log
* Fix lint errors
2024-04-19 12:03:16 -04:00
Zach Gollwitzer
0277bc94f3
Small redesign of transaction filters ( #650 )
2024-04-18 17:05:37 -04:00
Jakub Kottnauer
0a1fa525d5
Fix modal height in Safari ( #648 )
2024-04-18 16:55:56 -04:00
Zach Gollwitzer
f5f624881f
Add placeholders for dashboard features ( #642 )
...
* Add placeholders for new dashboard
* Fix tests and lint errors
2024-04-18 10:32:36 -04:00
Zach Gollwitzer
4708e85da3
Update issue templates
2024-04-18 08:34:50 -04:00
Zach Gollwitzer
9bda7efc3f
New Settings Menu, Routes and Controllers Organization ( #641 )
...
* Add new settings routes and controllers
* Add new settings view, restructure controllers and routes
* Fix lint errors
2024-04-18 07:56:51 -04:00
Harshit Chaudhary
39d57a167e
Fixed Data Access Restriction ( #636 )
...
Co-authored-by: Harshit Chaudhary <harshit.chaudhary@procol.in>
2024-04-16 15:58:53 -04:00
Jose Farias
cd8d741fe1
Add transaction modal flow ( #633 )
...
* Add transaction modal flow
* Preserve decimals when creating transactions
2024-04-16 14:44:31 -04:00
Thibaut Gorioux
a22c7a0e9c
Add persistent notification with dismiss and action button ( #611 )
...
* Update notification partial
* Update locals args
* Lint
* Move content to body in notification helper
* Avoid dynamic Tailwind class
* Styling
* Add notification to localization file
* Lint
* Normalize locales
* Auto dismiss by default
2024-04-16 13:33:51 -04:00
dependabot[bot]
5516b03b6e
Bump rails from bad7ff1
to 6d3fd5b
( #626 )
...
Bumps [rails](https://github.com/rails/rails ) from `bad7ff1` to `6d3fd5b`.
- [Release notes](https://github.com/rails/rails/releases )
- [Commits](bad7ff1664...6d3fd5b98c
)
---
updated-dependencies:
- dependency-name: rails
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 12:04:59 -04:00
dependabot[bot]
3672835ba1
Bump mocha from 2.1.0 to 2.2.0 ( #617 )
...
Bumps [mocha](https://github.com/freerange/mocha ) from 2.1.0 to 2.2.0.
- [Changelog](https://github.com/freerange/mocha/blob/main/RELEASE.md )
- [Commits](https://github.com/freerange/mocha/compare/v2.1.0...v2.2.0 )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 11:35:36 -04:00
dependabot[bot]
be288afcd4
Bump pagy from 8.0.2 to 8.1.2 ( #618 )
...
Bumps [pagy](https://github.com/ddnexus/pagy ) from 8.0.2 to 8.1.2.
- [Release notes](https://github.com/ddnexus/pagy/releases )
- [Changelog](https://github.com/ddnexus/pagy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ddnexus/pagy/compare/8.0.2...8.1.2 )
---
updated-dependencies:
- dependency-name: pagy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 11:35:29 -04:00
dependabot[bot]
81115a9bed
Bump tailwindcss-rails from 2.3.0 to 2.4.0 ( #620 )
...
Bumps [tailwindcss-rails](https://github.com/rails/tailwindcss-rails ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/rails/tailwindcss-rails/releases )
- [Changelog](https://github.com/rails/tailwindcss-rails/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rails/tailwindcss-rails/compare/v2.3.0...v2.4.0 )
---
updated-dependencies:
- dependency-name: tailwindcss-rails
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 11:35:22 -04:00
dependabot[bot]
eee07a4d6c
Bump sentry-ruby from 5.17.2 to 5.17.3 ( #621 )
...
Bumps [sentry-ruby](https://github.com/getsentry/sentry-ruby ) from 5.17.2 to 5.17.3.
- [Release notes](https://github.com/getsentry/sentry-ruby/releases )
- [Changelog](https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-ruby/compare/5.17.2...5.17.3 )
---
updated-dependencies:
- dependency-name: sentry-ruby
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 11:35:04 -04:00
Pieter Beulque
fc631e698d
Allow 2 decimals when adding a balance ( #614 )
2024-04-15 11:27:39 -04:00
Zach Gollwitzer
5aca2ff9b6
Add zero-config self hosting on Render ( #612 )
...
* v1 of backend implementation for self hosting
* Add docs
* Add upgrades controller
* Add global helpers for self hosting mode
* Add self host settings controller
* Conditionally show self hosting settings
* Environment and config updates
* Complete upgrade prompting flow
* Update config for forked repo
* Move configuration of github provider within class
* Add upgrades cron
* Update deploy button
* Update guides
* Fix render deployer
* Typo
* Enable auto upgrades
* Fix cron
* Make upgrade modes more clear and consistent
* Trigger new available version
* Fix logic for displaying upgrade prompts
* Finish implementation
* Fix regression
* Trigger new version
* Add i18n translations
* trigger new version
* reduce caching time for testing
* Decrease cache for testing
* trigger upgrade
* trigger upgrade
* Only trigger deploy once
* trigger upgrade
* If target is commit, always upgrade if any upgrade is available
* trigger upgrade
* trigger upgrade
* Test release
* Change back to maybe repo for defaults
* Fix lint errors
* Clearer naming
* Fix relative link
* Add abs path
* Relative link
* Update docs
2024-04-13 09:28:45 -04:00
Pieter Beulque
2bbf120e2f
Use placeholder-shown:
for reduced opacity ( #615 )
2024-04-13 08:49:48 -04:00
Mike
b812b6d8c9
Enhance currency selector to list 'All Others' after 'Popular' ( #610 )
2024-04-10 10:47:58 -04:00
Igor Alexandrov
b5c56f7775
Added lints for ERB templates ( #609 )
...
* Added erblint and fixed offenses
* Added erblint bintstub. Included erblint into CI
* Merged GitHub Actions tasks for rubocop and erblint into one
* Added config for erblint.
* Reverted erblint call in the CI
2024-04-09 08:08:58 -04:00
Josh Pigford
21e2d05d0c
Sentry
2024-04-08 11:29:11 -05:00
dependabot[bot]
671247f19c
Bump ruby-lsp-rails from 0.3.3 to 0.3.5 ( #605 )
...
Bumps [ruby-lsp-rails](https://github.com/Shopify/ruby-lsp-rails ) from 0.3.3 to 0.3.5.
- [Release notes](https://github.com/Shopify/ruby-lsp-rails/releases )
- [Commits](https://github.com/Shopify/ruby-lsp-rails/compare/v0.3.3...v0.3.5 )
---
updated-dependencies:
- dependency-name: ruby-lsp-rails
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 07:27:34 -04:00
dependabot[bot]
7792edce0f
Bump good_job from 3.27.3 to 3.27.4 ( #606 )
...
Bumps [good_job](https://github.com/bensheldon/good_job ) from 3.27.3 to 3.27.4.
- [Release notes](https://github.com/bensheldon/good_job/releases )
- [Changelog](https://github.com/bensheldon/good_job/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bensheldon/good_job/compare/v3.27.3...v3.27.4 )
---
updated-dependencies:
- dependency-name: good_job
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 07:27:26 -04:00
dependabot[bot]
a1075bdc81
Bump rails from 0033d46
to bad7ff1
( #607 )
...
Bumps [rails](https://github.com/rails/rails ) from `0033d46` to `bad7ff1`.
- [Release notes](https://github.com/rails/rails/releases )
- [Commits](0033d46236...bad7ff1664
)
---
updated-dependencies:
- dependency-name: rails
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 07:27:11 -04:00