Pau Pérez Fabregat
5985344166
Merge pull request #6999 from coopdevs/add-missing-translation-key
...
Add missing shipment_states I18n key
2021-03-03 17:55:01 +01:00
Pau Pérez Fabregat
094ef28456
Merge pull request #6996 from filipefurtad0/payment_method_spec
...
fixes a pending test case for hubs w/ several distributors
2021-03-03 16:48:10 +01:00
Pau Pérez Fabregat
3539ceaec1
Merge pull request #6986 from coopdevs/fix-pending-locale-spec
...
Fix old pending locale-related spec
2021-03-03 16:15:03 +01:00
Pau Pérez Fabregat
d7ee7e02dd
Merge pull request #6987 from coopdevs/remove-delegation-specs
...
Remove unnecessary delegation specs
2021-03-03 13:44:00 +01:00
Pau Pérez Fabregat
433b9c030c
Merge pull request #6988 from coopdevs/remove-unused-rspec-filtering
...
Remove unused RSpec specs filtering
2021-03-03 13:43:36 +01:00
Pau Perez
c83cb554d5
Add missing shipment_states I18n key
...
I spot `[missing "en.spree.shipment_states.canceled" translation]` while
checking the transactions tab on /account for an order that was
canceled.
2021-03-03 12:17:14 +01:00
filipefurtad0
1c018bdd90
fixes a pending test case for hubs w/ several distributors
2021-03-03 08:59:56 +00:00
Pau Pérez Fabregat
03e969fa51
Merge pull request #6993 from openfoodfoundation/dependabot/bundler/delayed_job_web-1.4.4
...
Bump delayed_job_web from 1.4.3 to 1.4.4
2021-03-03 08:30:53 +01:00
Pau Pérez Fabregat
1cfee50300
Merge pull request #6983 from openfoodfoundation/dependabot/bundler/rubocop-1.11.0
...
Bump rubocop from 1.10.0 to 1.11.0
2021-03-03 08:30:29 +01:00
dependabot[bot]
b9bf084136
Bump delayed_job_web from 1.4.3 to 1.4.4
...
Bumps [delayed_job_web](https://github.com/ejschmitt/delayed_job_web ) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/ejschmitt/delayed_job_web/releases )
- [Changelog](https://github.com/ejschmitt/delayed_job_web/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ejschmitt/delayed_job_web/compare/v1.4.3...v1.4.4 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-03 05:17:59 +00:00
Pau Perez
742b54376d
Remove unused RSpec specs filtering
...
This was introduced ages ago and became dead code as no specs use these
filters anymore.
It stems from the work done in
https://github.com/openfoodfoundation/openfoodnetwork/pull/6902/ .
2021-03-02 14:40:44 +01:00
Pau Perez
d439a5074b
Remove unnecessary delegation specs
...
The custom RSpec matchers they use raises the following deprecation
warning
```
Using `stub` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /home/runner/work/openfoodnetwork/openfoodnetwork/spec/support/matchers/delegate_matchers.rb:22:in `block (2 levels) in <top (required)>'.
```
It's not worth maintaining those matchers to test such
implementation-related thing. Whether or not any delegations work is
something that will be caught by integration tests or directly stubbing
the collaborator object's methods.
This stems from
https://github.com/openfoodfoundation/openfoodnetwork/pull/6902 .
2021-03-02 11:54:46 +01:00
Pau Perez
45d0501ca6
Fix old pending locale-related spec
...
This is the correct behavior: if you set a language that is not
available, it'll fallback to English.
2021-03-02 11:42:45 +01:00
dependabot[bot]
54409265d0
Bump rubocop from 1.10.0 to 1.11.0
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.10.0...v1.11.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-02 05:20:56 +00:00
Andy Brett
b3610e035d
Merge pull request #6961 from openfoodfoundation/dependabot/bundler/i18n-js-3.8.1
...
Bump i18n-js from 3.8.0 to 3.8.1
2021-03-01 09:34:49 -08:00
Pau Pérez Fabregat
b701098dee
Merge pull request #6975 from openfoodfoundation/dependabot/bundler/webdrivers-4.6.0
...
Bump webdrivers from 4.5.0 to 4.6.0
2021-03-01 17:29:02 +01:00
Pau Pérez Fabregat
6d42f93f8a
Merge pull request #6979 from openfoodfoundation/transifex
...
Transifex
2021-03-01 17:27:45 +01:00
Transifex-Openfoodnetwork
8e477fef9e
Updating translations for config/locales/es.yml
2021-03-02 02:15:01 +11:00
Transifex-Openfoodnetwork
ab8ac24797
Updating translations for config/locales/ca.yml
2021-03-02 02:14:44 +11:00
Pau Pérez Fabregat
c7577e29d6
Merge pull request #6977 from openfoodfoundation/transifex
...
Transifex
2021-03-01 16:13:43 +01:00
Transifex-Openfoodnetwork
79d4f4127a
Updating translations for config/locales/ru.yml
2021-03-02 01:33:23 +11:00
Transifex-Openfoodnetwork
5682f87893
Updating translations for config/locales/en_FR.yml
2021-03-01 23:56:18 +11:00
Transifex-Openfoodnetwork
846cfe0050
Updating translations for config/locales/fr.yml
2021-03-01 23:56:05 +11:00
Pau Pérez Fabregat
7f4849da25
Merge pull request #6971 from Matt-Yorkley/dead-code-assassin
...
Remove dead code Order#display_ship_total
2021-03-01 10:07:30 +01:00
Pau Pérez Fabregat
8d31ba2677
Merge pull request #6966 from Matt-Yorkley/dead-code-totals
...
Dead code of the week
2021-03-01 10:05:31 +01:00
Pau Pérez Fabregat
68aafb9d4d
Merge pull request #6967 from Matt-Yorkley/spree-missing-translations
...
Add missing Spree translation keys
2021-03-01 10:04:49 +01:00
Transifex-Openfoodnetwork
ea2139b9f2
Updating translations for config/locales/ca.yml
2021-03-01 20:04:42 +11:00
Pau Pérez Fabregat
9389de9aa1
Merge pull request #6970 from andrewpbrett/flaky-spec
...
Remove duplicate specs
2021-03-01 10:03:23 +01:00
Transifex-Openfoodnetwork
a6f72d3311
Updating translations for config/locales/es.yml
2021-03-01 20:02:18 +11:00
Transifex-Openfoodnetwork
066708fad0
Updating translations for config/locales/ca.yml
2021-03-01 20:01:37 +11:00
Pau Pérez Fabregat
be2dc2df09
Merge pull request #6976 from openfoodfoundation/dependabot/bundler/webmock-3.12.0
...
Bump webmock from 3.11.3 to 3.12.0
2021-03-01 10:00:07 +01:00
Pau Pérez Fabregat
a0aeb1ceb4
Merge pull request #6889 from mkllnk/6102-footer
...
Emphasise ways to get help in user emails
2021-03-01 09:59:18 +01:00
Transifex-Openfoodnetwork
7647d961fe
Updating translations for config/locales/en_FR.yml
2021-03-01 19:46:21 +11:00
Transifex-Openfoodnetwork
0e888f1793
Updating translations for config/locales/fr.yml
2021-03-01 19:45:55 +11:00
Transifex-Openfoodnetwork
fbd24fac43
Updating translations for config/locales/en_GB.yml
2021-03-01 18:03:38 +11:00
dependabot[bot]
eace7822b6
Bump webmock from 3.11.3 to 3.12.0
...
Bumps [webmock](https://github.com/bblimke/webmock ) from 3.11.3 to 3.12.0.
- [Release notes](https://github.com/bblimke/webmock/releases )
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bblimke/webmock/compare/v3.11.3...v3.12.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-01 06:41:44 +00:00
dependabot[bot]
dbccc95aaf
Bump webdrivers from 4.5.0 to 4.6.0
...
Bumps [webdrivers](https://github.com/titusfortner/webdrivers ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/titusfortner/webdrivers/releases )
- [Changelog](https://github.com/titusfortner/webdrivers/blob/master/CHANGELOG.md )
- [Commits](https://github.com/titusfortner/webdrivers/compare/v4.5.0...v4.6.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-01 06:39:15 +00:00
Matt-Yorkley
4c3ff402e6
Remove dead code Order#display_ship_total
2021-02-28 13:49:38 +00:00
Andy Brett
448c0e0ce3
Remove duplicate specs
...
The second of these is flaky; moreover, the OrdersController doesn't specifically have a method that they're testing. I think the ready_to_capture behaviors is adequately covered by 006236b8dd/spec/serializers/api/admin/order_serializer_spec.rb (L39-L68)
2021-02-27 15:05:11 -08:00
Matt-Yorkley
1f2e9a6b58
Add missing Spree translation keys
2021-02-27 12:07:17 +00:00
Matt-Yorkley
16eff698df
Remove dead code; Spree::Order #line_item_adjustment_totals and #price_adjustment_totals
2021-02-27 11:56:44 +00:00
Andy Brett
006236b8dd
Merge pull request #6919 from andrewpbrett/authorize-payment-links
...
Show authorization links in separate table
2021-02-26 18:31:26 -08:00
Andy Brett
855e38cd73
add I18n
2021-02-26 07:47:58 -08:00
Pau Perez
c3179b4304
Restore table's top rounded corners
2021-02-26 07:44:09 -08:00
Pau Perez
2146ed277f
Fix table header spacing when status is hidden
2021-02-26 07:44:09 -08:00
Pau Perez
ad147ed8f5
Make payment auth table as wide as table below
...
This makes this page look a bit more consistent. Note I also had to fix
the price in the value column.
To do this I pulled out the width property from `.orders` which defines
too many things. This way we can make the auth table full-width while
not being tied to all the other properties which are not needed in this
table. Then, `.orders`'s nested `.order1, .order2` etc. column class
become useless.
2021-02-26 07:44:09 -08:00
Pau Perez
cbb919f28b
Left-align table with table below
2021-02-26 07:44:09 -08:00
Pau Perez
8696882549
Refactor payment auth button to fit into table row
...
This looks a bit more cohesive with the rest of the row cells while
still standing out from the rest.
2021-02-26 07:44:08 -08:00
Andy Brett
7bbfb6b8db
use rpsec subject in payments spec
2021-02-26 07:44:08 -08:00
Andy Brett
c23fb27031
remove unnecessary join
2021-02-26 07:44:08 -08:00