Matt-Yorkley
7d8ded5ab8
Bring simplified / cleaned up base controller into V1
...
- Inherits from ActionController::API
- Lots of superfluous junk removed
2022-03-02 11:55:46 +11:00
Maikel
9a8082e35c
Merge pull request #8947 from openfoodfoundation/dependabot/npm_and_yarn/karma-6.3.17
...
Bump karma from 6.3.16 to 6.3.17
2022-03-02 11:27:28 +11:00
dependabot[bot]
f573423d3a
Bump karma from 6.3.16 to 6.3.17
...
Bumps [karma](https://github.com/karma-runner/karma ) from 6.3.16 to 6.3.17.
- [Release notes](https://github.com/karma-runner/karma/releases )
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md )
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.16...v6.3.17 )
---
updated-dependencies:
- dependency-name: karma
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-01 09:05:25 +00:00
Filipe
d052c4f8a4
Merge pull request #8869 from filipefurtad0/remove_signup_string
...
Removes signup string from private shop login screen
2022-03-01 08:20:06 +00:00
Maikel
c44de8dbb3
Merge pull request #8937 from openfoodfoundation/dependabot/npm_and_yarn/url-parse-1.5.10
...
Bump url-parse from 1.5.7 to 1.5.10
2022-03-01 11:26:43 +11:00
Filipe
1338bcbf57
Merge pull request #8939 from filipefurtad0/stock_spec_checkout_split
...
Checks stock restrictions on checkout split (system spec)
2022-02-28 16:42:58 +00:00
Filipe
d84b6ce2ad
Merge pull request #8772 from filipefurtad0/add_specs_split_checkout_payment
...
[Split Checkout] Adds tests on payments
2022-02-28 16:42:12 +00:00
jibees
eeae67e2d0
Merge pull request #8935 from mkllnk/clean-rubocop
...
Relax our style guide
2022-02-28 15:16:46 +01:00
Filipe
499ad982c3
Merge pull request #8938 from filipefurtad0/controller_spec_checkout_split
...
Adds controller coverage for stock restrictions on split checkout
2022-02-28 10:32:46 +00:00
filipefurtad0
f6304892c2
Adds controller coverage for stock restrictions
2022-02-27 22:01:48 +00:00
filipefurtad0
7a6f3d67e2
Implements shared example; Checks stock restriction on payment step
2022-02-27 21:51:03 +00:00
filipefurtad0
eb56027505
Moves out-of-stock block within correct context
2022-02-27 19:56:45 +00:00
dependabot[bot]
f0cd9de1c3
Bump url-parse from 1.5.7 to 1.5.10
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-26 14:40:40 +00:00
Matt-Yorkley
50ab0731d7
Bump nokogiri to 1.13.2
v4.1.20
2022-02-26 14:39:56 +00:00
filipefurtad0
82b6d39191
Re-names payment; addresses style issues
2022-02-25 16:06:26 +00:00
filipefurtad0
daffe333c5
Adds coverage on order completition for Cash/Paypal
2022-02-25 16:06:26 +00:00
filipefurtad0
c4bf36d402
Adds Stripe SCA to shared examples block
2022-02-25 16:06:26 +00:00
filipefurtad0
d336ab52a1
Adds Paypal to shared examples block
2022-02-25 16:06:26 +00:00
filipefurtad0
ae3eb90668
Adds shared examples block, with cash
2022-02-25 16:06:26 +00:00
filipefurtad0
09cd9b8462
Adds a test on payment method requirement
2022-02-25 16:06:26 +00:00
filipefurtad0
9449c7c919
Adds a context for existing test case
2022-02-25 16:06:26 +00:00
filipefurtad0
9dceda7e20
Creates a details test block; moves respective tests inside
2022-02-25 16:06:26 +00:00
Maikel Linke
e6b4f462ef
Revert "Add rubocop config to allow specs to be 300 lines long"
...
This reverts commit 0b51d8b297 .
I think that this config was complicated in the setup and potentially
confusing to have different rules in different places.
It's better to fix those spec files by either making them smaller or
removing the `module` block in the spec. We can reference the modules
explicitely where needed.
2022-02-25 12:05:04 +11:00
Maikel Linke
cee6a0f17f
Declare blocklength rules as agreed upon
...
The acceptance of this pull request will be the "agree" part. :-)
2022-02-25 11:57:43 +11:00
Maikel Linke
7acae6522b
Relax cyclomatic complexity to community default
...
Why should we be more strict than the rest of the world?
2022-02-25 11:56:33 +11:00
Maikel Linke
2d1e746c64
Remove default values from contested settings
...
We can just use what the Rubocop community uses as default and we don't
need to spell it out again.
2022-02-25 11:51:35 +11:00
Maikel Linke
3382c1d0bb
Relax some contested metrics rules
...
Rubocop often complains while we think that the code is totally fine. I
would like to achieve the default values one day but there are more
important issues at the moment.
2022-02-25 11:45:15 +11:00
Maikel Linke
0c89479de4
Update rubocop todo list
2022-02-25 11:05:36 +11:00
Maikel Linke
b999673dfc
Remove old version of relaxed styled guide
...
We had an old version under "contested settings" and it looks like some
of them were modified. I hope that our new, separate file will
discourage manual tweaks.
We can include the relaxed rules from a gem as well. Let's see if we
need that complexity one day.
2022-02-25 10:51:54 +11:00
Maikel Linke
1d15f35522
Remove now unnecessary inline rubocop config
2022-02-25 10:46:51 +11:00
Maikel Linke
decab911bd
Use relaxed Rubocop styleguide as basis
...
We then refine it with our own rules.
2022-02-25 10:44:32 +11:00
Matt-Yorkley
0b616aa9ce
Update all locales with the latest Transifex translations
2022-02-24 23:34:16 +00:00
Filipe
36e3f1b7a6
Merge pull request #8883 from jibees/8475-send-email-when-payment-needs-authorization
...
Backoffice order, using stripe payment: when card requires auth, send authorization email to guest user
2022-02-24 13:07:31 +00:00
Matt-Yorkley
d945e69404
Merge pull request #8918 from openfoodfoundation/dependabot/npm_and_yarn/url-parse-1.5.7
...
Bump url-parse from 1.5.3 to 1.5.7
2022-02-22 08:17:02 +00:00
Filipe
385cd49964
Merge pull request #8876 from SarvarKh/product-import-validation
...
Fix product import on existing, empty unit_type and variant_unit
2022-02-21 23:20:04 +00:00
Filipe
28ac9d980c
Merge pull request #8849 from jibees/render-pdf-with-stylesheet
...
Create a new method pdf_stylesheet_pack_tag that actually include CSS in PDF files
2022-02-21 23:09:21 +00:00
Filipe
dbf5eb76f8
Merge pull request #8689 from apricot12/Transaction_fee_when_crediting
...
Revoke transaction fee if there is an amount to be credited in order
2022-02-21 20:30:19 +00:00
Filipe
89dc9b938b
Merge pull request #8864 from jibees/7934-display-tax-rate-for-shipping-on-invoice
...
Display tax rate for shipping in alternative invoice model
2022-02-21 20:02:44 +00:00
Filipe
7590b3ecf8
Merge pull request #8756 from jibees/8075-take-into-account-the-inherits_properties-attribute
...
Product that don't inherits from "producer"/"enterprise" properties should be filtered out by user on shop page
2022-02-21 19:04:08 +00:00
Filipe
9966b5b33c
Merge pull request #8565 from jibees/8171-group-by-imperial-unit
...
Handle imperial units in the Bulk Order Management interface
2022-02-21 14:47:38 +00:00
dependabot[bot]
07d20d2ba0
Bump url-parse from 1.5.3 to 1.5.7
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-19 09:25:58 +00:00
filipefurtad0
cefd5db6eb
Renames require_login_3_html key
2022-02-18 11:07:37 +00:00
filipefurtad0
1113aefe11
Adds login modal test case from #8861
2022-02-17 13:19:32 +00:00
filipefurtad0
27bc5805ae
Removes signup string from private shop login screen
2022-02-17 13:19:31 +00:00
Matt-Yorkley
6c695df917
Merge pull request #8895 from Matt-Yorkley/cloned-subscription-syncing
...
Sync subscriptions on newly-cloned order cycles
v4.1.19
2022-02-17 12:44:39 +00:00
Matt-Yorkley
9a27addd14
Merge pull request #8763 from openfoodfoundation/8577-split-name-column-in-customers-table
...
Split name column in customers table
2022-02-17 11:57:01 +00:00
Filipe
a6c5d8ca73
Merge pull request #8673 from filipefurtad0/split_checkout_auth_spec
...
Adds split-checkout toggling lines
2022-02-17 11:10:44 +00:00
Filipe
4dbf047647
Merge pull request #8871 from jibees/8827-preselect-shipping-method
...
SplitCheckout: preselect the shipping/payment method if the only one available
2022-02-17 10:54:20 +00:00
Jean-Baptiste Bellet
bcd306ebd4
Authorize payment email could be send to guest user
...
Always send the email to the order.email value
2022-02-17 09:40:28 +01:00
Jean-Baptiste Bellet
012e91879a
preselect the only available shipping method
2022-02-17 09:33:23 +01:00