Maikel Linke
ff60dacebd
Update all locales with the latest Transifex translations
2023-10-06 11:23:43 +11:00
David Cook
6f43165006
Show generic error message when StimulusReflex fails
...
I decided not to invest the time to figure out how to test this..
The messages should have the same effect as the 500 error, but not technically a 500 because it's not handling a HTTP response. The documentation seems to state this covers server-side errors only (not network errors for example). I couldn't find any way to handle network errors with action cable.
2023-10-04 13:40:36 +02:00
Gaetan Craig-Riou
dd0279c983
Update all locales with the latest Transifex translations
2023-09-28 11:52:49 +02:00
Jean-Baptiste Bellet
82ccdcca70
Customers report has only one report: Customers
...
No more `addresses` report
+ Fix pre-existing rubocop issues
+ Create method to simplify and remove CyclomaticComplexity error
2023-09-22 16:44:33 +01:00
Jean-Baptiste Bellet
5edc8d8ce1
Delete Mailing List report
2023-09-22 16:44:33 +01:00
Jean-Baptiste Bellet
c6c9cdca65
Add last completed order date
2023-09-22 16:44:33 +01:00
Jean-Baptiste Bellet
baff4b5399
Rename 'distributor' to 'hub'
2023-09-22 16:44:33 +01:00
filipefurtad0
b913e5c851
Update all locales with the latest Transifex translations
2023-09-22 10:29:52 +01:00
Rachel Arnould
a3ca7e9032
Merge pull request #11568 from jibees/11069-buu-fully-update-the-details-of-my-products-and-variants-1
...
🚧 [BUU] Add `Edit` link into a small menu on the last Actions column to the right of the table
2023-09-22 10:30:01 +02:00
Konrad
a55797d727
Merge pull request #11510 from rioug/11421-deactivate-voucher
...
[Vouchers] add activate/deactivate feature
2023-09-21 15:03:47 +02:00
Jean-Baptiste Bellet
2c478f1d8e
Link to product/variant edit page
2023-09-19 14:26:14 +02:00
Jean-Baptiste Bellet
0847f6b0f6
Create a new column actions for each rows (product+variant)
2023-09-19 14:25:55 +02:00
David Cook
daefada5a9
Show summary of modified records
...
I found myself trying to write Ruby in Javascript, and it's not nearly as pretty..
Javascript now has more advanced data structures like Map, but it's rather useless because it doesn't have the usual iterator methods (such as filter, map, reduce etc).
Also for the spec I wasn't sure of the best approach, so will gladly recieve feedback.
2023-09-15 15:45:48 +10:00
David Cook
7ef4df0087
Update all locales with the latest Transifex translations
2023-09-14 13:47:58 +10:00
David Cook
55742f40d1
Show a line for cost of produce
...
Utilising a second group_by rule, we can add a second summary_row. The cost of produce is also inserted into the TOTALS row as per requirements.
2023-09-13 19:09:55 +02:00
Mohamed ABDELLANI
2880fd5a87
implement EnterpriseFeesWithTaxReportByProducer
...
squash Re-format code
squash Apply suggestions from code review
Co-authored-by: Maikel <maikel@email.org.au >
squash More refactor
squash Update lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer.rb
2023-09-13 19:09:55 +02:00
Filipe
dae05e31ab
Merge pull request #11501 from jibees/9146-improve-user-feedback-in-oc-edit-page-for-hidden-inventory
...
Improve user feedback in oc edit page for hidden inventory
2023-09-13 16:26:39 +01:00
Jean-Baptiste Bellet
ff8b9465c7
Display info on outgoing products panel when some variants hidden
2023-09-12 10:20:26 +02:00
Jean-Baptiste Bellet
ff7629ba2c
Display information on outgoing product when variant aren't available
...
Update en.yml
2023-09-12 10:20:26 +02:00
Maikel Linke
df3fc83c8e
Remove version from DFC API URL in specs
...
We were aiming to use stable URLs to identify resources but the URL
helpers were still using dfc-v1.7 because that was the last and
overriding path of the mounted DFC Provider engine.
2023-09-11 15:00:08 +10:00
Maikel Linke
7654d37fc3
DRY, shorten swagger file names
2023-09-11 14:57:39 +10:00
Maikel Linke
fe2eecb69e
DRY swagger-ui config with relative path
2023-09-11 14:57:38 +10:00
Konrad
ea622cd2d7
Merge pull request #11487 from pedrocarmona/feature/invitation-email-locale
...
Send translated email when creating users via super admin interface
2023-09-07 16:41:59 +02:00
Konrad
3b9ebf4e07
Merge pull request #11396 from abdellani/fix-if-tos-is-not-set
...
fix If ToS file is not set, customer needs to accept Terms on each checkout
2023-09-06 16:56:21 +02:00
Gaetan Craig-Riou
d1b5dcab88
Add ability to activate deactivate a voucher
...
Plus controller specs
2023-09-05 15:48:59 +02:00
Pedro Carmona
c4830e3baa
Send localized email when creating users via admin interface
...
Based on the current user locale
2023-09-05 01:00:35 +01:00
Konrad
fd6f2338e5
Merge pull request #11450 from mkllnk/feature-toggle-enterprise
...
Activate vouchers feature per user or enterprise
2023-09-04 21:30:41 +02:00
Maikel Linke
ee3fe08378
Update all locales with the latest Transifex translations
2023-09-01 13:51:29 +10:00
Maikel Linke
02edd829b9
Allow to admin vouchers if you know the URL
...
The generic FeatureToggleConstraint in routing knows about the current
user but not about the enterprise to edit. We could create a new custom
constraint for routing but it's much easier to handle permissions in the
controller. Let's keep routes simple.
2023-08-25 10:19:17 +10:00
filipefurtad0
a39c465692
Update all locales with the latest Transifex translations
2023-08-24 21:36:53 +01:00
Mohamed ABDELLANI
423163c4e9
hide agree to the ToS when not ToS file is set
2023-08-22 10:22:26 +01:00
David Cook
ef63c520c0
Aggregate errors
2023-08-22 11:40:58 +10:00
David Cook
ae3cd6f7e0
Add bulk_update product form for product name
...
(For now at least,) we use one big standard Rails form, and ModelSet to update each record.
Submitting with Reflex allows us to manage the loading state along with the rest of the page (although I would rather use the built in HTTP POST standard).
Aria-label makes it a bit easier for testing (and accessibility software of course!). Technically it should have been aria-labelledby="id_of_column_header" but that would have resulted in more HTML and processing, which seemed silly.
Best viewed with whitespace ignored.
2023-08-22 11:40:58 +10:00
Konrad
d8bc479a70
Merge pull request #11387 from jibees/10957-missing-translation-invalid-url
...
Admin, White Label: add translation for invalid URL in white label context
2023-08-18 15:59:39 +02:00
Jean-Baptiste Bellet
47115a0daf
Change default label for searched products
2023-08-18 09:46:57 +02:00
Maikel Linke
0acdf5833f
Update all locales with the latest Transifex translations
2023-08-18 15:54:00 +10:00
David Cook
8949f1dc2e
Convert route to resource
...
I don't know why the route helper now has "index" in the name.
2023-08-15 08:36:21 +02:00
David Cook
2196cd5be8
Merge pull request #11381 from openfoodfoundation/release_v4.4.7
...
Update translations for release v4.4.7
2023-08-15 10:21:34 +10:00
Konrad
99daab07b7
Merge pull request #11297 from mkllnk/require-belongs-to--part2
...
Require belongs_to associations by default
2023-08-12 17:09:03 +02:00
Rachel Arnould
5afe45d922
Merge pull request #11382 from jibees/11273-buu-remove-new_products_page-feature-toggle
...
🔧 Remove `new_products_page` and all associated controllers/components/...
2023-08-11 11:43:49 +02:00
Gaetan Craig-Riou
61e6d55872
Merge pull request #10821 from rioug/10727-vouchers-percentage-rate
...
[Vouchers] Percentage rate
2023-08-11 16:06:09 +10:00
Gaetan Craig-Riou
29a38467d2
Fix admin pages to work with refactored vouchers
2023-08-11 14:54:23 +10:00
Gaetan Craig-Riou
cc9069e9c6
Add voucher type to admin screen
...
Plus specs
2023-08-11 14:19:26 +10:00
Maikel Linke
7fe74e811e
Remove ignored session store config
...
We set the session store in an initializer and therefore the development
config was overridden without having any effect.
2023-08-11 10:27:37 +10:00
Maikel Linke
e6c679cb34
Apply belongs_to_required_by_default to all models
...
Unless they state otherwise.
The new standard also changes the default behaviour of the Shoulda
matcher in Rspec. It now defaults to asserting that an association is
required. That needed some spec updates.
In one case, Spree::Product, I also had to update the model because the
presence validation was somehow not recognised by the Shoulda matcher.
The error message may change slightly but the outcome should be the
same.
2023-08-11 10:14:47 +10:00
Konrad
c3414143e6
Merge pull request #11222 from Matt-Yorkley/checkout-controller
...
Reduce controller size
2023-08-10 23:28:57 +02:00
Jean-Baptiste Bellet
5b4b37032c
Add translation for invalid URL in white label context
2023-08-10 15:22:35 +02:00
Jean-Baptiste Bellet
3b68674896
Remove new_products_page and all associated controller/components/
...
new_products_page` is dead, long live `admin_style_v3` !
2023-08-10 10:02:45 +02:00
David Cook
b58d15b5ed
Update all locales with the latest Transifex translations
2023-08-10 16:54:26 +10:00
Maikel
507803c2dc
Merge pull request #11371 from jibees/8443-missing-translation-passwords-not-matching-or-too-short
...
Account creation: translate some messages around password creation
2023-08-10 11:40:56 +10:00