Transifex-Openfoodnetwork
1a0843fad4
Updating translations for config/locales/fr_CM.yml
2022-01-03 21:30:28 +11:00
Matt-Yorkley
f5ebd47751
Replace customisations with explicit patch in an initializer
...
See previous commit.
This isn't nice, but it does the same job as the gem did. We can also update this code now as Rails changes (the gem was incompatible with Rails 7).
2021-12-28 10:19:35 +00:00
Matt-Yorkley
7cff1e01a8
Tell Zeitwerk to ignore app/webpacker directory.
...
The files here are not Ruby classes
2021-12-27 17:45:06 +00:00
Matt-Yorkley
09b9c3d4d0
Fix postcss-loader config
...
The configuration keys have some issues across different versions of postcss
2021-12-27 17:45:06 +00:00
Matt-Yorkley
297e2f1b38
Update webpacker css config
2021-12-27 17:45:06 +00:00
Matt-Yorkley
3c9d461f5f
Provide #image_pack_path helper method
2021-12-27 17:45:06 +00:00
Matt-Yorkley
825aeeae04
Migrate images and update assets
2021-12-27 17:45:06 +00:00
Matt-Yorkley
8dfc30438b
Move CSS to Webpacker
2021-12-27 17:45:05 +00:00
Transifex-Openfoodnetwork
6a312b8cca
Updating translations for config/locales/it.yml
2021-12-28 03:49:53 +11:00
Matt-Yorkley
aaf5d1ba38
Patch CanCan deprecated keyword arguments
...
Solves an issue with use of deprecated positional args. The version of CanCan which fixes this is not currently compatible with OFN...
2021-12-27 16:27:04 +00:00
Matt-Yorkley
70dc9a170e
Remove unnecessary config.autoload_paths
2021-12-25 20:51:55 +00:00
Matt-Yorkley
6aada422fd
Fix deprecation warnings around class loading during initialization
...
This:
```
DEPRECATION WARNING: Initialization autoloaded the constant User.
Being able to do this is deprecated. Autoloading during initialization is going
to be an error condition in future versions of Rails.
Reloading does not reboot the application, and therefore code executed during
initialization does not run again. So, if you reload User, for example,
the expected changes won't be reflected in that stale Class object.
This autoloaded constant has been unloaded.
In order to autoload safely at boot time, please wrap your code in a reloader
callback this way:
Rails.application.reloader.to_prepare do
# Autoload classes and modules needed at boot time here.
end
That block runs when the application boots, and every time there is a reload.
For historical reasons, it may run twice, so it has to be idempotent.
Check the "Autoloading and Reloading Constants" guide to learn more about how
Rails autoloads and reloads.
```
2021-12-25 20:51:18 +00:00
Matt-Yorkley
5b5a9ad750
Set default_url_options explicitly in all environments
2021-12-25 13:27:16 +00:00
Matt-Yorkley
b813acdab3
Tidy up (consolidate) setting of the "domain" in dev and test environments
2021-12-25 13:27:16 +00:00
Transifex-Openfoodnetwork
fd3bc76d8b
Updating translations for config/locales/en_FR.yml
2021-12-24 20:26:20 +11:00
Transifex-Openfoodnetwork
5d91e05dd0
Updating translations for config/locales/fr.yml
2021-12-24 20:25:42 +11:00
Filipe
e1664c173a
Merge pull request #8622 from openfoodfoundation/transifex
...
Transifex
2021-12-23 21:34:55 +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
Sebastian Castro
b76defc602
Improve notify producer button
...
Add icon
Better confirmation message
Adds tooltip
Adds small icon and change text if already notified
2021-12-23 20:41:49 +01:00
Sebastian Castro
95ff3d7a11
Add automatic_notification field in advanced settings
2021-12-23 20:41:49 +01:00
Matt-Yorkley
887879f410
Create job for handling of closing order cycles
2021-12-23 20:41:49 +01:00
Transifex-Openfoodnetwork
78ce44fffd
Updating translations for config/locales/en_GB.yml
2021-12-20 19:40:45 +11: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
Transifex-Openfoodnetwork
d2b0616a67
Updating translations for config/locales/de_DE.yml
2021-12-16 12:04:37 +11:00
Filipe
f6385215d3
Merge pull request #8568 from Matt-Yorkley/paypal-controller
...
Move paypal controller
2021-12-15 18:12:27 +00:00
Transifex-Openfoodnetwork
933492a596
Updating translations for config/locales/en_FR.yml
2021-12-16 03:45:53 +11:00
Transifex-Openfoodnetwork
125e93e38f
Updating translations for config/locales/fr.yml
2021-12-16 03:45:18 +11:00
Filipe
c4f4d67fc0
Merge pull request #8503 from jibees/split-checkout-payment-forms
...
Split checkout payment forms
2021-12-15 12:57:03 +00:00
Matt-Yorkley
6d2521bf5f
Remove Spree.user_class
...
This construct was previously used in Spree to switch out the user class with a dummy class during certain tests. We don't use this any more, so it's just mess.
🔥
2021-12-10 18:18:20 +00:00
Matt-Yorkley
a4794b22d5
Delete route to non-existent paypal controller action
2021-12-10 11:46:53 +00:00
Matt-Yorkley
0b48fa540a
Move paypal routes out of spree namespace
2021-12-10 11:46:52 +00:00
Matt-Yorkley
575f409ebf
Delete routes to non-existant content controller
2021-12-10 11:46:52 +00:00
Matt-Yorkley
5a1aa300d5
Delete route to non-existant checkout controller action
2021-12-10 11:46:52 +00:00
jibees
3c491299fd
Update config/locales/en.yml
...
Co-authored-by: Maikel <maikel@email.org.au >
2021-12-09 11:05:41 +01:00
Transifex-Openfoodnetwork
a2b734f636
Updating translations for config/locales/en_US.yml
2021-12-09 01:41:49 +11:00
Jean-Baptiste Bellet
fbe69b8027
Manage savedCards or enter new card behavior for stripe payment form
2021-12-07 16:27:22 +00:00
Jean-Baptiste Bellet
e89caf7a0d
Add stripe as payment method
2021-12-07 16:27:22 +00:00
Jean-Baptiste Bellet
792763d275
use specific gateway form template for split checkout
2021-12-07 16:27:22 +00:00
Matt-Yorkley
53d01b1275
Update all locales with the latest Transifex translations
2021-12-07 13:30:07 +00:00
Transifex-Openfoodnetwork
fa2b14e31b
Updating translations for config/locales/en_GB.yml
2021-12-06 21:03:46 +11:00
Transifex-Openfoodnetwork
59380ef547
Updating translations for config/locales/it.yml
2021-12-04 04:00:36 +11:00
Matt-Yorkley
d2f542032e
Update all locales with the latest Transifex translations
2021-12-02 21:20:26 +00:00
Transifex-Openfoodnetwork
2a9a92dd6c
Updating translations for config/locales/en_IE.yml
2021-12-03 04:30:38 +11:00
Filipe
f56dc2e284
Merge pull request #8517 from openfoodfoundation/chore-remove-deprecated-application.yml
...
Remove references to deprecated application.yml config file.
2021-12-02 10:54:08 +00:00
Adrien Chauve
8585c68691
Remove occurences of application.yml.example
2021-12-01 18:39:26 +01:00
Adrien Chauve
abf1b54364
Fix environment variables loading when running whenever
2021-12-01 18:34:39 +01:00
Jean-Baptiste Bellet
7ef976a52a
Update all locales with the latest Transifex translations
2021-11-25 13:47:09 +01:00
Transifex-Openfoodnetwork
d3131d6e23
Updating translations for config/locales/de_DE.yml
2021-11-25 10:04:12 +11:00
Transifex-Openfoodnetwork
ce69dbd016
Updating translations for config/locales/ru.yml
2021-11-25 07:39:36 +11:00
Adrien Chauve
051950e04c
Remove references to deprecated application.yml config file.
...
Point to .env and other .env.* config files.
2021-11-24 15:11:00 +01:00