Konrad
dc4b6519dd
Merge pull request #11885 from dacook/flash-messages
...
Fix mapping of flash messages on order cycle pages
2023-12-06 18:03:57 +01:00
Gaetan Craig-Riou
55d64e1768
Fix rubocop warning
2023-12-04 10:36:53 +11:00
David Cook
a2b8fb5105
Show success messages as.. success.
2023-12-01 16:59:23 +11:00
Maikel Linke
bbe37e1392
Update ReportsController for background reports
...
As it turns out, the background reports were missing a small feature to
store user preferences. Yay specs!
2023-12-01 15:21:42 +11:00
Neal Chambers
0663f04535
Remove Simple References to Bogus Gateway
2023-11-07 11:19:26 +09: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
Neal Chambers
fe88a88206
Fix Style/HashSyntax
2023-09-22 09:08:50 +09: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
David Cook
fb93aeb195
Optimise spec
2023-09-19 13:39:36 +10:00
Neal Chambers
42a6a02353
Fix Style/HashSyntax
2023-09-19 08:25:56 +09:00
Gaetan Craig-Riou
e44a0092ea
Fix edge case when trying to deactivate the only availabe voucher
...
Plus spec
2023-09-11 12:00:48 +02:00
Gaetan Craig-Riou
d1b5dcab88
Add ability to activate deactivate a voucher
...
Plus controller specs
2023-09-05 15:48:59 +02:00
Gaetan Craig-Riou
79f4caaee2
Clean up spec
2023-09-05 15:48:30 +02:00
Maikel
2b18effe6d
Merge pull request #11322 from macanudo527/fix_remaining_line_length
...
Fix remaining Layout/LineLength Rubocop Errors
2023-08-04 09:34:00 +10:00
Neal Chambers
a4f270bdec
Fix Layout/LineLength
2023-08-03 09:49:47 +09:00
Matt-Yorkley
b2a7a931f3
Update tax_category tests
2023-07-31 09:23:20 +10:00
Jean-Baptiste Bellet
5a0d4d2a93
Set visible to only_through_links on enterprise registration
2023-07-25 10:57:26 +02:00
Jean-Baptiste Bellet
7aed068bb7
Enterprises.visible attribute is set to only_through_links by default
...
+ update enterprise_factory.rb to create "public" enterprise through specs via its factory
2023-07-25 10:57:26 +02:00
Filipe
b175793b91
Merge pull request #10704 from abdellani/hide-customers-with-no-completed-orders
...
Hide users with no completed orders from a hub's customers list
2023-06-30 10:56:56 +01:00
Neal Chambers
5b6f45931c
Fix Layout/LineLength
2023-06-26 13:06:56 +09:00
Maikel
014fb69d4b
Merge pull request #10964 from macanudo527/fix_linelength_bundle1
...
Fix Layout/LineLength - Bundle 1
2023-06-26 12:10:39 +10:00
Neal Chambers
1e4034534c
Fix Layout/LineLength
2023-06-23 09:08:04 +09:00
Matt-Yorkley
3ef7d2c9ff
Remove master variant from product
2023-06-16 21:23:44 +01:00
Mohamed ABDELLANI
298ae8ffc3
set create_manualll flag if the customer already exists
2023-06-15 12:02:45 +10:00
Mohamed ABDELLANI
ebc3073604
use Customer#visible on the customers listing endpoints
...
Update app/models/customer.rb
Co-authored-by: Maikel <maikel@email.org.au >
Update spec/models/customer_spec.rb
Co-authored-by: Maikel <maikel@email.org.au >
Update spec/models/customer_spec.rb
Co-authored-by: Maikel <maikel@email.org.au >
authorize created_manually field to be set on APIv1
2023-06-15 12:02:45 +10:00
Mohamed ABDELLANI
bd0e7cdfc8
remove legacy checkout tests
2023-06-13 14:58:16 +01:00
Gaetan Craig-Riou
41b3ddae08
Merge pull request #10714 from macanudo527/fix_linelength
...
Fix Style/LineLength
2023-06-12 09:53:23 +10:00
Matt-Yorkley
f4261b85b8
Merge pull request #10940 from Matt-Yorkley/order-tidyup
...
Order class tidyup
2023-06-08 15:06:59 +01:00
Neal Chambers
12aa4f9970
Fix Layout/IndentationStyle
2023-06-08 15:20:04 +10:00
Matt-Yorkley
a62e51c0d0
Remove Order #refresh_shipment_rates method
2023-06-05 23:54:04 +01:00
Jean-Baptiste Bellet
4edb159ef8
Avoid flaky spec by matching the array
...
Context: https://github.com/openfoodfoundation/openfoodnetwork/actions/runs/5081492387/jobs/9129944001?pr=10896
2023-06-05 10:05:09 +02:00
Matt-Yorkley
a20277c3a7
Completely remove option_values and option_types from the codebase
2023-06-01 10:12:19 +01:00
Mohamed ABDELLANI
fcb8550cb1
extract file path sanitizer to an independent class
2023-05-17 15:09:48 +10:00
Mohamed ABDELLANI
4d5ba6a7e6
add file path validation
2023-05-17 15:09:48 +10:00
Maikel Linke
9998025687
Remove useless test header setup for emails
...
Once upon a time we needed a helper to set the `from` header of emails.
This is now set in the ApplicationMailer and not necessary any more.
2023-04-20 12:15:34 +10:00
Mohamed ABDELLANI
03cb14c926
define manage_by scope on customer model
2023-04-11 12:18:15 +01:00
Neal Chambers
940f806e5f
Fix Rubocop Layout/LineLength
2023-04-04 09:44:15 +09:00
Jean-Baptiste Bellet
465a295dfa
Delete manager invitation controller
2023-03-23 11:21:05 +01:00
Maikel
512cb44df5
Merge pull request #10330 from mickenorlen/8909-add-balance-to-api-v1-customer-endpoint
...
Add balance to api v1 customers endpoint
2023-03-20 15:47:41 +11:00
Maikel
f15cb01f2a
Merge pull request #10520 from mkllnk/return-auth-controller-spec
...
Correctly include order id in return auth spec for Rails 7 compatibility
2023-03-15 14:08:16 +11:00
Maikel Linke
797b98d686
Remove Rails 5.0 controller spec workaround
...
We added a method to work around a bug. But that's not needed any more.
2023-03-07 08:46:36 +11:00
Jean-Baptiste Bellet
a7644f8e8b
Update spec: can edit OC even if variant in subscription has been deleted
2023-03-06 17:12:09 +01:00
Filipe
604fd75cff
Merge pull request #10247 from abdellani/sales_tax_totals_by_order
...
sales tax totals by order report
2023-02-22 20:03:45 +00:00
Mohamed ABDELLANI
8ff197457e
test accessing the Sales Tax Report By Order using different roles
2023-02-20 14:19:08 +01:00
Filipe
10d8e80c45
Merge pull request #10420 from anansilva/9311-remove-code-generating-receipts
...
Remove code generating receipts
2023-02-20 12:44:13 +00:00
Mikael Norlén
96c0057b03
Use Customers as argument for CustomersWithBalance
...
Change argument for CustomersWithBalance from
enterprise_id to Customers collection.
We have the need to calculate balance for customers in general,
not just for customers in a given enterprise.
2023-02-15 11:14:27 +01:00
cyrillefr
e6c0dd95c4
Remive I18n keys in Admin ctrller specs
2023-02-15 11:08:19 +01:00
Ana Nunes da Silva
3e03988d93
Remove receipt printing settings
2023-02-14 08:08:20 +00:00
Cillian O'Ruanaidh
fbe6dcba7a
Remove N+1 query loading tags for each order cycle exchange
2022-11-11 17:01:46 +00:00