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
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
Jean-Baptiste Bellet
a951fd2c06
Create a new method pdf_stylesheet_pack_tag that actually include CSS file
...
If running in developpement (ie. `Webpacker.dev_server.running?`), use webpacker to actually render/serve the CSS files.
Source: https://stackoverflow.com/a/60541688
2022-02-09 11:21:50 +01:00
Filipe
998f7afdc4
Merge pull request #8523 from seballot/progress-for-ajax-request
...
Improve loading spinner display
2022-02-01 10:03:04 +00:00
Filipe
75395f6f29
Merge pull request #8648 from Matt-Yorkley/csp
...
Configure CSP
2022-01-26 19:55:11 +00:00
Filipe
28a126024f
Merge pull request #8722 from cillian/remove-unused-js-from-products-form
...
Remove unused inline JavaScript from products/_form.html.haml
2022-01-26 19:14:24 +00:00
Filipe
53b96896a9
Merge pull request #8779 from mkllnk/7872-remove-stripe-connect
...
Upgrade old Stripe Connect payment methods to Stripe SCA and remove Stripe Connect
2022-01-26 11:57:26 +00:00
Filipe
cea4714296
Merge pull request #8761 from Dmoment/8457-missng-translation-or-between-buttons
...
removed translation or between buttons
2022-01-26 10:04:41 +00:00
Filipe
1ddff2c4bf
Merge pull request #8678 from Matt-Yorkley/dead-code-js-uri
...
Remove outdated jsUri
2022-01-24 13:15:02 +00:00
Filipe
f17226ffbe
Merge pull request #8438 from cillian/show-out-of-stock-line-items
...
If an order has out of stock line items display them and let admins remove them
2022-01-24 12:18:19 +00:00
Maikel Linke
ee85b9654d
Remove references to StripeConnect class
2022-01-24 12:35:45 +11:00
Deepak Chauhan
018e19c2c8
removed translation or from _edit_resourse_link to prevent rspec failing
2022-01-20 13:05:05 +05:30
Deepak Chauhan
7adc1186c6
removed transaltion or between buttons from multiple views
2022-01-19 03:16:55 +05:30
Matt-Yorkley
8bb3fddbed
Use https when loading fonts in admin
2022-01-18 12:22:06 +00:00
Cillian O'Ruanaidh
22a48de033
Remove unused code for currency select menu which no longer exists
...
This removes inline JavaScript for #8699 . This code was for the old currency select menu which was removed in 4839b7bd63
2022-01-14 12:33:30 +00:00
Cillian O'Ruanaidh
bc33df6659
Remove unused inline JavaScript from products/_form.html.haml
...
For #8699 . This code, which was introduced in 1309d80f65 , does not appear to be used. The CSS at https://github.com/openfoodfoundation/openfoodnetwork/blob/master/app/webpacker/css/admin/sections/products.scss#L6 is used instead.
2022-01-14 12:07:33 +00:00
Sebastian Castro
115dfe445b
loading-message: make them all look the same in admin
...
use font awesome spinner instead of an image
2022-01-11 21:55:07 +01:00
Filipe
da703b2d95
Merge pull request #8615 from jibees/8559-enable-sort-orders-by-order-full-name
...
Enable sorting orders by order full name
2022-01-11 11:27:36 +00:00
Jean-Baptiste Bellet
4c508a5bf9
Group by unit size is specific: it needs to be divided by scale if not the smallest unit
2022-01-10 11:24:22 +01:00
Cillian O'Ruanaidh
e2b8108972
If an order has out of stock line items display them and let admins remove them
2022-01-07 13:15:44 +00:00
Matt-Yorkley
14a62f5d49
Change paths helpers to urls
2022-01-06 13:10:48 +00:00
Matt-Yorkley
39f0f56af7
Rename admin css pack
...
It looks like Webpacker can get confused sometimes when packs with different formats have the same name (eg: admin.js and admin.scss)...
2022-01-04 10:27:10 +00:00
Matt-Yorkley
9e6082f0cf
Use old image tag for non-compiled images
2021-12-27 17:45:06 +00:00
Matt-Yorkley
2888d75cd3
Replace #image_tag helper calls with #image_pack_tag
2021-12-27 17:45:06 +00:00
Matt-Yorkley
a11aebb2ca
Update stylesheets loaded with wicked-pdf to use Webpack
...
Luckily wicked-pdf already has a corresponding helper method.
2021-12-27 17:45:06 +00:00
Matt-Yorkley
6f06205eed
Switch admin CSS to webpack
2021-12-27 17:45:06 +00:00
Filipe
20c0195584
Merge pull request #8017 from cillian/hide-variants-with-no-stock
...
When creating backoffice orders hide variants with no stock by default
2021-12-23 21:34:06 +00:00
Filipe
cd70ce95a6
Merge pull request #8594 from seballot/products-index
...
Hide loading html components on product index
2021-12-17 09:36:54 +00:00
Jean-Baptiste Bellet
7a48ffdd38
Add order.full_name as new column
...
+ add the linked sortable header via `bill_address_lastname`
2021-12-16 09:26:49 +01:00
Jean-Baptiste Bellet
9c280ee612
add new line
2021-12-16 09:26:49 +01:00
Filipe
f7087842b4
Merge pull request #8556 from sinansonmez/8546-include-navigation-only-for-super-admins
...
Navigation is included only for super admin users
2021-12-11 16:34:10 +00:00
Sebastian Castro
8624d11585
products-index: Hide html component with ng-cloak
2021-12-08 12:44:58 +01:00
Sinan Chaush
68908fdff5
Navigation is included only for super admin users
2021-12-02 11:53:46 +01:00
Jean-Baptiste Bellet
5575697c9f
Add a directive attribute 'selected' that update AdminStripeElements when true
...
Filled with `PaymentCtrl.isSelected(payment_method_id)`
Therefore, each time a stripe payment is selected, the one that is actually selected is linked to `AdminStripeElements.card` and `AdminStripeElements.stripe`
2021-11-22 21:39:20 +01:00
Jean-Baptiste Bellet
f7bf6e1083
Include Stripe js only once in the admin section
2021-11-22 21:39:20 +01:00
Matt-Yorkley
47dbfa7d17
Merge pull request #8145 from Matt-Yorkley/reports-query-interface
...
Reports Query Interface
2021-11-05 10:06:52 +00:00
Maikel
3f571d178f
Merge pull request #8418 from KombiCode/7706-add-close-button-to-flatpickr
...
7706 add close button to flatpickr
2021-11-05 11:04:50 +11:00
Matt-Yorkley
817f0942dd
Pull in reports POC work replacing Packing reports
2021-11-04 14:55:23 +00:00
Maikel
e5c755e6ad
Merge pull request #8395 from sinansonmez/7937-include-missing-navigation-for-super-admin-only
...
Missing navigation for super admin users only included
2021-10-29 12:03:48 +11:00
Thierry Jet
5ebee9cd5f
Translation stuff ready for Close button. Add close: key scoped spree.admin.date_picker in en.yml
2021-10-26 19:38:49 +02:00
PHAN QUANG LAM
77524c633d
Fix menu indicator on bulk order page
2021-10-26 06:41:30 +09:00
Sinan Chaush
aedacb1311
Missing navigation for super admin users only included
2021-10-24 22:34:38 +02:00
jibees
e123353252
Merge pull request #8325 from achauve/3976-improve-error-handling-of-unsupported-image-formats
...
Improve error handling of unsupported image formats
2021-10-22 09:13:19 +02:00
jibees
2e846ce1e0
Merge pull request #8347 from achauve/8227-fix-opening-product-description-links-in-new-tabs
...
Fix: product edition doesn't break description links
2021-10-22 09:13:02 +02:00
Maikel
a271a66998
Merge pull request #8271 from sinansonmez/8176-preselect-supplier-when-only-one
...
When creating a product, preselect the supplier if there is only one
2021-10-19 14:12:00 +11:00
Adrien Chauve
bd3bea8025
Fix: product edition doesn't break description links
...
-> otherwise product edition was breaking description links, which were
not opening in a new tab anymore.
2021-10-18 11:29:33 +02:00
Adrien Chauve
c818ec5508
Fix image creation button title and icon
2021-10-17 22:47:12 +02:00
Adrien Chauve
ad56105d31
Display error messages on product image creation (not only edition)
2021-10-15 10:45:35 +02:00
Cillian O'Ruanaidh
2462d71ab5
When creating backoffice orders hide variants with no stock by default
...
But let people include out of stock variants by checking a checkbox if they want.
Note, we only apply the variants in stock scope if a distributor is
present. I think this is because this search method is also used when
setting up subscriptions so I don't think we want to change the
behaviour there.
Co-authored-by: Maikel Linke <maikel@email.org.au >
2021-10-08 13:13:32 +01:00
Jean-Baptiste Bellet
49e93a6125
Add StimulusJS controllers via webpacker for the admin
2021-10-06 15:06:56 +05:30