Luis Ramos
|
c233052ec6
|
Merge pull request #6438 from luisramos0/devise4
Upgrade to devise 4.7
|
2020-12-08 17:19:13 +00:00 |
|
Luis Ramos
|
611de912a8
|
Switch frozen_string_literal to false so that price code keeps working
|
2020-12-03 06:38:24 -08:00 |
|
Andy Brett
|
8963a787d6
|
only validate unit_value presence if "items" is not chosen
|
2020-12-02 11:38:10 -08:00 |
|
Andy Brett
|
59cab902f0
|
add numericality validation
|
2020-12-02 11:38:10 -08:00 |
|
Andy Brett
|
4d2c93930b
|
resolve merge conflict
|
2020-12-02 11:38:10 -08:00 |
|
Luis Ramos
|
9abdcd88e5
|
Move confirmable config together with other devise configs in user model
|
2020-12-01 17:06:39 +00:00 |
|
Matt-Yorkley
|
64153c5072
|
Remove #handle_asyncronously and update to recommended asyncronous devise mail method
|
2020-11-27 14:00:29 +00:00 |
|
Matt-Yorkley
|
a5472d6b64
|
Convert ConfirmSignupJob to ActiveJob
|
2020-11-27 14:00:29 +00:00 |
|
Matt-Yorkley
|
9e334a4c1e
|
Convert ConfirmOrderJob to ActiveJob
|
2020-11-27 14:00:29 +00:00 |
|
Matt-Yorkley
|
3c0172c507
|
Fix Spree::Preferences cache issue
In some cases this method was trying to delete a Rails.cache entry with `nil` as the key, leading to lots of errors.
|
2020-11-27 14:00:28 +00:00 |
|
Matt-Yorkley
|
91908a0e4c
|
Switch from state_machine to state_machines gem
The old version is completely unmaintained and does not work with Rails 4.2
|
2020-11-27 14:00:28 +00:00 |
|
Luis Ramos
|
ff17ced101
|
Fix enterprises spec by adding needed references statement
|
2020-11-27 13:59:46 +00:00 |
|
Matt-Yorkley
|
93fe8dbc5f
|
Replace #scoped, which is now deprecated and removed in Rails 4.1
|
2020-11-27 13:59:46 +00:00 |
|
Luis Ramos
|
9bbef16804
|
Converting all calls to ActiveRelation#sum to use a symbol with &
This is only applicable to database columns, if we are summing using a method in the model than the & is required!
|
2020-11-27 13:59:46 +00:00 |
|
Luis Ramos
|
7472b7cc27
|
Fix sum call in quantifier
|
2020-11-27 13:59:46 +00:00 |
|
Luis Ramos
|
202aa3e5b7
|
Use reflections instead of, now gone, reflections
|
2020-11-27 13:59:46 +00:00 |
|
Luis Ramos
|
88ac5dc955
|
Fix rubocop issues by refactoring code
|
2020-11-10 00:03:34 +00:00 |
|
Luis Ramos
|
e879aa1bed
|
Switch to s3_alias_url that enabble virtual host type of path
|
2020-11-10 00:03:33 +00:00 |
|
Luis Ramos
|
94a815a9ef
|
Upgrade aws-sdk and set s3 host name using the provided url config.
This will enable us to set hostnames with the s3 region defined and that
will make our image upload work for all s3 regions.
|
2020-11-10 00:03:33 +00:00 |
|
Luis Ramos
|
f6d0905517
|
Add s3_support require to image.rb
|
2020-11-04 12:15:45 +00:00 |
|
Luis Ramos
|
a07029f660
|
Add require so that model is available when needed
|
2020-11-04 12:15:45 +00:00 |
|
Luis Ramos
|
ab53db0c61
|
Merge ability and ability decorator
|
2020-11-04 12:15:45 +00:00 |
|
Luis Ramos
|
9bbeec5031
|
Require code from spree/core explicitly
|
2020-11-04 12:15:45 +00:00 |
|
Luis Ramos
|
af3057f55f
|
Remove spree requires that are not needed in OFN
|
2020-11-04 12:15:45 +00:00 |
|
Luis Ramos
|
f6195f1159
|
Remove duplicate_extra logic from ProductDuplicator
|
2020-11-04 12:15:23 +00:00 |
|
Luis Ramos
|
503c17f896
|
Move Spree::ProductDuplicator to Spree::Core namespace
|
2020-11-04 12:15:23 +00:00 |
|
Luis Ramos
|
795b7101ab
|
Remove spree requires that are not needed in OFN
|
2020-11-04 12:15:23 +00:00 |
|
Luis Ramos
|
9d4a15b0e0
|
Add required product scopes from spree_core product_scopes
|
2020-11-04 12:15:23 +00:00 |
|
Luis Ramos
|
459959c068
|
Remove code related to spree promotions
|
2020-11-04 12:15:23 +00:00 |
|
Luis Ramos
|
cf7d8067df
|
Fix easy rubocop issues
|
2020-11-04 12:15:23 +00:00 |
|
Luis Ramos
|
e9f76cb339
|
Remove some dead code (Config.track_inventory_levels), remove variant.cost_price= so that localized number is seen, and fix specs
|
2020-11-04 12:15:23 +00:00 |
|
Luis Ramos
|
b68c5ee0f9
|
Remove dead code (prototypes) and fix specs
|
2020-11-04 12:15:23 +00:00 |
|
Luis Ramos
|
2f8198eecc
|
Fix some easy rubocop issues
|
2020-11-04 12:15:23 +00:00 |
|
Luis Ramos
|
f85044e035
|
Run rubocop autocorrect
|
2020-11-04 12:15:23 +00:00 |
|
Luis Ramos
|
751beceb34
|
Merge decorators with original spree files
|
2020-11-04 12:15:23 +00:00 |
|
Luis Ramos
|
8cb75fc6d8
|
Bring models from spree_core: Spree::Product and Spree::Variant!
EPIC COMMIT ALERT :-)
|
2020-11-04 12:15:23 +00:00 |
|
Luis Ramos
|
6755354196
|
Convert relation to_a to be able to use sum
|
2020-10-30 10:12:56 +00:00 |
|
Luis Ramos
|
1dace1f0e3
|
Make quantifier use stock_items relation and not an array because sum will behave differently with an array in rails 4.1
|
2020-10-30 10:10:54 +00:00 |
|
Andy Brett
|
cb3ea133e9
|
add available units to instance prefs page
|
2020-10-29 09:17:31 -07:00 |
|
Matt-Yorkley
|
df3ac0394c
|
Fix #s3_credentials
|
2020-10-25 14:04:33 +00:00 |
|
Matt-Yorkley
|
28590fdad4
|
Merge pull request #6223 from luisramos0/image_default_styles
Update image default styles
|
2020-10-22 17:54:32 +02:00 |
|
Matt-Yorkley
|
489529d30e
|
Merge pull request #5729 from luisramos0/image_settings
Remove Image settings page and standardise Paperclip styles
|
2020-10-22 15:58:14 +02:00 |
|
Luis Ramos
|
032075c04a
|
Merge pull request #6119 from arku/chore/fire-event-removal
Remove fire_event method usage
|
2020-10-21 21:21:35 +01:00 |
|
Matt-Yorkley
|
eb026f2e22
|
Use "sRBG" colourspace.
This seems to be the correct setting, and fixes a bug with the colouring of uploaded images. Further details:
https://imagemagick.org/script/color-management.php
https://www.imagemagick.org/discourse-server/viewtopic.php?t=20501
|
2020-10-21 14:26:26 +01:00 |
|
Matt-Yorkley
|
92d6168a14
|
Don't restrict image filetypes to JPG
|
2020-10-21 13:42:07 +01:00 |
|
Matt-Yorkley
|
f5ce0d501d
|
Merge pull request #5870 from luisramos0/prefs
[Bye bye Spree] Bring models app_configuration and preference from spree_core
|
2020-10-20 21:12:54 +02:00 |
|
Luis Ramos
|
b267f542d1
|
Merge pull request #5980 from luisramos0/spree_clean_up
[Bye bye spree] Some clean up fixes to make it all work without spree
|
2020-10-20 18:52:54 +01:00 |
|
Luis Ramos
|
3dc3e0970e
|
Update image default styles
|
2020-10-20 11:31:01 +01:00 |
|
Luis Ramos
|
10ed1f04c1
|
Revert default styles to what they were before, we can do this in a separate PR
|
2020-10-20 11:25:55 +01:00 |
|
Luis Ramos
|
16f9ef4ace
|
Simplify method
|
2020-10-20 11:20:37 +01:00 |
|