Andy Brett
8c747e4812
refactor destroy_clones to separate class
2020-12-10 11:22:02 -08:00
Andy Brett
4c25edd91c
refactor find_cloned_card to separate class
2020-12-10 11:04:27 -08:00
Andy Brett
0ac248f03a
refactor offline payment methods
2020-12-10 10:26:38 -08:00
Andy Brett
13b95f41bb
use built-in auto_paging_each with stripe
2020-12-10 08:19:41 -08:00
Andy Brett
50e87a023b
rename method to validate! since it can raise an error
2020-12-10 07:45:07 -08:00
Pau Pérez Fabregat
b4b4d38d3b
Merge pull request #6509 from mkllnk/image-tweaks
...
Image code tweaks
2020-12-10 12:50:18 +01:00
Pau Pérez Fabregat
3bf58b5b7c
Merge pull request #6503 from openfoodfoundation/dependabot/bundler/delayed_job_active_record-4.1.5
...
Bump delayed_job_active_record from 4.1.4 to 4.1.5
2020-12-10 12:33:41 +01:00
Maikel Linke
3f6288d5c7
Load rake task under test for all its specs
...
If you ran only the second spec without the first, the rake file wasn't
loaded and the test failed.
2020-12-10 15:35:05 +11:00
Maikel Linke
6bf041aa74
Reduce complexity
2020-12-10 15:33:34 +11:00
Maikel Linke
e6c411684f
Don't fail on missing images when resizing
...
The changed code obtains the image dimensions when you first upload an
image. Unfortunately it's also triggered when thumbnails are refreshed.
That doesn't change the size of the original image though.
2020-12-10 15:32:43 +11:00
Luis Ramos
465d2d2f1c
Remove unused dependency
2020-12-09 18:35:44 -08:00
Maikel Linke
edf9dd7921
Update translations from Transifex
2020-12-10 13:34:05 +11:00
Maikel
5ca10d5cd1
Merge pull request #6465 from openfoodfoundation/transifex
...
Transifex
2020-12-10 13:29:12 +11:00
Maikel
33d220e777
Merge pull request #6291 from luisramos0/subs_tasks
...
Add tasks to help manually test subscriptions
2020-12-10 12:55:59 +11:00
Luis Ramos
9728b088f9
Fix syntax for nil properties
2020-12-09 23:38:16 +00:00
dependabot[bot]
c033fe70e7
Bump delayed_job_active_record from 4.1.4 to 4.1.5
...
Bumps [delayed_job_active_record](https://github.com/collectiveidea/delayed_job_active_record ) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/collectiveidea/delayed_job_active_record/releases )
- [Commits](https://github.com/collectiveidea/delayed_job_active_record/compare/v4.1.4...v4.1.5 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-09 23:28:46 +00:00
Luis Ramos
c17998774e
Adapt factories to factory_bot_rails v5 syntax
2020-12-09 23:09:33 +00:00
Andy Brett
de786982dd
bump karma coffee preprocessor
2020-12-09 12:31:36 -08:00
dependabot[bot]
9b6702946c
Bump moment from 2.28.0 to 2.29.1
...
Bumps [moment](https://github.com/moment/moment ) from 2.28.0 to 2.29.1.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.28.0...2.29.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-09 11:40:06 -08:00
Transifex-Openfoodnetwork
7c6621a49b
Updating translations for config/locales/en_FR.yml
2020-12-10 00:36:39 +11:00
Transifex-Openfoodnetwork
134c63f353
Updating translations for config/locales/en_FR.yml
2020-12-10 00:33:37 +11:00
Transifex-Openfoodnetwork
1d64230d4b
Updating translations for config/locales/fr.yml
2020-12-10 00:31:44 +11:00
Transifex-Openfoodnetwork
8f796de35b
Updating translations for config/locales/ar.yml
2020-12-10 00:03:43 +11:00
Transifex-Openfoodnetwork
b4a43e0554
Updating translations for config/locales/ar.yml
2020-12-10 00:00:34 +11:00
dependabot[bot]
f2c37ef64d
Bump karma-chrome-launcher from 2.2.0 to 3.1.0
...
Bumps [karma-chrome-launcher](https://github.com/karma-runner/karma-chrome-launcher ) from 2.2.0 to 3.1.0.
- [Release notes](https://github.com/karma-runner/karma-chrome-launcher/releases )
- [Changelog](https://github.com/karma-runner/karma-chrome-launcher/blob/master/CHANGELOG.md )
- [Commits](https://github.com/karma-runner/karma-chrome-launcher/compare/v2.2.0...v3.1.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-08 17:58:00 -08:00
dependabot[bot]
f45d348dd7
Bump ddtrace from 0.42.0 to 0.43.0
...
Bumps [ddtrace](https://github.com/DataDog/dd-trace-rb ) from 0.42.0 to 0.43.0.
- [Release notes](https://github.com/DataDog/dd-trace-rb/releases )
- [Changelog](https://github.com/DataDog/dd-trace-rb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/DataDog/dd-trace-rb/compare/v0.42.0...v0.43.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-08 17:56:37 -08:00
dependabot-preview[bot]
351d694c13
Bump haml from 5.2.0 to 5.2.1
...
Bumps [haml](https://github.com/haml/haml ) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/haml/haml/releases )
- [Changelog](https://github.com/haml/haml/blob/main/CHANGELOG.md )
- [Commits](https://github.com/haml/haml/compare/v5.2.0...5.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-12-08 17:53:03 -08:00
Andy Brett
22ef9a0fef
fix long line
2020-12-08 14:37:16 -08:00
Andy Brett
7a03882314
re-refactor cart_service
2020-12-08 14:37:16 -08:00
Andy Brett
b713bd7aa7
spec updates
2020-12-08 14:37:16 -08:00
Andy Brett
c70ea44091
show specific error message when add-to-cart fails
2020-12-08 14:37:16 -08:00
Luis Ramos
7a27741cf5
Remove unnecessary capybara version control in Gemfile
2020-12-08 22:15:54 +00:00
dependabot[bot]
2a3176f7f5
Bump capybara from 2.18.0 to 3.15.1
...
Bumps [capybara](https://github.com/teamcapybara/capybara ) from 2.18.0 to 3.15.1.
- [Release notes](https://github.com/teamcapybara/capybara/releases )
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md )
- [Commits](https://github.com/teamcapybara/capybara/compare/2.18.0...3.15.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-08 21:24:15 +00:00
dependabot[bot]
5c65f9bf55
Bump factory_bot_rails from 4.10.0 to 5.2.0
...
Bumps [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails ) from 4.10.0 to 5.2.0.
- [Release notes](https://github.com/thoughtbot/factory_bot_rails/releases )
- [Changelog](https://github.com/thoughtbot/factory_bot_rails/blob/master/NEWS.md )
- [Commits](https://github.com/thoughtbot/factory_bot_rails/compare/v4.10.0...v5.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-08 20:24:41 +00:00
Luis Ramos
0824f12472
Merge pull request #6472 from luisramos0/depen
...
Fix dependabot config
2020-12-08 20:02:26 +00:00
Luis Ramos
ab6f6c463a
Fix problem in dependabot config, yarn is not a valid package-ecosystem, we can try npm
2020-12-08 20:00:19 +00:00
Luis Ramos
e2181960bc
Merge pull request #6450 from openfoodfoundation/dependabot/bundler/knapsack-1.20.0
...
Bump knapsack from 1.19.0 to 1.20.0
2020-12-08 19:39:13 +00:00
Luis Ramos
e8ba16cb3e
Merge pull request #6457 from openfoodfoundation/dependabot/bundler/spring-2.0.2
...
Bump spring from 1.7.2 to 2.0.2
2020-12-08 19:38:55 +00:00
Luis Ramos
c233052ec6
Merge pull request #6438 from luisramos0/devise4
...
Upgrade to devise 4.7
2020-12-08 17:19:13 +00:00
Andy Brett
d55343da1a
only return gateway payment info if set on customer
2020-12-08 07:52:42 -08:00
Andy Brett
eddf8da107
update subscription spec with new method name
2020-12-08 07:52:42 -08:00
Andy Brett
3a8203094a
refactor to remove boolean flag param
2020-12-08 07:52:42 -08:00
Andy Brett
f1d439870e
use a named argument for offline param
2020-12-08 07:52:42 -08:00
Andy Brett
103366ea97
add request limits to credit card cloner
2020-12-08 07:52:42 -08:00
Andy Brett
9c544ef2f4
remove cloned cards after removing the platform card
2020-12-08 07:52:42 -08:00
Andy Brett
bc3fd8c50c
remove unused method
2020-12-08 07:52:42 -08:00
Andy Brett
277d7f44b7
refactor api customers controller; resolve merge conflict
2020-12-08 07:52:42 -08:00
Andy Brett
a466886a32
fix rubocop warnings
2020-12-08 07:52:42 -08:00
Andy Brett
3d47ad7e33
add stubs for stripe requests
2020-12-08 07:52:42 -08:00
Andy Brett
fea7576ac1
update CreditCardCloner to find existing clone
2020-12-08 07:52:42 -08:00