Maikel
450fe4ada1
Merge pull request #14119 from mkllnk/replace-whenever
...
Replace whenever with sidekiq scheduler
2026-04-01 15:37:33 +11:00
Ahmed Ejaz
9b145da898
Merge pull request #14040 from chahmedejaz/task/13797-improve-performance-of-products-page
...
Fix Admin Bulk Products screen performance issue
2026-04-01 00:37:40 +05:00
Maikel Linke
80a12db191
Move database clean from cron to Sidekiq scheduler
...
After moving the remaining tasks from schedule.rb to sidekiq.yml, we can
remove whenever and won't rely on cron any more. That will simplify the
setup and migration to a new server.
2026-03-31 12:34:47 +11:00
Ahmed Ejaz
0a65322594
rename ajax_search_spec
2026-03-31 04:05:06 +05:00
Ahmed Ejaz
3ee338fa8d
Add ajax search controller
2026-03-31 01:54:02 +05:00
Maikel
c274c19e96
Merge pull request #14106 from mkllnk/taler-fix
...
Fix specs after taler gem update
2026-03-27 10:15:59 +11:00
Gaetan Craig-Riou
01cff7a618
Merge pull request #14060 from mvanhorn/add-order-id-to-webhook
...
Add order number to Payment webhook payload
2026-03-27 09:29:10 +11:00
Maikel Linke
ecca47f96d
Fix specs after taler gem update
2026-03-26 13:28:16 +11:00
Ahmed Ejaz
4a66984ec4
Merge pull request #14084 from chahmedejaz/bugfix/14081-delete-user
...
Fix authorization for removing enterprise managers for non-admins
2026-03-26 05:10:36 +05:00
Ahmed Ejaz
2fe28d1707
Merge pull request #14101 from mkllnk/taler-currency
...
Use real currency for Taler payments unless using demo backend
2026-03-25 20:44:44 +05:00
Rachel Arnould
dcf3ab74b8
Merge pull request #13962 from mkllnk/taler-credit
...
Credit customers via Taler
2026-03-25 15:24:06 +01:00
Maikel Linke
fe0c6a4deb
Use real currency for Taler payments unless using demo backend.
2026-03-25 15:09:43 +11:00
Ahmed Ejaz
8ba0ab6b5a
Update specs according to new remote search function on products page
2026-03-25 02:01:36 +05:00
Ahmed Ejaz
062fcd317c
Add searchable dropdowns for producers, categories, and tax categories in products_v3
2026-03-25 01:30:06 +05:00
Gaetan Craig-Riou
6c4ae1d2c1
Fix spec
2026-03-24 09:40:28 +11:00
David Cook
d80249da2d
Merge pull request #14064 from openfoodfoundation/dependabot/bundler/taler-0.3.0
...
Bump taler from 0.2.0 to 0.3.0
2026-03-23 10:52:08 +11:00
Ahmed Ejaz
715a8f421a
14081: fix permission issue for deleting manager
2026-03-21 03:38:38 +05:00
Rachel Arnould
27be0f6fd1
Merge pull request #13912 from dacook/sourced-variant1-13887
...
Create linked variants
2026-03-20 10:59:46 +01:00
Maikel Linke
23a4ca5933
Add additional Taler token requests to specs
2026-03-20 15:52:41 +11:00
Maikel
1207bb5f8f
Merge pull request #14023 from mkllnk/api-v0-redirect
...
Remove compatibility redirect for APIv0
2026-03-20 12:21:26 +11:00
Matt Van Horn
aa3fa59a32
fix(spec): include order number in webhook_service_spec expected data
...
The webhook_payload now includes :number in the order slice, but
webhook_service_spec still expected the order hash without it. Since
hash_including only matches at the top level, the nested order hash
comparison was strict and failed.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-19 18:05:49 -07:00
Maikel Linke
66d6627c89
Spec recently changed code path
2026-03-20 11:51:50 +11:00
Maikel Linke
c5d38d684b
Remove repeated navigation to speed up spec
2026-03-20 11:51:50 +11:00
Maikel Linke
c2907b839a
Remove ineffective sorting spec
...
The spec was not really testing the order of users appearing on the
page. It's also a UX detail only visible to super admins which is not
important to test. So I'm not investing time to fix it.
2026-03-20 11:51:50 +11:00
Maikel Linke
ee653bb825
Remove redundant spec description
...
Admin users are the only one who can manage users.
2026-03-20 11:51:50 +11:00
Maikel
c5aaecf76a
Merge pull request #13961 from mkllnk/taler-checkout-stock-error
...
Taler checkout stock error
2026-03-20 11:29:58 +11:00
Matt Van Horn
544f62dbc5
feat(payments): add order number to webhook payload
...
Include the order number in the webhook payload so consumers can
identify which order a payment notification belongs to.
Fixes #13858
2026-03-18 00:12:23 -07:00
Maikel Linke
8f0d4d23a7
Restore Stripe spec stubs as todo list
2026-03-18 14:54:44 +11:00
Maikel Linke
d56b4b4109
Make locale spec more accurate
2026-03-18 14:49:35 +11:00
Maikel Linke
7a01409f5c
Save time by avoiding page visit
2026-03-18 14:49:34 +11:00
Maikel Linke
5c634c269b
Remove unused helpers from spec
2026-03-18 14:49:34 +11:00
Maikel Linke
63988fff4f
Configure test locales like other envs
...
The locale config is set in application.rb from environment variables
already. We don't need to repeat that logic in test.rb. And because it
was outdated, the language switcher was actually broken in the test
environment. We did have an English selector for the fallback `en` even
though we were already displaying English as en_TST. And after
switchting to Spanish, we could switch back because en_TST was not in
the available locales.
I now fixed the test with the right assumption and the config to solve
the problem.
2026-03-18 14:49:15 +11:00
David Cook
827ba1990d
Ensure changes are tracked on newly added variant
...
I considered a few ways to do this. Cloned products are done with MutationObserver but it doesn't quite sit right with me. A dedicated controller for newly added rows would provide a good general solution. But do we want yet another controller? I'm not sure. This works and is pretty simple (although it requires a quick loop over _every_ form element.. let's see if we can avoid that.)
2026-03-18 14:03:11 +11:00
Maikel Linke
d56790b71e
Remove unneeded context blocks
...
Best viewed ignoring whitespace.
2026-03-18 13:23:54 +11:00
Maikel Linke
c2f725b20c
Remove redundant language setup
...
We tested earlier already that we have the needed languages available.
2026-03-18 13:21:27 +11:00
Maikel Linke
b939d41bf5
Remove useless negative spec
...
Any change in markup would invalidate the test.
It is unlikely to ever fail and then it would not be a big problem.
2026-03-18 13:18:15 +11:00
Maikel Linke
91c4ba03cd
Remove more expensive specs
2026-03-18 13:15:35 +11:00
Maikel Linke
3f29cdab3c
Combine specs and add detail
2026-03-18 13:14:57 +11:00
Maikel Linke
60a4d36408
Remove expensive without really new coverage
2026-03-18 13:08:24 +11:00
Maikel Linke
9513c07c2f
Remove ineffective test
...
It would pass even if locales were broken.
2026-03-18 13:05:23 +11:00
Maikel Linke
4b5fd2495f
Restore multilingual spec
2026-03-18 13:03:48 +11:00
David Cook
93c9181c3f
Merge pull request #14021 from mkllnk/money
...
Remove dead code from Spree::Money
2026-03-18 10:50:54 +11:00
David Cook
7473a2f0bd
Merge pull request #14020 from mkllnk/flaky-invite-spec
...
Expect UI change before emails
2026-03-18 10:49:03 +11:00
Maikel Linke
9961578fc1
Don't offer to void a refund
2026-03-16 12:56:38 +11:00
Maikel Linke
53c2ef53d5
Call #credit with right arguments
2026-03-16 12:56:22 +11:00
Maikel Linke
0629153362
Complete code coverage on Taler error handling
2026-03-11 16:05:54 +11:00
Gaetan Craig-Riou
4946ffc329
Add specs for CustomerAccountTransaction ability
2026-03-11 15:45:33 +11:00
Gaetan Craig-Riou
c134bbf49b
Add missing ability for credit customer
...
Fix the specs to use a non super admin user, so it should catch missing
ability in the future.
2026-03-11 15:34:27 +11:00
Maikel Linke
5e871fc71e
Expect UI change before emails
...
Fixing a flaky spec.
2026-03-11 15:30:39 +11:00
Maikel Linke
35e03ea3c7
Check stock before completing order after Taler payment
2026-03-11 15:12:21 +11:00