Maikel Linke
ff4bd449a2
Setting default_country_id by application.yml
...
The spree default_country_id was set using ENV["DEFAULT_COUNTRY"] for
production environment, but not for tests and development. Since tests
reset the default_country_id in specs/support/seeds.rb, only the
development environment had a fix id set to 12. This is removed now.
This fixes creating enterprises and enterprise groups without sample
data (12 is Australia).
2015-02-26 16:29:46 +11:00
Rafael Schouten
8395dbb3e9
Merge branch 'master' into config
...
Conflicts:
.gitignore
Gemfile
2014-10-25 15:29:53 +11:00
Rob Harrington
4d078feea2
Add default scope to devise to stop it from checking other devise enabled models (in this case :enterprise)
2014-10-17 16:12:51 +11:00
Rob Harrington
1a86206e1f
Fixing super annoying server reload bug
2014-09-24 13:01:40 +10:00
Rafael Schouten
9448e1cbe4
add figaro env config
2014-09-16 00:13:43 +10:00
Rohan Mitchell
a26450d173
Remove unused spree searcher class - causing intermittent test failures
2014-07-31 14:58:18 +10:00
Rohan Mitchell
b33a077fd0
Remove bugsnag config - this is added in deployment on a server-by-server basis
2014-07-16 11:45:44 +10:00
Rohan Mitchell
ff507b4b25
Put db backups in their own bucket on S3, put db2fog cron commands in schedule.rb
2014-07-16 09:33:59 +10:00
Will Marshall
33b5359a16
Spiking AMS implementation of data
2014-06-25 15:18:13 +10:00
Will Marshall
476eeef69d
Starting on on the map
2014-06-05 12:18:26 +10:00
Will Marshall
de9319f002
Auto-aligning BEFORE resizing
2014-05-30 15:23:42 +10:00
Will Marshall
f65ff5af18
Automatically sorting out image rotation
2014-05-28 16:03:42 +10:00
Will Marshall
3542799349
Removing pointless foundation crud, reworking the login
2014-05-06 18:28:20 +10:00
Will Marshall
f6bfc71c4b
Various small functional tweaks
2014-04-24 16:28:12 +10:00
Will Marshall
87cef4edcc
Reverting previous commit
2013-12-19 12:29:21 +11:00
Will Marshall
aaa2999ee1
Dropping our override of ActionMailer
2013-12-19 11:58:21 +11:00
Will Marshall
987ba1a81a
Adding a monkeypatch to spree to always allow SSL
2013-12-04 14:08:08 +11:00
Rohan Mitchell
57a450b0aa
Load landing page distributors from enterprise groups instead of yaml file
2013-10-30 13:55:47 +11:00
Rohan Mitchell
6161114750
Standardise on Australia having ID 12, as staging and prod servers do
2013-10-30 10:34:29 +11:00
Rohan Mitchell
763dab9efc
Fix country init for Jenkins
2013-10-23 10:41:50 +11:00
Rohan Mitchell
101510f2f4
Fix error when setting up a fresh db
2013-10-23 09:25:26 +11:00
Rohan Mitchell
34607ff556
Rename misc items from openfoodweb to openfoodnetwork
2013-10-18 17:43:59 +11:00
Rohan Mitchell
89f93cae77
Rename namespaced includes from open_food_web to open_food_network
2013-10-18 17:43:18 +11:00
Rohan Mitchell
e47fa0edfd
Rename application from Openfoodweb to Openfoodnetwork
2013-10-18 17:32:22 +11:00
Rohan Mitchell
57f7d489ff
Rename OpenFoodWeb namespace to OpenFoodNetwork
2013-10-18 17:29:55 +11:00
Rohan Mitchell
0b0c8253c1
Provide a hardcoded country code for CI (Jenkins), where countries are not pre-loaded
2013-10-11 14:13:24 +11:00
Rohan Mitchell
ba31e5d9fb
Remove hardcoded ID for Australia
2013-10-11 12:52:49 +11:00
Rohan Mitchell
91550ac82f
Move distributor config to its own file, re-enable pry for tests
2013-09-10 09:50:16 +10:00
Rohan Mitchell
15d3bff92d
Add delete_content_for helper, can be used for removing the sidebar from spree views
2013-09-10 08:45:59 +10:00
Rohan Mitchell
fe61cddda6
Merge branch 'local-organics'
...
Conflicts:
Gemfile
Gemfile.lock
app/assets/stylesheets/store/variables.css.scss
app/overrides/add_feedback_script.rb
app/views/spree/shared/_order_details_steps_data.html.erb
db/schema.rb
script/rails
spec/spec_helper.rb
2013-07-23 11:40:03 +10:00
Rob H
703f51ac1b
WIP (Spree Update): Update reference to current_user -> spree_current_user
2013-07-23 10:43:08 +10:00
Rohan Mitchell
efec0b07d6
Merge branch 'amazon-ec2'
...
Conflicts:
Gemfile
Gemfile.lock
2013-07-22 10:29:11 +10:00
Rohan Mitchell
ed067be530
Do not set site name and logo URLs in initializer, so that they can be set through admin interface
2013-06-04 08:43:35 +10:00
Andrew Spinks
df7dd557b5
Update CMS configuration take S3 details from the spree config.
2013-05-05 14:20:57 +10:00
Andrew Spinks
88508c254b
Install db2fog for S3 database backups
...
Conflicts:
Gemfile.lock
2013-05-05 14:19:56 +10:00
Andrew Spinks
6777a3ce58
Update CMS configuration take S3 details from the spree config.
2013-05-05 14:10:11 +10:00
Rohan Mitchell
e20e4950bb
Install db2fog for S3 database backups
2013-04-29 11:31:01 +10:00
Rohan Mitchell
3982b2a690
Merge branch 'new-spree'
...
Conflicts:
Gemfile.lock
2013-02-20 15:24:27 +11:00
Rohan Mitchell
8903c13c84
Bugsnag uses SSL, notify on staging as well as production
2013-02-20 10:09:43 +11:00
Rob H
d7c2bdfe22
Change reference to method 'has_role' to 'has_spree_role' in CMS initialiser (required for Spree 1.3)
2013-02-14 12:12:19 +11:00
Rohan Mitchell
98143ffe5b
Add calculator to EnterpriseFee, test passes for listing enterprise fees
2012-11-16 16:07:40 +11:00
Rohan Mitchell
4fc7295b97
Use S3 configuration from environment vars instead of s3.yml
2012-10-19 16:40:18 +11:00
Rohan Mitchell
8c7a02ec10
Fix image uploads with CMS
2012-10-18 11:13:40 +11:00
Rohan Mitchell
9fbcd8c01b
Display CMS pages with Spree's layout
2012-10-12 10:21:21 +11:00
Rohan Mitchell
28fc16ac66
Create links between Spree and CMS admin sections
2012-10-11 12:50:59 +11:00
Rohan Mitchell
a31c5bbe46
Authorise CMS via Spree login
2012-10-11 10:50:36 +11:00
Rohan Mitchell
b35fb618f3
Add base install of Comfortable Mexican Sofa
2012-10-11 10:50:36 +11:00
Rohan Mitchell
a013854d2d
Change logo to Eaterprises, update link colour to match
2012-09-14 11:25:36 +10:00
Rohan Mitchell
a6c2490597
Enable auto-capture for spree_paypal_express
2012-08-02 15:45:31 +10:00
Rohan Mitchell
7d5c158021
Install Bugsnag
2012-08-02 10:32:33 +10:00