luisramos0
|
4658b7a533
|
Fix rubocop issues in app/controllers/application_controller
|
2019-12-28 19:10:02 +00:00 |
|
luisramos0
|
d0f33e7c8a
|
Avoid code in devise that is not needed and simply return the root path
This fixes a broken spec with error "No route matches {:controller=>"home"}"
|
2019-12-28 18:47:14 +00:00 |
|
luisramos0
|
55bb328d48
|
Prefix all calls to root_url with main_app
|
2019-12-28 18:46:50 +00:00 |
|
luisramos0
|
a8a6fce385
|
Prefix root_path with main_app so that ofn's route is used. The spree root path will no longer be defined when spree_backend is dropped
|
2019-12-28 18:45:57 +00:00 |
|
luisramos0
|
9404aacfb2
|
run rubocop --auto-correct
|
2019-11-10 18:42:43 +00:00 |
|
luisramos0
|
10e123a9c4
|
Move spree/authentication_helpers injection from spree initializers directly to the application_controller
Also, switch from using send to public_send making rubocop happier
|
2019-07-08 13:11:57 +01:00 |
|
luisramos0
|
86b0d71c7e
|
Result of rubocop auto-correct and rebuilding rubocop_manual_todo
|
2019-05-28 12:57:29 +01:00 |
|
luisramos0
|
4a67acf954
|
Removing a few rubocop warnings
|
2019-05-28 12:55:17 +01:00 |
|
VadLusk
|
f74a6e47d5
|
Remove css_splitter references, delete all_split2.css. #1361 #2633
|
2018-09-03 09:20:26 +10:00 |
|
Matt-Yorkley
|
172fa168ea
|
Change layout attribute to method with question mark
|
2018-06-21 15:19:40 +01:00 |
|
Matt-Yorkley
|
ff0e0d9f3d
|
Move logic from ApplicationController to service and improve clarity
|
2018-06-20 01:28:35 +01:00 |
|
Matt-Yorkley
|
e73b378201
|
Adjust embedded response headers
|
2018-06-20 01:28:35 +01:00 |
|
Matt-Yorkley
|
c2934d3570
|
Ensure domain in SSL header matches request with or without www prefix
|
2018-05-21 17:50:34 +01:00 |
|
stveep
|
6efc0ab802
|
Set response headers to disable cache - to avoid back button emptying cart (#1213)
|
2018-05-18 09:57:32 +10:00 |
|
Matt-Yorkley
|
7bd0de99ac
|
Adjust brittle referer header check
|
2018-02-23 16:35:46 +00:00 |
|
Matt-Yorkley
|
e173f823c8
|
Refactor embedded logic
|
2018-02-23 15:57:28 +00:00 |
|
Matt-Yorkley
|
4a818c07bb
|
Only include one host in embedded shopfornt headers
|
2018-02-23 15:57:28 +00:00 |
|
Maikel Linke
|
2b989f49ea
|
Enable iframes in development environment
|
2017-10-06 14:24:28 +11:00 |
|
Matt-Yorkley
|
5200937165
|
Safari/iOS iframe issue fix
|
2017-07-26 13:56:36 +10:00 |
|
Matt-Yorkley
|
6215777986
|
Shopfront review adjustments
|
2017-07-26 13:56:36 +10:00 |
|
Matt-Yorkley
|
0eb4c7f7ba
|
Require https for embedding sites
|
2017-07-26 13:56:36 +10:00 |
|
Matt-Yorkley
|
782a812596
|
Basic Embedded Shopfronts
|
2017-07-26 13:56:36 +10:00 |
|
Matt-Yorkley
|
113f6565be
|
Enable iframes for embedded shopfronts
|
2017-07-26 13:56:36 +10:00 |
|
Rob Harrington
|
7bb58342fc
|
Rubocop: Auto-correct Style/EmptyLineBetweenDefs offences
|
2017-06-23 16:49:08 +10:00 |
|
Rohan Mitchell
|
8f0bc367d0
|
Include missing helpers
|
2016-11-04 09:39:17 +11:00 |
|
Rohan Mitchell
|
b540f645c3
|
Split CSS to overcome IE9's 4096 rule limit
|
2015-06-16 11:57:50 +10:00 |
|
Maikel Linke
|
e35b39c7cf
|
Handle invalid referer URLs
Rescues URI::InvalidURIError of URL(request.referer).
|
2015-06-05 12:43:49 +10:00 |
|
Rob Harrington
|
5940ff2b2c
|
Don't override devise's after_sign_in_path_for, use specific before filters for user sessions and registrations controllers instead
|
2015-04-16 16:56:27 +10:00 |
|
Rohan Mitchell
|
15b05de7f2
|
Fix specs: Distributors require shipping and payment method
|
2014-11-01 10:42:38 +11:00 |
|
Rohan Mitchell
|
8488b8e469
|
When user has selected a hub that is not ready for checkout, unselect it
|
2014-10-31 15:02:58 +11:00 |
|
Rohan Mitchell
|
c21d5cc3dc
|
Remove redirect to certified hostname - this is now performed by nginx. Fixes SSL errors.
|
2014-06-12 14:59:27 +10:00 |
|
Will Marshall
|
dbf4f503a9
|
Restoring my clever flash refactoring
|
2014-06-10 11:14:52 +10:00 |
|
Rohan Mitchell
|
be644bdcc3
|
Revert "Reworking flash messages hooray"
This reverts commit c9d0091cd9.
|
2014-06-06 16:59:47 +10:00 |
|
Will Marshall
|
c9d0091cd9
|
Reworking flash messages hooray
|
2014-06-06 16:41:28 +10:00 |
|
Will Marshall
|
368fbd2383
|
Patching up admin redirects to be MOAR UNIVERSAL
|
2014-05-30 12:52:14 +10:00 |
|
Will Marshall
|
151702d685
|
Catching order cycle expiry and redirecting
|
2014-05-14 11:51:25 +10:00 |
|
Rohan Mitchell
|
04379101e1
|
Change to new production hostname: openfoodnetwork.org.au
|
2014-05-09 16:39:39 +10:00 |
|
Will Marshall
|
b907616749
|
Renaming our partials
|
2014-05-02 14:47:12 +10:00 |
|
Will Marshall
|
6ad30d901d
|
Tidying down shop/checkout test
|
2014-05-01 16:22:11 +10:00 |
|
Will Marshall
|
e7d6e7e564
|
Removing the sidebar before filter stuff, since we're not using it anymore
|
2014-04-30 12:15:57 +10:00 |
|
Will Marshall
|
74fb266748
|
Adding some requirement filters to the Orders controller
|
2014-03-21 15:18:27 +11:00 |
|
Will Marshall
|
d6c71d5416
|
Fixing a nil bug in the referrer handling on login
|
2014-02-27 16:24:10 +11:00 |
|
Will Marshall
|
19fa7200f3
|
Fixing the login redirection issue
|
2014-02-27 14:47:56 +11:00 |
|
Will Marshall
|
7af1d72ef9
|
Working login and signup forms for checkout, specs, redirect back to checkout on success
|
2014-02-07 16:07:18 +11:00 |
|
Rohan Mitchell
|
3a2394675f
|
Rename OrderCycle#expired? to #closed?
|
2013-11-22 11:08:42 +11:00 |
|
Rohan Mitchell
|
767bda3093
|
Redirect /products to enterprise path, since this page did not have correct product filtering
|
2013-10-24 11:33:03 +11:00 |
|
Rohan Mitchell
|
e3307623dd
|
When order cycle expires, clear cart and display a message (from BaseController)
|
2013-10-23 17:16:07 +11:00 |
|
Rohan Mitchell
|
761bafe375
|
Rename text labeling from open food web to open food network
|
2013-10-18 17:46:05 +11:00 |
|
Rohan Mitchell
|
4b7fc8b5e4
|
In production, redirect to hostname with the SSL certificate
|
2013-10-14 10:44:14 +11:00 |
|
Rohan Mitchell
|
072ce67b78
|
Redirect if distributor not chosen
|
2013-09-23 13:39:13 +10:00 |
|