Rafael Schouten
92a40fc842
order mailer edits
2014-09-26 17:21:41 +10:00
Rob Harrington
4b2f1cefa0
Spliting order management abilities out of product management abilities
2014-09-26 17:11:11 +10:00
Rob Harrington
299b0fe5be
Allowing all enterprise users to access products
2014-09-26 15:01:23 +10:00
summerscope
2ea0c89899
Style the modal headers
2014-09-26 15:01:23 +10:00
summerscope
237d129710
Changing the markup to give a class where is a producer
2014-09-26 15:01:23 +10:00
Rafael Schouten
e9c8547ca3
fix enterprsie model logic
2014-09-26 15:01:23 +10:00
summerscope
dee503befb
Tweak language around the long description
2014-09-26 15:01:22 +10:00
summerscope
781fcae946
Change styling for register modals
2014-09-26 15:01:22 +10:00
Rob Harrington
d3c8e4a547
Replacing reference to is_profile
2014-09-26 11:20:55 +10:00
summerscope
a6e8d6906f
Tweak message on profile label
2014-09-26 11:20:09 +10:00
Rob Harrington
be17d80cc4
Fixing hubs service spec
2014-09-25 17:28:01 +10:00
Rob Harrington
85b27f5b51
Adding angularjs-file-upload to spec manifest
2014-09-25 17:25:48 +10:00
Rob Harrington
b55b4e9a0c
Merge branch 'master' into ent_types_frontend
2014-09-25 17:20:15 +10:00
Rob Harrington
33dff551c7
Removing 'show profiles' from producer and shop pages
2014-09-25 17:19:57 +10:00
Rob Harrington
1e31dd88ee
Remove unrequired functions, add has_hub_listing
2014-09-25 17:19:57 +10:00
summerscope
cbc8a62686
STyling for profile only small view
2014-09-25 17:02:41 +10:00
summerscope
3b7cd6d329
Making the styling work for profiles and producers
2014-09-25 16:54:17 +10:00
summerscope
97ae170dd1
Add in profile only use case to styling
2014-09-25 16:40:06 +10:00
summerscope
3812d1eebb
Add more greys
2014-09-25 16:39:48 +10:00
summerscope
2e1b2ffe12
Add italics
2014-09-25 16:04:27 +10:00
summerscope
a068411b7d
Add in class to show when hub is
2014-09-25 16:00:03 +10:00
Rafael Schouten
f8b083e4b7
fix lost hub link
2014-09-25 14:04:10 +10:00
Rob Harrington
f5849e91dc
Adding limit reached modal to registration
2014-09-25 12:25:32 +10:00
Rob Harrington
6fa7d9cbcb
Registration controller checks number of owned enterpises
2014-09-25 12:10:45 +10:00
Rob Harrington
9520eeeb15
can specify attributes for create_enterpise_user
2014-09-25 11:56:18 +10:00
Rafael Schouten
da620f3723
Merge branch 'master' into ent_types_frontend
2014-09-25 10:09:42 +10:00
Rafael Schouten
f8d5b7ede8
refactor enterprise types to six options
2014-09-24 23:30:43 +10:00
Rob Harrington
ed91cd6463
Make sure d1 != d2
2014-09-24 20:48:52 +10:00
Rob Harrington
b5ef24bacb
table matchers use capybara matchers rather than wait_until with micro-sleep
2014-09-24 16:18:59 +10:00
Rob Harrington
f0f165a129
Explicitly create enterprises in order_cycle factory to fix intermittent fail
2014-09-24 14:00:08 +10:00
Rob Harrington
1a86206e1f
Fixing super annoying server reload bug
2014-09-24 13:01:40 +10:00
Rob Harrington
c6d463bf25
Revert "Pending bulk order mgmt specs"
...
This reverts commit eead8d665f .
2014-09-20 18:06:42 +10:00
Rob Harrington
b86848269b
Merge branch 'specs' into reg_images
2014-09-19 23:44:31 +10:00
Rob Harrington
5bceb81479
Fixing image upload in onboarding
2014-09-19 23:37:02 +10:00
Rob Harrington
509cf6250a
Explicitly sort managed products
2014-09-19 18:32:03 +10:00
Rob Harrington
07275574b6
Manager can't bulk update owner
2014-09-19 18:31:50 +10:00
Rob Harrington
5d2d619d66
Assigning @spree_api_key for store
2014-09-19 18:31:33 +10:00
Rob Harrington
17ce80a417
Allow new user to create enterprises
2014-09-19 18:31:23 +10:00
summerscope
d86c3cff26
Making enterprise header styles show as turquoise when no shopfront to click through to
2014-09-19 17:48:24 +10:00
summerscope
5e4e939087
Return template markup which was accidentally removed in Rafs merge
2014-09-19 17:47:49 +10:00
Rafael Schouten
559d3b0e4b
fixup the header but needs some styling
2014-09-19 17:24:41 +10:00
Rafael Schouten
883e5f1095
Merge branch 'ent_types_frontend' of https://github.com/openfoodfoundation/openfoodnetwork into ent_types_frontend
...
Conflicts:
app/assets/javascripts/templates/partials/enterprise_header.html.haml
2014-09-19 17:22:29 +10:00
Rafael Schouten
abc5a215a2
add map modals, profile filters and bugfixes
2014-09-19 17:07:07 +10:00
summerscope
919f87df58
change modal styling to improve look of Close button, overall layout for modals
2014-09-19 16:46:19 +10:00
Rafael Schouten
cf13115d57
bugfix is_profile bool
2014-09-19 16:44:51 +10:00
summerscope
408f7b7f10
Modals styling refine for small use cases
2014-09-19 16:44:43 +10:00
Rafael Schouten
e4991d4528
reorganise and document enterprise categories
2014-09-19 16:44:28 +10:00
summerscope
09cc3c6285
Styling for hero image underlay used on enterprises- adjust min heights for different text use cases
2014-09-19 16:44:16 +10:00
summerscope
5a7175e75d
Tweak markup to make modals fit headers nicely across small sizes
2014-09-19 16:43:31 +10:00
summerscope
1c0196cf5d
Change language for Kirsten
2014-09-19 16:25:34 +10:00
Rob Harrington
c6acbc6810
Assigning @spree_api_key for store
2014-09-19 16:09:26 +10:00
Rob Harrington
eeb54f3f76
Allow new user to create enterprises
2014-09-19 15:30:53 +10:00
summerscope
4c7fa4eb9f
Fix markup so that text is not nested inside icon markup
2014-09-19 15:19:47 +10:00
summerscope
e5fc3c19e3
Working on refining scroll on modals
2014-09-19 14:41:45 +10:00
Rob Harrington
544e6e074a
Stop being lazy
2014-09-19 14:38:59 +10:00
Rob Harrington
d3e72b5a2a
Adding images to registration process
2014-09-19 12:41:24 +10:00
Rafael Schouten
f9cbdcee0a
swap profile name
2014-09-19 12:18:02 +10:00
Rafael Schouten
527a139f72
Merge branch 'ent_types_frontend' of https://github.com/openfoodfoundation/openfoodnetwork into ent_types_frontend
2014-09-18 18:17:41 +10:00
Rafael Schouten
64fdbcf04f
update enterprise type spec
2014-09-18 18:17:31 +10:00
Rafael Schouten
0d5106d571
refactor enterprise type logic and fix icons
2014-09-18 18:15:28 +10:00
summerscope
9a4ba5aa1f
Producer page styling and logic for markup
2014-09-18 16:15:14 +10:00
summerscope
e1769e638d
More styling for producer page
2014-09-18 16:14:53 +10:00
summerscope
24ca1b064a
Tweak language for help popover
2014-09-18 15:34:56 +10:00
summerscope
0b59ca2dc1
Turning Show Profiles checkbox back on ready for logic
2014-09-18 15:33:44 +10:00
summerscope
7f4bccc956
fix anchor angular for link to hub shopfront
2014-09-18 15:22:53 +10:00
summerscope
20a76626b9
Add styling for instance where producer is own shopwfront on producer page
2014-09-18 15:22:29 +10:00
Rafael Schouten
1fdcbbec40
Merge branch 'ent_types_frontend' of https://github.com/openfoodfoundation/openfoodnetwork into ent_types_frontend
2014-09-18 15:15:01 +10:00
Rafael Schouten
bd922085c4
icons and entity category logic
2014-09-18 15:14:55 +10:00
summerscope
c42f83b6b1
Tweak markup to show producer name and write logic for link around producer if also own shopfront
2014-09-18 15:13:48 +10:00
Rafael Schouten
d75076e1c9
producer icons and inital link logic
2014-09-18 13:59:47 +10:00
Rafael Schouten
21628ed069
Merge branch 'master' into ent_types_frontend2
2014-09-17 17:45:55 +10:00
Rafael Schouten
e9dd863462
Merge branch 'master' into payment_description
...
Conflicts:
app/views/spree/order_mailer/confirm_email.text.erb
2014-09-17 17:07:43 +10:00
Rafael Schouten
83b19ee632
fix haml and formatting on confirm email
2014-09-17 16:56:44 +10:00
Rafael Schouten
79fd8ed98b
dubug mail template
2014-09-17 15:37:38 +10:00
Rafael Schouten
e618c4c2c0
add payment description to checkout
2014-09-17 14:56:29 +10:00
rafaqz
ee6b71b140
Merge pull request #260 from openfoodfoundation/currency
...
Merge Currency branch
2014-09-17 13:47:37 +10:00
Rafael Schouten
1c9bb906d1
Merge branch 'currency' of https://github.com/openfoodfoundation/openfoodnetwork into currency
2014-09-17 13:21:56 +10:00
Rafael Schouten
ac3c3f9f6c
remove to_f on decimals
2014-09-17 13:19:34 +10:00
Rafael Schouten
6829636f11
comit ng-tst changes elsewhere
2014-09-17 13:19:08 +10:00
rafaqz
98ba135d49
Explain weird spree override
2014-09-17 13:12:27 +10:00
Rafael Schouten
4a93e9e94f
Merge branch 'master' into currency
2014-09-17 12:49:10 +10:00
Rafael Schouten
b6fd3a11fa
remove old mailer
2014-09-17 11:54:06 +10:00
Rafael Schouten
f79dfed6ef
use haml for mailer
2014-09-17 11:53:47 +10:00
Rob Harrington
0fdbcc0023
Make dates consistent
2014-09-17 11:39:39 +10:00
Rob Harrington
eead8d665f
Pending bulk order mgmt specs
2014-09-17 11:39:20 +10:00
Rafael Schouten
01c98bf6e4
refactor and bugfix for tests
2014-09-17 01:07:34 +10:00
Rob Harrington
22e61d9834
TEMP: spit out variables in failing oc spec
2014-09-16 23:47:34 +10:00
Rob Harrington
279c5925ef
Add helpers to registration spec to counter JS weirdness
2014-09-16 23:46:34 +10:00
Rob Harrington
9e2e96d19e
Schema weirdness
2014-09-16 23:45:36 +10:00
Rafael Schouten
49476b17e8
fix typos and add missing helper
2014-09-16 16:10:48 +10:00
Rafael Schouten
1aa80e53b1
Merge branch 'master' into currency
...
Conflicts:
app/helpers/injection_helper.rb
db/suburb_seeds.rb
2014-09-16 10:25:22 +10:00
Rafael Schouten
5cf09d264c
fix suburb typo
2014-09-14 12:27:24 +10:00
Rob H
143545da0d
Try newer syntax to fix spec failing on CI
2014-09-12 23:41:26 +10:00
Rob H
0815775bc3
Temporary fix for race condition in registration spec
2014-09-12 17:22:54 +10:00
Rob H
30bcdde5ca
Merge branch 'ent_types_frontend' into working
2014-09-12 16:45:58 +10:00
Rob H
cb7033eea0
Registration spec checks enterprise created and updated
2014-09-12 16:42:10 +10:00
Rohan Mitchell
25a889375c
Fix unreliable spec
2014-09-12 16:39:47 +10:00
Rohan Mitchell
b41029d5d0
Spec reliability: Explicitly set a $0 calculator for shipping method
2014-09-12 16:11:31 +10:00
Rob H
d2c5533549
Remove use_short_wait
2014-09-12 16:10:38 +10:00
summerscope
cc9d2ebbac
Modal styling fixes for scrolling on mobile view
2014-09-12 16:01:25 +10:00
summerscope
799bfae6e4
Revert "Add commented-out scrolling code. Return false from click handlers."
...
This reverts commit dbefd43f07 .
2014-09-12 15:51:20 +10:00
summerscope
c365047d0c
Short description goes back in producer fat view until we can clean up the HTML formatting
2014-09-12 15:40:12 +10:00
Rohan Mitchell
dbefd43f07
Add commented-out scrolling code. Return false from click handlers.
2014-09-12 15:33:02 +10:00
Rob H
8507690865
Fixing enterprise owner migration
2014-09-12 15:23:13 +10:00
summerscope
42fccd1bdf
Merging master into my branch to make it up to date
2014-09-12 14:48:19 +10:00
summerscope
3cff83b7a5
Kill the outside modal close button styling once and for all
2014-09-12 14:42:58 +10:00
Rob H
05d8c825c7
Enterprise User should NOT see form elements for changing type
2014-09-12 13:40:47 +10:00
summerscope
0dd33e6635
Modal styling updates ated trying to fix mobile scrolling issue. getting there.
2014-09-12 13:40:00 +10:00
Rob H
bcca8c5c0d
Merging master into all the things
2014-09-12 13:28:30 +10:00
Rob H
f5048ecf7c
Sends confirmation email when Enterprise is created
2014-09-12 13:24:17 +10:00
Rohan Mitchell
4fb30f2942
When removing outgoing exchanges, do not removing variants from other outgoing exchanges
2014-09-12 12:50:04 +10:00
Rob H
5c7ab2efa3
Restrict editing of ownership and type in enterprise api controller
2014-09-12 12:47:16 +10:00
Rafael Schouten
9a1b524915
fix icon font class
2014-09-12 12:21:40 +10:00
Rob H
cc65faadd0
Specing out enterprise registration service properly
2014-09-12 11:48:17 +10:00
summerscope
a28eaba31a
Turn off price graph pop overs for small devices
2014-09-12 11:45:13 +10:00
Rohan Mitchell
e50bbeaefb
Edit product form shows permitted suppliers
2014-09-12 11:33:47 +10:00
summerscope
1c5a495d5c
Making icons smaller, adding a bit of background shadow to pop them out
2014-09-12 11:29:41 +10:00
Rohan Mitchell
a6556f3a4f
Fix broken JS specs
2014-09-12 11:12:35 +10:00
Rohan Mitchell
033fe88513
New product form shows permitted suppliers
2014-09-12 11:07:59 +10:00
summerscope
bfa71942fe
Tweaks to input placeholder label
2014-09-12 11:02:28 +10:00
summerscope
01397b2e49
Tweaks to filter box
2014-09-12 11:01:35 +10:00
Rob H
6ee3010fa7
Differentiation of on-boarding process by url
2014-09-12 11:00:34 +10:00
summerscope
ecacde41dd
Tweaks to big input for small screens
2014-09-12 11:00:10 +10:00
summerscope
126e9e82a6
Add in blues for use
2014-09-12 10:58:51 +10:00
summerscope
9c33be911c
Update placeholder label
2014-09-12 10:49:59 +10:00
summerscope
6d7fd6dc94
Add in logic to change right hand label if this is the current hub
2014-09-12 10:48:33 +10:00
Rafael Schouten
309ddece89
make profile icons work
2014-09-12 10:38:04 +10:00
Rafael Schouten
3ea29df111
12 option entity categories
2014-09-12 10:11:59 +10:00
Rafael Schouten
05782b6ec1
Merge branch 'ent_types_frontend' of https://github.com/openfoodfoundation/openfoodnetwork into ent_types_frontend
2014-09-12 09:59:55 +10:00
Rafael Schouten
f33a9e1a58
16 enterprise categories from four checks.
2014-09-12 01:50:36 +10:00
Rob H
043cc915e7
Removing save_screenshot calls
2014-09-11 22:40:03 +10:00
Rob H
5007fd8ec3
Shipping method 1 is used, so shipping method amount is zero
2014-09-11 22:27:05 +10:00
Rob H
a7a99b5048
Pending registration spec
2014-09-11 18:15:33 +10:00
Rob H
12f5e48479
Replace is not with isnt - damn you CoffeeScript
2014-09-11 17:58:38 +10:00
Rob H
98f7e58f9d
Registration spec expects the correct url
2014-09-11 17:58:05 +10:00
summerscope
de64a5154b
Fixing markup icon class name was incorrect
2014-09-11 17:13:07 +10:00
Rob H
048a741a2c
Plugging final two registration pages into validation
2014-09-11 17:11:53 +10:00
Rob H
19565a5f3b
Rename service
2014-09-11 17:10:59 +10:00
Rob H
fc0afae51c
Adding form validation to contact page
2014-09-11 17:10:59 +10:00
Rob H
454e4c971a
Adding validation to address page
2014-09-11 17:10:59 +10:00
Rob H
34841f8543
Refactoring registration form controller
2014-09-11 17:10:59 +10:00
Rob H
412e906ed3
Adding basic validation to reg process
2014-09-11 17:10:59 +10:00
Rob H
800eecea33
Fix failing bulk specs
2014-09-11 17:10:58 +10:00
summerscope
8d570286a1
Adding in sexy logic to add color to name depending on type
2014-09-11 17:10:58 +10:00
summerscope
f8c761f492
Comment out unused section, set column layout to match previous step
2014-09-11 17:10:58 +10:00
summerscope
e0fff552f9
Adjust button layout at bottom of page
2014-09-11 17:10:58 +10:00
summerscope
4d8796669b
Adding in pretty alert boxes, yay!
2014-09-11 17:10:58 +10:00
summerscope
dc5506d06b
Adjust button layout at bottom of page
2014-09-11 17:10:58 +10:00
summerscope
100d672eef
Adjust button layout at bottom of page
2014-09-11 17:10:58 +10:00
summerscope
6486e41576
More styling for registration
2014-09-11 17:10:08 +10:00
summerscope
a5fefbe6bb
More styling for register form
2014-09-11 17:10:07 +10:00
summerscope
912b7a8f95
Add a color class for global use
2014-09-11 17:10:07 +10:00
summerscope
75c62a7cb8
Markup changes to step 2 address
2014-09-11 17:10:07 +10:00
summerscope
2917c0fa44
More styling and work on step 1 - DETAILS
2014-09-11 17:10:07 +10:00
Rob H
c93673d78b
Adding form to each page of registration
2014-09-11 17:10:07 +10:00
summerscope
c54b18a416
Cleanupm markup
2014-09-11 17:07:07 +10:00
summerscope
8a4dcef7fe
Tweak layout and simplify column structures
2014-09-11 17:07:07 +10:00
summerscope
500cb65b41
Styling for registration steps
2014-09-11 17:07:07 +10:00
summerscope
d1b8b12901
Tweak custom bullet point styles
2014-09-11 17:07:07 +10:00
Rob H
a16da4eae0
Commenting out enterprise creation
2014-09-11 17:07:07 +10:00
Rob H
f1ef8ba3c7
Getting signup to work and authentication to load in reg specific template
2014-09-11 17:07:07 +10:00
summerscope
8b928b5a66
Styling on-boarding wizard Introduction step
2014-09-11 17:07:06 +10:00
summerscope
08d3eb6f93
Making the modals higher relative to their respective window
2014-09-11 17:07:06 +10:00
summerscope
36f719d538
Creating new style of bullet point list
2014-09-11 17:07:06 +10:00
summerscope
db58fb5b0c
Pretty potatoes picture for creating profile wizard
2014-09-11 17:07:06 +10:00
Rob H
f1f9a2e7fc
Updating on later pages of registration process
2014-09-11 17:07:06 +10:00
summerscope
60d6599f9b
Tweak chirpy message in view
2014-09-11 17:07:06 +10:00
Rob H
dc43612a04
Adding an 'r'
2014-09-11 17:07:06 +10:00
Rob H
bc0c9dd229
Adding the social page to registration form
2014-09-11 17:07:06 +10:00
Rob H
b848d583ff
Adding the remainder of pages to registration process
2014-09-11 17:07:05 +10:00
Rob H
e341b12d3a
Adding loading message when creating enterprise
2014-09-11 17:07:05 +10:00
Rob H
4d106129ee
Creating an about page including flash boxes for registration
2014-09-11 17:07:05 +10:00
Rob H
69b1d14cc4
Adding authorize to api enterprise create
2014-09-11 17:07:05 +10:00
Rob H
ef8f611458
Adding countries and states to registration
2014-09-11 17:07:05 +10:00
Rob H
7dc42c9e39
Creating an enterprise works in registration process
2014-09-11 17:07:05 +10:00
Rob H
3d4e00a03c
Swtich API key injection over to helper
2014-09-11 17:07:05 +10:00
summerscope
a642ad0855
More style detail for small view inactive hub small views
2014-09-11 17:00:59 +10:00
Rob H
10f97fe14b
Adding some icons to registration pages
2014-09-11 16:34:21 +10:00
Rob H
07f9dc23e0
Making button styling a bit nicer
2014-09-11 16:34:21 +10:00
Rob H
29e78e63ad
Playing with resizing
2014-09-11 16:34:20 +10:00
Rob H
95bfc74b3f
No need to deal with locations in registration
2014-09-11 16:34:20 +10:00
Rob H
e1400705fe
Adding contact step to registration process
2014-09-11 16:34:20 +10:00
Rob H
843c6ea6a6
Fix styling on details page
2014-09-11 16:34:20 +10:00
Rob H
c53df00969
Adding address step to registration process
2014-09-11 16:34:20 +10:00
Rob H
5f09f1b4f7
Pull out styling for registration process
2014-09-11 16:34:20 +10:00
Rob H
c92aa41e28
Adding introduction and details pages to registration process
2014-09-11 16:34:19 +10:00
Rob H
595aa760cb
Loads registration page with authentication
2014-09-11 16:34:19 +10:00
summerscope
94165f17e4
Merging master into this branch to keep repository up to date
2014-09-11 16:33:44 +10:00
summerscope
24507c6c0a
turn off Profile filter again until ready to support this
2014-09-11 16:29:38 +10:00
summerscope
1eef483c44
Hub node styling for different use cases of active / inactive / current / open / closed
2014-09-11 15:42:37 +10:00
summerscope
af064a3fc7
Adding more spacing for fat view on small devices - vertical spacing for each chunk
2014-09-11 15:42:08 +10:00
summerscope
de7837aea9
New greys and translucent colors for global use
2014-09-11 15:41:28 +10:00
summerscope
7d0cf2ace9
Adding rounded corners to producers nodes for active table
2014-09-11 15:41:01 +10:00
summerscope
71918539b8
Undo changing name Hubs to Shops, for the moment
2014-09-11 15:40:35 +10:00
summerscope
16ad465571
tweak placeholder name
2014-09-11 15:40:12 +10:00
Rob H
ad56594fe9
Removing obsolete spec
2014-09-11 15:19:24 +10:00
Rob H
c0e4a22a6e
Adding enterprise_limit form element to user edit page
2014-09-11 15:19:24 +10:00
Rob H
7780046d71
Clicking on user email takes me to the edit page rather than the annoying 'show' intermediary
2014-09-11 15:19:24 +10:00
Rob H
a3f7fc1202
Adding column for enterprise limit on users index page
2014-09-11 15:19:23 +10:00
Rob H
9085741f3c
Removing enterprises form from user edit page
2014-09-11 15:19:23 +10:00
Rob H
8cc5c2246a
Hide 'Create New' enterprise link on dashboard when user has reached limit
2014-09-11 15:19:23 +10:00
Rob H
eb6af408d7
Trailing spaces crusader: one man, a million trailing spaces
2014-09-11 15:19:23 +10:00
Rob H
60297eb5c8
Hide 'New Enterprise' link on index page when user has reached limit
2014-09-11 15:19:23 +10:00
Rob H
41b286f80f
Delete specific E2ER in spec
2014-09-11 14:54:51 +10:00
Rob H
f1c19ea64c
Enterprise validates owner enterprise_limit
2014-09-11 14:54:51 +10:00
Rob H
7fbc9aa680
User validates the number of enterprises owned
2014-09-11 14:54:51 +10:00
Rob H
2253859cd1
Adding enterprise limit to spree users
2014-09-11 14:54:51 +10:00
Rob H
e83e2295ed
Adding some extra controller-level specs for enterprise ownership
2014-09-11 14:54:51 +10:00
Rob H
3e1f4628e3
Can change owner of enterprises from index page
2014-09-11 14:51:22 +10:00
Rob H
7983b2f45a
Adding changing ownership to enterprise update spec
2014-09-11 14:39:15 +10:00
Rob H
e106c7a0cd
Initialise user autocomplete element using data from element itself rather than AJAX request
2014-09-11 14:39:15 +10:00
Rob H
13d814ff23
Adding user autocomplete directive to speed up specification of owner for enterprises
2014-09-11 14:39:15 +10:00
Rob H
73a32fdaf1
Remove distributor_info: 'how does it work' from enterprises edit page
2014-09-11 14:39:14 +10:00
Rob H
8e91e4513d
Remove rich text editors from about us in enterprise editor
2014-09-11 14:39:14 +10:00
Rob H
4bde6a0a3d
WIP: VERY SLOW PAGE LOAD: Super admin can edit owner of enterprise from edit screen
2014-09-11 14:39:14 +10:00
Rob H
138e0281a3
Specify owner for enterprise create action
2014-09-11 14:39:14 +10:00
Rob H
31de5d45ea
Adding owner to enterprise
2014-09-11 14:36:09 +10:00
Rob H
58f28f112a
Enterprise index type selection is only visible to super admin
2014-09-11 14:22:47 +10:00
summerscope
997479f5be
Change label on mobile menu
2014-09-11 13:05:21 +10:00
Rafael Schouten
0fa4540cec
Merge branch 'master' into currency
2014-09-11 12:09:18 +10:00
summerscope
bebe0c41f6
Styling for hubs and producers - adding rounded corners, making current shop less intense
2014-09-11 11:50:46 +10:00
Rafael Schouten
09a4c4e17e
add spree currency helper, fix some typos and specs
2014-09-11 11:47:55 +10:00
Rafael Schouten
c1971d015c
fix bug in mailer
2014-09-10 19:59:39 +10:00
Rafael Schouten
666036756e
fixup docs etc
2014-09-10 19:50:32 +10:00
Rafael Schouten
dc266e066f
another few class names
2014-09-10 19:43:14 +10:00
Rafael Schouten
44e9cf5ade
add currency spec file and update some class names
2014-09-10 18:22:33 +10:00
Rohan Mitchell
69d1111c73
Fix expected payment amount
2014-09-10 17:00:51 +10:00
Rohan Mitchell
32a2e793ad
When deleting enterprise relationships, delete dependent permissions
2014-09-10 14:49:15 +10:00
Rohan Mitchell
c297b7014a
Charge customers for their shipping fee
2014-09-10 14:01:36 +10:00
Rohan Mitchell
4168ea054b
For body content, cloak the home page only. JS should be cached after that.
2014-09-10 12:12:46 +10:00
Rohan Mitchell
b49eb8fe03
Hide angular templates on page load
2014-09-10 11:50:30 +10:00
Rob H
78a70292ac
Moved attributes are actually delcared in the right place for Enterprise Serializer
2014-09-08 15:39:17 +10:00
Rob H
dfa837cac6
Moved cached properties which should not be cached
2014-09-08 15:01:34 +10:00
Rob H
b49a4cbc4f
Fix intermittent failing spec
2014-09-08 11:11:07 +10:00
Rob H
3ee0cf46e0
Merge branch 'working' into merging
2014-09-08 10:12:31 +10:00
Rob H
36891c73cb
Merge branch 'master' into merging
2014-09-08 10:09:51 +10:00
Rob H
a968aa9b91
Removing float:left which weirdly breaks specs
2014-09-08 10:09:00 +10:00
Rafael Schouten
991d0029dd
add currency localisation
2014-09-08 00:06:53 +10:00
Rob H
5fb4110328
Adding distributor and producer checkboxes to enterprise index
2014-09-07 21:04:53 +10:00
Rob H
6540bb8efc
Adding select field for enterprise type to index when super admin
2014-09-07 19:51:14 +10:00
Rob H
b8fadb50ae
Special Instructions in checkout are actually wired up
2014-09-06 12:00:27 +10:00
Rob H
9dc2b248c7
Bulk management permissions make more sense
2014-09-06 09:37:34 +10:00
Rob H
ee4a1925fe
Bulk Order Management works with navigation helper override
2014-09-06 00:34:27 +10:00
Rob H
780df6bfe0
Hide 'profile type' form element for non super-admin users
2014-09-05 18:38:43 +10:00
Rob H
58dcdbd9c4
Restricting ability to change enterprise type at the controller level
2014-09-05 18:30:15 +10:00
summerscope
2e8ec3df18
Tweak placeholder messages for big inputs
2014-09-05 18:07:50 +10:00
summerscope
6271b83fad
Tweak placeholder messages for big inputs
2014-09-05 18:07:28 +10:00
summerscope
778cf0326b
Changing placeholder for
2014-09-05 18:04:02 +10:00
summerscope
94e3946d52
producer list view styling
2014-09-05 17:54:16 +10:00
summerscope
0b74242f49
make classes more generic for more use-cases
2014-09-05 17:53:52 +10:00
summerscope
bb82fc4b20
move generic things into active table
2014-09-05 17:53:27 +10:00
summerscope
6e10c416e2
hub view styling
2014-09-05 17:53:14 +10:00
summerscope
ab44046658
skinny view producers remove unnecessary spacer element
2014-09-05 17:52:36 +10:00
summerscope
a9619a6dca
Changes to markup on producer page to adjust layout
2014-09-05 17:50:50 +10:00
Rob H
20bfcd6e48
Switching enterprise relationships form around
2014-09-05 17:11:57 +10:00
summerscope
60ac3f29a5
Producers page WIP
2014-09-05 16:41:00 +10:00
summerscope
adb8b6b02f
Styling for help icon
2014-09-05 16:40:59 +10:00
summerscope
b3f97479d3
Hide profile filter from search for the mo
2014-09-05 16:40:59 +10:00
Rob H
097367a9f8
Map modals for 'profile' enterprises do not display shopping options
2014-09-05 16:28:08 +10:00
Rob H
1e1ddedfb2
Merge remote-tracking branch 'origin/ent_types_frontend' into ent_types_frontend
2014-09-05 16:18:45 +10:00
Rob H
428e4c63d4
Profile hubs don't show up in hubs list
2014-09-05 16:18:25 +10:00
summerscope
0d0ffa1cd0
Making CTA links consistent with modals, adding in logic to force space holding for producer fat view
2014-09-05 15:47:41 +10:00
summerscope
a092e97294
Adding a little bit of spacing between each row for active table
2014-09-05 15:47:14 +10:00
summerscope
26bd1000de
Changing placeholder for search input
2014-09-05 15:28:50 +10:00
summerscope
59adae5c9c
Working on space placeholders for fat view
2014-09-05 15:28:32 +10:00
Rob H
233532a85f
Merge remote-tracking branch 'origin/ent_types_frontend' into ent_types_frontend
2014-09-05 15:14:48 +10:00
summerscope
99fb9c1966
Adding in markup and styling for new layout of hubs list view
2014-09-05 15:10:17 +10:00
Rohan Mitchell
3a12f9a7c8
Extract bulk product edit interface into partials
2014-09-05 15:10:17 +10:00
Rohan Mitchell
4d766a29ab
Convert admin login nav to haml
2014-09-05 15:10:16 +10:00
Rohan Mitchell
c43c35601b
Set product.largeImage in JS, use for product modal
2014-09-05 15:10:16 +10:00
Rohan Mitchell
fe1c60ba47
Enterprise manager can edit products from enterprises it has manage_products permission on
2014-09-05 15:10:16 +10:00
Rohan Mitchell
b7708d750b
Check authorisation for bulk update products
2014-09-05 15:10:15 +10:00
Rohan Mitchell
fbd4f98fa9
Include producers I have permission to in BPE producers choice
2014-09-05 15:10:15 +10:00
Rohan Mitchell
9ec5dc6466
Find enterprises that we manage products for
2014-09-05 15:10:14 +10:00
Rohan Mitchell
e023a66167
Bulk product edit lists managed products
2014-09-05 15:10:14 +10:00
Rohan Mitchell
4af704b1d0
Fetch managed products via OpenFoodNetwork::Permissions
2014-09-05 15:10:14 +10:00
Rohan Mitchell
1ea63bca6e
Name test enterprises semantically
2014-09-05 15:10:14 +10:00
digital dreamer
503fb53750
Fix #242 - foreign key constraint error on load_sample_data
2014-09-05 15:10:14 +10:00
Rohan Mitchell
6ff6e4248c
Rename spec to match view name change
2014-09-05 15:10:14 +10:00
Rohan Mitchell
57af658e7c
For OC, fetch all enterprises we have access to, including those via E2E relationships
2014-09-05 15:10:13 +10:00
Rohan Mitchell
913c167fdf
Revert 5ede8d1, reinstating a4be0ff..7b89e6a
2014-09-05 15:10:12 +10:00
Maikel Linke
7603ea867f
Store links to root_path instead of product_path
2014-09-05 15:10:12 +10:00
Maikel Linke
c5cfda5283
Adding login_nav partial from spree_auth_devise
...
Preparing to change 'Store' link for Bugherd #443 .
2014-09-05 15:10:12 +10:00
Maikel Linke
aaa32528ea
Giving an example name for an enterprise fee.
...
The example is displayed as input placeholder. See bugherd #439 .
2014-09-05 15:10:11 +10:00
Maikel Linke
602dfbe002
ng_text_field handling options parameter
2014-09-05 15:10:10 +10:00
Rob H
14aada1808
Add 'profile only' logic to maps icons
2014-09-05 15:09:15 +10:00
Rob H
32ee8afdce
logic for producer shop icon in list view
2014-09-05 14:46:04 +10:00
summerscope
7b9ff9b6dd
Merge branch 'ent_types_frontend' of github.com:openfoodfoundation/openfoodnetwork into ent_types_frontend
...
Conflicts:
app/views/home/_skinny.html.haml
2014-09-05 12:48:05 +10:00
summerscope
658c27408e
Styling for hub listing page and tweaks to markup to accomodate new icons and styling
2014-09-05 12:32:45 +10:00
Rob H
8f6d04a129
Adding properties to enterprise serialiser to allow differentiation between profile, shopfront and aggregators
2014-09-05 12:30:52 +10:00
summerscope
b487c9848b
Add checkbox for show / hide profiles
2014-09-05 12:15:14 +10:00
summerscope
94fbb624f5
Make CTA links separate from hub link styling
2014-09-05 12:14:55 +10:00
summerscope
ed0f2de2f3
More styling for CTA links on modals
2014-09-05 11:56:21 +10:00
summerscope
c64ef39e22
Ran a DB:micrate, this is a change to the order
2014-09-05 11:39:43 +10:00
summerscope
0138fded17
Styling for modals
2014-09-05 11:39:04 +10:00
summerscope
116eb6a2c6
template updates for modals - links not buttons
2014-09-05 11:38:19 +10:00
Rohan Mitchell
0fd496aa97
Extract bulk product edit interface into partials
2014-09-02 15:27:51 +10:00
Rohan Mitchell
4d57a73ee3
Merge branch 'digital-dreamer-fix-242-foreign-key'
2014-09-02 14:08:45 +10:00
Rohan Mitchell
7d6dbeba28
Merge branch 'fix-242-foreign-key' of https://github.com/digital-dreamer/openfoodnetwork into digital-dreamer-fix-242-foreign-key
2014-09-02 14:02:14 +10:00
Rohan Mitchell
f53ed4bf31
Merge branch 'admin-panel-store-link'
2014-09-02 13:45:25 +10:00
Rohan Mitchell
818a0f8595
Convert admin login nav to haml
2014-09-02 13:45:11 +10:00
Rohan Mitchell
a347152490
Merge branch 'master' into admin-panel-store-link
2014-09-02 13:39:46 +10:00
Rohan Mitchell
fce2147dc1
Merge branch 'enterprise-fee-naming-example'
2014-09-02 13:39:11 +10:00
Rohan Mitchell
7247e65115
Merge branch 'master' into enterprise-fee-naming-example
2014-09-02 13:36:50 +10:00
Rohan Mitchell
2cd5afbf9c
Set product.largeImage in JS, use for product modal
2014-09-01 16:21:23 +10:00
Rohan Mitchell
e72c3d861b
Enterprise manager can edit products from enterprises it has manage_products permission on
2014-09-01 11:49:09 +10:00
Rohan Mitchell
94683f1eaa
Check authorisation for bulk update products
2014-09-01 11:15:00 +10:00
Rohan Mitchell
c81503d95f
Include producers I have permission to in BPE producers choice
2014-09-01 10:44:09 +10:00
Rohan Mitchell
4d8d74dec7
Find enterprises that we manage products for
2014-09-01 10:36:59 +10:00
Rohan Mitchell
cfb31b46e4
Bulk product edit lists managed products
2014-09-01 10:13:59 +10:00
Rohan Mitchell
e0645dfbd9
Fetch managed products via OpenFoodNetwork::Permissions
2014-09-01 09:42:50 +10:00
Rohan Mitchell
66f20a6b8a
Name test enterprises semantically
2014-09-01 09:17:38 +10:00
digital dreamer
ac48613556
Fix #242 - foreign key constraint error on load_sample_data
2014-08-29 13:42:27 +02:00
summerscope
a4aa949499
Applying new icons for map view
2014-08-29 18:04:06 +10:00
summerscope
ae442769b5
New version of icon font for OFN system
2014-08-29 18:03:47 +10:00
summerscope
a31e8ff82f
New map icons
2014-08-29 18:03:15 +10:00
summerscope
4efe3fdf88
Remove old map icons
2014-08-29 18:01:54 +10:00
Rohan Mitchell
62e6cacfd0
Rename spec to match view name change
2014-08-29 17:37:56 +10:00
Rohan Mitchell
7f74854a2f
For OC, fetch all enterprises we have access to, including those via E2E relationships
2014-08-29 16:38:23 +10:00
Rohan Mitchell
0b61872d96
Revert 5ede8d1, reinstating a4be0ff..7b89e6a
2014-08-29 16:38:10 +10:00
Rob H
ba3f97ca1f
Fixing enterprise relationships spec
2014-08-28 14:45:24 +10:00
Rob H
5ede8d169f
Revert a4be0ff..7b89e6a for deployment
2014-08-28 14:32:57 +10:00
Rob H
bfd9ffd84a
Adding missing data-bindings for country/state
2014-08-28 14:25:21 +10:00
Rohan Mitchell
7b89e6aa80
Revert "Comment out ERPs which have confusing names, use old 'permits'"
...
This reverts commit a4be0ff55a .
2014-08-28 10:12:06 +10:00
Rohan Mitchell
1871d42e68
Switch to correct grammatical ordering of child/parent enterprise on enterprise relationships page
2014-08-28 10:09:50 +10:00
Rohan Mitchell
a5debc19dc
Permit edits to exchanges involving enterprises permitted via E2E relationships
2014-08-28 10:09:50 +10:00
Rohan Mitchell
628d87b69a
Add to OC permission allows adding distributors to order cycle
2014-08-28 10:09:50 +10:00
Rohan Mitchell
5ef13d3c5a
Change 'add products to OC' permission into the more general 'add enterprise to OC'
2014-08-28 10:09:50 +10:00
Rohan Mitchell
099a5b0b7b
Show E2E related enterprise exchanges in OC
2014-08-28 10:09:50 +10:00
Rohan Mitchell
34602244ca
Show permitted suppliers in order cycle add supplier select box
2014-08-28 10:09:50 +10:00
Rohan Mitchell
b9e5821497
Add EnterpriseRelationship scopes permitting and with_permission
2014-08-28 10:09:50 +10:00
Rohan Mitchell
8548a1a67e
Determine producer options on order cycle screen through OpenFoodNetwork::Permissions class
2014-08-28 10:09:50 +10:00
Rohan Mitchell
a7689973be
Semantically name enterprises in spec
2014-08-28 10:09:50 +10:00
Rohan Mitchell
5e8bdce67d
Refactor spec
2014-08-28 10:09:50 +10:00
Rob H
a4be0ff55a
Comment out ERPs which have confusing names, use old 'permits'
2014-08-27 17:07:30 +10:00
Rob H
7124dc57fd
Requiring a state in checkout
2014-08-27 16:59:26 +10:00
Rob H
400f2ea9b9
Don't add payment forms to checkout DOM unless required
2014-08-27 15:09:41 +10:00
Rohan Mitchell
0462b3e55d
Prevent duplicate enterprise roles
2014-08-26 14:40:34 +10:00
Rob H
435819acc4
Removing unit text from total units column
2014-08-25 20:29:24 +10:00
Rob H
310d1b3726
Zeus server does not crash when editing controllers
2014-08-25 20:29:24 +10:00
Rob H
0d9e07d484
Make restore script compatible with OSX
2014-08-25 20:29:23 +10:00
Rohan Mitchell
45a44844ca
Remove old rabl spec
2014-08-25 16:38:17 +10:00
Rohan Mitchell
1a995aedda
Simplify enterprise_relationship factory - leverage permissions_list= model method
2014-08-25 15:20:46 +10:00
Rohan Mitchell
c3224ce668
Style permission list items, order perms consistently by name
2014-08-25 15:05:49 +10:00
Rohan Mitchell
3932884dba
Admin can create enterprise relationships with permissions
2014-08-25 14:59:10 +10:00
Rohan Mitchell
057ad9c6d3
Set enterprise relationship permissions from a list
2014-08-25 14:54:52 +10:00
Rohan Mitchell
50c559964c
Display enterprise relationship permissions
2014-08-25 13:28:02 +10:00
Rohan Mitchell
b4e89ad2c0
Convert enterprise relationship permission to string presentation
2014-08-25 13:27:01 +10:00
Rohan Mitchell
70feef1256
Add EnterpriseRelationshipPermission model
2014-08-25 13:26:23 +10:00
Rohan Mitchell
cb615ba994
Render enterprise relationships JSON with AMS instead of rabl
2014-08-25 13:07:31 +10:00
Rohan Mitchell
3524e658f8
Error when creating product and master is invalid, instead of creating a product without a master
2014-08-25 11:52:15 +10:00
Rohan Mitchell
4ceaec0ef5
Do not error when checking out with a pre-loaded shipping/billing address
2014-08-22 17:34:42 +10:00
Maikel Linke
adf4f92ffb
Store links to root_path instead of product_path
2014-08-22 16:10:23 +10:00
Maikel Linke
ca7eb72688
Adding login_nav partial from spree_auth_devise
...
Preparing to change 'Store' link for Bugherd #443 .
2014-08-22 16:04:46 +10:00
Rohan Mitchell
dd42b0c239
Split out opening payments into own context
2014-08-22 14:38:44 +10:00
Rohan Mitchell
e173c69ee3
Fix arrow position
2014-08-19 16:53:23 +10:00
Rohan Mitchell
b35c5e902f
Fix broken JS specs
2014-08-19 16:47:51 +10:00
Rohan Mitchell
e3b4f6efc1
When profile admin only, do not show payment methods, shipping methods or enterprise fees when editing profile
2014-08-19 16:43:18 +10:00
Rohan Mitchell
a533daab96
Split sidebar into parts
2014-08-19 16:41:49 +10:00
Rohan Mitchell
4b42c28bd5
Refactor admin enterpriseCtrl - variable naming, if x then true else false antipattern
2014-08-19 16:34:56 +10:00
Rohan Mitchell
3e97762f7e
Remove unused producer options on hub tab, make logic consistently ordered
2014-08-19 16:23:05 +10:00
Rohan Mitchell
79387d3d82
On admin enterprises listing page, do not show links to pages without perms
2014-08-19 16:15:17 +10:00
Rohan Mitchell
2706c0e47e
Extract enterprise actions to partial
2014-08-19 16:11:20 +10:00
Rohan Mitchell
5dc7d1ee11
For users without product management perms, show a cut-down admin dashboard
2014-08-19 16:02:11 +10:00
Rohan Mitchell
9451f3659c
Use pluralize helper, sentence case
2014-08-19 15:41:01 +10:00
Rohan Mitchell
e1a1b74f03
Extract dashboard enterprises table markup into partials
2014-08-19 14:49:20 +10:00
Rohan Mitchell
50e4c5fac9
Users with only a profile-level enterprise see only menu items for enterprise management
2014-08-19 14:26:45 +10:00
Rohan Mitchell
abe592c9a3
Allow Reports admin tab to be enabled/disabled through cancan :report resource
2014-08-19 14:22:19 +10:00
Rohan Mitchell
0e6cd30e7e
Edit for clarity
2014-08-19 13:27:45 +10:00
Rohan Mitchell
732a61664f
Split abilities into enterprises/products/relationships
2014-08-19 13:21:20 +10:00
Rohan Mitchell
a858c21296
Enterprise has a type (full, single, profile), editable by admin
2014-08-19 11:37:31 +10:00
Rohan Mitchell
2660ffd459
Fix duplicate enterprise role
2014-08-16 16:33:07 +10:00
Rohan Mitchell
a0a752a3b1
Don't re-create FK
2014-08-15 17:34:24 +10:00
Rohan Mitchell
63f9abdf5c
Add CSS3 animations to enterprise roles admin
2014-08-15 16:09:06 +10:00
Rohan Mitchell
9ddfb1584b
Admin can delete enterprise roles
2014-08-15 16:09:06 +10:00
Rohan Mitchell
95a0bf39f7
Enterprise roles must be unique
2014-08-15 16:09:05 +10:00
Rohan Mitchell
6e17f0aaa2
Admin can create enterprise roles
2014-08-15 16:09:05 +10:00
Rohan Mitchell
8bc9def6ae
Switch to AMS for enterprise role serialisation
2014-08-15 16:09:05 +10:00
Rohan Mitchell
1d77812ab8
Admin can list enterprise roles
2014-08-15 16:09:04 +10:00
summerscope
a03c4f7110
Merge branch 'master' into laura_and_will
2014-08-15 12:17:05 +10:00
summerscope
7f6a7b4254
Adding underlines to links on modals for map view etc to try and make these more intuitive and usable
2014-08-15 11:02:21 +10:00
summerscope
8ef91d1b2a
Styling and layout tweaks for checkout page to improve how columns sit on small devices
2014-08-14 12:09:55 +10:00
summerscope
3d2c196237
Tweak layout for checkout accordions to prevent expand and hide from dropping over two lines on small devices
2014-08-14 12:09:23 +10:00
Rohan Mitchell
50b8eaecab
Add fundraising fees
2014-08-13 15:07:32 +10:00
Rohan Mitchell
f30c67da7b
Remove crowdfunding notice from README
2014-08-12 14:07:16 +10:00
Rohan Mitchell
d05e5e430a
Revert "Adding CTA button for crowdfunding site to homepage & countdown timer directive"
...
This reverts commit 75f3358e2a .
2014-08-12 14:06:13 +10:00
Rohan Mitchell
cc011f5136
Switch to forked version of better_spree_paypal_express - passes customer email and phone number to paypal. Waiting on PR #117
2014-08-12 12:34:42 +10:00
Rob H
a7b3bbee74
Overriding payment method load_data to hide Bogus Gateways
2014-08-09 12:52:00 +10:00
Rob H
c20369919c
Can change hub after changing pm type
2014-08-09 11:23:05 +10:00
Rob H
044a4c6816
Finish changing class names for PayPal gateways
2014-08-08 23:19:13 +10:00
Rob H
a8b823668f
Fix checkout specs failing due to payment method not having hub
2014-08-08 22:40:24 +10:00
Rob H
51f912033b
Remove test for PayPalExpress UK which does not exist anymore
2014-08-08 22:39:26 +10:00
Rob H
115d8e0d6e
Smoosh distributions up into cart item subtotal in order confirmation email
2014-08-08 17:50:00 +10:00
Rob H
40d290951c
Fix failing specs related to requiring distributor for payment method
2014-08-08 17:47:51 +10:00
Rob H
6b73eb435c
Add js specs for providers controller
2014-08-08 17:47:51 +10:00
Rob H
9e54162a62
Annoying migration changes
2014-08-08 17:47:51 +10:00
Rob H
d80166e80d
Restrict access to show_provider_preferences action on payment methods controller
2014-08-08 17:47:50 +10:00
Rob H
f19af52556
WIP: angularised provider settings for payment method works on create (for admin only at this stage)
2014-08-08 17:47:50 +10:00
Rob H
f430267304
Specs for show_provider_preferences
2014-08-08 17:47:50 +10:00
Rob H
16215289d0
Spec for payment method clean_name translation
2014-08-08 17:47:50 +10:00
Rob H
f021d260b1
Require payment_methods to be associated with at least one hub
2014-08-08 17:47:50 +10:00
Rob H
d6aae0050f
Angularise payment method provider UI
2014-08-08 17:47:50 +10:00
Rob H
55e29832e1
Make name of payment_methods more human readable
2014-08-08 17:47:50 +10:00
Rob H
1cbdd9a5fa
WIP: rearrange payment methods page
2014-08-08 17:47:49 +10:00
Rob H
25d7adac83
WIP: Replace configuration menu on payment methods edit page
2014-08-08 17:47:49 +10:00
Rob H
5fea15e8a9
Better error reporting for failed save on BPE
2014-08-08 14:05:54 +10:00
Rob H
d8c1823328
Fix broken specs
2014-08-08 14:05:54 +10:00
Rob H
3b9cd3f46a
Make loading on BOM look more like BPE
2014-08-08 14:05:53 +10:00
Rob H
e6f7f26a95
Add loading gif to BPE, fiddle with interface
2014-08-08 14:05:53 +10:00
Rob H
32c8b9cdcd
Switch Taxons input over to category selection on BPE, clean up interface
2014-08-08 14:05:53 +10:00
Rob H
1e68052711
Moving update button to top of BPE
2014-08-08 14:05:53 +10:00
Rob H
d27908fd2f
Add ability to reset filters to BPE
2014-08-08 14:05:53 +10:00
Rob H
37ecadf6fc
Taxons by ID converts id to string
2014-08-08 14:05:53 +10:00
Rob H
5f277dae61
Fixing BPE specs related to filtering
2014-08-08 14:05:52 +10:00
Rob H
e76c2a215a
Fix BPE spec around supplier conversion in filtering
2014-08-08 14:05:52 +10:00
Rob H
59a3fe11ad
Fix taxon service specs
2014-08-08 14:05:52 +10:00
Rob H
d9692312ac
WIP: swapping filters over to drop downs
2014-08-08 14:05:52 +10:00
Rob H
2f5b5e7ee5
Inject taxons into BPE
2014-08-08 14:05:52 +10:00
Rob H
aaddccfae4
Injecting producer information into BPE
2014-08-08 14:05:51 +10:00
Rob H
c139e2fab2
Remove 500 product warning
2014-08-08 14:05:51 +10:00
Rob H
27e992ebcb
Staggered loading of products in BPE
2014-08-08 14:05:51 +10:00
Rob H
b9f49344b4
BPE: Switch column toggle to dropdown, clean up specs
2014-08-08 14:05:51 +10:00
Rob H
9922dc6e79
Replace pagination with infinite scroll on BPE
2014-08-08 14:05:51 +10:00
Rob H
1abbc7fa86
Switch data injection for BPE over to AMS
2014-08-08 14:05:50 +10:00
Rob H
e02a742597
WIP: Removing requirment for refresh of products on BPE
2014-08-08 14:05:50 +10:00
Rob H
a14c2dbb04
Decouple bpe specs from update process
2014-08-08 14:05:50 +10:00
Rohan Mitchell
16847025dd
Fix bug: local storage was not correctly keyed to user id
2014-08-08 11:14:50 +10:00
Rohan Mitchell
f3e43ebd29
Use .location for testability
2014-08-08 11:10:51 +10:00
Rohan Mitchell
c30d7fe72a
Fix broken JS specs
2014-08-08 09:56:55 +10:00
Rohan Mitchell
c79aca3de5
Merge branch 'laura_and_will'
2014-08-08 09:51:50 +10:00
Rohan Mitchell
7476860b47
Comment out intermittently failing spec - we intend to remove product distributions soon anyway
2014-08-07 17:20:38 +10:00
summerscope
116882f0a9
More responsive tweaks
2014-08-07 17:06:16 +10:00
Rohan Mitchell
dc49fbfe62
Merge branch 'laura_and_will'
2014-08-07 16:50:00 +10:00
Rohan Mitchell
4f0d55a859
Link error page images absolutely, fixes image not found on eg. /page/not/found
2014-08-07 16:46:58 +10:00
Rohan Mitchell
e28e86a82c
Remove link from cart to old product page
2014-08-07 16:46:57 +10:00
Rohan Mitchell
f8c71ced45
Fix display of state_name, after attribute was renamed in serializer
2014-08-07 16:46:57 +10:00
summerscope
c2690d0c20
Tweak responsive queries
2014-08-07 16:23:47 +10:00
summerscope
fb7547ae2f
Add a little padding on modals
2014-08-07 16:23:19 +10:00
summerscope
c2540234f1
Add class to force word wrap
2014-08-07 16:18:02 +10:00
summerscope
bda9030ae4
Add a word wrap class to force long strings to wrap
2014-08-07 16:17:15 +10:00
summerscope
be9acf526d
Change modal height to perpercentage of container height
2014-08-07 15:39:39 +10:00
summerscope
28a04c5e84
Fix media query
2014-08-07 15:31:05 +10:00
summerscope
febe66b7b0
Styling for modals - making media queries look at container height rather than width
2014-08-07 15:22:38 +10:00
summerscope
cd774a3a2b
Fix small device width issue on google map embedding
2014-08-07 15:22:38 +10:00
summerscope
c6a350af75
Better column layout for responsive
2014-08-07 15:22:38 +10:00
Rohan Mitchell
769e8410cc
Fix checkout total display
2014-08-07 14:53:30 +10:00
Rohan Mitchell
d1c9980f3f
Checkout include distribution fees in cart total
2014-08-07 14:47:49 +10:00
Rob H
30a14edb06
Adding 'Total Units' field to supplier report
2014-08-07 14:21:01 +10:00
summerscope
591c3959f9
Make shopping cart wider by default
2014-08-07 12:07:36 +10:00
summerscope
68ed327efc
Tweaking popover styles for shop price breakdown popovers
2014-08-07 12:07:36 +10:00
summerscope
7d7bf7b1f2
Tweak layout for cart to make it more robust for content and allow for longer product labels
2014-08-07 12:07:35 +10:00
Rohan Mitchell
c814a0a2bf
Merge branch 'master' into laura_and_will
2014-08-07 11:57:58 +10:00
summerscope
fe4980eadd
Tweaking styling on popovers
2014-08-06 17:07:27 +10:00
summerscope
5f409e4476
Tweak label for shopping cart CTA button again
2014-08-06 16:59:14 +10:00
summerscope
cde1bcb1f5
Styling for popovers on graph - price breakdown
2014-08-06 16:58:49 +10:00
summerscope
b06d08015d
Tweak summary label
2014-08-06 16:36:25 +10:00
summerscope
280f6f856b
update go to shopping cart button label try again
2014-08-06 16:36:08 +10:00
summerscope
65b7cadf09
Change label for next button to Go to my cart
2014-08-06 16:28:22 +10:00
summerscope
3de0f7893d
Change the language and layout of order cycle popover
2014-08-06 16:26:32 +10:00
summerscope
3c40ce1097
Add a unit to border-radius
2014-08-06 16:26:07 +10:00
summerscope
1fa30dbfaa
Order cycle popover make strong red and left aligned so it works when used for multiple order cycle use-cases
2014-08-06 16:25:38 +10:00
summerscope
581cf442a2
Add ToS as a PDF attachment rather than an external site
2014-08-06 16:24:47 +10:00
summerscope
de725a4cd6
Add unti to border radius
2014-08-06 14:34:46 +10:00
summerscope
099e2257ca
Adding width and height into SVGs to fix the firefox bug
2014-08-06 14:34:45 +10:00
Rob H
5a34fa41b3
Fixing cart total in checkout
2014-08-06 13:59:47 +10:00
summerscope
5d2dda2ee4
Tweak checkout header
2014-08-06 13:34:35 +10:00
summerscope
6515f0f096
Tweak labels to make page heading more consistent, give useful names to SHopping cart and Checkout pages
2014-08-06 13:34:06 +10:00
summerscope
d48b317d3b
Checkout page header update
2014-08-06 13:25:06 +10:00
summerscope
1ca9c60c84
Tweak label to make a distinction between go straight to checkout and just go to shopping cart review
2014-08-06 13:18:58 +10:00
summerscope
66f1a672a3
Change Cost label to Item Cost for price breakdowns
2014-08-06 13:02:37 +10:00
summerscope
aaae8dce2d
Move button out of UL in nesting
2014-08-06 12:57:44 +10:00
summerscope
3475506ad0
Remove the logic around fees breakdown as not showing on this view now
2014-08-06 12:57:16 +10:00
summerscope
2fca9ed3e9
Tweak blues for success button style
2014-08-06 12:49:49 +10:00
summerscope
e91e638d35
Tweaking cart summary view markup
2014-08-06 12:21:08 +10:00
summerscope
2c95f00485
Adding T&Cs into footer link
2014-08-06 12:02:10 +10:00
summerscope
c3452b178b
Styling popovers so the price breakdown is different to the shopping cart popover
2014-08-06 12:00:04 +10:00
summerscope
9ba8eb8bae
Add animation easing and remove glow from product level highlight
2014-08-06 11:49:29 +10:00
summerscope
d254a8f3d9
Tweak styling to bring back hover states against product row for shopfront view
2014-08-06 11:35:29 +10:00
Will Marshall
bb09236468
Merge branch 'laura_and_will'
2014-07-31 16:06:39 +10:00
Will Marshall
6b00b1c14c
MOAR COMMENTS
2014-07-31 15:58:03 +10:00
summerscope
5cff2f0f40
Tweak colors for popovers
2014-07-31 15:47:54 +10:00
Will Marshall
7ca618fb29
Moving to state_name
2014-07-31 15:38:26 +10:00
summerscope
b0f15aef10
Popovers finish styling for various use cases
2014-07-31 15:38:25 +10:00
Rohan Mitchell
494b572c69
Do not show zero fees
2014-07-31 15:36:26 +10:00
Maikel Linke
bd3a4acc15
Giving an example name for an enterprise fee.
...
The example is displayed as input placeholder. See bugherd #439 .
2014-07-31 15:21:13 +10:00
Maikel Linke
722ccfc83b
ng_text_field handling options parameter
2014-07-31 15:20:22 +10:00
Will Marshall
647495465a
Comments and minor refactoring
2014-07-31 15:14:11 +10:00
Will Marshall
042db2d150
Some comments and refactoring
2014-07-31 15:14:11 +10:00
summerscope
7ad10ee076
Style popovers and price breakdowns
2014-07-31 15:08:16 +10:00
summerscope
f868fe1091
Change markup for the graph button to make it align where we want
2014-07-31 15:07:52 +10:00
summerscope
44d7ae8b61
Tweak the markup for brice breakdown and percentage for styling
2014-07-31 15:07:22 +10:00
summerscope
c4984144d3
Turn off blue highlight in Chrome for all buttons across the system
2014-07-31 15:06:17 +10:00
Rohan Mitchell
a26450d173
Remove unused spree searcher class - causing intermittent test failures
2014-07-31 14:58:18 +10:00
Will Marshall
d9f3dfb571
Removing a pointless error message
2014-07-31 12:23:22 +10:00
Will Marshall
0f76892a5b
Handling max quantity magically
2014-07-31 12:23:10 +10:00
Will Marshall
d70ed02977
Restoring caching on addresses
2014-07-31 12:04:23 +10:00
Will Marshall
dc1963497a
SORTING BY PRIMARY TAXON NAME
2014-07-31 12:04:22 +10:00
summerscope
ee067d4804
Style the map input
2014-07-31 12:00:46 +10:00
summerscope
33a177ed47
Make map input placeholder message useful
2014-07-31 12:00:46 +10:00
Rohan Mitchell
5417242b85
Remove image decorator - image sizes are already configurable from spree config
2014-07-31 12:00:43 +10:00
Will Marshall
86c1d010e7
Default quantity to null rather than zero
2014-07-31 11:49:34 +10:00
Will Marshall
cf3fc7edbf
Merge branch 'master' into laura_and_will
...
Conflicts:
app/serializers/api/address_serializer.rb
2014-07-31 11:47:54 +10:00
Rohan Mitchell
29b3a080ac
Only show fees if present
2014-07-31 11:43:02 +10:00
Rohan Mitchell
a1dd5dabac
Replace sleep with wait, add cart_dirty spec helper
2014-07-31 11:36:53 +10:00
Rohan Mitchell
126e0a1f6d
Link variants -> products, fixes group buy
2014-07-31 11:36:53 +10:00
Rohan Mitchell
8c41a6c909
Calculate fee breakdown
2014-07-31 11:36:53 +10:00
Rohan Mitchell
45fd479ade
WIP: Call create_order_adjustments_for on EnterpriseFeeCalculator
2014-07-31 11:36:53 +10:00
Rohan Mitchell
8fe355b6da
WIP: Call create_line_item_adjustments_for on EnterpriseFeeCalculator
2014-07-31 11:36:53 +10:00
Rohan Mitchell
b40b6f9faf
WIP: Call fees_for on EnterpriseFeeCalculator
2014-07-31 11:36:53 +10:00
Rohan Mitchell
66cece5903
WIP: Extract order cycle fee calculations to EnterpriseFeeCalculator
2014-07-31 11:36:53 +10:00
Will Marshall
e8045cac42
Renaming to state_name
2014-07-31 11:36:53 +10:00
summerscope
659462327c
Commenting out taxon icon for now
2014-07-31 11:29:14 +10:00
summerscope
46146c83a8
Make the link for product modal just go around the text and not full block
2014-07-31 11:29:02 +10:00
Will Marshall
44bb53b137
Moving to state_name
2014-07-31 11:11:34 +10:00
Will Marshall
001db8d07e
Renaming to state_name
2014-07-30 17:09:31 +10:00
Rohan Mitchell
753ea16093
Merge branch 'breakdowns' into laura_and_will
2014-07-30 15:12:25 +10:00
Rohan Mitchell
9fa0413e8e
Add full price breakdown
2014-07-30 15:11:59 +10:00
Rohan Mitchell
fc95e088df
Show collapsed price breakdown
2014-07-30 14:59:16 +10:00
Rohan Mitchell
77b279ca97
Stub base_price and fees on variant serializer. Calculate basePricePercentage on variant.
2014-07-30 14:34:05 +10:00
Rohan Mitchell
1ac5b79aeb
Fix failing JS specs
2014-07-30 14:33:36 +10:00
Will Marshall
339e5975fa
Merge branch 'master' into breakdowns
2014-07-30 13:45:46 +10:00
Will Marshall
88c3f7f9b3
Removing a couple of pointless files
2014-07-30 13:45:37 +10:00
summerscope
cf1cf085d9
Popover for shopping cart styling required for medium and small views
2014-07-29 17:08:31 +10:00
summerscope
47a38d1815
Tweak the styling on producer modals so no grey background
2014-07-29 16:50:48 +10:00
summerscope
8ed79c6e55
Make scrolling on outer container only
2014-07-29 16:50:26 +10:00
summerscope
62d5149e7a
Add back styling which sort of works for modals until i can pair with will to fix it
2014-07-29 16:15:35 +10:00
summerscope
682b04287e
Make product thumbnail background white by default
2014-07-29 16:03:13 +10:00
Will Marshall
10fcf80be1
Switching back to proper bounds fitting
2014-07-29 15:34:14 +10:00
Will Marshall
606981dee9
Merge branch 'maps'
2014-07-29 15:32:23 +10:00
Will Marshall
6873b33e1f
Directive restored
2014-07-29 15:32:19 +10:00
Will Marshall
90eea5cb16
Switching to a single directive to render variants on /shop
2014-07-29 15:23:10 +10:00
Will Marshall
4264e3b7b7
Fixing a time issue
2014-07-29 14:11:51 +10:00
Will Marshall
2ef0545561
Merge branch 'laura_and_will'
2014-07-29 14:09:29 +10:00
Will Marshall
71b898cdec
Tweaking product image logic
2014-07-29 14:09:28 +10:00
Will Marshall
1e207fefd1
Fixing the product modal so it renders either an actual image or nothing
2014-07-29 14:09:28 +10:00
Will Marshall
8496609cc2
Fixing up a couple of regressions
2014-07-29 13:46:38 +10:00
summerscope
e5b675dcaf
Change thumbnail outline color
2014-07-29 13:35:59 +10:00
summerscope
d8fa5a1af9
Make product thumb resized and recoloured
2014-07-29 13:34:19 +10:00
Will Marshall
21cc5bc05a
Tweaking product image logic
2014-07-29 13:05:45 +10:00
Will Marshall
8e5951f80c
Fixing the product modal so it renders either an actual image or nothing
2014-07-29 13:05:44 +10:00
summerscope
b60c9daf21
Modal tweaks to make interior container scroll when too high
2014-07-29 12:57:22 +10:00
Will Marshall
f1c4ca98a1
Defaulting to OFN logo
2014-07-29 12:55:58 +10:00
Will Marshall
118e0f9fd8
Rescoping a couple of partials
2014-07-29 12:51:51 +10:00
Will Marshall
48b8c7e6c1
reverting our change back to position fixed
2014-07-29 12:51:51 +10:00
summerscope
e308b7a3a8
Comment out Price breakdown graph and popover until we can make this work
2014-07-29 12:26:36 +10:00
Will Marshall
2d40a8f023
Fixing links on modals
2014-07-29 12:20:06 +10:00
Will Marshall
c4f7c1af60
Lots of small bug fixes, changing image sizes
2014-07-29 11:33:25 +10:00
Will Marshall
39a79869c0
Disabling buttons and some work on the price breakdowns, including commenting them out for now
2014-07-29 11:33:25 +10:00
summerscope
4ab781d74a
Update and tweak producers page background image
2014-07-29 10:53:34 +10:00
summerscope
004de7919a
Add sexy search into groups page
2014-07-29 10:42:30 +10:00
summerscope
3ebc2ba145
Fix checkout button layout in menu for firefox etc
2014-07-28 16:41:26 +10:00
summerscope
d6c9f41a00
Making the styling for headings on modals better
2014-07-28 16:14:44 +10:00
summerscope
6dc15ff075
Make the modal headers consistent
2014-07-28 16:14:20 +10:00
summerscope
3d472bc57e
Make the header styles consistent for the modals
2014-07-28 16:14:01 +10:00
summerscope
cd27a2f3cb
Update map icons to make them match new colors
2014-07-28 16:10:17 +10:00
summerscope
8f83853a5c
Hub remove unnecessary style
2014-07-28 15:23:55 +10:00
summerscope
06cf8c1f0f
A little bit more refactoring to make things scalable and cleaner
2014-07-28 15:04:07 +10:00
summerscope
33b7df596b
Use a consistent naming convention for hubs and producers on css class skinny-head
2014-07-28 15:03:49 +10:00
summerscope
9e4615f141
Refactoring css for active_table and hub producer children. Tighten and tidy css, make consistent for hubs and producers nodes across all responsive sizes.
2014-07-28 13:51:44 +10:00
summerscope
68aaf24f5c
Remove active_table specific styles from this stuff
2014-07-28 13:51:44 +10:00
summerscope
7a62ae6637
Add style for turquoise text
2014-07-28 13:51:44 +10:00
summerscope
f53902da0f
Tweak hubs for responsive views
2014-07-28 13:51:44 +10:00
summerscope
78ac55418c
Tweak producers for responsive views,
2014-07-28 13:51:43 +10:00
Will Marshall
20d7484134
Merge branch 'master' into laura_and_will
...
Conflicts:
app/assets/javascripts/darkswarm/services/order.js.coffee
2014-07-28 13:43:31 +10:00
Will Marshall
9d0919d201
Further minor regressions
2014-07-28 13:41:38 +10:00
Will Marshall
a5f478bde7
Ajax submission of max quantity
2014-07-28 13:33:13 +10:00
Will Marshall
39f9e991ad
Minor regressions and bug fixes
2014-07-28 11:30:35 +10:00
summerscope
d3cfceaf94
Producer tab on shopfront tweaks - add producer icon and better classes for responsive
2014-07-25 17:29:15 +10:00
summerscope
237d5a990e
Remove double-up on URL string for social icons
2014-07-25 17:28:23 +10:00
summerscope
769a7d3b90
Add a center aligned class
2014-07-25 17:28:06 +10:00
summerscope
5a8fb4670f
Cart styling updates
2014-07-25 16:41:50 +10:00
summerscope
31b227892a
Style updates for shopping cart rich pop-over
2014-07-25 16:41:32 +10:00
summerscope
dd984ac198
Hub node more responsive tweaks
2014-07-25 14:39:14 +10:00
summerscope
4ee5647dcc
Design tweaks to homepage view
2014-07-25 14:38:56 +10:00
summerscope
e5a9a00378
Adding pretty macbook image behind Scuse us pane
2014-07-25 14:36:08 +10:00
Rohan Mitchell
f73a63e944
Switch spec to better spree paypal express payment method
2014-07-25 13:47:31 +10:00
summerscope
d2850ae794
Tweak the layout of hubs for responsive
2014-07-25 13:16:21 +10:00
summerscope
07432cebc3
Styling tweaks to hub nodes on homepage search for responsiveness. Makes the Hub name not flow over two lines ever. Cus no.
2014-07-25 13:16:01 +10:00
Rohan Mitchell
fd3040d394
Call reset order callback when order completed via paypal
2014-07-25 12:44:14 +10:00
Rohan Mitchell
50f74038b2
Fix redirect to paypal for better spree paypal express
2014-07-25 12:44:14 +10:00
Rohan Mitchell
3b28981400
Adapt cancel redirect for better spree paypal express
2014-07-25 12:44:14 +10:00
Rohan Mitchell
5c5e7e8ed3
Hide checkout paypal button, remove unneeded frontend JS
2014-07-25 12:44:14 +10:00
Rohan Mitchell
5980234be0
Install better_spree_paypal_express
2014-07-25 12:44:14 +10:00
Rohan Mitchell
e8b409c1f4
Switch from spree_paypal_express to better_spree_paypal_express
2014-07-25 12:44:14 +10:00
summerscope
fb4a36c0ff
Add new button style for use - turquoise for secondary CTA buttons
2014-07-24 17:45:04 +10:00
summerscope
561cd31864
Tweak color to reflect branding colors
2014-07-24 17:44:45 +10:00
summerscope
b57aaa8ec8
More styling tweaks and adjustments for responsive
2014-07-24 17:44:21 +10:00
summerscope
f71dee6b01
Remove border on filters to reflect change of button color
2014-07-24 17:43:57 +10:00
summerscope
76ed0cc976
Add some spacing on Checkout now button for small screens so the buttons dont fight
2014-07-24 17:43:34 +10:00
summerscope
995451351a
Tweak layout of columns for Hubs listing on medium and small views
2014-07-24 17:43:07 +10:00
summerscope
79b9db5d52
Producer styles tweak with changes to active table
2014-07-24 17:42:23 +10:00
summerscope
9babd04472
Tweak turquoise secondary colors
2014-07-24 17:42:04 +10:00
summerscope
c799d8b387
Make filter button turquoise
2014-07-24 17:41:48 +10:00
summerscope
01395f4eca
Adjust active table styles to be a bit more generic
2014-07-24 16:33:05 +10:00
summerscope
94151a9152
Remove duplicated comments
2014-07-24 16:33:04 +10:00
summerscope
8bf3ad0bae
Styling for new hub view on homepage in active_table
2014-07-24 16:33:03 +10:00
summerscope
b4db155612
Add taxon style for inactive row on active_table
2014-07-24 16:33:03 +10:00
summerscope
a3278209ac
Tweak markup for active table Hubs
2014-07-24 16:33:03 +10:00
Will Marshall
bd662d4ec8
Merge branch 'laura_and_will' of github.com:openfoodfoundation/openfoodnetwork into laura_and_will
...
Conflicts:
app/views/shop/products/_master.html.haml
2014-07-24 16:07:56 +10:00
Will Marshall
2120ab96ca
Fixing bugs and spec regressions
2014-07-24 16:02:10 +10:00
Rohan Mitchell
3dd7b296be
Show order notes (special instructions) on report and confirmation email
2014-07-24 15:13:23 +10:00
Rohan Mitchell
d1b2f01578
Add special instructions to checkout
2014-07-24 15:13:23 +10:00
Rohan Mitchell
cecc0134f4
When mirroring a database, bring all payment methods into dev env
2014-07-24 15:13:22 +10:00
Will Marshall
f45dd24803
Patched up popovers for our nefarious purposes + cart pretties
2014-07-24 14:56:13 +10:00
Rob H
3d57e0a7a7
Add 'new' buttons to shipping and payment method edit pages
2014-07-24 13:46:35 +10:00
Rob H
177472dad9
Add asterix to product category on new product form
2014-07-24 12:58:42 +10:00
Rob H
fa48fa24b5
Restricting links in hubs sidebar to left hand side of row
2014-07-24 11:41:47 +10:00
Rob H
85cce0783e
Fix styling for enteprise fees list
2014-07-24 11:34:38 +10:00
Rob H
2e5652472c
Restricting links in enterprise page sidebars to left hand side of row
2014-07-24 11:29:55 +10:00
Will Marshall
63807fd2cd
Fixing case when order doesn't axshully exist
2014-07-24 11:24:09 +10:00
Will Marshall
8ac0ee8f0e
Fixing a missing scope on product.variants
2014-07-24 11:23:56 +10:00
Rob H
7fc80a0975
Fix failing enterprise spec
2014-07-24 11:05:14 +10:00
summerscope
6961a2ad00
Take the pop overs out of the tabindex
2014-07-24 10:58:08 +10:00
summerscope
2d25bd8a45
Adding checkout button back to the top as a stop gap measure
2014-07-24 10:57:37 +10:00
Will Marshall
d7ff1cd4af
Merge branch 'laura_and_will' into new_cart
...
Conflicts:
app/views/checkout/_payment.html.haml
app/views/checkout/_shipping.html.haml
app/views/shop/products/_master.html.haml
app/views/shop/products/_variants.html.haml
2014-07-24 10:39:36 +10:00
Rob H
9055a441fd
Removing trailing whitespace
2014-07-24 10:28:28 +10:00
Rob H
508149fbca
Adding shipping methods angularisation to enterprise edit view
2014-07-24 10:16:55 +10:00
Rob H
9889b09c65
Add shipping method injection helper using id name serializer
2014-07-24 10:16:55 +10:00
Rob H
e8c7fe9db1
Rename payment method serializer as id name serializer
2014-07-24 10:16:55 +10:00
Rob H
37c16fb20c
Add shipping method js infrastructure for angularising admin enterprises page
2014-07-24 10:16:54 +10:00
Rob H
6dbe2a3098
WIP: Angularise payment methods on enterprise edit page
2014-07-24 10:16:54 +10:00
Rob H
2200392031
Angularising Admin enterprises form
2014-07-24 10:16:54 +10:00
summerscope
a40b5689a9
Checkout page design tweaks and improvements to make accordion more usable
2014-07-23 16:57:38 +10:00
summerscope
fac7f9f818
Shopfront more styling and improvements for responsive.
2014-07-23 16:36:52 +10:00
summerscope
d6a4ae3cbf
Will Marshall will you please read the comment here and help me with all the logix
2014-07-23 16:36:34 +10:00
Rob H
c4e50dbb13
Change error message for blank Product Category
2014-07-23 15:46:17 +10:00
summerscope
609326793a
Styling for mobile menu line items
2014-07-23 15:36:15 +10:00
summerscope
7718cf0c48
Fix markup for menu systems - order, remove double-up of ADMIN, consistency of case, design. All the things
2014-07-23 15:35:44 +10:00
summerscope
875f0f6780
Apply border radius against alllll the buttons
2014-07-23 15:15:48 +10:00
summerscope
47d84c25f6
Shopfront styling
2014-07-23 15:15:16 +10:00
summerscope
98e6c5e412
Markup tweaks to tweak inclusion of graph popover button
2014-07-23 15:15:03 +10:00
summerscope
f6c1ddc08a
No change
2014-07-23 15:14:33 +10:00
summerscope
5b87a81460
Tweak bullet point list style content: to include right icon
2014-07-23 15:14:14 +10:00
summerscope
9f0457f355
Tweaking reds to make them a touch less berry
2014-07-23 15:13:47 +10:00
summerscope
9782d76f61
Tweak avenir in big input to avoid padding conflict
2014-07-23 15:13:29 +10:00
summerscope
7d5e7a9123
New popovers sass partial
2014-07-23 15:13:12 +10:00
summerscope
6dd5588ed5
Updating icon font to included some new required icons
2014-07-23 15:12:55 +10:00
Rob H
c8ddf86a9f
Add failure block to create respond_override for creating products
2014-07-23 14:56:12 +10:00
summerscope
93f576e616
Turning of Maps, Groups, and Producers panes
2014-07-18 17:17:42 +10:00
summerscope
d86172d504
Adding rounded corners to alllllll the buttons
2014-07-18 17:17:18 +10:00
summerscope
56850d6d7d
Design tweaks
2014-07-18 17:16:49 +10:00
summerscope
60a860b2ae
New background image for entry point
2014-07-18 17:16:24 +10:00
summerscope
3cb3dcccd9
Tweak background style for entry point to site
2014-07-18 17:16:14 +10:00
summerscope
8653d356ff
Tweaking primary red - more berry, less brick
2014-07-18 17:15:51 +10:00
summerscope
a711387794
Changing colors on SVGs to tweak for new primary red color
2014-07-18 17:15:35 +10:00
Will Marshall
92b7966941
Triggering dialog if page unsaved
2014-07-18 17:07:40 +10:00
Will Marshall
edaba844d9
Merge branch 'laura_and_will' into new_cart
...
Conflicts:
app/views/shop/products/_form.html.haml
app/views/shop/products/_master.html.haml
app/views/shop/products/_variants.html.haml
2014-07-18 17:02:19 +10:00
summerscope
fe0956d3bb
Update markup to make total price its own row on small devices
2014-07-18 16:36:14 +10:00
summerscope
63b0bb8122
Updating styling for product rows for small devices - total price gets its own row
2014-07-18 16:34:48 +10:00
summerscope
8d1175c495
Tweaks to input layout for responsive
2014-07-18 16:34:25 +10:00
Will Marshall
a480353158
Working bindings
2014-07-18 16:05:58 +10:00
summerscope
751865a540
More markup tweaks for responsive
2014-07-18 16:05:30 +10:00
summerscope
9e74bb8bf0
Pulling out css for refactoring, partials and further tweaks for responsive
2014-07-18 16:05:19 +10:00
summerscope
978b64547e
Refactoring SASS for shopfront to add partials, break it out into logical clusters
2014-07-18 16:04:53 +10:00
Will Marshall
b25def810c
Working version of the cart integration
2014-07-18 14:56:15 +10:00
Rohan Mitchell
03273a76ad
Merge branch 'fix_units'
2014-07-18 14:11:41 +10:00
Rohan Mitchell
7db2aff398
Generate variantUnitOptions - DRY
2014-07-18 14:10:42 +10:00
Will Marshall
a3d402ad53
Moving variants to a service, backreferencing and linking
2014-07-18 13:59:34 +10:00
summerscope
93aa3b5364
Tweak responsive on taxon icons
2014-07-18 12:54:28 +10:00
summerscope
fca552b254
Adjusting markup and adding classes to target elements as needed for responsive styling
2014-07-18 12:52:59 +10:00
summerscope
29058fa7cc
Responsive styling and adjustments to cope with layout changes across devices
2014-07-18 12:50:22 +10:00
Rohan Mitchell
8484d19144
Convert variant_unit_options to a method, camelcase
2014-07-18 12:44:58 +10:00
Rohan Mitchell
04eca9591b
Derive unitScales from unitNames
2014-07-18 12:39:16 +10:00
Rohan Mitchell
52b74bde91
Extract unit names from OptionValueNamer into VariantUnitManager
2014-07-18 12:39:16 +10:00
Rohan Mitchell
ed66633a93
Add comment
2014-07-18 12:39:16 +10:00
Rohan Mitchell
ab1628681e
Call VariantUnitManager directly
2014-07-18 12:39:16 +10:00
Rohan Mitchell
8d5f953f78
Extract getScale from BOM controller to VariantUnitManager, extract specs as well
2014-07-18 12:39:16 +10:00
Rohan Mitchell
eafdf85c28
Extract class methods to new class VariantUnitManager
2014-07-18 12:39:11 +10:00
Will Marshall
a2da7f7ede
Merge branch 'caching' into new_cart
...
Conflicts:
app/serializers/api/variant_serializer.rb
2014-07-18 11:23:25 +10:00
Will Marshall
562f8dbd4e
Starting to restructure data injection
2014-07-18 11:21:51 +10:00
Rohan Mitchell
6c59ffc16f
Switch to class case for OptionValueNamer
2014-07-18 10:06:13 +10:00
summerscope
957c8cf89b
Markup changes to all the partials for new shopfront page design
2014-07-17 17:24:54 +10:00
summerscope
7cb0e079ab
Lots of changes for new shopfront design
2014-07-17 17:24:31 +10:00
summerscope
730373d677
Making all the images optimised - as wee as can be!
2014-07-17 17:24:14 +10:00
summerscope
1c3da6c003
Adding pretty design assets for new shopfront page
2014-07-17 17:23:45 +10:00
Rohan Mitchell
91e4f24fde
Extract JS unit options into option value namer
2014-07-17 16:57:23 +10:00
Rohan Mitchell
989a14fa37
Change KL to kL, update specs for ML to kL change
2014-07-17 16:16:08 +10:00
Will Marshall
33611ddb20
Renaming Product to Products and starting to figure out cart
2014-07-17 15:04:39 +10:00
Will Marshall
67922f38df
Fixing some regressions to data submission
2014-07-17 14:46:46 +10:00
Rohan Mitchell
08409dad0a
Fix down migration - need explicit cast for string -> integer
2014-07-17 14:43:34 +10:00
Rafael Schouten
98d824f09b
use string for postcode
2014-07-17 14:31:51 +10:00
Will Marshall
541fe9ec37
Switching Checkout service to use CurrentOrder
2014-07-17 14:26:54 +10:00
Rohan Mitchell
b326ec8a3c
Remove landing page images
2014-07-17 14:26:46 +10:00
Rohan Mitchell
19118da82e
Remove old landing page cruft
2014-07-17 14:26:07 +10:00
Rohan Mitchell
159d0a9dbe
Remove most references to suburbs - previously used by new_landing_page, no longer used.
2014-07-17 14:26:04 +10:00
Will Marshall
158bdd145f
All the new serializers and some specs
2014-07-17 14:23:09 +10:00
Will Marshall
547d9f9f5c
Moving payment methods and shipping methods into their own services
2014-07-17 14:19:39 +10:00
Rohan Mitchell
736ae3c1e3
mirror_db script also disables S3 in development and pulls down images
2014-07-17 12:56:27 +10:00
Rohan Mitchell
d7a5eb47f3
Store all images in a consistent path, compatible with development, and support S3 all round
2014-07-17 11:07:34 +10:00
Rohan Mitchell
c40c586b6f
Store taxon icons in a path consistent with products
2014-07-17 10:23:07 +10:00
Will Marshall
2b1ab53d8e
Fixing regressions and refactoring our tests
2014-07-16 16:00:44 +10:00
Will Marshall
cd033c300e
Reworking order populator and controller to handle replacement of line items rather than addition
2014-07-16 16:00:28 +10:00
Will Marshall
f4c1cd5253
Merge branch 'master' into caching
2014-07-16 11:47:07 +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
9542b7224c
Ignore rake generated CSV files
2014-07-16 11:26:37 +10:00
Rohan Mitchell
75a59eb5cc
Rename JS file so that it is loaded after the spree code it is overriding. Admin can't add products outside distribution to an order.
2014-07-16 11:26:22 +10:00
Will Marshall
ea357b54ab
Adding some map searching capabilities
2014-07-16 11:19:16 +10:00
Rohan Mitchell
6dfd26ac69
order_with_totals_and_distribut{or,ion}
2014-07-16 10:33:23 +10:00
Rohan Mitchell
42b951c972
Variants controller #search filters by distribution
2014-07-16 10:31:12 +10:00
Rohan Mitchell
f18141c9bb
Use controller login helpers
2014-07-16 10:29:58 +10:00
Rohan Mitchell
d81a78b907
Add spec helper method for logging in as admin in controller specs
2014-07-16 10:15:27 +10:00
Rohan Mitchell
b7a08bcb9b
Add Spree::Variant.in_order_cycle
2014-07-16 09:33:59 +10:00
Rohan Mitchell
0ecfee79d4
Add Spree::Variant.in_distributor
2014-07-16 09:33:59 +10:00
Rohan Mitchell
edeb820c64
Send distributor and order cycle id to order add variant autocomplete search
2014-07-16 09:33:59 +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
Rohan Mitchell
3758a8ae2b
Add rake task to export enterprises to CSV
2014-07-16 09:33:59 +10:00
Rohan Mitchell
7a3f68ea38
Update Rails to 3.2.19
2014-07-16 09:33:59 +10:00
Rafael Schouten
58e6379e43
Merge branch 'master' into fix_units
...
Conflicts:
app/assets/javascripts/admin/products/units_controller.js.coffee
2014-07-14 15:10:26 +01:00
Will Marshall
9f5f319edb
Further patching regression
2014-07-11 17:55:06 +10:00
Will Marshall
a73bc2405d
Fixing one regression
2014-07-11 17:08:39 +10:00
Will Marshall
353ee20feb
Animations fix
2014-07-11 17:07:54 +10:00
Will Marshall
744f254353
Patching a minor bug
2014-07-11 17:02:43 +10:00
Will Marshall
a31f17cdbd
Merge branch 'laura_and_will'
2014-07-11 16:51:50 +10:00
Will Marshall
5e68d0bab7
Basic final version
2014-07-11 16:51:46 +10:00
Will Marshall
679547058e
Merge branch 'laura_and_will'
2014-07-11 16:40:47 +10:00
Will Marshall
06047a380e
Provisional animations
2014-07-11 16:40:44 +10:00
Will Marshall
e940777ede
Few more animation fixes
2014-07-11 16:33:23 +10:00
summerscope
d43fa7eed5
Fixing animations for shopfront
2014-07-11 16:16:56 +10:00
Will Marshall
500e067cfb
Performance enhancements
2014-07-11 16:14:44 +10:00
Will Marshall
7bd65d7854
Performance improvements
2014-07-11 15:09:44 +10:00
Will Marshall
c852eefdbc
Re-enabling infinite scroll
2014-07-11 15:09:44 +10:00
summerscope
d67992eb7b
Tweak animation stylings
2014-07-11 15:07:29 +10:00
summerscope
26d6ac5a8d
Styling no results message for shopfront
2014-07-11 14:50:40 +10:00
summerscope
1eb18e8478
Add some padding to first child in active table - should not be styled from animation classes
2014-07-11 14:42:44 +10:00
summerscope
16d39aeacc
Tweak line-height on product row in shopfront
2014-07-11 14:41:46 +10:00
summerscope
13cc9ba44d
Remove line-height stuff which was making the animation in juddery
2014-07-11 14:41:18 +10:00
summerscope
23182a9026
Grid system layout for filter buttons for all sizes and breakpoints
2014-07-11 13:10:22 +10:00
summerscope
068e3cce1c
More tweaks to filters styling
2014-07-11 13:09:42 +10:00
summerscope
c907e35834
More styling on search and filters
2014-07-11 12:56:14 +10:00
Will Marshall
61dbc2cd63
Replace for shipping selector
2014-07-11 12:54:40 +10:00
Will Marshall
21d1d2d1c1
Replacing taxon directive
2014-07-11 12:53:32 +10:00
Will Marshall
190e320bad
Pulling some structure out of directives
2014-07-11 12:45:08 +10:00
Will Marshall
fecc68cff8
Dereferencing product Taxons
2014-07-11 12:40:49 +10:00
Will Marshall
ef55bf97c6
Bunch of small fixes for Laura
2014-07-11 12:37:38 +10:00
Rob H
d4a6624c28
Prevent display_as and display_name from being used when blank
2014-07-11 12:37:19 +10:00
summerscope
40b858306b
Make all taxons sentence case. ALl of them! for reals yo.
2014-07-11 12:36:27 +10:00
summerscope
88b1b8b104
Styling search for shopfront page
2014-07-11 12:27:51 +10:00
summerscope
6adc056ce0
Styling filters and search on shopfront
2014-07-11 12:27:35 +10:00
summerscope
46017be45c
Make big input fill out all width available
2014-07-11 12:27:17 +10:00
Rob H
fa337fcd6e
Prevent display_as and display_name from being used when blank
2014-07-10 17:04:35 +10:00
Will Marshall
7dde721486
Adding taxon filtering
2014-07-10 15:26:35 +10:00
Will Marshall
26e8a1fd91
Uncaching some parts and adding specs
2014-07-10 14:49:21 +10:00
Will Marshall
55bd23f02b
Merge branch 'laura_and_will'
2014-07-10 14:18:32 +10:00
Will Marshall
932ca95ec5
Sorting hubs by active
2014-07-10 13:04:45 +10:00
summerscope
6681beae4d
Fix spacing for shopfront page search box
2014-07-10 13:04:20 +10:00
Will Marshall
31cf01ba1b
Sorting hubs by active
2014-07-10 12:59:59 +10:00
summerscope
0e0cf5576d
Restyle big search to make it MORE OBVIOUS.
2014-07-10 12:58:38 +10:00
Will Marshall
f57e8513d5
Spiking out products serializers and caching
2014-07-10 12:46:25 +10:00
summerscope
9fa62b39af
More styling for filters and search
2014-07-10 12:22:08 +10:00
summerscope
34cb672a8d
Adjust column layouts / responsive breakpoints for filter systems
2014-07-10 12:21:54 +10:00
summerscope
c8f51ec917
Adjust layout for small views
2014-07-10 12:21:32 +10:00
summerscope
76b25945e9
Adjust layout for small views
2014-07-10 12:21:18 +10:00
Will Marshall
8296a4131e
Partializing filter controls
2014-07-10 12:07:21 +10:00
summerscope
cf4c51e0d9
STyling taxon filters
2014-07-10 12:05:50 +10:00
summerscope
3e24e43100
Tweak icons for up / down
2014-07-10 12:05:49 +10:00
Will Marshall
da02f9c0b0
Adding icons to shipping selectors
2014-07-10 12:02:34 +10:00
Will Marshall
9d519f5f4b
Fixing a minor test regression
2014-07-10 11:52:32 +10:00
Will Marshall
409d647f62
Fixing up hubs page
2014-07-10 11:38:17 +10:00
Will Marshall
0b3b8883cd
Disabling infinite scrolling due to bugs on iPad
2014-07-10 11:38:16 +10:00
summerscope
7c1dfa7b23
Add min width to filter button
2014-07-10 10:36:56 +10:00
summerscope
c744c61f25
Styling for shopfront page with search input
2014-07-09 17:35:21 +10:00
summerscope
ac8d3f8c96
Make a static (non animated) version of big input
2014-07-09 17:35:04 +10:00
summerscope
2c157a939d
Tweak markup / filters available for Producers page
2014-07-09 17:24:24 +10:00
summerscope
864df41052
Add filters partial
2014-07-09 17:24:10 +10:00
summerscope
11ec596133
Layout adjust for taxon filters
2014-07-09 17:23:58 +10:00
summerscope
37924c652a
Add filters partial for Hubs search
2014-07-09 17:23:30 +10:00
summerscope
eda5119bfc
Remove unused styling and unneeded comments
2014-07-09 16:57:33 +10:00
summerscope
0451dbe6b0
More styling to filters and search
2014-07-09 16:55:05 +10:00
summerscope
b43f687cf4
Tweak to producers - turn filters off by default
2014-07-09 16:54:35 +10:00
summerscope
d9a3d22330
Tweak labels for filter button
2014-07-09 16:53:26 +10:00
summerscope
9474ec49c6
Fix unbalanced brackets issue
2014-07-09 16:21:36 +10:00
summerscope
9587b2a2ed
Merge branch 'laura_and_will' of github.com:openfoodfoundation/openfoodnetwork into laura_and_will
...
Conflicts:
app/views/producers/_filters.html.haml
2014-07-09 16:18:41 +10:00
summerscope
a4729a8d12
Tweak layout on taxon filters
2014-07-09 16:15:27 +10:00
summerscope
263060611d
Search and filter styling and markup tweaks
2014-07-09 16:13:43 +10:00
Will Marshall
c8ee4a594c
Some text changes and similar magic
2014-07-09 16:10:08 +10:00
Will Marshall
242c03e753
Filter text logic
2014-07-09 16:03:20 +10:00
Will Marshall
6f3f40e2e6
Adding query string to search params
2014-07-09 15:45:05 +10:00
Will Marshall
95d519f0f1
No results option
2014-07-09 14:29:07 +10:00
Will Marshall
eb9ec1497c
Backwards
2014-07-09 14:26:42 +10:00
Will Marshall
fb8d7907f9
Rearchitecting the thing
2014-07-09 14:07:38 +10:00
Will Marshall
c640233ee5
Merge branch 'master' into laura_and_will
...
Conflicts:
app/assets/javascripts/darkswarm/filters/taxons.js.coffee
app/models/enterprise.rb
app/serializers/api/enterprise_serializer.rb
db/migrate/20140702053145_add_fields_to_distributors_shipping_methods.rb
db/schema.rb
spec/helpers/shared_helper_spec.rb
spec/javascripts/unit/darkswarm/filters/shipping_spec.js.coffee
spec/javascripts/unit/darkswarm/filters/taxons_spec.js.coffee
spec/javascripts/unit/darkswarm/services/taxon_spec.js.coffee
spec/models/enterprise_spec.rb
2014-07-09 11:40:54 +10:00
Will Marshall
30d78c8da3
Adding a spec to test a regression
2014-07-09 11:33:36 +10:00
Will Marshall
7d39c30dbd
Fixing a taxon bug
2014-07-09 10:54:40 +10:00
Will Marshall
0b27040dcb
Taxon selection finesse
2014-07-09 10:53:52 +10:00
summerscope
730fbc5e94
New texture for hubs background
2014-07-04 17:41:42 +10:00
summerscope
a62410389e
Producers index markup tweak for new sexy search
2014-07-04 17:38:04 +10:00
summerscope
b0a2dba5e1
Tweaks to markup for new big sexy search
2014-07-04 17:36:56 +10:00
summerscope
72203c0ad0
Refactoring home fat view to make CTA Button more intuitive
2014-07-04 17:34:51 +10:00
summerscope
ac5c8ccfd4
Modal styling for active table removing background
2014-07-04 17:34:26 +10:00
summerscope
9ed0ebaa43
Hubs styling for bit sexy search
2014-07-04 17:33:02 +10:00
summerscope
5d2d4fd007
More styling adjustments for big sexy search
2014-07-04 17:32:43 +10:00
Rohan Mitchell
ba964d54d9
Update spree and spree_auth_devise
2014-07-04 17:07:58 +10:00
summerscope
56a1a66d3f
Styling for big sexy search bar
2014-07-04 17:00:03 +10:00
summerscope
b50541fd15
Less padding below search bar
2014-07-04 15:50:00 +10:00
summerscope
8186773adb
Adjustments to filters markup
2014-07-04 15:49:23 +10:00
summerscope
7f00f66e82
Styling for filter systems against search
2014-07-04 15:47:51 +10:00
Will Marshall
eb8f59d65b
Tests for the taxon filtering
2014-07-04 15:19:45 +10:00
Rohan Mitchell
470ae7e729
Fix unreliable spec
2014-07-04 14:39:27 +10:00
Rohan Mitchell
30262e1969
Clean up specs, fix broken spec, remove JS log
2014-07-04 14:39:27 +10:00
Rohan Mitchell
f8572db683
Install and configure dalli for staging and production environments
2014-07-04 14:39:27 +10:00
Rohan Mitchell
8b67fc4d61
Make DSM timestamp columns NOT NULL
2014-07-04 14:39:27 +10:00
Rohan Mitchell
ae0392b383
Fix spec fail with taxons by id
2014-07-04 14:39:27 +10:00
Rohan Mitchell
94902268e2
Initialise enterprise country in controller, not model. Fixes address SQL load every time an enterprise is instanciated.
2014-07-04 14:39:27 +10:00
Rohan Mitchell
206275b794
Code cleanups
2014-07-04 14:39:27 +10:00
Rohan Mitchell
da4a00c720
Remove ruby- prefix from .ruby-version, turn off Travis email notifications
2014-07-04 14:39:27 +10:00
Rohan Mitchell
8f6a2575b7
Minor code formatting changes
2014-07-04 14:39:26 +10:00
Will Marshall
c57148340c
Fixing spec regression
2014-07-04 14:39:26 +10:00
Will Marshall
6d4dfad336
OK address no longer being lazy-loaded
2014-07-04 14:39:26 +10:00
Will Marshall
0177a56408
Caching address and touching enterprise on save
2014-07-04 14:39:26 +10:00
Will Marshall
61d8be3ddc
Removing old file, renaming one to match naming conventions
2014-07-04 14:39:26 +10:00
Will Marshall
74f29f8c74
Tweaking spec names
2014-07-04 14:39:26 +10:00
Will Marshall
1f6641766d
Restoring Producers page
2014-07-04 14:39:26 +10:00
Will Marshall
23034a55d4
Adding tests and full touch behaviour for caching
2014-07-04 14:39:26 +10:00
Will Marshall
3195e20b65
cleaning up touches
2014-07-04 14:38:27 +10:00
Will Marshall
24d3abf6d5
Adding dereferencing to taxons and reducing our data-set
2014-07-04 14:38:27 +10:00
Will Marshall
4a116570d1
adding by producer id filtering
2014-07-04 14:38:27 +10:00
Will Marshall
e858c0d434
Moving taxon filter to ID instead of name
2014-07-04 14:38:27 +10:00
Will Marshall
8b98c72336
Adding all the Angular filters required to make this work
2014-07-04 14:38:27 +10:00
Will Marshall
8b439c4e69
Temporary/demonstration caching behaviour, INCOMPLETE
2014-07-04 14:38:27 +10:00
Will Marshall
f335b6a576
Taxon selectors and show/hide behaviour
2014-07-04 14:09:53 +10:00
Rob H
3da2461af5
Require shipping methods to have at least one distributor
2014-07-04 14:05:44 +10:00
Will Marshall
ca6068c095
Fixing a borked test
2014-07-04 13:51:24 +10:00
Maikel Linke
5459a54ada
Adding perftools.rb
...
perftools.rb can profile your code. The spec_helper contains comments
about how to activate it.
2014-07-04 13:51:24 +10:00
Will Marshall
fab96b58a7
Fixing spec regression
2014-07-04 13:51:23 +10:00
Will Marshall
2f98da8eef
Caching address and touching enterprise on save
2014-07-04 13:51:23 +10:00
Will Marshall
a8fde53715
Removing old file, renaming one to match naming conventions
2014-07-04 13:51:23 +10:00
Will Marshall
22b5e152d1
Tweaking spec names
2014-07-04 13:51:23 +10:00
Will Marshall
17612f14f5
Adding tests and full touch behaviour for caching
2014-07-04 13:51:23 +10:00
Rohan Mitchell
514d7179a6
Revert "install script". Prototype script should not yet be on master.
...
This reverts commit 39012388a2 .
2014-07-04 13:51:23 +10:00
Will Marshall
b005d0860e
cleaning up touches
2014-07-04 13:51:23 +10:00
Will Marshall
487b8616c0
Adding dereferencing to taxons and reducing our data-set
2014-07-04 13:51:22 +10:00
Will Marshall
55bf59ba96
adding by producer id filtering
2014-07-04 13:51:22 +10:00
Will Marshall
1955048502
Moving taxon filter to ID instead of name
2014-07-04 13:51:22 +10:00
Will Marshall
f19a02264e
Adding all the Angular filters required to make this work
2014-07-04 13:51:22 +10:00
Will Marshall
79f42ccc61
Temporary/demonstration caching behaviour, INCOMPLETE
2014-07-04 13:51:22 +10:00
summerscope
9d9dd777c1
Add in simple text style for global use
2014-07-04 13:39:55 +10:00
summerscope
ab4b72b9c7
Styling to make the taxons sit right for 1 and 2 lines
2014-07-04 13:39:19 +10:00
summerscope
eed39fc971
Filters file in
2014-07-04 13:37:57 +10:00
Rob H
6a1f8dccfb
Merge branch 'master' into working
2014-07-04 12:03:23 +10:00
summerscope
698d1d2637
Add space to force line-height trigger on active table skinny view - producers page
2014-07-04 11:33:05 +10:00
summerscope
87c6feec97
Remove padding - tighten up fat view
2014-07-04 11:32:32 +10:00
summerscope
9060e18a81
Tweak timings on the modal animations
2014-07-04 11:32:09 +10:00
summerscope
ae8ae1fe41
Fix styling on hubs list to make accordion icons sit vertically aligned
2014-07-03 15:10:07 +10:00
summerscope
42c9dcf3de
Remove @include csstrans from all SASS to stop conflicts with ngAnimate classes
2014-07-03 14:55:39 +10:00
summerscope
06400c6202
Remove unused @include
2014-07-03 14:54:34 +10:00
Maikel Linke
ac54bf6b22
Merge branch 'master' of github.com:openfoodfoundation/openfoodnetwork
2014-07-03 14:32:06 +10:00
Maikel Linke
e0119a3f1f
Adding perftools.rb
...
perftools.rb can profile your code. The spec_helper contains comments
about how to activate it.
2014-07-03 14:30:36 +10:00
Rob H
29fde37ba3
Merge branch 'bug-herd' into working
2014-07-03 14:24:39 +10:00
Rob H
569327ecce
Merge branch 'master' into working
2014-07-03 10:15:45 +10:00
Rafael Schouten
ef1b72cec9
Megalitres to Kilolitres
2014-07-03 00:07:57 +01:00
Rafael Schouten
e89b782787
Use Kilolitres instead of Megalitres. Megalitres are REALLY big!
2014-07-02 23:20:54 +01:00
Rohan Mitchell
570a33db5f
Revert "install script". Prototype script should not yet be on master.
...
This reverts commit 39012388a2 .
2014-07-02 14:54:13 +10:00
summerscope
0301a97bfe
Merge branch 'master' into laura_and_will
2014-07-02 14:45:11 +10:00
summerscope
75f3358e2a
Adding CTA button for crowdfunding site to homepage & countdown timer directive
2014-07-02 14:44:46 +10:00
summerscope
96b4d0f873
Fix grumpy typo
2014-07-02 12:26:32 +10:00
summerscope
23ae0806e7
Add email link for error messages on 500 page
2014-07-02 11:51:48 +10:00
Will Marshall
106c9f63bb
Adding animation hooks for Laura
2014-07-02 11:33:38 +10:00
Will Marshall
434e087a73
Merge branch 'master' into laura_and_will
2014-07-02 11:30:43 +10:00
Maikel Linke
35bcebc823
Merge branch 'master' of github.com:openfoodfoundation/openfoodnetwork
2014-06-28 19:43:01 +10:00
Maikel Linke
39012388a2
install script
2014-06-28 19:41:45 +10:00
summerscope
9791374204
Add partial to producers index page
2014-06-27 17:27:46 +10:00
summerscope
9d397430d4
Add styling for filters block
2014-06-27 17:27:19 +10:00
summerscope
9f71ccc3c0
Filters partial for search field
2014-06-27 17:26:52 +10:00
summerscope
fe11e50d3b
Adding graphics for error message pages
2014-06-27 15:51:22 +10:00
summerscope
0291723239
Tweak layout and message for 500
2014-06-27 15:50:55 +10:00
summerscope
9edec0c849
Tweak layout and message for 422
2014-06-27 15:50:45 +10:00
summerscope
1dc0b1bc2f
Tweak layout and message for 404
2014-06-27 15:50:33 +10:00
Will Marshall
ce3cb7890b
Removing old product modal
2014-06-27 15:16:08 +10:00
Will Marshall
f316b8dec5
Adding product modals in new format
2014-06-27 15:15:41 +10:00
Will Marshall
7b673870cd
Adding bulk icons
2014-06-27 15:04:56 +10:00
Will Marshall
e8ba36041b
Tests and patch for group filter
2014-06-27 15:01:12 +10:00
Will Marshall
8bd8d811b1
Unbreaking the groups page
2014-06-27 14:51:55 +10:00
Will Marshall
e4c8c19fea
Tweaking the producer modal
2014-06-27 14:39:50 +10:00
Will Marshall
03c84cbfe5
Fixing missing taxon icons
2014-06-27 14:39:50 +10:00
Rohan Mitchell
5a235be110
Fix regressed JS spec
2014-06-27 11:56:09 +10:00
Rohan Mitchell
aa5767cd30
Remove paypal image button from checkout, fix redirect to paypal
2014-06-27 11:52:36 +10:00
Rohan Mitchell
4075854440
Navigation.go supports full URLs
2014-06-27 11:51:53 +10:00
Rohan Mitchell
b678a2f7fd
Move navigation spec to services dir
2014-06-27 11:34:02 +10:00
Rob H
083fda0ad0
Set columns on BPE error messages
2014-06-27 10:46:54 +10:00
Will Marshall
f8d51c3105
Fixing intermittent spec failure
2014-06-26 15:43:33 +10:00
Will Marshall
821724b01e
Merge branch 'master' into laura_and_will
2014-06-26 15:33:51 +10:00
Will Marshall
8480cf7866
Tab fixes, new tests, reworking modals
2014-06-26 15:32:55 +10:00
Rob H
934f960336
Add display as to new product page
2014-06-26 15:27:24 +10:00
Will Marshall
9eb43e6c09
Removing visible scopes from enteprise distributors and producers
2014-06-26 15:26:15 +10:00
Will Marshall
9755bd2251
Refactoring slightly
2014-06-26 15:17:19 +10:00
Will Marshall
ed6bb2275a
Fixing some regressions in tests, switching favicons
2014-06-26 15:04:32 +10:00
Will Marshall
0b8ca9af47
Adding visibility filtering to map
2014-06-26 14:49:40 +10:00
Will Marshall
a4e675e675
Refactoring visibility handling
2014-06-26 14:48:46 +10:00
Will Marshall
8862fd555c
Removing ng-animate, changing our enterprise restriction
2014-06-26 14:36:16 +10:00
Rob H
44fb34d7be
Rearrange admin title
2014-06-26 12:20:42 +10:00
Will Marshall
a1789a8058
Removing old serializers
2014-06-26 12:17:38 +10:00
summerscope
fdb1c64c63
Merge branch 'master' into laura_and_will
2014-06-26 11:16:42 +10:00
Will Marshall
9667b84c5c
Finishing the transition to AMS from RABL
2014-06-26 11:07:53 +10:00
Will Marshall
8baf32f926
Merge branch 'master' into enterprise-json-perf
2014-06-25 16:31:16 +10:00
Will Marshall
a49fe2bf65
Fixing a regression bug
2014-06-25 16:30:23 +10:00
summerscope
881c229855
Prevents turquoise color text on red button
2014-06-25 15:21:37 +10:00
Will Marshall
33b5359a16
Spiking AMS implementation of data
2014-06-25 15:18:13 +10:00
Will Marshall
9cb6987645
Refactoring the supplied_taxons query to use SQL
2014-06-25 15:18:00 +10:00
Will Marshall
b1f275dac8
Adding enterprises to cart to prevent errors being thrown
2014-06-25 14:38:16 +10:00
Rohan Mitchell
3687479c22
Fetch distributed_taxons in SQL
2014-06-25 14:33:19 +10:00
summerscope
e14470ad77
Fix placeholder text to reference Producer rather than Hub
2014-06-25 14:16:42 +10:00
Will Marshall
2c6e239962
Adding some basic animations, upgrading Angular Foundation
2014-06-25 13:59:22 +10:00
Will Marshall
5f242f9232
Fixing groups page anchor scrolling
2014-06-25 10:46:32 +10:00
Will Marshall
edd9d93b8c
Merge branch 'master' into laura_and_will
...
Conflicts:
app/assets/javascripts/templates/partials/enterprise_header.html.haml
app/views/shopping_shared/_contact.html.haml
spec/features/consumer/home_spec.rb
2014-06-24 17:16:22 +10:00
Will Marshall
4f3d468db6
Dereferencing groups and adding modals to page
2014-06-24 17:15:31 +10:00
Will Marshall
369761ccc5
Minor regression bug
2014-06-24 17:15:31 +10:00
Will Marshall
c09555e380
Tab fixes, new tests, reworking modals
2014-06-24 17:15:31 +10:00
Will Marshall
b3f0cb1e74
Bunch of minor bugfixes
2014-06-24 17:14:01 +10:00
summerscope
31529f0343
Make text links turquoise color for producers page
2014-06-24 16:58:01 +10:00
summerscope
ff344533d9
Remove link for follow links on CONTACT for shopfront mini menu (tabs) - should be icon only
2014-06-24 16:51:58 +10:00
Will Marshall
64cca8cf36
Enabling map on production
2014-06-24 16:01:06 +10:00
summerscope
44d9104200
New favicon for staging and production versions of site
2014-06-24 15:47:27 +10:00
Will Marshall
a9ce36d402
Minor regression bug
2014-06-24 14:15:15 +10:00
Will Marshall
c0ac3c1b14
Tab fixes, new tests, reworking modals
2014-06-24 14:09:21 +10:00
Will Marshall
5c220ca30f
Merge branch 'master' into laura_and_will
2014-06-24 14:08:57 +10:00
Will Marshall
11872931a5
Bunch of minor bugfixes
2014-06-24 14:08:13 +10:00
summerscope
563e605ad0
Tweak styling for text message on shopfront
2014-06-24 13:58:59 +10:00
summerscope
a93a1a07cf
Tweak styling for closed shoptfront
2014-06-24 13:50:18 +10:00
summerscope
a36408e2a1
Tweak overflow for modal ABOUT styling so that browser never tries to add a horizontal scroll bar
2014-06-24 13:35:00 +10:00
summerscope
d0b2f73c5a
Tweak markup for PRODUCERS tab on mini menu
2014-06-24 13:25:45 +10:00
summerscope
e0f5f51f92
Tweak markup for GROUPS tab on mini menu
2014-06-24 13:25:27 +10:00
summerscope
902d896218
Tweak markup for CONTACT tab on mini menu
2014-06-24 13:25:13 +10:00
summerscope
703ee5e566
Tweak markup for ABOUT tab on mini menu
2014-06-24 13:24:56 +10:00
summerscope
a498ffb5a7
Add styles to improve the mini menu / tabs area of the shopfront and make it more consistent
2014-06-24 13:24:33 +10:00
summerscope
e8bf2da69c
Tweak small hero image styling
2014-06-24 13:24:11 +10:00
Will Marshall
f7ba8cade0
Bunch of minor bugfixes
2014-06-24 13:01:51 +10:00
Rob H
9099fca11c
Merge branch 'bug-herd' into working
2014-06-23 22:01:41 +10:00
Rob H
51d3f65934
Remove spree's product tab for all but admin users
2014-06-23 22:01:19 +10:00
Rob H
753a867142
'Back to Products List' on product edit page returns user to BPE
2014-06-23 15:54:53 +10:00
Rob H
7d1acc23ad
Cancel button on new product form redirects to BPE
2014-06-23 15:54:14 +10:00
Rob H
9b126df5b6
Add variant display_name to reports
2014-06-23 14:31:16 +10:00
Rob H
a21c2c20f7
Change 'Spree' in admin page title to 'OFN'
2014-06-23 11:26:46 +10:00
Rob H
c56e0dfdae
Add Laura to Readme
2014-06-23 10:52:23 +10:00
Rob H
3b0bf9c677
Amend readme
2014-06-23 10:27:43 +10:00
Rob H
a7cd6def4f
Amend readme
2014-06-23 10:25:52 +10:00
Will Marshall
3fc337299b
Adding ponies and filtering
2014-06-20 17:14:05 +10:00
Rob H
0785509bc4
Add plus icon to new order cycles button
2014-06-20 17:00:36 +10:00
Rob H
9f285b1d8c
Add plus icon to new enterprises button
2014-06-20 17:00:07 +10:00
Rob H
a448ccdad4
Remove unused enterprise show page
2014-06-20 16:53:04 +10:00
Will Marshall
1eaf2c3bc5
Fixing missing taxons
2014-06-20 16:50:31 +10:00
Rob H
d71966b5c0
Change show link to edit link on admin enterprises index
2014-06-20 16:39:09 +10:00
Rob H
4b437e2ab5
Realign enterprises social media form components
2014-06-20 16:38:10 +10:00
Will Marshall
21589fd5b0
Hack patching home page modals
2014-06-20 16:31:49 +10:00
Will Marshall
1ed634239d
Major refactoring
2014-06-20 16:31:49 +10:00
Rob H
d6341b65e5
Add edit button to Order cycles index
2014-06-20 16:22:55 +10:00
Rob H
1a0a8ec160
Merge branch 'master' into working
2014-06-20 13:54:52 +10:00
Will Marshall
8bb5f75ea0
Temporary fix to get staging working
2014-06-20 13:51:21 +10:00
Rob H
1f72bade65
Changing promo image explanation text
2014-06-20 13:47:33 +10:00
Rob H
3d1927d545
Merge branch 'master' into working
2014-06-20 12:29:47 +10:00
Rob H
a668a4fd55
Further tidy-up for order confirmation email
2014-06-20 12:21:33 +10:00
Will Marshall
c955bf61ac
Reverting the main_app changes
2014-06-20 12:11:00 +10:00
Will Marshall
ba842be5b8
Loading enterprises per-view again
2014-06-20 12:03:51 +10:00
Will Marshall
17521516b4
Patching up some regressions with the tabs
2014-06-20 11:33:30 +10:00
Will Marshall
b0d88c071a
Merge branch 'laura_and_will'
2014-06-20 10:49:31 +10:00
Will Marshall
c97fa711b7
Adding config changes to app.rb, fixing mixing producers links
2014-06-20 10:47:46 +10:00
summerscope
a362c2591f
Remove parentheses from address on button
2014-06-20 10:42:52 +10:00
summerscope
9a59f6b520
Remove parentheses from address on button
2014-06-20 10:36:09 +10:00
summerscope
5a005d944b
Remove parentheses from address on button
2014-06-20 10:35:58 +10:00
summerscope
521030a8a5
Tweak background color to taxons
2014-06-20 10:35:11 +10:00
summerscope
f4fc0beb36
Styling about on hub shopfront page
2014-06-20 10:34:46 +10:00
summerscope
23542136ed
Add a small hero image class
2014-06-20 10:34:04 +10:00
Will Marshall
db158a16d4
Merge branch 'laura_and_will'
2014-06-20 10:33:44 +10:00
summerscope
93dbfdab3f
Tweak menu styling to make logo sit in center of container
2014-06-20 10:22:54 +10:00
summerscope
620c7f1cf8
Tweak taxon background color so it shows up against white
2014-06-20 10:22:36 +10:00
summerscope
3a1bf24a86
Product modal adjust markup for SVG icon styling
2014-06-20 10:00:54 +10:00
summerscope
f87b2ea1e3
Producer hubs view - fat node - adjust markup to make more dynamic, adjust for new designs
2014-06-20 10:00:36 +10:00
summerscope
48292be98b
Home hubs view - fat node - adjust markup to make more dynamic, adjust for new designs
2014-06-20 10:00:16 +10:00
summerscope
bf61d70e8f
Adjust producer active table styles to accomodate new fat view markup
2014-06-20 09:59:32 +10:00
summerscope
9b25cfe67b
Adjust active table styles to accommodate new fat view markup
2014-06-20 09:59:11 +10:00
summerscope
e4f4db82da
Tweak markup for producer modal
2014-06-20 09:58:49 +10:00
summerscope
6d20b16c3c
Tweak markup for map modal
2014-06-20 09:58:32 +10:00
summerscope
5b2e45b9ba
More styling for modals for map view for hubs and producers
2014-06-20 09:58:06 +10:00
summerscope
0fa15750a1
Styling for modals - move the X to close icon inside canvas on small devices
2014-06-20 09:57:48 +10:00
summerscope
b1787ad65c
Add in styling for product modal version of taxons
2014-06-20 09:57:18 +10:00
summerscope
b6ab46bcf8
Move style from modal css to typography for general use
2014-06-20 09:56:55 +10:00
Rob H
2861191ab7
Merge branch 'sm-desc' into working
2014-06-20 09:43:58 +10:00
Will Marshall
bffe036990
Merge branch 'laura_and_will'
2014-06-19 21:29:15 +10:00
Will Marshall
f8da754372
Patching Rabl helper
2014-06-19 21:26:51 +10:00
Rob H
0d7c682b85
Remove shipping category from admin edit shipping methods
2014-06-19 18:31:52 +10:00
Rob H
0527900453
Change text of OC collection details
2014-06-19 18:02:05 +10:00
Rob H
3c24be3c0b
Change text of OC delivery instructions placeholder
2014-06-19 17:57:23 +10:00
Rob H
bd13b2b3fc
Add shipping method description to confirmation email, cleanup
2014-06-19 17:52:25 +10:00
summerscope
c141707ef6
Adding some styles for fat view on active table - needs to be pulled out to hub_node.css.sass WIP commit
2014-06-19 17:09:02 +10:00
summerscope
5984a233ec
Tweaking styles for producer node to allow for new CTA link row WIP commit
2014-06-19 17:08:24 +10:00
summerscope
cdbcf733e3
Tweaking styles for hub node to allow for new CTA link rwo
2014-06-19 17:07:58 +10:00
summerscope
bc7bf36c9d
Tweaking styles for active table to allow for new CTA link rwo
2014-06-19 17:07:39 +10:00
summerscope
6a350e4867
Tweak order of classes
2014-06-19 17:07:16 +10:00
summerscope
d1b6a7b2a2
Adjusting markup for active table producer fat view WIP commit
2014-06-19 17:06:38 +10:00
summerscope
7c5dc397b9
Adjusting markup for active table hub fat view for new layout
2014-06-19 17:06:16 +10:00
Rob H
df660ff536
Adding shipping method description to checkout
2014-06-19 16:34:28 +10:00
summerscope
591441b968
Making a js change to remove hub name from shipping method label
2014-06-19 16:31:11 +10:00
summerscope
238c783e77
Style writing for enterprise modals
2014-06-19 16:30:50 +10:00
summerscope
3747306c31
Styling for producer modal on map
2014-06-19 16:30:36 +10:00
summerscope
c50426328e
Styling for hub modal on map
2014-06-19 16:30:22 +10:00
summerscope
3fef2e8ada
Changing name of classes to be less contextual and more reusable
2014-06-19 16:29:43 +10:00
summerscope
5319ad8846
Changing name of classes to be less contextual and more reusable
2014-06-19 16:29:28 +10:00
Rob H
9135a8f27b
Change 'ready on' to 'ready for'
2014-06-19 16:28:16 +10:00
summerscope
e74ee3c6d5
Generic modal styling and options
2014-06-19 15:42:35 +10:00
summerscope
4c160ac83f
Changing markup for CONTACT section of enterprise modal
2014-06-19 15:42:35 +10:00
summerscope
b68d038dd0
Markup adjustments for producer modal on map view - styling all the things! making things dynamic to show and hide
2014-06-19 15:42:35 +10:00
summerscope
ee38bc70b2
Renaming stylesheet for naming consistancy
2014-06-19 15:42:35 +10:00
summerscope
a1f1654e95
Renaming stylesheet for naming consistency
2014-06-19 15:42:34 +10:00
summerscope
a74766909a
Adding a stylesheet specifically for enterprises e.g. hubs and producers
2014-06-19 15:42:34 +10:00
summerscope
ce28e286da
Make the rabl capture phone number at enterprise level
2014-06-19 15:42:33 +10:00
Will Marshall
a4d12c4515
Patching up IE warning
2014-06-19 15:18:14 +10:00
Will Marshall
24f147d81d
Adding pickup and delivery
2014-06-19 14:38:05 +10:00
Will Marshall
34e2170faf
Patching some regressions
2014-06-19 14:36:47 +10:00
Will Marshall
6e5e202461
Merge branch 'master' into laura_and_will
...
Conflicts:
app/assets/javascripts/darkswarm/services/map_modal.js.coffee
app/assets/javascripts/darkswarm/services/product.js.coffee
app/assets/javascripts/templates/map_modal_hub.html.haml
app/assets/javascripts/templates/map_modal_producer.html.haml
app/assets/javascripts/templates/partials/contact.html.haml
app/views/home/_fat.html.haml
spec/javascripts/unit/darkswarm/services/product_spec.js.coffee
2014-06-19 14:22:23 +10:00
Will Marshall
a7f4256897
Fixing a minor regression
2014-06-19 14:19:15 +10:00
Will Marshall
4684c92c6e
Minor refactoring from code review with Rohan
2014-06-19 14:19:14 +10:00
summerscope
5fc95462bf
Tweak IE old warning css to remove css anims (not supported old browsers anyway)
2014-06-19 14:19:14 +10:00
summerscope
fbe56ce3d6
Tweak IE old warning message for stakeholder feedback
2014-06-19 14:19:14 +10:00
summerscope
aa88eeac72
Changing Producer modal markup to reflect new design. WIP commit,
2014-06-19 14:19:14 +10:00
summerscope
add89ffb47
Update images styling to make more generic / modular and remove styling specific to producers to make more scalable.
2014-06-19 14:19:14 +10:00
summerscope
50ac838e19
Update follow markup to reflect new design WIP commit
2014-06-19 14:19:13 +10:00
summerscope
a5e412fbe9
Update contact markup to reflect new design
2014-06-19 14:19:13 +10:00
summerscope
9b532205e5
Changing markup to Hub modal (map) to reflect new design
2014-06-19 14:19:13 +10:00
summerscope
abb64531a7
Adding stylesheet to manage modals for Hubs and Producers
2014-06-19 14:19:13 +10:00
Will Marshall
841621a56f
Further patches to the damned RABL system, patching everything up to use our new Service structure
2014-06-19 14:19:13 +10:00
summerscope
60bd89533e
Turn off IE message ready for logic
2014-06-19 14:19:13 +10:00
summerscope
f463f71fb7
Add browser logos for IE message
2014-06-19 14:19:12 +10:00
summerscope
f601ad21a2
Update markup to include links to modern browsers for upgrade
2014-06-19 14:19:12 +10:00
summerscope
b1cf64d290
Styling for old IE upgrade / warning message
2014-06-19 14:19:12 +10:00
Will Marshall
e5c62e6c59
Refactoring JSON injection a bit further
2014-06-19 14:19:12 +10:00
Will Marshall
35d5dde5aa
Adding dereferencing on construct to Enterprises service - this is MAGIC
2014-06-19 14:19:11 +10:00
Will Marshall
a2965696da
Refactoring the RABL injection and the Hubs/Producers/Enterprises services
2014-06-19 14:19:11 +10:00
Will Marshall
c8384f1a71
Reworking the RABL templates for simplicity AND fixing up all the tests
2014-06-19 14:19:11 +10:00
summerscope
b7e19ca290
Tweak styling and add animation-in function for Loading text message
2014-06-19 14:19:11 +10:00
Will Marshall
0909162424
Changing our composition of producers and hubs
2014-06-19 14:19:11 +10:00
Will Marshall
75366b96e1
Reworking the empties cart and active table link stuff
2014-06-19 14:19:10 +10:00
Will Marshall
b195ac3a84
Changing icon markup
2014-06-19 14:19:10 +10:00
Will Marshall
653da728c6
Starting a set of small functional changes
2014-06-19 14:19:10 +10:00
summerscope
f6c46d4707
Tweak label until shipping methods are available
2014-06-19 14:19:10 +10:00
summerscope
2cbcbed644
Site tagline constrain width on large screens to improve text flow
2014-06-19 14:19:10 +10:00
summerscope
53aaf6bff3
Making input label in shopfront small to distinguish from variant name and price
2014-06-19 14:19:10 +10:00
Will Marshall
d20c952595
fixing issue 750
2014-06-19 14:19:09 +10:00
summerscope
4a053a50ea
New animation mixin
2014-06-19 14:19:09 +10:00
summerscope
8c6e0c6b18
Remove SVG styling from this scss - now in taxons.css.sass
2014-06-19 14:19:09 +10:00
summerscope
397d15999f
Remove SVG styling from this scss - now in taxons.css.sass
2014-06-19 14:19:09 +10:00
summerscope
f3ca82ec8e
New stylesheet to style taxon SVG icons
2014-06-19 14:19:09 +10:00
Will Marshall
ce1732db27
Adding taxon preview (big) to the admin UI
2014-06-19 14:18:52 +10:00
Will Marshall
7f4816c9a5
Adding new producer modal and dereferencing shopfront
2014-06-19 14:00:37 +10:00
Will Marshall
9951f668e8
Adding 180x180 size to logo
2014-06-19 13:00:28 +10:00
Will Marshall
36451423ba
Producer fat view
2014-06-19 12:56:55 +10:00
Will Marshall
3c7f5e9158
Adding new mechanism to hubs/fat
2014-06-19 12:54:06 +10:00
Will Marshall
b8cc2de91e
Merge branch 'master' into laura_and_will
...
Conflicts:
db/schema.rb
2014-06-19 12:49:58 +10:00
Will Marshall
f1c4ee6744
Fixing up hub modal
2014-06-19 12:49:28 +10:00
Will Marshall
3b4e600599
Changing producer to enterprise
2014-06-19 12:39:35 +10:00
Will Marshall
58e810a736
Using enterprise in modals
2014-06-19 12:38:30 +10:00
Will Marshall
738fdfcd49
Merge branch 'laura_and_will'
2014-06-19 12:11:12 +10:00
Will Marshall
8fcc2b0c62
Merge branch 'refactoring_services' into laura_and_will
2014-06-19 12:10:28 +10:00
Will Marshall
5d71af7687
fixing issue 750
2014-06-19 12:10:26 +10:00
Will Marshall
8905b45333
Fixing a minor regression
2014-06-19 12:10:05 +10:00
Will Marshall
b9561ecf20
Minor refactoring from code review with Rohan
2014-06-19 11:41:24 +10:00
summerscope
47775b13fc
Tweak IE old warning css to remove css anims (not supported old browsers anyway)
2014-06-19 11:32:30 +10:00
summerscope
b0b8e14adb
Tweak IE old warning message for stakeholder feedback
2014-06-19 11:30:41 +10:00
Rohan Mitchell
2f2e0d41af
On customer reports, do not show orders through a hub that the current user does not manage
2014-06-19 10:35:32 +10:00
Rohan Mitchell
3b7fc9f105
Reword spec descriptions
2014-06-19 10:03:05 +10:00
summerscope
710abf96eb
Changing Producer modal markup to reflect new design. WIP commit,
2014-06-18 18:53:31 +10:00
summerscope
a62ab98f53
Update images styling to make more generic / modular and remove styling specific to producers to make more scalable.
2014-06-18 18:53:02 +10:00
summerscope
f89418c0d6
Update follow markup to reflect new design WIP commit
2014-06-18 18:52:29 +10:00
summerscope
54983845c4
Update contact markup to reflect new design
2014-06-18 18:52:07 +10:00
summerscope
fcd0096843
Changing markup to Hub modal (map) to reflect new design
2014-06-18 18:50:59 +10:00
summerscope
e924d8d5dc
Adding stylesheet to manage modals for Hubs and Producers
2014-06-18 18:50:40 +10:00
Will Marshall
c02c7cf7ca
Further patches to the damned RABL system, patching everything up to use our new Service structure
2014-06-18 17:54:13 +10:00
summerscope
2dcdd997a2
Turn off IE message ready for logic
2014-06-18 17:14:20 +10:00
summerscope
83e7225ef8
Add browser logos for IE message
2014-06-18 17:11:57 +10:00
summerscope
4d6a92dfe4
Update markup to include links to modern browsers for upgrade
2014-06-18 17:11:08 +10:00
summerscope
2acf3bf382
Styling for old IE upgrade / warning message
2014-06-18 17:10:47 +10:00
Will Marshall
224a70c11f
Refactoring JSON injection a bit further
2014-06-18 16:43:57 +10:00
Rohan Mitchell
4eee7d4901
Enterprise user can manage their enterprises' producer properties
2014-06-18 16:04:41 +10:00
Will Marshall
45404f1475
Adding dereferencing on construct to Enterprises service - this is MAGIC
2014-06-18 15:48:24 +10:00
Rohan Mitchell
cf4e7b18b4
Redirect to enterprises index page after updating producer properties
2014-06-18 15:43:22 +10:00
Will Marshall
deb6c8a05a
Refactoring the RABL injection and the Hubs/Producers/Enterprises services
2014-06-18 15:40:02 +10:00
Rohan Mitchell
c3cec34186
Redirect to enterprises page after updating producer properties
2014-06-18 15:28:41 +10:00
Rohan Mitchell
e6674d43fa
Admin can reorder producer properties
2014-06-18 15:28:41 +10:00
Rohan Mitchell
27fa93dbb4
Admin can remove producer properties
2014-06-18 15:28:41 +10:00
Rohan Mitchell
94c42abf56
Admin can update producer properties
2014-06-18 15:28:41 +10:00
Rohan Mitchell
84cd56cfdc
Admin can list and create producer properties
2014-06-18 15:28:41 +10:00
Rohan Mitchell
92e3546a76
Retrieve properties for a product as a hash
2014-06-18 15:22:03 +10:00
Rohan Mitchell
0139c4bda2
Set producer property
2014-06-18 15:22:03 +10:00
Rohan Mitchell
9d8629f41f
Add producer property model
2014-06-18 15:22:02 +10:00
Rob H
6809d70397
Redirect user back to enterprise edit page after saving
2014-06-18 13:18:33 +10:00
Will Marshall
e7c301da83
Reworking the RABL templates for simplicity AND fixing up all the tests
2014-06-18 13:05:44 +10:00
Rob H
65a0e4707a
Add text which explains cropping of promo image
2014-06-18 12:58:32 +10:00
Rob H
3884b0cc1b
Adding a direct link to shopfront to enterprise edit page for distributor enterprises
2014-06-18 12:37:26 +10:00
summerscope
e200b192d4
Tweak styling and add animation-in function for Loading text message
2014-06-18 12:37:11 +10:00
Rob H
45b16d52dd
Add visible checkbox to enterprises index page to allow bulk editing of visibility
2014-06-18 11:44:47 +10:00
Rob H
2e749ef1f3
Move admin enterprises index to haml
2014-06-18 11:08:00 +10:00
Rob H
0611947306
Merge branch 'master' into sm-makeover
2014-06-18 10:39:40 +10:00
Rob H
bd41ee8b97
Commit schema version
2014-06-18 10:38:59 +10:00
Rob H
004548a4fe
Rearrange shipping method edit page
2014-06-18 10:21:21 +10:00
Will Marshall
f54834da01
Changing our composition of producers and hubs
2014-06-17 16:33:43 +10:00
Will Marshall
37fee5c316
Reworking the empties cart and active table link stuff
2014-06-17 16:33:31 +10:00
Will Marshall
57c5c2d411
Changing icon markup
2014-06-17 14:34:38 +10:00
Will Marshall
9bbfc0a393
Starting a set of small functional changes
2014-06-17 12:35:03 +10:00
Will Marshall
e697a544e5
Merge branch 'master' into laura_and_will
2014-06-17 11:45:04 +10:00
summerscope
80f26c7457
Tweak label until shipping methods are available
2014-06-17 10:50:47 +10:00
summerscope
923a615dfa
Site tagline constrain width on large screens to improve text flow
2014-06-14 21:00:32 +10:00
summerscope
5f155df42a
Making input label in shopfront small to distinguish from variant name and price
2014-06-13 14:32:06 +10:00
Will Marshall
17682dbc58
fixing issue 750
2014-06-13 14:31:55 +10:00
Will Marshall
d6098ec2de
Fixing a private method
2014-06-13 14:23:44 +10:00
summerscope
b069311475
New animation mixin
2014-06-13 14:20:58 +10:00
summerscope
f1497c9c5a
Remove SVG styling from this scss - now in taxons.css.sass
2014-06-13 14:20:47 +10:00
summerscope
3f72c8601b
Remove SVG styling from this scss - now in taxons.css.sass
2014-06-13 14:20:31 +10:00
summerscope
cad8f8a7a8
New stylesheet to style taxon SVG icons
2014-06-13 14:20:10 +10:00
Will Marshall
3aa9501480
Adding main app
2014-06-13 14:13:16 +10:00
Will Marshall
f7c71568df
Merge branch 'laura_and_will'
...
Conflicts:
app/models/spree/variant_decorator.rb
db/schema.rb
spec/models/spree/product_spec.rb
spec/models/spree/variant_spec.rb
2014-06-13 12:42:14 +10:00
Will Marshall
415a4eff0a
Not pre-loading images and setting the map back to gifses
2014-06-13 11:05:32 +10:00
Will Marshall
bc93ce57e6
Smooth scrolling, svg support via directive
2014-06-13 11:00:28 +10:00
summerscope
6135fe0336
Revert producers list to standard bullet point list
2014-06-13 10:26:09 +10:00
summerscope
4fd1a3d77c
Remove SVG from styling - cannot reach it through iframe #document markup
2014-06-12 16:52:04 +10:00
summerscope
e090352c43
Styling for shopfront page to resize icons as SVGs
2014-06-12 16:51:32 +10:00
summerscope
e2f983b448
Icon update for update to icon font
2014-06-12 16:40:06 +10:00
summerscope
567855b13c
Adding in new icon for producers modal list
2014-06-12 16:39:35 +10:00
summerscope
2ff4883725
Update icon font to add Bulk icon and pop out icon
2014-06-12 16:22:54 +10:00
summerscope
f9ded4c616
Markup change for taxon to be spat out correctly in shopfront view
2014-06-12 16:22:54 +10:00
Will Marshall
365c14d4fe
Adding smooth scroll to hubses
2014-06-12 16:16:46 +10:00
Will Marshall
f6690cb8dd
Patching a minor bug in cart emptying
2014-06-12 16:13:52 +10:00
Will Marshall
a55e58d50c
Adding working scrolling to anchors
2014-06-12 16:13:51 +10:00
Will Marshall
7a062b0310
Reworking the variant display of units and names
2014-06-12 16:13:51 +10:00
Rob H
8412d740ff
Move distributors into sidebar for new & edit shipping methods screen
2014-06-12 16:10:30 +10:00
summerscope
1a4e3c20ad
Styling for new svg icons for taxons
2014-06-12 15:47:38 +10:00
Rohan Mitchell
98611c3672
Fix timing error in enterprise supplied products rabl spec
2014-06-12 15:21:35 +10:00
Rohan Mitchell
9ccdd3b4e0
Add reactive integrity test that soft-deleted variants are removed from order cycles
2014-06-12 14:59:27 +10:00
Rohan Mitchell
8cea6d53ed
Correctly designate primary_taxon_id as NOT NULL
2014-06-12 14:59:27 +10:00
Rohan Mitchell
b23430375c
Add migration to remove deleted variants from order cycles
2014-06-12 14:59:27 +10:00
Rohan Mitchell
0061caa8df
Do not show deleted products in order cycle admin
2014-06-12 14:59:27 +10:00
Rohan Mitchell
836a08606c
Product and variant deletion removes the product or variant from any order cycles
2014-06-12 14:59:27 +10:00
Rohan Mitchell
083220089f
WIP: Delete ExchangeVariants when product is soft-deleted
2014-06-12 14:59:27 +10: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
Rohan Mitchell
88c41df201
BPE uses soft-delete for products
2014-06-12 14:59:27 +10:00
Rohan Mitchell
b970f54f53
Admin UI soft-deletes variants, not hard delete
2014-06-12 14:59:27 +10:00
Rohan Mitchell
9dc02e5eac
Add product soft-delete API action
2014-06-12 14:59:26 +10:00
Rohan Mitchell
e6c7acdff3
Add soft-delete method to variant
2014-06-12 14:59:26 +10:00
Rob H
4e98ee6e56
Remove sidebar from admin edit shipping methods
2014-06-12 14:48:36 +10:00
summerscope
8acbfba873
Change z index of icon so it sits behind fixed menu at top
2014-06-12 13:03:39 +10:00
Will Marshall
901cde73df
Adding not-null constraint
2014-06-12 12:58:40 +10:00
Rob H
be6a043aac
Move dynamic placeholder logic to directive so that it can be used for master variants too
2014-06-12 12:58:40 +10:00
Rob H
0b1b260527
Adding dynamic text to display as placeholder
2014-06-12 12:58:39 +10:00
Rob H
7782745663
Add fields for variant display name and display as to bpe
2014-06-12 12:58:39 +10:00
Rob H
fa567ac607
Change variant name to display name
2014-06-12 12:58:10 +10:00
Rob H
9f681bd1ef
Use display_as as option value for variant when it is present
2014-06-12 12:57:56 +10:00
Rob H
721aeea130
OptionValueNamer spec refactor
2014-06-12 12:57:20 +10:00
Rob H
248c38fd2c
Adding name and display_as fields to variants
2014-06-12 12:56:44 +10:00
Rob H
1a91b5a728
Move option value naming logic into separate lib class
2014-06-12 12:55:53 +10:00
Rob H
3b1411283a
Merge branch 'master' into units
2014-06-12 12:13:44 +10:00
summerscope
176735544b
Changing class name to remove ofn- from naming convention which call the icon font styling
2014-06-12 12:12:25 +10:00
Rob H
c09aeeee8f
Recalculate option values on variants when product variant unit is changed
2014-06-12 12:11:20 +10:00
Will Marshall
349ba112d0
Fixing map issues, adding a nice pretty loader
2014-06-12 11:50:28 +10:00
Will Marshall
48e2c3512f
Patching a minor bug in cart emptying
2014-06-12 11:49:55 +10:00
Rohan Mitchell
4e6f07de8a
WIP (tests reqd): Customers and products+inventory reports handle nil order cycle times
2014-06-12 11:49:55 +10:00
Rob H
c2109026ca
Add js spec for option value namer
2014-06-12 11:49:55 +10:00
Rohan Mitchell
71020a14ef
Fix payments coming up as $0, credit card charges failing for the same reason
2014-06-12 11:49:54 +10:00
Rob H
d9a5b02415
Move dynamic placeholder logic to directive so that it can be used for master variants too
2014-06-12 11:49:54 +10:00
Rohan Mitchell
908f7871bb
Orders and fulfilment report handles order cycles with nil opening or closing times
2014-06-12 11:49:54 +10:00
Rob H
5f8ed01475
Adding dynamic text to display as placeholder
2014-06-12 11:49:54 +10:00
Rob H
f688461e84
Add fields for variant display name and display as to bpe
2014-06-12 11:49:53 +10:00
Rob H
970b5f3061
Change variant name to display name
2014-06-12 11:49:53 +10:00
Rob H
2c78d537fa
Use display_as as option value for variant when it is present
2014-06-12 11:49:52 +10:00
Rob H
227c10288d
OptionValueNamer spec refactor
2014-06-12 11:49:52 +10:00
Rob H
c915c5fe78
Adding name and display_as fields to variants
2014-06-12 11:49:52 +10:00
Rob H
e9f2a8f2cd
Move option value naming logic into separate lib class
2014-06-12 11:49:52 +10:00
Rob H
c21342b82e
Adding all fields to new admin product spec
2014-06-12 11:49:51 +10:00
summerscope
860360d81e
Change map container name to remove ofn- which refers to icon font styling
2014-06-12 11:34:01 +10:00
Rohan Mitchell
a6e3dd65fe
WIP (tests reqd): Customers and products+inventory reports handle nil order cycle times
2014-06-11 20:39:34 +10:00
Rob H
4d01b55963
Merge branch 'master' into units
2014-06-11 14:21:23 +10:00
Rob H
d8f1153817
Add js spec for option value namer
2014-06-11 14:21:13 +10:00
Rohan Mitchell
177e03eae2
Fix payments coming up as $0, credit card charges failing for the same reason
2014-06-11 13:19:14 +10:00
Rob H
8e960c817a
Merge branch 'master' into units
2014-06-11 12:43:40 +10:00
Rob H
44f4ee822c
Move dynamic placeholder logic to directive so that it can be used for master variants too
2014-06-11 12:41:51 +10:00
Rohan Mitchell
12809438ac
Orders and fulfilment report handles order cycles with nil opening or closing times
2014-06-11 10:33:59 +10:00
Will Marshall
82da4d3911
Fixing the taxon icons to support le svgs
2014-06-10 15:52:27 +10:00
Will Marshall
74b3c026d2
Merging in maps
2014-06-10 14:54:12 +10:00
Will Marshall
75f1bf4f54
Merging in master
2014-06-10 14:53:49 +10:00
Will Marshall
373f698676
Adding loading infrastructure
2014-06-10 14:52:27 +10:00
Will Marshall
94b7601d73
Patching authorization tests
2014-06-10 14:01:25 +10:00
Will Marshall
21b6e91913
Moving OFN flash to fixed block
2014-06-10 12:29:31 +10:00
Will Marshall
e806ffdd1a
Merge branch 'maps'
2014-06-10 11:17:14 +10:00
Will Marshall
4d7fa8b1bf
Removing payments when emptying order
2014-06-10 11:15:04 +10:00
Will Marshall
dbf4f503a9
Restoring my clever flash refactoring
2014-06-10 11:14:52 +10:00
Will Marshall
c07809d328
Rescoping the accordion as well
2014-06-10 11:14:52 +10:00
Rohan Mitchell
dc60409c85
Move paid column next to order totals
2014-06-10 10:31:53 +10:00
Will Marshall
c8520cedbb
Fixing another merge issue
2014-06-06 17:26:58 +10:00
Will Marshall
7953ff145c
Fixing a merge issue
2014-06-06 17:23:28 +10:00
Will Marshall
a87361d82e
Merge branch 'master' into maps
...
Conflicts:
app/assets/javascripts/darkswarm/services/map.js.coffee
app/assets/javascripts/templates/map_modal.html.haml
app/views/layouts/darkswarm.html.haml
app/views/map/index.html.haml
app/views/shared/menu/_large_menu.html.haml
config/routes.rb
2014-06-06 17:21:27 +10:00
Rohan Mitchell
f068cb3cd7
Show shipping method via angular only (don't show spree's adjustment)
2014-06-06 17:05:50 +10:00
Rohan Mitchell
be644bdcc3
Revert "Reworking flash messages hooray"
...
This reverts commit c9d0091cd9 .
2014-06-06 16:59:47 +10:00
Will Marshall
6c5b514b9b
Rescoping the accordion as well
2014-06-06 16:53:09 +10:00
Will Marshall
c9d0091cd9
Reworking flash messages hooray
2014-06-06 16:41:28 +10:00
Will Marshall
37f197205f
Removing shipping method from order when emptied
2014-06-06 16:39:53 +10:00
Rob H
6e04eeba07
Adding dynamic text to display as placeholder
2014-06-06 15:43:05 +10:00
Will Marshall
0c313c0dcb
Defaulting cart count to zero if undefined
2014-06-06 14:47:12 +10:00
Will Marshall
2545b06b2d
Adding first and last name read-only fields to credit card
2014-06-06 14:28:33 +10:00
Will Marshall
57102f714e
Switching to ng-if so CC fields aren't validated when hidden
2014-06-06 14:04:48 +10:00
Will Marshall
92eca72f4f
Fixing a couple of paths and clearing localStorage when changing distributor
2014-06-06 14:04:48 +10:00
Will Marshall
c32776c6b8
Disabling maps in production
2014-06-06 14:04:47 +10:00
Will Marshall
54cdc545a4
adding distributor id to localStorage
2014-06-06 14:04:47 +10:00
Will Marshall
afabda788e
Adding the close
2014-06-06 14:04:47 +10:00
Will Marshall
74b9810d22
Removing image from about us
2014-06-06 14:04:47 +10:00
Will Marshall
c09ffa832c
Fixing gmaps
2014-06-06 14:04:47 +10:00
Will Marshall
ebe40d3b3d
New icon
2014-06-06 14:04:46 +10:00
Will Marshall
f881197a74
New icons and some more enterprise data
2014-06-06 14:04:46 +10:00
Will Marshall
ddb5150e77
Automatically resizing to fit
2014-06-06 14:04:46 +10:00
Will Marshall
6f2e841100
Adding modals for the map
2014-06-06 14:04:46 +10:00
Will Marshall
c9c1b4709b
Basic but hacky way to get events out of map
2014-06-06 14:04:46 +10:00
Will Marshall
82ab14a33e
Starting on on the map
2014-06-06 14:04:45 +10:00
summerscope
0c501b58a5
Adjust layout for 12 column grid for Hub details and order cycle info plus adjust CSS to allow for different break points
2014-06-06 11:19:15 +10:00
Rob H
43c5c37326
Add fields for variant display name and display as to bpe
2014-06-06 10:10:41 +10:00
summerscope
8a87e5e545
Add in link to map page for homepage pane
2014-06-06 10:03:51 +10:00
Rohan Mitchell
634af96a66
Update reports controller spec for multi-order-cycle params
2014-06-06 09:47:16 +10:00
Rohan Mitchell
1d44cbf506
Show distribution charge on report
2014-06-06 09:47:16 +10:00
Rohan Mitchell
1a7b32d1ff
Show hub and customer name on total row
2014-06-06 09:47:16 +10:00
Rohan Mitchell
673293f273
Add extra shipping columns
2014-06-06 09:47:16 +10:00
Rohan Mitchell
13e2da42eb
Add producer column, remove Packed? and Shipped? columns
2014-06-06 09:47:16 +10:00
Rohan Mitchell
1fab8c1e01
In orders and fulfilment reports, rename distributor -> hub and supplier -> producer
2014-06-06 09:47:16 +10:00
Rohan Mitchell
e5f0818065
Order and fulfilment reports can filter by multiple hubs, producers and order cycles
2014-06-06 09:47:16 +10:00
Rohan Mitchell
f8fa014796
LineItem.supplied_by_any
2014-06-06 09:47:15 +10:00
Rohan Mitchell
590ac6aa6d
Put orders and fulfilment report in grid layout
2014-06-06 09:47:15 +10:00
Will Marshall
6c68937230
Fixing gmaps
2014-06-05 17:16:19 +10:00
Will Marshall
c75da1ce0d
New icon
2014-06-05 17:14:11 +10:00
Will Marshall
d85c89b5d2
Merge branch 'master' into maps
2014-06-05 17:12:40 +10:00
Will Marshall
8b1c2b1e9e
New icons and some more enterprise data
2014-06-05 17:12:38 +10:00
Will Marshall
b1b80a1e39
Automatically resizing to fit
2014-06-05 16:49:01 +10:00
Will Marshall
5ffb8decf5
Adding modals for the map
2014-06-05 16:23:43 +10:00
summerscope
3ae1eb863d
Update behaviour on Place Order Now button so it is disabled but not hidden when unavailable
2014-06-05 16:20:14 +10:00
summerscope
7b1756fc98
Fix column layout issue for checkout page making content expand beyond page boundaries
2014-06-05 16:19:35 +10:00
summerscope
68311ca699
Remove Facebook icon which appeared here - unnecessary.
2014-06-05 15:53:23 +10:00
summerscope
2984cada53
Remove Admin link from left menu as this now lives in the drop-down menu for logged in users under Cog icon to right.
2014-06-05 15:51:23 +10:00
Will Marshall
1ab0d6816c
Merge branch 'laura_and_will' into maps
2014-06-05 15:50:53 +10:00
Will Marshall
843ea9faef
Basic but hacky way to get events out of map
2014-06-05 15:08:50 +10:00
Rohan Mitchell
05c62634fc
Further overlapping elements fixes
2014-06-05 14:49:41 +10:00
Rohan Mitchell
2bedc431e8
Fix spec fragility - overlapping elements error
2014-06-05 13:43:41 +10:00
Rob H
1eac76fbba
Change variant name to display name
2014-06-05 13:39:53 +10:00
Will Marshall
476eeef69d
Starting on on the map
2014-06-05 12:18:26 +10:00
Rohan Mitchell
566afc0b75
Merge branch 'laura_and_will'
2014-06-05 11:42:02 +10:00
Rohan Mitchell
f28d9f9d9b
Fix distributor logo spec - Add a logo
2014-06-05 11:38:27 +10:00
Rohan Mitchell
4a7609a835
Basic styling for checkout credit card form
2014-06-05 11:17:53 +10:00
Will Marshall
fc02e7857a
Merge branch 'master' into laura_and_will
...
Conflicts:
app/views/shopping_shared/_contact.html.haml
2014-06-04 17:24:30 +10:00
Rob H
3240a4e08e
Use display_as as option value for variant when it is present
2014-06-04 17:23:11 +10:00
Will Marshall
69e5459afd
Finishing off the merge with localStorage refactoring with sekrets
2014-06-04 17:22:10 +10:00
summerscope
039108a07d
Styling label on taxons on fat view of active table for hubs (add a little padding to right)
2014-06-04 17:16:47 +10:00
Will Marshall
3c21ce8d99
Returning to the basic flash for now
2014-06-04 17:13:19 +10:00
Will Marshall
cd09f70ed3
Compacting down our flash messages
2014-06-04 17:13:19 +10:00
Will Marshall
874afb2d7e
Hiding image if not present
2014-06-04 17:13:18 +10:00
Will Marshall
5bd7485ca6
Restoring the image
2014-06-04 17:13:18 +10:00
Will Marshall
df7ee03cbf
Adding presenters to the social media fields
2014-06-04 17:13:18 +10:00
Will Marshall
d384b18d1b
Adding social media data to producers biatch
2014-06-04 17:13:18 +10:00
Will Marshall
a6a4d28072
Fixing up bugs in the Checkout form
2014-06-04 17:13:18 +10:00
Will Marshall
2c43d5960d
Patching up url formatting, still need to normalize this on backend
2014-06-04 17:12:17 +10:00
Will Marshall
d944c31d77
Showing a loading products thing
2014-06-04 17:12:16 +10:00
Will Marshall
59c433881e
Making the auto-closing more granular on checkout
2014-06-04 17:12:16 +10:00
summerscope
3d64f883a0
Fix issue with double up columns - delete duplicate
2014-06-04 17:12:05 +10:00
summerscope
825ec1bb63
Adding in icons to home hubs fat and skinny views
2014-06-04 17:09:50 +10:00
summerscope
8d24301c26
Changing shop link to correct /shop
2014-06-04 16:57:21 +10:00
Rohan Mitchell
fc3402bbd0
Determine whether to send card field attributes by payment method type
2014-06-04 16:55:27 +10:00
summerscope
c2a2f2b3b8
Adding icon for producers. Remove styling summary-header to distinguish between product and producer
2014-06-04 16:51:43 +10:00
summerscope
cb5948047b
Adding new icons into producer modal. Making it pretty
2014-06-04 16:50:51 +10:00
summerscope
54a70d9b08
Adding new icons into hubs fat view. Making it pretty
2014-06-04 16:50:26 +10:00
Rohan Mitchell
6a8def3d76
Do not send attributes for card fields when no card is supplied
2014-06-04 16:30:57 +10:00
Rohan Mitchell
37c780ed70
WIP: Send credit card details to server on checkout
2014-06-04 16:20:48 +10:00
summerscope
814ee9847e
Adding a new partial for mobile menu (off canvas) to restyle items in dropdown in big menu
2014-06-04 16:09:15 +10:00
summerscope
33c276c7f7
Adding in new icon fonts to mobile menu partial
2014-06-04 16:08:16 +10:00
summerscope
122ab01ce4
Adding in new icon fonts to large menu partial
2014-06-04 16:08:02 +10:00
summerscope
498559f70d
Adding in new icon fonts to cart partial
2014-06-04 16:07:41 +10:00
summerscope
6e4de586a9
Adding in new icon fonts to signed out partial
2014-06-04 16:07:17 +10:00
summerscope
1e3c046368
Adding in new icon fonts to signed in partial
2014-06-04 16:07:02 +10:00
summerscope
77f847dcbe
Adding in new icon fonts to menu system. Adding drop down cog to simplify top menu.
2014-06-04 16:06:24 +10:00
Rob H
7f2b3d62f4
OptionValueNamer spec refactor
2014-06-04 15:39:04 +10:00
Rob H
f4c15bfc48
Adding name and display_as fields to variants
2014-06-04 15:21:31 +10:00
Rob H
1ed5dcf994
Merge branch 'master' into units
2014-06-04 15:07:28 +10:00
Rob H
8d87cfbc35
Move option value naming logic into separate lib class
2014-06-04 14:54:42 +10:00
Rohan Mitchell
a99e18990d
Readability
2014-06-04 14:27:17 +10:00
Rohan Mitchell
1ccfc46e50
Update primary taxons migration - take more care in setting the default primary taxon
2014-06-04 14:27:05 +10:00
Rob H
29fbf0438b
Adding all fields to new admin product spec
2014-06-04 11:42:42 +10:00
summerscope
62e8a913fa
Merge branch 'laura_and_will' into icon_font
2014-06-04 11:09:37 +10:00
summerscope
1a39b70a14
Merge branch 'master' into laura_and_will
2014-06-04 11:08:44 +10:00
Rohan Mitchell
d52c1fa5da
Revert "Do not show deleted products in order cycle admin"
...
This reverts commit 4e45a682fd .
2014-06-03 12:18:27 +10:00
summerscope
fc4e20ffd4
Adding new icons from new pretty icon font
2014-06-03 11:50:38 +10:00
summerscope
037769bfb1
Adding new icons from icon font
2014-06-03 11:50:17 +10:00
summerscope
a6a86612c7
Adding X from new icon font to modal
2014-06-03 11:48:11 +10:00
Rohan Mitchell
d4f65a63bb
Remove spec for removed image
2014-06-03 11:31:30 +10:00
Rohan Mitchell
4e45a682fd
Do not show deleted products in order cycle admin
2014-06-03 11:29:54 +10:00
Rohan Mitchell
60711301c1
Initialise primary taxon in migration instead of in model callback
2014-06-03 11:29:54 +10:00
summerscope
31bab3469e
Implementing new X icon for modal window
2014-06-03 11:20:15 +10:00
summerscope
653120888f
Implementing new X icon for modal window
2014-06-03 11:20:03 +10:00
summerscope
c07ca67f29
Implementing new X icon for modal window
2014-06-03 11:19:56 +10:00
summerscope
73a68799be
Implementing new X icon for modal window
2014-06-03 11:19:45 +10:00
summerscope
d160f4fe51
Implementing new X icon for modal window
2014-06-03 11:19:37 +10:00
summerscope
cd332c1eb1
Implementing new X icon for modal window
2014-06-03 11:19:22 +10:00
summerscope
8a34160713
No change
2014-06-03 11:18:43 +10:00
summerscope
8fa053a0a8
Commenting out promo image from About tab in shopfront page. This needs an additional image style to be applied before it can be implemented correctly.
2014-06-03 10:28:18 +10:00
Rob H
bcfa1a8266
Fix spec to check validation of missing primary_taxon correctly
2014-05-30 20:06:40 +10:00
Rob H
f97ef0838c
Rollback variant_unit_change check, auto-set primary taxons where they exist
2014-05-30 19:20:15 +10:00
Rob H
bf4d83aecc
Fix master options_text display on front end
2014-05-30 18:39:41 +10:00
summerscope
8caccfc5b0
Merge laura_and_will into icon_font
2014-05-30 17:01:49 +10:00
summerscope
ef5b36cddd
Styling producers
2014-05-30 16:39:07 +10:00
Rob H
2a8ef182f2
Merge remote-tracking branch 'origin/master' into new-product-form
2014-05-30 16:38:50 +10:00
Rob H
1d5cc5dced
Adding specs for new product creation
2014-05-30 16:38:29 +10:00
summerscope
b19ca3b9c4
Remove whitespace
2014-05-30 16:38:27 +10:00
Rob H
66a47f053c
Amend products controller spec to include requirement for primary_taxon_id
2014-05-30 16:21:04 +10:00
summerscope
31ae0cf2a9
Tweak logic on contact us address line display
2014-05-30 16:14:40 +10:00
Will Marshall
5f163eef1c
Tweaking the contact thingy
2014-05-30 16:10:45 +10:00
summerscope
ae310ff606
Refactor producers tab content for spacing of string
2014-05-30 16:02:46 +10:00
summerscope
587cf1ac9b
Tabs styling for hub shopfront page
2014-05-30 15:56:40 +10:00
summerscope
06adca7462
Producers tab content styling and layout for hub shopfront page
2014-05-30 15:54:42 +10:00
summerscope
9f172af34c
Styling and layout for groups tab content
2014-05-30 15:54:42 +10:00
summerscope
87d58b639d
Styling and layout and content updates to contact hub tab content
2014-05-30 15:54:42 +10:00
summerscope
57b895b0c3
Styling and layout for About Hub Name tab content on shopping page
2014-05-30 15:54:41 +10:00
Will Marshall
5c46057bf3
Merge branch 'master' into laura_and_will
2014-05-30 15:53:03 +10:00
Will Marshall
13c6ce6786
Starting a basic implementation of the Cart/CurrentOrder so we know whether it's empty
2014-05-30 15:52:20 +10:00
Rob H
4aae6be9b7
Remove unused overrides for primary taxons and product/new
2014-05-30 15:48:36 +10:00
Rob H
66d6de9dfc
Merge master (with primary taxons restored)
2014-05-30 15:45:48 +10:00
Will Marshall
7abfb2f936
Showing the resizing logo as well
2014-05-30 15:32:47 +10:00
Rohan Mitchell
15d8299efb
Fix enterprises spec - primary taxons change
2014-05-30 15:28:53 +10:00
Will Marshall
de9319f002
Auto-aligning BEFORE resizing
2014-05-30 15:23:42 +10:00
Rob H
69376e7f4b
Merge in master
2014-05-30 15:10:13 +10:00
Will Marshall
3ddd7c31e8
Patching which image is rendered
2014-05-30 15:08:16 +10:00
Will Marshall
be640fd856
Patching a spec and naming something
2014-05-30 15:02:47 +10:00
Will Marshall
7304e24591
Switching the image dimensions
2014-05-30 14:47:53 +10:00
Will Marshall
a7340df6a5
Removing some dud test content
2014-05-30 14:45:27 +10:00
summerscope
5cbc60e686
Typo fix on food hub modal
2014-05-30 14:43:31 +10:00
summerscope
68582514ef
Grammar fix up for food hub modal
2014-05-30 14:41:34 +10:00
Will Marshall
a979334f2a
Adding primary taxon
2014-05-30 14:31:36 +10:00
Will Marshall
b736145552
Adding primary taxon to admin forms
...
Conflicts:
db/migrate/20140522044009_add_primary_taxon_to_products.rb
spec/features/admin/products_spec.rb
2014-05-30 14:31:27 +10:00
Will Marshall
1c31ac56ea
Adding primary taxon field to product
...
Conflicts:
db/migrate/20140522044009_add_primary_taxon_to_products.rb
2014-05-30 14:31:03 +10:00
summerscope
72c50486fa
ADding new icons into producer modal
2014-05-30 14:29:08 +10:00
summerscope
91224ed0a4
Merge issues. Removing position fixed on modal window styling.
2014-05-30 14:27:37 +10:00
Will Marshall
20873b6e45
Patching a minor regression spec
2014-05-30 14:21:21 +10:00
Will Marshall
18597a2377
Patching a minor regression spec
2014-05-30 14:18:51 +10:00
summerscope
5f6b8c9b5b
Merge branch 'laura_and_will' into icon_font
2014-05-30 13:19:54 +10:00
summerscope
5bdb38e293
Merge issues. Removing position fixed on modal window styling.
2014-05-30 13:19:47 +10:00
Will Marshall
85ee33517a
Restoring another deleted file
2014-05-30 13:19:23 +10:00
summerscope
42a9f16800
Adding in new icon into producer partial
2014-05-30 13:08:18 +10:00
summerscope
49a39bb240
Adding unlock icon to signed in
2014-05-30 13:06:48 +10:00
summerscope
179d9f609c
Adding in new lock icon to signed in
2014-05-30 13:05:56 +10:00
summerscope
2c334a0180
Styling for trash icon on checkout page
2014-05-30 13:02:34 +10:00
Will Marshall
2b0bdc69cd
Fixing a scope issue
2014-05-30 13:01:16 +10:00
Will Marshall
638d6d2ac0
Moving around the authentication specs
2014-05-30 12:58:58 +10:00
summerscope
00ac80bdbb
Add new icons
2014-05-30 12:56:56 +10:00
Will Marshall
368fbd2383
Patching up admin redirects to be MOAR UNIVERSAL
2014-05-30 12:52:14 +10:00
summerscope
a54b3f7849
Adding new icon for refresh
2014-05-30 12:39:44 +10:00
summerscope
9a962f7445
Add new icons to checkout & back to cart buttons
2014-05-30 12:35:54 +10:00
summerscope
5a7df20a2e
Update icon font for mixins
2014-05-30 12:32:46 +10:00
summerscope
589188d21e
Update icons for Tabs on hub shopping page
2014-05-30 12:32:28 +10:00
Will Marshall
206c947ea5
Tweaking test
2014-05-30 12:20:18 +10:00
summerscope
5c44413ae9
Merge branch 'laura_and_will' into icon_font
2014-05-30 12:18:29 +10:00
summerscope
10418b6035
Merge issues. Removing position fixed on modal window styling.
2014-05-30 12:17:44 +10:00
summerscope
15cde6c372
Merge branch 'laura_and_will' into icon_font
...
Conflicts:
app/views/groups/index.html.haml
app/views/modals/_producers.html.haml
2014-05-30 12:12:07 +10:00
summerscope
43cc77c88b
Adding icon into button
2014-05-30 12:01:57 +10:00
Will Marshall
ee785a3498
Merge branch 'master' into laura_and_will
2014-05-30 12:01:33 +10:00
Will Marshall
db131af5e7
Patching a class hook
2014-05-30 12:00:28 +10:00
Will Marshall
1a47a7486e
Automatically closing the accordion if the form is already valid
2014-05-30 11:58:22 +10:00
summerscope
3fca8640fd
Add class right to icons
2014-05-30 11:57:19 +10:00
summerscope
9cae581cda
Add class right to icons
2014-05-30 11:57:06 +10:00
summerscope
34c4fc8aa1
Add class right to icons
2014-05-30 11:56:52 +10:00
summerscope
474581211b
Add class right to icons
2014-05-30 11:56:41 +10:00
summerscope
e064aa3173
Restyling labels for new icons in checkout process
2014-05-30 11:49:32 +10:00
summerscope
cca6a39476
Adding in icons to checkout partial
2014-05-30 11:49:14 +10:00
summerscope
cbc28f6da7
Adding in icons to checkout partial
2014-05-30 11:48:59 +10:00
summerscope
b4f14197fa
Adding in icons to checkout partial
2014-05-30 11:48:47 +10:00
summerscope
4893679d12
Adding in icons to checkout partial
2014-05-30 11:48:32 +10:00
Rob H
d9f7865572
Can add an image from redesigned new product page
2014-05-30 11:31:53 +10:00
summerscope
a7a8c3ecee
Change icon for bullet point for list style
2014-05-30 11:30:52 +10:00
summerscope
0eb4e35ee4
New version of icon font
2014-05-30 11:30:30 +10:00
Rob H
c9acb14809
Adding primary taxon migration to schema
2014-05-30 11:30:00 +10:00
Will Marshall
dd0907addd
Adding back the primary taxon migration
2014-05-30 11:24:37 +10:00
Will Marshall
5b58bf2c71
Adding our own custom unauthorized page
2014-05-30 11:24:37 +10:00
Rohan Mitchell
4c6a7622eb
Convert rep template to rabl
2014-05-29 17:21:52 +10:00
Rohan Mitchell
7d73f7d7f2
Fix reversed checkbox value for select all variants on order cycle admin page
2014-05-29 17:21:52 +10:00
Will Marshall
3ae2dc34e8
Preventing rabl from dying if no current hub
2014-05-29 16:50:41 +10:00
Will Marshall
e26a61c31f
Adding back sanitize
2014-05-29 16:49:20 +10:00
summerscope
c0cb9857cc
Style and template adjustments to shopfront top of page to get content hierarchy looking right. Removed change location link as new menu system supercedes this.
2014-05-29 16:42:05 +10:00
Will Marshall
aaf9b76507
Making toggling of fat nodes work
2014-05-29 16:38:01 +10:00
Will Marshall
d5a652182e
Scrolling to groups when hotlinked
2014-05-29 16:31:12 +10:00
Will Marshall
c49d9d838c
Removing reference to modals and unnecessary ID
2014-05-29 16:19:20 +10:00
Will Marshall
f28fe34958
Removing groups modals
2014-05-29 16:15:39 +10:00
Will Marshall
e44853346e
Dropping current producers, switching to suppliers and using Angular
2014-05-29 16:12:58 +10:00
Will Marshall
06bac3de85
Fixing an incorrect sentence case
2014-05-29 15:45:56 +10:00
Will Marshall
65d11ce552
Removing some unnecessary
2014-05-29 15:41:27 +10:00
Will Marshall
2c1ca15393
Some tweaks to visual stuff
2014-05-29 15:37:19 +10:00
Rob H
9b10a2cb94
Added 'Add Another' link to new product page. Altered redirects
2014-05-29 12:13:55 +10:00
Rob H
e110677b3b
WIP: Rearrange new product form
2014-05-29 12:11:06 +10:00
summerscope
c81631118d
Add styling to include the search icon in big input searches for Hubs and Producers
2014-05-29 12:00:16 +10:00
summerscope
4f1c7345c5
Add search icon into search input on producers page
2014-05-29 11:59:55 +10:00
summerscope
86dee82acb
Add search icon into search input on hubs
2014-05-29 11:59:28 +10:00
Will Marshall
b757629bfa
Minor test tweaks
2014-05-29 11:52:46 +10:00
summerscope
39358247fd
Kill whitespace around icon
2014-05-29 11:47:06 +10:00
Will Marshall
74211cbfc7
Merge branch 'master' into fixing_modals
...
Conflicts:
app/assets/javascripts/darkswarm/all.js.coffee
app/assets/javascripts/darkswarm/controllers/products/product_node_controller.js.coffee
app/assets/javascripts/darkswarm/directives/modal.js.coffee
app/views/modals/_producer.html.haml
app/views/modals/_product.html.haml
app/views/shop/products.rabl
2014-05-29 11:14:16 +10:00
summerscope
68ab24b790
Add links into footer
2014-05-29 11:10:45 +10:00
summerscope
b8eb43f8db
Add groups icon to modal
2014-05-29 11:08:35 +10:00
summerscope
81f51e734c
Add groups icon to listings on page
2014-05-29 11:07:43 +10:00
summerscope
1248eaeed7
Add producers icon to modal
2014-05-29 11:05:28 +10:00
summerscope
ff1c5a13e7
Add producers icon to active table
2014-05-29 11:01:49 +10:00
summerscope
8f7bab4ab7
Add hub icon to active table
2014-05-29 10:54:27 +10:00
Rohan Mitchell
fdff442ec6
Do not fetch products JSON on every shopping page
2014-05-29 10:54:08 +10:00
summerscope
4971e2305f
Add hub icon to modal
2014-05-29 10:54:07 +10:00
summerscope
45f6a86fd2
Adding new icons to menu partials
2014-05-29 10:19:50 +10:00
Rohan Mitchell
2a630a855a
Move primary taxon field into Rob's new product form
2014-05-29 09:28:08 +10:00
summerscope
614b25c446
Applying new icon font to footer partial on homepage
2014-05-28 17:06:52 +10:00
summerscope
3f36a3785b
Adding in icon for list style from new OFN icon font
2014-05-28 17:06:34 +10:00
summerscope
6ea7988f4e
New version fonts
2014-05-28 17:06:06 +10:00
Rohan Mitchell
09ce8697af
Only trigger taxon search AJAX when column visible - fixes deadlocks in specs
2014-05-28 16:55:04 +10:00
summerscope
d3802e9f83
Applying new icon font to map partial on homepage
2014-05-28 16:43:06 +10:00
summerscope
4c832b6ae9
Applying new icon font to producers partial on homepage
2014-05-28 16:39:26 +10:00
summerscope
7185aa6ab6
Applying new icon font to groups partial on homepage
2014-05-28 16:38:01 +10:00
summerscope
8954caf3e0
Applying new icon font to active table on homepage
2014-05-28 16:33:01 +10:00
summerscope
0c2a7ac247
Adding style sheet to allow access to custom font
2014-05-28 16:32:37 +10:00
summerscope
1e0aec0267
Adding in font files for custom font
2014-05-28 16:32:10 +10:00
Will Marshall
4b1f409774
Only rendering images that exist{
2014-05-28 16:19:10 +10:00
Will Marshall
98b4fe27f6
Hiding group logo if not present
2014-05-28 16:12:13 +10:00
Will Marshall
fcfda13a73
Patching a couple of minor regressions
2014-05-28 16:10:28 +10:00
Will Marshall
5eb54d1ac3
Merge branch 'groups_page' into fixing_modals
2014-05-28 16:04:55 +10:00
Will Marshall
33829d9044
Only rendering images if they exist
2014-05-28 16:03:42 +10:00
Will Marshall
9bb059493e
Fixing the image render
2014-05-28 16:03:42 +10:00
Will Marshall
b8cc9d3343
Modding image sizing on groups
2014-05-28 16:03:42 +10:00
Will Marshall
f65ff5af18
Automatically sorting out image rotation
2014-05-28 16:03:42 +10:00
Will Marshall
a7105fc3a8
Tweaking image sizing on enterprise
2014-05-28 16:03:42 +10:00
Will Marshall
50c7bd55be
Adding url strip and re-construction of http
2014-05-28 15:06:01 +10:00
Will Marshall
0c8ee2488b
Moving back to ng-bind-html
2014-05-28 14:58:53 +10:00
Will Marshall
c26462db57
Addin some URL stripping
2014-05-28 14:45:26 +10:00
Will Marshall
576f10dbc3
Adding ng-if checks
...
Conflicts:
app/views/modals/_producer.html.haml
2014-05-28 14:44:17 +10:00
Will Marshall
1af82bd4fb
Forcing scope to parent scope so we don't child our child
...
Conflicts:
app/assets/javascripts/darkswarm/directives/modal.js.coffee
2014-05-28 14:43:16 +10:00
summerscope
1a79b966e9
Adding in links to homepage buttons for Groups & Producers
2014-05-28 12:21:25 +10:00
summerscope
3c3409bc1f
Tweaks to styling on groups page
2014-05-27 18:03:12 +10:00
summerscope
9fe4bef7df
Adding groups icon into background for visual consistency
2014-05-27 17:55:51 +10:00
summerscope
2130470eaf
Styling for groups page
2014-05-27 17:11:42 +10:00
Rohan Mitchell
cc2498bb9b
Fix spec fails - group buy and available on removed from new product form
2014-05-24 18:26:02 +10:00
Rohan Mitchell
403e957111
Further removal of references to 'Admin' from global namespace
2014-05-24 17:15:20 +10:00
Rohan Mitchell
e951f80070
Merge branch 'new-product-form'
...
Conflicts:
app/assets/javascripts/admin/admin.js.coffee
2014-05-24 17:14:32 +10:00
Rohan Mitchell
9c1528607a
Merge branch 'user-import-export'
2014-05-24 17:13:34 +10:00
Rohan Mitchell
acbe49b8de
Revert primary taxons
2014-05-24 17:13:01 +10:00
Rohan Mitchell
e6461ba01e
Fix enterprises spec - primary taxons change
2014-05-24 10:34:22 +10:00
Will Marshall
2db63540ee
Adding primary taxon
2014-05-24 10:27:57 +10:00
Will Marshall
0a8f5d91ba
Adding primary taxon to admin forms
2014-05-24 09:29:26 +10:00
Will Marshall
17f09d1852
Adding primary taxon field to product
2014-05-24 09:29:19 +10:00
Rohan Mitchell
e119192cf1
Manually revert merge commit "Hack patching the modals"
2014-05-24 09:23:12 +10:00
Rohan Mitchell
223caa046c
Revert "Producers modal styling and markup"
...
This reverts commit 4657285769 .
Conflicts:
app/assets/stylesheets/darkswarm/images.css.sass
app/views/modals/_producer.html.haml
2014-05-24 09:15:22 +10:00
Rohan Mitchell
69e0e71eb6
Revert "Styling for shop page product modal"
...
This reverts commit 84b6f99321 .
Conflicts:
app/assets/stylesheets/darkswarm/images.css.sass
app/views/modals/_producer.html.haml
2014-05-24 09:12:24 +10:00
Rohan Mitchell
bb1b7cfa90
Revert "Adding fields to product supplier"
...
This reverts commit 6d24a6555e .
2014-05-24 09:07:58 +10:00
Rohan Mitchell
ad1f852bdd
Revert "Adding primary taxon field to product"
...
This reverts commit fd1e7ebaa3 .
2014-05-24 09:07:57 +10:00
Rohan Mitchell
79393476b0
Revert "Adding primary taxon to admin forms"
...
This reverts commit 110a6f2d14 .
2014-05-24 09:07:56 +10:00
Rohan Mitchell
7ac33beb65
Revert "Adding primary taxon"
...
This reverts commit 58112fb105 .
2014-05-24 09:07:55 +10:00
Rohan Mitchell
a7566e3413
Revert "Always showing social media"
...
This reverts commit aa23b03f98 .
2014-05-24 09:07:52 +10:00
Rob H
4a9a1029a1
Fixed a typo
2014-05-23 22:33:59 +10:00
Rob H
14611896c0
Simplify new product form
2014-05-23 18:08:29 +10:00
Rohan Mitchell
d1028cb912
User import/export includes addresses
2014-05-23 17:51:19 +10:00
Rohan Mitchell
9aadc9d1ce
Add initial user import/export via CSV
2014-05-23 17:51:19 +10:00
Rohan Mitchell
2987ca763d
Add additional data sanitisation for foreign key migration
2014-05-23 17:51:19 +10:00
Will Marshall
aa23b03f98
Always showing social media
2014-05-23 17:29:18 +10:00
Will Marshall
fb7b9a051a
Hack patching the modals
2014-05-23 17:22:27 +10:00
Will Marshall
40f116783c
Merge branch 'new_shop'
...
Conflicts:
app/assets/stylesheets/darkswarm/images.css.sass
app/views/modals/_producer.html.haml
2014-05-23 16:02:20 +10:00
Will Marshall
58112fb105
Adding primary taxon
2014-05-23 16:01:24 +10:00
Will Marshall
110a6f2d14
Adding primary taxon to admin forms
2014-05-23 15:59:06 +10:00
Will Marshall
fd1e7ebaa3
Adding primary taxon field to product
2014-05-23 15:59:06 +10:00
Will Marshall
6d24a6555e
Adding fields to product supplier
2014-05-23 15:59:06 +10:00
summerscope
84b6f99321
Styling for shop page product modal
2014-05-23 15:59:06 +10:00
Rohan Mitchell
9e46108e9a
Enterprise user can only add order cycle exchanges where it manages the participant enterprise
2014-05-23 12:18:22 +10:00
Rohan Mitchell
14dee8d7fe
OrderCycleFormApplicator requires permitted_enterprises to be set explicitly
2014-05-23 12:09:38 +10:00
Rohan Mitchell
095b9bf67a
Enterprise user can only update order cycle exchanges where it manages the participant enterprise
2014-05-23 12:05:46 +10:00
Rohan Mitchell
9b15c213d1
When an enterprise user saves an order cycle for which it manages only some of the enterprises involved, do not delete the other exchanges
2014-05-23 11:28:00 +10:00
Rob H
e85c144e87
Remove reference to 'Admin' from global namespace
2014-05-23 11:22:12 +10:00
summerscope
4657285769
Producers modal styling and markup
2014-05-22 16:35:48 +10:00
Rob H
47f6d32055
Make list items the same height
2014-05-22 15:47:50 +10:00
Rob H
f8776fecff
Move enterprises dashboard controller
2014-05-22 15:46:26 +10:00
Rob H
371240652c
Change 'Overview' menu item to 'Dashboard'
2014-05-22 15:30:11 +10:00
Rob H
ed3c23cd90
Split 'My Enterprises' dashboard item into Hubs and Producers
2014-05-22 15:28:25 +10:00
Will Marshall
1a7c6f87ed
Adding fields to product supplier
2014-05-22 14:47:27 +10:00
summerscope
d7bc1a9b95
Styling for shop page product modal
2014-05-22 14:40:35 +10:00
Will Marshall
015403c282
Merge branch 'new_shop'
2014-05-22 12:40:48 +10:00
Will Marshall
d1b27edefe
Reworking the JS specs
2014-05-22 12:40:46 +10:00
Will Marshall
272cb0469f
Setting up after_login redirects
2014-05-22 12:40:46 +10:00
Will Marshall
0140472fbc
Adding working modals
2014-05-22 12:40:46 +10:00
Will Marshall
d6512a78d4
Removing position fixed
2014-05-22 12:39:52 +10:00
Will Marshall
c69a4a5f1a
Adding social media links
2014-05-22 12:12:10 +10:00
Will Marshall
70f549e92a
Patching our modified admin login
2014-05-22 11:46:06 +10:00
Will Marshall
34c31afabe
Adding large image
2014-05-22 11:34:46 +10:00
Rohan Mitchell
a16f726377
Extract have_relationship test
2014-05-22 11:32:37 +10:00
Rohan Mitchell
c2f762d570
Enterprise user can only see relationships involving their enterprises
2014-05-22 11:27:19 +10:00
Rohan Mitchell
d7b4318aff
Find enterprise relationships involving any of a number of enterprises
2014-05-22 11:25:37 +10:00
Rohan Mitchell
06955a024f
Enterprise user can only create relationships with their own enterprises as parent
2014-05-22 11:02:03 +10:00
Rohan Mitchell
fb05ad57e1
Tidy up spec helper, clean database before suite run
2014-05-22 11:00:29 +10:00
Rohan Mitchell
66cd5c937f
Add a helper to make capybara specs fail fast
2014-05-22 10:59:41 +10:00
Rohan Mitchell
f6bc1a82be
Enterprise user can manage enterprise relationships
2014-05-22 10:54:51 +10:00
Will Marshall
12dfcd0de9
Fixing auth workflowsg
2014-05-22 10:43:26 +10:00
Will Marshall
250b76ec79
Merge branch 'master' into new_shop
2014-05-22 10:43:02 +10:00
Will Marshall
f997026796
Reworking the JS specs
2014-05-22 10:42:44 +10:00
Will Marshall
67e72f4504
Setting up after_login redirects
2014-05-22 10:42:44 +10:00
Will Marshall
2d0a42b2c2
Adding working modals
2014-05-22 10:42:44 +10:00
Rohan Mitchell
48a7b9c3f8
Fix specs from 'X permits Y' table format change
2014-05-22 08:50:52 +10:00
Rohan Mitchell
d8fa30ea6f
Add a sequence to option type position, prevents inconsistent ordering in specs
2014-05-21 16:54:26 +10:00
Rohan Mitchell
a049266732
Replace enterprise relationship parent/child concepts with 'X permits Y'
2014-05-21 16:28:27 +10:00
Rohan Mitchell
0c647841a6
Add dynamic filter to enterprise relationships
2014-05-21 16:18:07 +10:00
Rohan Mitchell
76d1754c32
Reorder helper method at bottom
2014-05-21 15:11:14 +10:00
Rohan Mitchell
92292c853d
Extract partials from enterprise relationships admin page
2014-05-21 15:03:29 +10:00
Rob H
3bf21d42dd
WIP: removing all payment methods from enterprise edit page
2014-05-21 15:02:59 +10:00
Rohan Mitchell
6026a74c73
Table matcher have_table_row does not wait for full duration on should_not
2014-05-21 14:59:24 +10:00
Rohan Mitchell
18886c931f
Extract create EnterpriseRelationship to service
2014-05-21 11:29:11 +10:00
Rohan Mitchell
5d0680234d
Admin can delete enterprise relationships
2014-05-21 11:29:11 +10:00
Rohan Mitchell
aa965e3752
Show a CSS3 animation when a row is added
2014-05-21 11:29:11 +10:00
Rohan Mitchell
f1df021091
Show enterprise relationships tab as selected
2014-05-21 11:29:11 +10:00
Rohan Mitchell
b9a9937541
Attempting to create a relationship with invalid data shows an error message
2014-05-21 11:29:11 +10:00
Rohan Mitchell
e40843bccb
Allow error messages without attribute name. Improve enterprise relationship error message.
2014-05-21 11:29:11 +10:00
Rohan Mitchell
9b2a80c6b5
Admin can create enterprise relationships
2014-05-21 11:29:11 +10:00
Rohan Mitchell
3cb55062cc
Split enterprise_relationships rabl into show and index
2014-05-21 11:29:11 +10:00
Rohan Mitchell
ba7e29074f
have_table_row waits
2014-05-21 11:29:11 +10:00
Rohan Mitchell
5f4e4ebeb0
Admin can list enterprise relationships
2014-05-21 11:29:11 +10:00
Rohan Mitchell
61af8204d9
Add spec matcher have_table_row
2014-05-21 11:29:11 +10:00
Rohan Mitchell
6414ae2972
Output enterprise relationships as JSON
2014-05-21 11:29:11 +10:00
Rohan Mitchell
1a854b89ec
Sort enterprise relationships by enterprise name
2014-05-21 11:29:11 +10:00
Rohan Mitchell
f7de504d89
Add stub angular controller for managing enterprise relationships
2014-05-21 11:29:11 +10:00
Rohan Mitchell
aa53d82386
Add stub page for managing enterprise relationships
2014-05-21 11:29:11 +10:00
Rohan Mitchell
4f1b8d06e7
Construct enterprise relationships with a factory
2014-05-21 11:29:11 +10:00
Will Marshall
391b1da04c
adding session token to order test
2014-05-21 10:46:03 +10:00
summerscope
d874855aa1
Update styling on empty cart
2014-05-20 16:40:23 +10:00
Will Marshall
c1a55de40e
Merge branch 'new_shop'
2014-05-20 16:09:31 +10:00
Will Marshall
ef91f8d17f
Redirecting if cart is empty and activating the empty cart link
2014-05-20 16:05:28 +10:00
Will Marshall
36aba8049f
Starting to rework login behaviour when hitting /admin
2014-05-20 16:05:28 +10:00
Will Marshall
da69167b4c
Putting error messages on checkout into error flash for easier debugging
2014-05-20 16:05:28 +10:00
Will Marshall
0b595e21d2
Showing admin for enterprise or admin user
2014-05-20 16:05:28 +10:00
summerscope
601281ced7
Add button style to shop page
2014-05-20 16:04:26 +10:00
summerscope
0957edee5d
Styling for shopping cart page
2014-05-20 15:50:03 +10:00
Will Marshall
03de82eb3c
Merge branch 'new_shop'
...
Conflicts:
app/controllers/checkout_controller.rb
2014-05-20 15:47:32 +10:00
Will Marshall
df82627bd1
Starting to rework login behaviour when hitting /admin
2014-05-20 15:47:00 +10:00
Will Marshall
2fc45d635d
Putting error messages on checkout into error flash for easier debugging
2014-05-20 15:16:52 +10:00
Will Marshall
4e463e7087
Showing admin for enterprise or admin user
2014-05-20 15:16:52 +10:00
summerscope
52345d9bb3
Improvements to shoptfront page styling
2014-05-20 14:11:41 +10:00
Will Marshall
3eb6f98c70
Putting error messages on checkout into error flash for easier debugging
2014-05-20 12:39:22 +10:00
Will Marshall
9557d69f71
Showing admin for enterprise or admin user
2014-05-20 12:33:29 +10:00
Will Marshall
685ba3f63a
Fixing my modal and the tests
2014-05-20 12:18:28 +10:00
Will Marshall
e7f6a9badf
Adding data to groups page
2014-05-20 12:18:28 +10:00
Will Marshall
61cf35a5b9
Adding attr_accessors and paperclip file uploads
2014-05-20 12:18:28 +10:00
Will Marshall
0958602418
Starting on migrations and admin forms
2014-05-20 12:18:27 +10:00
Will Marshall
4e4667c33d
Adding groups
2014-05-20 12:18:27 +10:00
summerscope
1dd9f6326b
Tweaking the markup and styling for shop page.
2014-05-16 15:59:53 +10:00
Rob H
2b414d99e1
Revert content_for changes
2014-05-16 15:12:47 +10:00
Will Marshall
eab9c28d2e
Adding groups to this branch, also tidying up the shop stuff for Laura
2014-05-16 14:00:33 +10:00
Rob H
03139cd2de
Use existing sidebar content_for
2014-05-16 11:42:40 +10:00
Rob H
6979644af7
Fiddle with colors and scrolling in admin enterpise sidebar
2014-05-16 11:28:02 +10:00
Will Marshall
3e22e55b61
Printing taxon icons on home
2014-05-16 10:23:32 +10:00
Will Marshall
7c213a061b
Getting working taxon sorting and icon rendering in
2014-05-16 10:23:32 +10:00
Will Marshall
91fe8e18d3
Taxon sorting
2014-05-16 10:23:32 +10:00
Will Marshall
3ac9c3e00d
Basics of producer modal in place
2014-05-16 10:23:32 +10:00
Will Marshall
adb134743f
Adding producer modals to home
2014-05-16 10:23:32 +10:00
Will Marshall
c9fea79d19
Printing the primary taxon name
2014-05-16 10:23:32 +10:00
Will Marshall
9f169e6ef8
Adding a basic stub of the primary taxon
2014-05-16 10:23:31 +10:00
Will Marshall
8c6e884563
Further improvements, fixing my directive, re-arranging partial
2014-05-16 10:23:31 +10:00
Will Marshall
12ddbb6a32
Reworking the shop page
2014-05-16 10:23:31 +10:00
Will Marshall
3ce196e042
Starting on the new shop
2014-05-16 10:23:31 +10:00
Will Marshall
924128098b
Restricting shipping methods
2014-05-16 10:20:32 +10:00
Rob H
dafa89a2cc
Add placeholder for ACN and ABN
2014-05-16 10:07:30 +10:00
Rob H
19aa79fc27
Add max height to admin sidebar items
2014-05-16 10:06:20 +10:00
Rob H
93dedb690d
Change overview controller to class_eval
2014-05-16 10:03:35 +10:00
Rob H
d17a316387
remove naughty pry
2014-05-15 22:43:08 +10:00
Rob H
fd6f4d04df
Merge branch 'master' into ent-makeover
2014-05-15 17:05:05 +10:00
Rob H
c1c92d62e4
Adjust admin enterprise edit to improve scanning
2014-05-15 17:03:47 +10:00
Will Marshall
da95df5ab3
patching one dud spec
2014-05-15 15:41:01 +10:00
Rob H
7cdfb4bab2
Add methods and fees to sidebar on enterprise edit page
2014-05-15 14:52:19 +10:00
Will Marshall
c0ba560fa6
Moving empties cart to a magic directive
2014-05-15 14:47:16 +10:00
Will Marshall
eae12da24a
Adding distributors display to producers page
2014-05-15 12:20:17 +10:00
Will Marshall
575ce9fe01
Adding producers to home and distributors to producers
2014-05-15 12:02:58 +10:00
Will Marshall
234d4de7ed
Forcing everything to be SSL
2014-05-14 15:55:19 +10:00
summerscope
ffd7f3c134
Refactor Friday! Tidying up css, removing unused lines, adding comments and general good stuff.
2014-05-14 15:55:19 +10:00
summerscope
dd89dad5b6
Add new font into buttons
2014-05-14 15:55:19 +10:00
summerscope
8238cbe0ee
Merge changes
2014-05-14 15:55:18 +10:00
summerscope
d462f34e75
Refactor friday - tidying up and commenting css
2014-05-14 15:55:18 +10:00
summerscope
9886166750
Add in script for google font Open Sans
2014-05-14 15:55:18 +10:00
Rohan Mitchell
a2205d3f93
Make order cycles spec consistent
2014-05-14 15:50:25 +10:00
Rohan Mitchell
6c5172c567
Add EnterpriseRelationship. An Enterprise can find its relatives.
2014-05-14 15:50:25 +10:00
Will Marshall
5f712a8984
Removing code
2014-05-14 15:16:29 +10:00
Will Marshall
151702d685
Catching order cycle expiry and redirecting
2014-05-14 11:51:25 +10:00
Rob H
31334be615
Tidy up of new dashboard, add 'CREATE NEW' button at top right
2014-05-14 11:31:42 +10:00
Will Marshall
1c98f10c20
Adding indexing by user id
2014-05-14 11:08:21 +10:00
Will Marshall
a3b5ba2257
Adding a spec for visiblity filtering
2014-05-13 16:38:52 +10:00
Will Marshall
f574d8a65b
Restricting to visible
2014-05-13 16:34:20 +10:00
Rob H
c98d2e71d8
Add scroll pane to admin dashboard
2014-05-09 17:20:53 +10:00
Will Marshall
afffa6fc39
Merge branch 'master' into checkout
2014-05-09 16:45:58 +10:00
Will Marshall
5b2e9e9c30
Final set of regression issues
2014-05-09 16:43:57 +10:00
Will Marshall
573d479e08
Fixing test regressions
2014-05-09 16:43:57 +10:00
Will Marshall
631bef223c
Refactoring checkout test
2014-05-09 16:42:51 +10:00
Will Marshall
f25617dde7
Tweaks for laura, reworking authentication workflow, tidying up checkout
2014-05-09 16:42:51 +10:00
Rohan Mitchell
5a0cc1b6db
Increase capybara default_wait_time to 30 s, now we know it's not the primary cause of spec slowdown
2014-05-09 16:39:39 +10:00
Rohan Mitchell
d96274ddbe
Turn off enforce_available_locales, working around performance regression https://github.com/svenfuchs/i18n/issues/230
2014-05-09 16:39:39 +10:00
Rohan Mitchell
04379101e1
Change to new production hostname: openfoodnetwork.org.au
2014-05-09 16:39:39 +10:00
summerscope
7bf969ca1b
Removing empty containers and adding classes for padding required
2014-05-09 16:27:28 +10:00
Rob H
05e01d02c4
Merge branch 'master' into ent-makeover
2014-05-09 15:58:17 +10:00
Rob H
5b54f220a0
Fix failing BOM ng-spec
2014-05-09 15:56:29 +10:00
Rob H
a0d54a4318
Fix failing BOM ng-spec
2014-05-09 15:51:22 +10:00
Rob H
01c5822fcc
Add basic dashboard to admin section
2014-05-09 15:48:58 +10:00
summerscope
76d3fa902f
Rejigging footer columns for responsive styling
2014-05-09 15:46:35 +10:00
summerscope
461d30e006
Tweak stylign to show large menu visibility class for large + up
2014-05-09 15:39:09 +10:00
Rohan Mitchell
b801480024
Increase capybara default_wait_time to 30 s, now we know it's not the primary cause of spec slowdown
2014-05-09 15:09:00 +10:00
summerscope
a3e12ae1f3
Tweak label and order of fields
2014-05-09 15:05:51 +10:00
summerscope
7e96181f07
Add style classification to distinguish between pane and full page for #id
2014-05-09 14:54:47 +10:00
Rohan Mitchell
8bf9921eef
Turn off enforce_available_locales, working around performance regression https://github.com/svenfuchs/i18n/issues/230
2014-05-09 14:39:12 +10:00
summerscope
3d2d6fa33c
Styling for checkout page and the hubs heading above shopping section
2014-05-09 14:34:42 +10:00
summerscope
e8a5a4984b
Styling work on the checkout page WIP
2014-05-09 14:34:42 +10:00
summerscope
961a32816c
Remove variables sass - double up of branding
2014-05-09 14:34:42 +10:00
summerscope
eff4c5f309
Make small size generic not specific to footer
2014-05-09 14:34:42 +10:00
summerscope
f89667ffe4
Refactor content in footer, add in link for creative commons, only thing missing is T&Cs!
2014-05-09 14:34:41 +10:00
Will Marshall
9903e42811
Adding reset password stuff
2014-05-09 14:26:07 +10:00
Will Marshall
1297520051
Authentication steps test
2014-05-09 14:13:39 +10:00
Will Marshall
9241178fe2
Making modal medium man
2014-05-09 12:23:34 +10:00
Will Marshall
c52457505e
Fixing issues with offcanvas
2014-05-09 12:18:05 +10:00
Will Marshall
860dcf8e11
Adding dirty class
2014-05-09 11:35:27 +10:00
Rohan Mitchell
87179669a6
Change to new production hostname: openfoodnetwork.org.au
2014-05-09 11:34:52 +10:00
Will Marshall
8595359d4d
Fixing a missing reference to Navigation
2014-05-09 11:03:03 +10:00
Will Marshall
e0e279e849
Merge branch 'master' into checkout
2014-05-09 10:36:41 +10:00
Will Marshall
0df2eabf95
Moving useless assets
2014-05-09 10:32:39 +10:00
Will Marshall
1e6783148d
Merging
2014-05-09 10:16:26 +10:00
Will Marshall
d9f462ba81
Moving useless assets
2014-05-09 10:12:40 +10:00
Will Marshall
05f5e5562f
Adding menu helper, removing admin path
2014-05-09 10:05:09 +10:00
Will Marshall
3b1fcca39b
Splitting out the accordion stuff for checkout
2014-05-09 09:56:54 +10:00
Will Marshall
6696b8e17b
Patching a conflict with Foundation JS
2014-05-09 09:56:54 +10:00
Rohan Mitchell
4ebc22f438
Remove capybara-screenshot, which appears to have been slowing down the build dramatically
2014-05-09 08:56:10 +10:00
Rohan Mitchell
87b605b604
Remove specific default_wait_time setting in BOM - this value is globally increased in spec_helper
2014-05-09 08:55:44 +10:00
Rohan Mitchell
34c18b522c
Fix incorrect admin path
2014-05-09 08:33:26 +10:00
Rohan Mitchell
967d4c81ab
Cache expensive options_text call
2014-05-08 20:55:43 +10:00
summerscope
d227fb24fe
Styling checkout page
2014-05-08 17:36:17 +10:00
Will Marshall
aff33a1f61
Disabling autoscroll
2014-05-08 17:10:29 +10:00
Will Marshall
f5ca01d344
Removing the generic handling on hashes
2014-05-08 17:10:29 +10:00
Will Marshall
ab64de5838
And patching bugs in nav
2014-05-08 17:10:29 +10:00
Will Marshall
d07ecb742b
Fixing bug on producers page
2014-05-08 17:10:29 +10:00
summerscope
3a04ccb52c
Menu styling for mobile menu
2014-05-08 17:10:29 +10:00
summerscope
07e53b8292
Make padding top responsive depending on big or mobile menu top-bar
2014-05-08 17:10:29 +10:00
summerscope
07f1bba822
Restyling active nodes for producer and hub
2014-05-08 17:10:28 +10:00
summerscope
c66aaad62e
Styling for producers page and content in active table
2014-05-08 17:10:28 +10:00
summerscope
64c94793e4
Menu styling for mobile menu
2014-05-08 16:41:18 +10:00
Will Marshall
5fa0d845a4
Reworking the checkout
2014-05-08 16:38:21 +10:00
Will Marshall
998fb07330
Splitting out the accordion stuff for checkout
2014-05-08 16:07:56 +10:00
summerscope
f2be0746bf
Make padding top responsive depending on big or mobile menu top-bar
2014-05-08 16:01:34 +10:00
summerscope
daaa2760a0
Restyling active nodes for producer and hub
2014-05-08 15:55:36 +10:00
summerscope
e7a3b48274
Styling for producers page and content in active table
2014-05-08 15:34:43 +10:00
Will Marshall
457c9be0f3
Patching a conflict with Foundation JS
2014-05-08 15:14:09 +10:00
Will Marshall
4e2326eaa2
Making the offcanvas not position fixed
2014-05-08 13:19:44 +10:00
Will Marshall
50f5a1c46f
Hash toggling
2014-05-08 13:19:44 +10:00
summerscope
967f2827bf
Make label consistent for Log in
2014-05-08 12:57:04 +10:00
summerscope
df87c9d715
Adding in github link to footer
2014-05-08 12:55:02 +10:00
summerscope
e41de9be36
Styling up login modal
2014-05-08 12:51:09 +10:00
Will Marshall
6a2c68701e
Adding small class
2014-05-08 12:50:42 +10:00
Will Marshall
de369d938f
Starting to work on anchor scrolling
2014-05-08 12:34:16 +10:00
Will Marshall
2563576f86
Adding a class to the login modal
2014-05-08 12:26:37 +10:00
Will Marshall
09f239ddfe
Merging
2014-05-08 12:20:26 +10:00
Will Marshall
ff20837f50
Fixing a path issue
2014-05-08 11:50:57 +10:00
Will Marshall
d5648bd993
Removing some garbage, adding admin link
2014-05-08 11:50:57 +10:00
summerscope
a7ef1295e4
Tweak styles to adjust break point for menu
2014-05-08 11:48:12 +10:00
Will Marshall
eb5dbd0654
Fixing a regression
2014-05-08 11:18:53 +10:00
summerscope
c5376f3862
Reset to head
2014-05-08 11:08:47 +10:00
Rob H
169d5669f1
Amend specs
2014-05-07 13:34:47 +10:00
Rob H
dcf048d631
Merge branch 'temp' into ng-cleanup
2014-05-07 13:08:13 +10:00
Rob H
fe5d015778
Merging in master
2014-05-07 13:07:11 +10:00
Rob H
2e7cf612d6
Fix broken BOM spec
2014-05-07 12:30:06 +10:00
Rob H
d7b232aefd
Split dirtyProducts out into its own service
2014-05-07 11:25:09 +10:00
Rohan Mitchell
607045f858
Fix inconsistent spec fail - sorting
2014-05-07 09:27:08 +10:00
Will Marshall
1823dac694
Patching to trigger
2014-05-06 18:35:04 +10:00
Will Marshall
6af314a075
Patching unmerged path
2014-05-06 18:31:20 +10:00
Will Marshall
549b41d6fe
Patching a spec issue with occlusion
2014-05-06 18:28:55 +10:00
Will Marshall
7835343273
Switching out colour schemes
2014-05-06 18:28:55 +10:00
Will Marshall
1756479c85
Patching a regression bug with login on checkout
2014-05-06 18:28:20 +10:00
Will Marshall
3542799349
Removing pointless foundation crud, reworking the login
2014-05-06 18:28:20 +10:00
summerscope
1c926c49bc
Styling for producer node + add link for producers into footer
2014-05-06 18:27:17 +10:00
summerscope
e84ee91184
Styling for producers page and new pretty bg picture
2014-05-06 18:24:30 +10:00
summerscope
1d9a1aa8ce
Add stylesheet for producers
2014-05-06 18:04:17 +10:00
summerscope
779bf6b096
Renaming ID to make it more generic to table search rather than Hub
2014-05-06 17:55:38 +10:00
summerscope
c4cd15423c
Add email link with reverse
2014-05-06 17:40:02 +10:00
summerscope
6cb186ffe3
Styling for footer and further work for top nav
2014-05-06 17:32:22 +10:00
summerscope
93f095d976
Adding a menu style and styling around the new top nav
2014-05-06 16:10:02 +10:00
Will Marshall
1a396429fe
Re-ordering stuff for Laura
2014-05-06 12:27:21 +10:00
Will Marshall
5b962cc3e4
Merge branch 'darkswarm_home'
2014-05-06 11:41:37 +10:00
Will Marshall
25de2f920a
Merge branch 'master' into reworking_menu
...
Conflicts:
app/views/layouts/darkswarm.html.haml
2014-05-06 11:16:20 +10:00
Will Marshall
010025798d
Removing a redundant 'in'
2014-05-05 16:29:33 +10:00
Will Marshall
9db602f031
Patching the visible flag in admin
2014-05-05 16:26:03 +10:00
Will Marshall
dcd2e39f2c
Tweaking for a moved partial
2014-05-05 15:57:16 +10:00
Will Marshall
dd25bfd345
Starting to rework menu
2014-05-05 15:52:48 +10:00
Will Marshall
1774bc1e19
Adding producers filtering and more Angular magic
2014-05-05 15:43:11 +10:00
Will Marshall
27728d6f0e
Adding our first request spec
2014-05-05 12:10:14 +10:00
Rob H
6ba0d6c5f9
WIP: Split out admin angularjs
2014-05-02 21:38:39 +10:00
Will Marshall
1e7e1a3127
Merge branch 'master' of github.com:openfoodfoundation/openfoodnetwork
...
Conflicts:
spec/features/consumer/shopping/checkout_spec.rb
2014-05-02 16:12:41 +10:00
Rob H
5a2a43a060
Create angularjs admin module
2014-05-02 15:56:20 +10:00
Rohan Mitchell
901c9abe38
Increase wait time for failing spec
2014-05-02 15:39:17 +10:00
Will Marshall
bbb70342b3
Merging
2014-05-02 15:35:43 +10:00
Will Marshall
23fa1c7b7b
Patching a couple more issues
2014-05-02 15:17:44 +10:00
Will Marshall
b907616749
Renaming our partials
2014-05-02 14:47:12 +10:00
Rob H
ceada3596b
Merge master into cleanup
2014-05-02 14:43:06 +10:00
Rohan Mitchell
db653682b1
Add capybara-screenshot - automatic screenshots for test fails
2014-05-02 14:25:32 +10:00
Rohan Mitchell
1d5f0042d4
Remove sleeps - these should be covered by increased capybara wait time now
2014-05-02 14:25:32 +10:00
Rohan Mitchell
930bc2b7ce
Set increased Capybara.default_wait_time globally
2014-05-02 14:25:32 +10:00
Rohan Mitchell
4480c75494
Fix "undefined method 'association_class' for nil:NilClass" error when creating Migs payment gateway
2014-05-02 14:25:32 +10:00
Rohan Mitchell
c9aefa507a
Remove chili
2014-05-02 14:25:32 +10:00
Rohan Mitchell
d707624525
Fix warnings - faker clash with ffaker, i18n enforce_available_locales
2014-05-02 14:25:32 +10:00
Will Marshall
9fb4b2f9d8
Ctrl-C now cancels karma
2014-05-02 14:19:52 +10:00
Will Marshall
dfd1dd609d
Re-engaging checkout spec
2014-05-02 14:13:00 +10:00
Will Marshall
d74265e44d
Ctrl-C now cancels karma
2014-05-02 14:04:43 +10:00
Will Marshall
3d06caf1e3
Merging in master
2014-05-02 13:10:31 +10:00
Will Marshall
123bd7963d
Adding tests for hub filter
2014-05-02 13:07:46 +10:00
Will Marshall
19137ce309
Adding state to home page filtering
2014-05-02 12:57:33 +10:00
Will Marshall
9bd76df116
That wasn't actually a bug! Sorry
2014-05-02 12:52:51 +10:00
Will Marshall
794d7b69ae
Restoring our toggle option
2014-05-02 12:50:32 +10:00
Will Marshall
705e247eb8
Tweaking the bulk order management spec again
2014-05-02 12:41:04 +10:00
Will Marshall
8c319334db
Cleaning out the spree auth stuff
2014-05-02 12:34:19 +10:00
Rob H
de369ae32b
WIP: Can manage taxons in BPE
2014-05-02 10:28:33 +10:00
Will Marshall
34f170d4f7
Bugged thing in the shop spec
2014-05-02 10:18:57 +10:00
Will Marshall
b755733812
Removing chili spec
2014-05-01 17:47:16 +10:00
Will Marshall
c5e6b24779
Removing specs that accidentally got in here
2014-05-01 17:46:00 +10:00
Will Marshall
1703f7503b
Removing dead weight
2014-05-01 17:43:02 +10:00
Will Marshall
2d536e01e7
Patching some deadlocks
2014-05-01 17:21:46 +10:00
Will Marshall
59d2bc908e
Adding quick login, more test refactoring
2014-05-01 17:11:56 +10:00
Will Marshall
0956aa2532
Patching a bug in order cycle partial
2014-05-01 17:08:15 +10:00
Will Marshall
6ad30d901d
Tidying down shop/checkout test
2014-05-01 16:22:11 +10:00
Will Marshall
e65924c50f
Removing a dud reference to active'
2014-05-01 15:52:27 +10:00
Will Marshall
2ff2d3dcbd
Starting to work on test format
2014-05-01 15:51:40 +10:00
Rob H
56204d4ea6
Upgrade Admin AngularJS
2014-05-01 13:01:52 +10:00
summerscope
c1ab0c0f0b
Renaming sass files for relevance. Style tweaks for large input to fix firefox bug.
2014-04-30 16:12:39 +10:00
Will Marshall
8a5b93ace9
Adding a couple of basic feature tests for the sake of demonstration
2014-04-30 16:10:02 +10:00
summerscope
4ed81da022
Updates to styling homepage and active table
2014-04-30 15:36:42 +10:00
summerscope
dcacf01c1d
Tweaking copy for food hubs modals.
2014-04-30 15:05:41 +10:00
Will Marshall
e901f3439a
Starting to partialize and test the RABL partials
2014-04-30 13:52:06 +10:00
Will Marshall
0f6bd7049c
Starting to build out producers Angular page
2014-04-30 12:52:47 +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
f68a637609
Renaming Enterprise.active to Enterprise.visible
2014-04-30 12:09:22 +10:00
Will Marshall
4ca148ee93
Starting on the producers controller
2014-04-30 12:05:53 +10:00
Will Marshall
563976c084
Adding an active scope and test to Enterprise
2014-04-30 12:02:11 +10:00
Will Marshall
137c265885
Merge branch 'darkswarm'
2014-04-30 11:44:30 +10:00
Will Marshall
b6ffb863ce
Adding mailto directive
2014-04-30 11:41:53 +10:00
Will Marshall
149d0fc9b5
Merging in master and adding footer email changeS
2014-04-30 11:18:38 +10:00
Will Marshall
1ef317c17b
Adding reversed email address to footer
2014-04-30 11:12:29 +10:00
Will Marshall
22aaa24962
Disabling scroll increment/decrement on Number inputs
2014-04-30 10:57:30 +10:00
Will Marshall
e08f0a5feb
Removing a feature spec BECAUSE we've got the same tests in the controller spec baby
2014-04-30 10:06:46 +10:00
Will Marshall
06c10515dc
Patching a bug
2014-04-29 16:40:23 +10:00
summerscope
df73e8f63c
new SVGs
2014-04-29 16:39:45 +10:00
summerscope
31f7d51c2f
More homepage styling, updated svgs, remove unused images, more styling and markup
2014-04-29 16:38:25 +10:00
Will Marshall
6f0d6cda3d
Adding back Rspec profiling
2014-04-29 16:20:30 +10:00
Will Marshall
3e1dce4d18
Removing an archived spec
2014-04-29 16:19:21 +10:00
summerscope
9d0d7f85f6
Styling footer and beta sections.
2014-04-29 15:51:05 +10:00
Will Marshall
a3252283af
Re-engaging the authentication specs for checkout
2014-04-29 15:29:37 +10:00
Will Marshall
ef6fe2b181
Refactoring all interactions with the home/hub table into UIHelper
2014-04-29 15:22:04 +10:00
Will Marshall
d7f8d2f5c7
Reworking some broken tests
2014-04-29 15:13:59 +10:00
Will Marshall
26adada506
Reworking UI tests
2014-04-29 15:13:59 +10:00
Will Marshall
9415c4e3ab
Patching our integration tests to use the new home page mechanics
2014-04-29 15:13:58 +10:00
summerscope
5e6ac747b3
More styling for active table. tweak naming conventions to make appropriate - more generic for active_table, more specific for home_panes.
2014-04-29 14:24:18 +10:00
summerscope
f13ca0a40d
More homepage styling for panes
2014-04-29 13:35:44 +10:00
summerscope
1de5efb172
Changing color naming convention and updating all stylesheets
2014-04-29 12:37:49 +10:00
summerscope
c615a805f3
More styling for active table so nodes which are inactive have different interactive states
2014-04-29 11:45:08 +10:00
summerscope
fa68f49898
Slicing pictures for web production
2014-04-29 10:38:08 +10:00
Will Marshall
c33fa03736
Merging into master
2014-04-29 10:35:05 +10:00
Will Marshall
c60836af64
Adding modernizr to
2014-04-29 10:08:12 +10:00
Rohan Mitchell
126ddd0a75
Add explicit wait before inconsistently failing lookup
2014-04-25 18:59:33 +10:00
Rohan Mitchell
c8f50216ab
Increase default_wait_time on order_cycles_spec in an attempt to prevent inconsistent failures in CI
2014-04-25 18:06:09 +10:00
summerscope
c9f75f2933
Homepage pretty background image and active table styling
2014-04-25 17:19:48 +10:00
Rohan Mitchell
ad6021a116
Revert "In specs, correctly disable referential integrity for postgres"
...
This reverts commit 1610e1448a .
2014-04-25 17:14:25 +10:00
Will Marshall
9117b1f516
Adding some notes for future refactoring and a couple of pending integration tests for the new home
2014-04-25 17:14:18 +10:00
Will Marshall
28230f0436
Adding a current user service, refactoring various consequences of this change:
2014-04-25 16:59:46 +10:00
Rohan Mitchell
1610e1448a
In specs, correctly disable referential integrity for postgres
2014-04-25 16:58:25 +10:00
Will Marshall
8f539aca1f
Removing some console logs
2014-04-25 16:20:01 +10:00
Rohan Mitchell
c35112a40c
Migration works without countries or states (ie. in CI)
2014-04-25 16:18:30 +10:00
Will Marshall
22b87cc236
Adding active flag to enterprises
2014-04-25 16:17:37 +10:00
Rohan Mitchell
91d9b546d2
Merge branch 'foreign-keys'
2014-04-25 16:06:54 +10:00
summerscope
5505f3aa06
More styling for panels and buttons
2014-04-25 15:56:17 +10:00
Will Marshall
b0ecadcb28
Moving our sidebar to a service for maximum awesomesauce
2014-04-25 13:49:44 +10:00
Will Marshall
57a65f815e
Downcasing it all baby
2014-04-25 13:01:02 +10:00
Will Marshall
b413acfa2e
Printing out the taxons baby
2014-04-25 12:57:08 +10:00
summerscope
776a8db7ae
Adding new panes
2014-04-25 12:48:13 +10:00
summerscope
980efd5793
Adding new panes and making it pretty
2014-04-25 12:48:13 +10:00
Will Marshall
cf67b5fcac
Adding a taxon collection mechanism to Enterprise
2014-04-25 12:45:03 +10:00
Will Marshall
dbf15c03d3
Refactoring how we change window.location
2014-04-25 12:13:50 +10:00
Will Marshall
b7f28c8d82
Popup dialog when changing hub:
2014-04-25 12:11:09 +10:00
Will Marshall
22dc8cbfa0
Unbreaking karma karma lama
2014-04-25 12:04:15 +10:00
summerscope
c91e3aaa79
Removing useless hubs requirement in Hub service
2014-04-25 11:41:41 +10:00
summerscope
386908a947
Adding in copy for modals
2014-04-25 11:32:25 +10:00
Will Marshall
2212156f00
Adding handling of 'current hub'
2014-04-25 11:32:02 +10:00
Will Marshall
f57020d190
Fixing a bug with modals
2014-04-25 11:09:27 +10:00
summerscope
4b87e39fd7
Adding in content for modals
2014-04-24 17:13:53 +10:00
Will Marshall
9ef7023600
Adding template cache injection
2014-04-24 17:05:10 +10:00
Will Marshall
962a9cb5f7
Moving partials from darkswarm to hubs
2014-04-24 16:53:46 +10:00
Will Marshall
f9b7b602da
Moving from darkswarm to home
2014-04-24 16:53:00 +10:00
Will Marshall
f6bfc71c4b
Various small functional tweaks
2014-04-24 16:28:12 +10:00
Rob H
07ace99adc
Add informational warnings to admin enterprises index page
2014-04-24 16:10:40 +10:00
Rob H
566704a968
Alter enterprise index order
2014-04-24 16:09:52 +10:00
Rohan Mitchell
85db8859bb
On admin order cycle edit page, do not show exchanges for enterprises the user doesn't manage
2014-04-24 15:51:39 +10:00
Rob H
29cf40a5bf
Add visual indication that no payment/shipping/fees exist to enterprise index
2014-04-24 15:35:59 +10:00
Rob H
43106d5db8
Add explanation to top of BOM
2014-04-24 15:10:45 +10:00
Rohan Mitchell
2603256a17
Extract admin order cycle index row into partial
2014-04-24 14:53:32 +10:00
Rohan Mitchell
d0585b4d05
Admin order cycle listing does not show order cycles that enterprise users don't have access to
2014-04-24 14:43:33 +10:00
summerscope
4b95b9979e
Homepage styling and pretties
2014-04-24 14:12:27 +10:00
Rob H
c86586fc16
Remove collection date from admin enterprises index
2014-04-24 13:57:56 +10:00
summerscope
47468127c2
New pictures added
2014-04-24 13:56:30 +10:00
summerscope
7b794324d3
Adding pretty pictures
2014-04-24 13:53:08 +10:00
Rob H
b59aa53158
Add edit order button to BOM
2014-04-24 13:49:28 +10:00
Rohan Mitchell
8dd9260163
Do not add dummy distributor to orders without one - they don't need it
2014-04-24 13:20:16 +10:00
Rohan Mitchell
b649d6ef69
Authorise access to OrderCycles API
2014-04-24 13:20:16 +10:00
Rohan Mitchell
3c8757034a
Enterprise user can soft-delete a variant. BUT, only its own variants.
2014-04-24 13:20:16 +10:00
Rohan Mitchell
8715b71151
Do not show rspec profiling by default
2014-04-24 13:20:16 +10:00
Rohan Mitchell
7931a2e8da
Test managed products API access for all user types
2014-04-24 13:20:16 +10:00
Rohan Mitchell
6c86254a90
Extract sign_in_as_user method, test managed orders API access for normal user and enterprise user
2014-04-24 13:20:16 +10:00
Rohan Mitchell
95a6e34523
Spec access denied to regular user when soft-deleting variants
2014-04-24 13:20:16 +10:00
Rohan Mitchell
d16d970952
BPE uses soft-delete
2014-04-24 13:20:16 +10:00
Rohan Mitchell
e6d988ff34
Nest variant soft delete route under product resource
2014-04-24 13:20:16 +10:00
Rohan Mitchell
e28a450875
Add API call to soft-delete a variant
2014-04-24 13:20:16 +10:00
Rohan Mitchell
4cbe434573
Remove trailing relations on destruction for EnterpriseFee and Variant
2014-04-24 13:20:15 +10:00
Rohan Mitchell
f7658ad250
Add foreign keys, sanitising data first
2014-04-24 13:20:15 +10:00
Rob H
2e51518b5b
CMS spec being weird
2014-04-24 11:28:53 +10:00
Will Marshall
5ea97b0919
Merge branch 'darkswarm_home' of github.com:openfoodfoundation/openfoodnetwork into darkswarm_home
2014-04-24 11:06:46 +10:00
Will Marshall
9bb0abbe48
Merge branch 'master' into darkswarm_home
2014-04-24 10:52:33 +10:00
Rob H
76f05d13d7
Slow specs on CI
2014-04-24 10:50:35 +10:00
summerscope
7c11a4082f
Styling tagline
2014-04-24 10:46:55 +10:00
Will Marshall
3ed569b24a
Patching a couple of borked specs
2014-04-24 09:52:29 +10:00
Will Marshall
b4da348e36
Patching a json test
2014-04-23 16:58:38 +10:00
Will Marshall
c060019873
Adding a learn more modal, restructuring partials
2014-04-23 16:48:53 +10:00
Will Marshall
0479a0a55d
Fixing bugs, improving dates
2014-04-23 15:46:14 +10:00
Will Marshall
16251fe5ea
Merging with master
2014-04-23 14:43:39 +10:00
Will Marshall
2981412540
Adding some specs, next order cycle, better CSS
2014-04-23 14:38:41 +10:00
Will Marshall
8027af2bb7
Adding active boolean and sorting
2014-04-23 13:22:30 +10:00
Will Marshall
f5b32ebd3f
Better handling of the home page hubs
2014-04-23 12:58:34 +10:00
Rob H
131b4ac073
Hack fix for our API controllers not being able to access Spree's Rabl Responder
2014-04-23 12:31:30 +10:00
Rob H
b37a701d39
Merge branch 'api_fixes' into bom
2014-04-23 12:03:01 +10:00
Rob H
669ec0eee7
Fix failing API specs
2014-04-23 12:02:27 +10:00
Rob H
353b26c3df
Hack fix for our API controllers not being able to access Spree's Rabl Responder
2014-04-23 12:02:11 +10:00
Will Marshall
c5f8e2e123
Better temp text
2014-04-23 11:49:27 +10:00
Will Marshall
8e67be6e4f
More minor presentation changes
2014-04-22 17:19:13 +10:00
Will Marshall
078a23a152
More prettification
2014-04-22 17:08:40 +10:00
Will Marshall
baa2065238
Tweaking filter to be case insensitive
2014-04-22 16:10:13 +10:00
Will Marshall
8b7d2641f9
Starting to prettify with Laura
2014-04-22 15:46:14 +10:00
Will Marshall
fb072ad1a5
Tweaking debounce, adding it to Shop
2014-04-18 16:56:14 +10:00
Will Marshall
35a792b3ca
Debouncing things
2014-04-18 16:53:43 +10:00
Will Marshall
99d743f7cf
Some very basic specs
2014-04-18 16:35:06 +10:00
Will Marshall
240b600bfa
Adding a No Results case
2014-04-18 16:15:21 +10:00
Will Marshall
f3e30d10ba
Starting some bones for Laura
2014-04-18 16:10:19 +10:00
Will Marshall
66d5f08b99
Adding custom filtering to home page
2014-04-18 15:17:12 +10:00
Will Marshall
5778a51bf6
Switching to placeholders and so on
2014-04-18 13:08:45 +10:00
Will Marshall
6753b96f29
Adding darkswarm variant of home page, getting Angular skeleton into place, taking shit off window
2014-04-18 13:01:36 +10:00
Will Marshall
c0228e0cc3
Patching the admin JS
2014-04-18 11:37:19 +10:00
Will Marshall
a5a3f9fe43
Fixing up some minor spec bugs
2014-04-17 17:22:30 +10:00
Will Marshall
e2d3207a51
Namespacing accordion state by ID
2014-04-17 15:34:57 +10:00
Rob H
2532248e6f
Fix failing javascript tests
2014-04-17 15:27:15 +10:00
Rob H
78fad1cc85
Make more orders load for BOM
2014-04-17 15:19:48 +10:00
Will Marshall
202b45fc5f
Aligning text left in Order Summary
2014-04-17 15:15:14 +10:00
Will Marshall
c6395a686a
Adding flash notifications
2014-04-17 15:08:01 +10:00
Rob H
1b5080ceb4
Remove render
2014-04-17 12:28:28 +10:00
Rob H
5345e8d339
Add accessible_by scope to enterprises model and accessible action to enterprises API
2014-04-17 12:23:09 +10:00
Will Marshall
3b440ed027
Minor JS tweaks
2014-04-17 11:47:59 +10:00
Will Marshall
f2a048bf6e
Adding another autofocus
2014-04-17 10:50:49 +10:00
Rob H
20a5278a75
Merge branch 'master' into bom
2014-04-17 09:23:08 +10:00
Rob H
83e3172901
Add accessible action to order_cycles controller for listing order_cycles by enterprises invloved
2014-04-16 18:27:50 +10:00
Rob H
2eb21a024c
Tiny fixes to API orders controller spec
2014-04-16 18:24:17 +10:00
Will Marshall
a7c2849e6b
Moving icons around, adding a useful comment
2014-04-16 16:24:03 +10:00
Will Marshall
171c8c6ed1
Merging in with master
2014-04-16 16:16:15 +10:00
Will Marshall
20e1392736
Focusing appropriate fields as we move through the form
2014-04-16 16:13:04 +10:00
Will Marshall
d83367486b
Adding icons to checkout, focusing on first input in each panel when selected
2014-04-16 16:07:19 +10:00
Rob H
c68aeb4c36
Only show orders I am distributing in the API
2014-04-16 14:54:50 +10:00
Will Marshall
2b9b51de60
Don't cache things in window
2014-04-16 11:55:16 +10:00
Rob H
2b283405e7
Only admin and users of distributors can access admin orders
2014-04-13 10:09:17 +10:00
Rohan Mitchell
6452ebf67d
Make spec more robust
2014-04-11 19:08:55 +10:00
Rohan Mitchell
aa1c28b163
Move enterprises api controller out of spree namespace
2014-04-11 19:08:55 +10:00
Rohan Mitchell
8ad7cac639
Do not need to protect here, since we're clearing all unit option values earlier in this method
2014-04-11 19:08:55 +10:00
Rohan Mitchell
47ac097eb7
Do not show deleted variants on shopfront
2014-04-11 19:08:55 +10:00
Will Marshall
19b8cee38e
Patching up some more bugs, adding workflow
2014-04-11 17:58:32 +10:00
Will Marshall
2d9be9ea06
Fixing the scope issue
2014-04-11 17:49:51 +10:00
Will Marshall
9cb56c61ae
Patching a bug in which carts get emptied
2014-04-11 17:32:39 +10:00
Will Marshall
2e0485c064
Getting the entire order into localStorage: one bug with radio boxes
2014-04-11 17:24:32 +10:00
Will Marshall
c8012e7045
Improving panel workflow, moving back to simple format for Order service
2014-04-11 16:43:21 +10:00
Will Marshall
5268938d49
Focusing on the first form field
2014-04-11 13:41:43 +10:00
Will Marshall
96913ad922
Changing the order confirmation text with Kirsten
2014-04-11 13:33:13 +10:00
Will Marshall
65c15ca20b
Changing message for order cycle selector popup
2014-04-11 13:12:40 +10:00
Will Marshall
6e35dc7168
Merging with master
2014-04-11 13:09:22 +10:00
Will Marshall
9f3bf0b8f1
Pending the checkout auth tests, since they're testing a monkeypatch
2014-04-11 12:50:06 +10:00
Will Marshall
2e5425d931
Pulling over some test changes
2014-04-11 12:48:28 +10:00
Will Marshall
33cf05ab83
Manually bringing over the login links for checkout
2014-04-11 12:37:32 +10:00
Will Marshall
cf3681b934
Moving over the new checkout authentication
2014-04-11 12:26:36 +10:00
Rob H
c01050361e
Use coffeescript syntactic sugar
2014-04-11 10:33:49 +10:00
Rob H
ff531f0e18
Producers can only list line items which contain products they supply
2014-04-11 09:39:01 +10:00
Will Marshall
da241a4eee
Removing some debugging
2014-04-10 17:26:00 +10:00
Will Marshall
831e53dc6e
Displaying server errors as well
2014-04-10 17:21:34 +10:00
Will Marshall
7fc3d4b7cc
Moving to a switch
2014-04-10 17:02:43 +10:00
Will Marshall
acd8d2d8a2
Adding payment controller for consistency
2014-04-10 16:35:03 +10:00
Will Marshall
5f62cb7ddb
Working with ngForm and subcontrollers. Also fixing bulk order specs
2014-04-10 16:32:08 +10:00
Rob H
e114aecfd0
Merge branch 'master' into bom
2014-04-10 16:30:13 +10:00
Rob H
e64bfe8ba3
Fix failing API Orders spec
2014-04-10 16:26:24 +10:00
Rob H
6228cc0c55
BOM: Add order cycle column
2014-04-10 15:34:23 +10:00
Rob H
5c7d36ba9b
BOM: interface cleanup and adding 'Clear All' button for filters
2014-04-10 15:29:09 +10:00
Will Marshall
00f5d09d65
Moving our inputs to magical helpers
2014-04-10 14:48:22 +10:00
Will Marshall
8b40092310
Starting to reflow the controllers
2014-04-10 14:27:32 +10:00
Will Marshall
621e58f67a
First stab at a DRY implementation
2014-04-10 12:54:18 +10:00
Rob H
645b6d5a8f
BOM: change datetimepickers to datepickers
2014-04-10 10:51:55 +10:00
Rob H
c5d5f5a9e6
BOM: view information about max quantities ordered
2014-04-10 10:33:57 +10:00
Will Marshall
35d590c926
Fixing a bug uploading promo images
2014-04-09 15:53:39 +10:00
Will Marshall
093004a460
Clearing the cart when order cycle is changed
2014-04-09 15:40:41 +10:00
Will Marshall
873de1d118
Able to submit Checkout form via Ajax
2014-04-09 15:31:15 +10:00
Will Marshall
36a4e34dff
Preprocessing order attributes, returning path
2014-04-09 15:04:17 +10:00
Rohan Mitchell
2bfbce65d8
Use domain instead of IP for Jenkins badge in README
2014-04-09 15:02:41 +10:00
Rohan Mitchell
3d0b24cc97
Add missing foreign key indexes
2014-04-09 15:02:41 +10:00
Rohan Mitchell
a91ea933cc
Destroy adjustment metadata when adjustment is destroyed
2014-04-09 15:02:41 +10:00
Rohan Mitchell
e792107d7b
Make order cycle specs more robust
2014-04-09 15:02:40 +10:00
Rohan Mitchell
19ca8e142a
Do not show deleted products on shopfront
2014-04-09 15:02:40 +10:00
Will Marshall
b5550c048a
Starting on JSON checkout, moving Order properties to Order.order
2014-04-09 14:33:45 +10:00
Will Marshall
87a43fc36e
Fixing the build! Some minor bugs due to mailer changes
2014-04-09 12:19:52 +10:00
Rohan Mitchell
511938e41b
Merge pull request #227 from folklabs/tools
...
Add CodeClimate and Jenkins badges to readme
2014-04-09 11:58:52 +10:00
Will Marshall
09d22f74ec
Renaming some methods in our experimental
2014-04-09 11:51:12 +10:00
Will Marshall
b293efd110
Fixing issue at https://github.com/angular/angular.js/wiki/Understanding-Scopes - hiding our attributes inside objects so child scopes can access them safely
2014-04-08 18:39:50 +10:00
Will Marshall
4bb9776233
Adding bindonce and infinite scroll to karma
2014-04-08 18:16:46 +10:00
Will Marshall
101a4a0bed
Fixing a typo
2014-04-08 18:11:07 +10:00
Will Marshall
2de5988acd
Merging
2014-04-08 18:10:16 +10:00
Will Marshall
e641d2a788
Starting to add inline validation and behaviour to checkout
2014-04-08 18:09:03 +10:00
Will Marshall
ffb21cfc49
Fixing a scoping issue
2014-04-08 18:09:03 +10:00
Will Marshall
8495c13063
Patching local storage; authentication actions
2014-04-08 18:09:02 +10:00
Will Marshall
a4cba99de6
Starting to rework checkout Login links
2014-04-08 18:09:02 +10:00
Will Marshall
f2157e0356
Fixing a couple of spec bugs
2014-04-08 18:09:02 +10:00
Will Marshall
8084262efe
Patching a test and removing our duped Angular libs
2014-04-08 18:09:02 +10:00
Will Marshall
5ac5b74f01
Setting up a Rake task for Jasmine/Karma
2014-04-08 18:09:02 +10:00
Will Marshall
195f62dba1
Basics in place, about to rework karma config
2014-04-08 18:09:02 +10:00
Will Marshall
b99fe20b7c
Adding some SUPER clever magic and fixing some regression issues
2014-04-08 18:07:55 +10:00
Will Marshall
0f1f8975e1
Starting on the improved accordion checkout
2014-04-08 18:07:55 +10:00
Will Marshall
8a45b6c012
Removing nothing special text and patching change password form slightly more
2014-04-08 18:07:55 +10:00
Will Marshall
a73b714d9e
Changing the confirm email text a little bit
2014-04-08 18:07:55 +10:00
Will Marshall
a1eae915c8
Adding a helpful comment
2014-04-08 18:07:55 +10:00
Will Marshall
908e799326
Patching one test and simplifying the modifications to order cycle tooltip
2014-04-08 18:07:55 +10:00
Will Marshall
23597997b4
Getting in notification to select order cycle
2014-04-08 18:06:49 +10:00
Will Marshall
b6c746f5b8
Adding a signup confirmation email
2014-04-08 18:06:49 +10:00
Will Marshall
330b2100cc
Text change
2014-04-08 18:06:49 +10:00
Rohan Mitchell
298055bdbb
Order cycle can have the same enterprise participating as supplier, coordinator and distributor
2014-04-08 18:06:49 +10:00
Rohan Mitchell
9687e8867e
Fix order cycle failing to save after a failing submit to server
2014-04-08 18:06:49 +10:00
Rohan Mitchell
645c422d9e
Fix silent fail when order cycle coordinator not filled out
2014-04-08 18:06:48 +10:00
Rohan Mitchell
566b58f3cb
Fix deployment issue: sass-rails needs to be in default group for application.rb config, and in assets group so that it's required.
2014-04-08 18:06:48 +10:00
Will Marshall
fcb04481c4
Fixing a nil chain bug
2014-04-08 17:55:09 +10:00
Will Marshall
d2c5c6dcaf
Starting to add inline validation and behaviour to checkout
2014-04-08 17:52:54 +10:00
Will Marshall
9f60f6dab3
Fixing a scoping issue
2014-04-08 15:10:30 +10:00
Will Marshall
0b28e18225
Patching local storage; authentication actions
2014-04-08 15:05:39 +10:00
Will Marshall
806f3348c0
Starting to rework checkout Login links
2014-04-08 14:34:50 +10:00
Will Marshall
1d544aa003
Fixing a couple of spec bugs
2014-04-08 14:11:28 +10:00
Will Marshall
a2f62c158a
Patching a test and removing our duped Angular libs
2014-04-08 13:40:45 +10:00
Will Marshall
fca9ba284e
Setting up a Rake task for Jasmine/Karma
2014-04-08 13:25:35 +10:00
Will Marshall
f6c173d0de
Basics in place, about to rework karma config
2014-04-08 12:58:37 +10:00
Will Marshall
fbcf06f5f5
Adding some SUPER clever magic and fixing some regression issues
2014-04-07 18:23:37 +10:00
Will Marshall
577c91aca5
Starting on the improved accordion checkout
2014-04-07 16:15:19 +10:00
Will Marshall
4447730505
Removing nothing special text and patching change password form slightly more
2014-04-07 14:52:01 +10:00
Will Marshall
1e04a3b5f7
Changing the confirm email text a little bit
2014-04-07 14:31:02 +10:00
Will Marshall
6ae51eabe3
Adding a helpful comment
2014-04-07 14:29:42 +10:00
Will Marshall
902eefa8bb
Patching one test and simplifying the modifications to order cycle tooltip
2014-04-07 14:15:15 +10:00
Will Marshall
1c22a2c848
Getting in notification to select order cycle
2014-04-07 13:14:32 +10:00
Rob H
aad5ad4bc0
BOM interface cleanup
2014-04-06 19:22:17 +10:00
Rob H
0a6230088d
Make BOM bulk action dropdown pretty
2014-04-06 17:39:53 +10:00
Rob H
5cec4feb7e
Remove search boxes from filter BPE filter boxes
2014-04-05 10:17:21 +11:00
Rob H
366555d9a7
Remove old column toggle from BOM
2014-04-05 10:08:37 +11:00
Rob H
b1c7f06779
Add dropdown.js.coffee to karma config to stop tests failing
2014-04-05 10:06:58 +11:00
Rob H
980797493d
Create dropdown list for toggling columns
2014-04-04 19:36:06 +11:00
Will Marshall
5c999fd9cf
Adding a signup confirmation email
2014-04-04 12:36:33 +13:00
Will Marshall
44049da3cb
Text change
2014-04-04 12:36:12 +13:00
Rob H
8e54bf1e2e
Enterprise users are aurthorised to view BOM
2014-04-04 09:11:56 +11:00
Will Marshall
017ed1b937
Adding an infinite scroll filter to reduce page load times, hopefully
2014-04-03 10:34:04 +13:00
Will Marshall
718e295f3f
Some more minor test fiddling
2014-04-03 10:34:04 +13:00
Will Marshall
3574c91790
Patching a bug with bo-src
2014-04-03 10:34:04 +13:00
Will Marshall
a8a2e36375
Some more minor test fiddling
2014-04-03 10:34:03 +13:00
Will Marshall
79322fbab4
Some more minor refactoring
2014-04-03 10:34:03 +13:00
Will Marshall
b9e8d5ce67
Reworking the tests a little more for FASTER
2014-04-03 10:34:03 +13:00
Will Marshall
74d96a5a07
Undoing previous change: no performance fix
2014-04-03 10:34:03 +13:00
Will Marshall
a73d174009
Fast version of OC selection
2014-04-03 10:34:03 +13:00
Will Marshall
bf6eb4ace1
Refactoring checkout specs some more
2014-04-03 10:34:03 +13:00
Will Marshall
a4fcabe11f
Reworking the checkout spec slightly
2014-04-03 10:34:03 +13:00
Will Marshall
f3f676ce26
gs
2014-04-03 10:34:03 +13:00
Will Marshall
a040c150cf
Tweaking the change hub text
2014-04-03 10:34:02 +13:00
Rohan Mitchell
32ffd05ba0
Order cycle can have the same enterprise participating as supplier, coordinator and distributor
2014-04-02 11:54:28 +11:00
Rohan Mitchell
98d599e5f7
Fix order cycle failing to save after a failing submit to server
2014-04-02 11:38:59 +11:00
Rohan Mitchell
9e74a72985
Fix silent fail when order cycle coordinator not filled out
2014-04-02 10:35:16 +11:00
Rohan Mitchell
e2fb593baf
Fix deployment issue: sass-rails needs to be in default group for application.rb config, and in assets group so that it's required.
2014-04-02 08:55:25 +11:00
Will Marshall
d9e86ae395
Some more minor refactoring
2014-04-01 16:58:50 +11:00
Will Marshall
bd4623bc71
Reworking the tests a little more for FASTER
2014-04-01 14:11:48 +11:00
Will Marshall
749abd82e8
Undoing previous change: no performance fix
2014-04-01 14:02:25 +11:00
Will Marshall
da479b7534
Fast version of OC selection
2014-04-01 14:01:57 +11:00
Will Marshall
5153c44aa0
Refactoring checkout specs some more
2014-04-01 13:53:37 +11:00
Will Marshall
f8f37abe32
Reworking the checkout spec slightly
2014-04-01 13:44:36 +11:00
Will Marshall
02fd21d99e
gs
2014-04-01 13:29:35 +11:00
Will Marshall
a4e19ddc98
Tweaking the change hub text
2014-04-01 13:12:16 +11:00
Will Marshall
42cbfdc04f
Adding bindonce to product page
2014-04-01 13:01:53 +11:00
Will Marshall
403ad797ac
Tidying up the cart
2014-04-01 12:42:42 +11:00
Will Marshall
e51f1b508d
Fixing the empty cart button
2014-04-01 12:39:47 +11:00
Will Marshall
e203d811b9
Adding some links to account sidebar
2014-04-01 12:31:02 +11:00
Will Marshall
1b69087a1c
Loading indicator
2014-04-01 12:01:51 +11:00
Will Marshall
11a6470d6d
Patching modals
2014-04-01 11:39:08 +11:00
Will Marshall
bda1ef5513
Adding a cart icon with count
2014-03-28 17:09:16 +11:00
Rob H
00df441bc2
Re-add changes to variant bulk show to fix 'I'm a teapot' fails
2014-03-28 16:47:52 +11:00
Will Marshall
5d36dc5b4f
Moving User Account to darkswarm
2014-03-28 16:02:32 +11:00
Will Marshall
784df982d6
Disabling the link when the previous distributor is the old distributor
2014-03-28 16:02:32 +11:00
Will Marshall
6f50c45bba
Adding the last checkout distributor to the account link
2014-03-28 16:02:32 +11:00
Will Marshall
197f1cfa72
Further improving the navigation
2014-03-28 16:02:32 +11:00
Will Marshall
e1465352d0
Improving the navigation by moving it all to a service, adding a generic icon
2014-03-28 16:02:31 +11:00
Will Marshall
12b1a1b0e9
Switching our recover password form to Darkswarm
2014-03-28 16:02:31 +11:00
Rohan Mitchell
a97f0439e1
Fix 'undefined method sass' - we need sass-rails in production env
2014-03-28 15:57:29 +11:00
Rohan Mitchell
da6ba04780
Update variant weight from unit value when unit is weight
2014-03-28 15:34:26 +11:00
Rohan Mitchell
466b10e797
Select all distributed products on order cycle admin page
2014-03-28 15:34:26 +11:00
Rohan Mitchell
fddfdf8050
Select all supplied products on order cycle admin page
2014-03-28 15:34:26 +11:00
Rohan Mitchell
b8147474e8
Add label tags around order cycle admin checkboxes and labels
2014-03-28 15:34:26 +11:00
Rob H
b74a845875
Merge branch 'master' into bom
2014-03-28 14:42:15 +11:00
Rob H
ee147c232e
WIP: Remove changes to variant bulk show casuing issues
2014-03-28 14:41:03 +11:00
Rob H
771ccc6e76
Merge branch 'capybara-fails' into bom
2014-03-28 13:52:17 +11:00
Rob H
73271fa45a
Fix BOM regression bugs caused by capybara upgrade
2014-03-28 13:50:10 +11:00
Rob H
4d65427d18
Fix BPE regression bugs caused by capybara upgrade
2014-03-28 12:11:36 +11:00
Paul Mackay
da2b424c45
#227 : Replace Travis with Jenkins badge.
2014-03-27 09:17:13 +00:00
Will Marshall
89fcf50762
Tidying up tabs
2014-03-27 16:36:12 +11:00
Will Marshall
08c25b1604
Getting a success message in place
2014-03-27 16:26:22 +11:00
Will Marshall
54491e0de2
Syncing up the email addresses between the SpreeUser tabs
2014-03-27 16:17:51 +11:00
Will Marshall
d8160bc6d5
Partially fixing the visible issue
2014-03-27 16:12:18 +11:00
Rob H
ab14bf70ab
Merge branch 'bpe_issues' into bom
2014-03-27 15:39:37 +11:00
Rob H
dae2d9db9e
BPE: Set defaults for price and on_hand to prevent 'I'm a teapot' error (418) on update
2014-03-27 15:38:44 +11:00
Rob H
2b035459fd
BPE: Adding blank filters alerts the user
2014-03-27 15:13:00 +11:00
Will Marshall
e48a25983a
Starting a working forgot password system
2014-03-27 15:11:11 +11:00
Will Marshall
adcd5e1c8d
Fixing a regression issue
2014-03-27 14:30:52 +11:00
Rob H
9c65dd2ace
BOM: add warning message about missing unit values to group buy calc box
2014-03-27 14:18:00 +11:00
Rob H
0c2e215fef
BOM: Add a method to check that all selected variants have a unit_value
2014-03-27 14:11:19 +11:00
Will Marshall
2be9ad7dd0
Starting with our own passwords controller
2014-03-27 13:52:02 +11:00
Will Marshall
2158937f82
Adding a sidebar tab
2014-03-27 13:34:38 +11:00
Rob H
a260a3fa56
BOM: Fixed bug causing Order Cycles filter to break in some cases
2014-03-27 13:32:26 +11:00
Will Marshall
b5f1464ce9
Patching more regression issues
2014-03-27 13:01:06 +11:00
Will Marshall
3976694dad
Patching up some regressions
2014-03-27 13:01:05 +11:00
Will Marshall
e444ff8d2c
Patching order cycle selector
2014-03-27 13:01:05 +11:00
Will Marshall
17bb1f9d25
Getting the tests working once more
2014-03-27 13:01:05 +11:00
Will Marshall
67762317cb
Removing close link
2014-03-27 13:01:05 +11:00
Will Marshall
a89de9a80f
Patching our patch
2014-03-27 13:01:04 +11:00
Will Marshall
007428b6dc
Splitting between path and hashfragment for offcanvas and tabs respectively
2014-03-27 13:01:04 +11:00
Will Marshall
c118a86119
Latest snapshot of the patched mm-foundation, and a quick tab implementation sidebar
2014-03-27 13:01:04 +11:00
Will Marshall
cdfaf4fc92
Temporary working version with hacked Foundation/Angular/Tabs
2014-03-27 13:01:04 +11:00
Will Marshall
f5a0341851
Notes for the tabs controller
2014-03-27 13:01:03 +11:00
Will Marshall
166c8c3df4
Adding the basic Angular tabs and changed markup to keep it pretty
2014-03-27 13:01:03 +11:00
Will Marshall
80fe3f7adf
Starting dedicated tabs stylesheet
2014-03-27 13:01:03 +11:00
Will Marshall
61e6050e3a
Fixing up some more minor regression bugs
2014-03-27 13:01:03 +11:00
Will Marshall
d4f26c9ef1
Moving foundation out of assets group
2014-03-27 13:01:02 +11:00
Will Marshall
d637deeb19
Patching a Foundation bug w/ tests
2014-03-27 13:01:02 +11:00
Will Marshall
e4bb2f1cdf
Keeping Foundation 4 and 5 parallel
2014-03-27 13:01:02 +11:00
Will Marshall
8f56b829cb
Adding foundation 4 in namespace
2014-03-27 13:01:01 +11:00
Will Marshall
bf7d12b40e
Upgrading Foundation, starting to work through regression issues
2014-03-27 13:01:01 +11:00
Will Marshall
0690fcda48
Reworking the way the Sidebar works
2014-03-27 11:54:25 +11:00
Rohan Mitchell
93db813b3a
Make current_producers helper more resilient
2014-03-27 10:25:05 +11:00
Rohan Mitchell
ce2882de35
OrderCycleFormApplicator uses exchanges.incoming instead of role
2014-03-27 09:49:08 +11:00
Rohan Mitchell
3104d285ca
Order cycle admin JS uses exchanges.incoming instead of role
2014-03-27 09:30:53 +11:00
Paul Mackay
cc8e3537d1
Add Travis badge.
2014-03-26 19:42:03 +00:00
Paul Mackay
48a76fe790
Add Code Climate badge.
2014-03-26 19:37:55 +00:00
Rob H
cd1086ce05
WIP: Bulk calculation box work with shared resources
2014-03-26 16:44:26 +11:00
Rohan Mitchell
71273dfc7f
Refactor Product to use exchanges.incoming instead of sender/receiver roles
2014-03-26 16:36:09 +11:00
Rohan Mitchell
20745825bf
Fix finding producers for shopfront, moving to SQL-land in the process. Woo.
2014-03-26 12:56:58 +11:00
Rohan Mitchell
ec0191806a
Update specs to explicitly specify exchange direction
2014-03-26 12:17:49 +11:00
Rohan Mitchell
abf83b0e58
Find only outgoing exchanges for Enterprise scopes using with_order_cycles_outer
2014-03-26 12:07:06 +11:00
Rohan Mitchell
ac8990f7e7
Rename enterprises_spec to singular for consistency
2014-03-26 11:46:51 +11:00
Rohan Mitchell
f184f0c246
Fix inappropriate intimacy: Extract exchange-specific queries from OrderCycle back into exchange
2014-03-26 11:43:32 +11:00
Rohan Mitchell
ac92d0919a
Add incoming boolean field to Exchange, determine exchange direction from this field rather than sender/receiver roles
2014-03-26 11:19:35 +11:00
Will Marshall
57ca48dc4a
Fixing one failing spec
2014-03-21 15:18:28 +11:00
Will Marshall
b623a64fb4
Working signup :)
2014-03-21 15:18:27 +11:00
Will Marshall
40d1563cd9
Adding our own user registrations controller, reworking sidebar a touch
2014-03-21 15:18:27 +11:00
Will Marshall
74fb266748
Adding some requirement filters to the Orders controller
2014-03-21 15:18:27 +11:00
Rob H
cbd3722380
Merge branch 'master' into bom
2014-03-21 13:47:50 +11:00
Rob H
f2729f9e80
Add more columns to BOM
2014-03-21 13:46:48 +11:00
Rob H
7302d0552e
Fixing js specs
2014-03-21 13:11:04 +11:00
Rob H
b329aed0f2
BOM: Can toggle columns, and interface rearrange
2014-03-21 13:00:12 +11:00
Will Marshall
250e1d236b
Working login form
2014-03-20 16:58:58 +11:00
Will Marshall
dbc8e1bcf1
Reworking the tests for the new app
2014-03-20 16:58:57 +11:00
Will Marshall
7f88b8eb39
Switching to separate controllers for ze sidebar
2014-03-20 16:58:57 +11:00
Will Marshall
d8a7860d51
Getting some switching into place
2014-03-20 16:58:57 +11:00
Will Marshall
0cabc2eb4d
Working sliding panel in basic form
2014-03-20 16:58:57 +11:00
Will Marshall
d954a8f4e4
Starting on the sidebar
2014-03-20 16:58:57 +11:00
Will Marshall
6e5c93526c
Moving everything to a single Angular application
2014-03-20 16:58:57 +11:00
Rob H
048b8b43cc
Bulk Actions only apply to visible line items
2014-03-20 16:54:24 +11:00
Rob H
43863069e9
Minor fix to BOM group buy calc box
2014-03-20 16:07:14 +11:00
Rob H
8c998e6fa8
BOM: columns are sortable
2014-03-20 15:39:13 +11:00
Rohan Mitchell
c563057809
Merge branch 'new-enterprises-form'
2014-03-20 15:34:09 +11:00
Rohan Mitchell
51fdf86329
Polish the new enterprise form
2014-03-20 15:18:21 +11:00
Rob H
ed0b7da20f
BOM page has a fancy calculation box for managing group buys
2014-03-20 14:40:24 +11:00
Rohan Mitchell
4aace221ea
Enterprise user can reorder product properties and update product images
2014-03-20 11:41:08 +11:00
Rohan Mitchell
af88d0f91b
Fix regression: Invisible checkbox causing ambiguity for capybara
2014-03-20 11:07:13 +11:00
Rohan Mitchell
638e922ae2
Do not allow customer to purchase the obsolete master of a product
2014-03-20 10:56:46 +11:00
Rohan Mitchell
811b0cb36a
Admin can remove a master variant from an order cycle when further variants have been added
2014-03-20 10:27:55 +11:00
Rohan Mitchell
fd81b143b5
Sort suppliers and distributors by name on order cycle edit page
2014-03-20 10:27:55 +11:00
Maikel Linke
fcd9389fe3
spec for pickup details in enterprise form removed
2014-03-19 20:42:21 +11:00
Maikel Linke
f3789469b2
Feedback from Kerstin. Resolved issue comments removed. Pickup details removed.
2014-03-19 20:42:21 +11:00
Maikel Linke
7d30d8e28f
old deface files deleted. spec for enterprise form updated
2014-03-19 20:42:21 +11:00
Maikel Linke
9181f0243a
added old input fields, enterprises test passing
2014-03-19 20:42:21 +11:00
Maikel Linke
cc2ae2f464
moved fullwidth form css
2014-03-19 20:42:21 +11:00
Maikel Linke
aa7211dc7f
more tooltips
2014-03-19 20:42:21 +11:00
Maikel Linke
6689b0d93f
more tooltips
2014-03-19 20:42:21 +11:00
Maikel Linke
052782678e
working design. TODOs are optional now
2014-03-19 20:42:21 +11:00
Maikel Linke
e9506d1571
complete form with columns. two things to ask Kerstin.
2014-03-19 20:42:21 +11:00
Maikel Linke
4c0885277d
started to redesign form with css
2014-03-19 20:42:21 +11:00
Maikel Linke
6f1d41e020
new selection of input fields for enterprises form, not all datafields working yet
2014-03-19 20:42:21 +11:00
Maikel Linke
510333288c
first steps of new design
2014-03-19 20:42:21 +11:00
Will Marshall
c6f1d43dbd
Reworking the shipping confirmation
2014-03-19 16:09:45 +11:00
Will Marshall
8e363e5fbb
Caching values for variants
2014-03-19 15:40:57 +11:00
Will Marshall
ba770d8eac
Removing the add to cart spec
2014-03-19 15:28:48 +11:00
Will Marshall
49dc371219
Adding the missing bulk buy spec
2014-03-19 15:25:36 +11:00
Will Marshall
946913fc53
Better documentation
2014-03-19 15:19:58 +11:00
Will Marshall
a1c8a35e79
Disabling CMS specs
2014-03-19 15:19:15 +11:00
Will Marshall
09e6caf039
Archiving and disabling old checkout spec
2014-03-19 14:34:51 +11:00
Will Marshall
dc8418cb4c
Removing the taxonomy spec, with a comment about some possibly redundant spree overrides
2014-03-19 14:29:46 +11:00
Will Marshall
9f36bc1383
Removing dud specs from suppliers spec
2014-03-19 14:25:13 +11:00
Will Marshall
fae167884d
Removing the product spec
2014-03-19 14:23:18 +11:00
Will Marshall
acc9ebf836
Removing order cycle spec
2014-03-19 14:22:37 +11:00
Will Marshall
922724135b
Removing distributors spec
2014-03-19 14:15:54 +11:00
Will Marshall
b88571a6f0
Removing redundant spec
2014-03-19 14:14:51 +11:00
Will Marshall
abf1b17fe9
Taking payment methods with no distributor out of circulation
2014-03-19 12:03:39 +11:00
Will Marshall
3df3afe068
Quantities for bulk not getting lost now
2014-03-19 11:09:45 +11:00
Will Marshall
df6cbc049f
Making sure quantities don't get lost
2014-03-19 11:09:02 +11:00
Will Marshall
82c29683d6
Disabling enter on the search
2014-03-19 11:06:18 +11:00
Will Marshall
01503632f2
Changing cart titles
2014-03-19 10:52:26 +11:00
Will Marshall
8435dfabb1
Changing the cart summary text
2014-03-19 10:49:57 +11:00
Will Marshall
9c26d23cb5
Greying the buttons like a boss
2014-03-19 10:48:49 +11:00
Will Marshall
a8547a9e64
Adjustments toggling
2014-03-19 10:45:40 +11:00
Will Marshall
d5b1cc3303
Swapping buttons
2014-03-19 10:40:30 +11:00
Will Marshall
90159325bf
Patching a test
2014-03-18 17:38:33 +11:00
Will Marshall
51b6ac3e68
Fixing one regression bug
2014-03-18 17:03:09 +11:00
Will Marshall
49789c865e
No longer copying old ship address from pickup, adding phone to custom shipping address
2014-03-18 16:47:28 +11:00
Will Marshall
96ce982ea3
Reworking the checkout into Darkswarm, patching up tests
2014-03-18 15:58:22 +11:00
Will Marshall
3b27690c7c
Fixing two dud specs
2014-03-14 19:25:34 +11:00
Will Marshall
0cc108206b
Reworking the top details so it works in all pages
2014-03-14 17:06:03 +11:00
Will Marshall
ac78ab91fe
Fixing up some regression issues
2014-03-14 16:54:43 +11:00
Will Marshall
19cf6a5d2c
Default payment method when none in params
2014-03-14 16:40:26 +11:00
Will Marshall
758b705b64
Removing non-existent images
2014-03-14 16:30:34 +11:00
Will Marshall
66bc84920a
Putting the Foundation modals in position: fixed
2014-03-14 16:26:00 +11:00
Will Marshall
01e8060ff0
Putting blank footer back
2014-03-14 16:22:45 +11:00
Will Marshall
a954f2c21a
Basic Darkswarm version of the Order Confirmation page
2014-03-14 16:11:40 +11:00
Will Marshall
c01b198f95
Minor tweaks
2014-03-14 15:34:18 +11:00
Will Marshall
7dd2366c22
Tweaking a label
2014-03-14 13:17:42 +11:00
Will Marshall
f1f501c7ee
Getting the total price into Javascript as well
2014-03-14 13:15:42 +11:00
Will Marshall
fc4f108724
Adding tests and views to handle changing shipping prices
2014-03-14 12:59:37 +11:00
Will Marshall
dc95d764fe
Fixing some edge cases in the addresses
2014-03-14 11:56:25 +11:00
Will Marshall
10fe24db32
Patching up the presentation of the modals
2014-03-14 11:56:24 +11:00
Will Marshall
8bac32ebdf
Adding distribution info to the About panel
2014-03-14 11:56:24 +11:00
Will Marshall
2ac7fe3652
Tweaking checkout links
2014-03-14 11:56:24 +11:00
Rohan Mitchell
8f0625daf8
Move product-related spec out of variants and into its proper home
2014-03-14 11:18:59 +11:00
Rohan Mitchell
98776caa51
Rename Exchange.any_variant to with_any_variant for clarity
2014-03-14 11:18:59 +11:00
Rohan Mitchell
affb2a5743
Fix bug: Whole order fees being charged once per variant. Exchange.any_variant was returning duplicate rows.
2014-03-14 11:18:59 +11:00
Rob H
c86cfe092f
BOM: Add bulk delete action
2014-03-14 09:37:28 +11:00
Will Marshall
07fec3c892
Caching payment method selection
2014-03-13 15:40:44 +11:00
Will Marshall
4e03f97f1f
Improving links
2014-03-13 14:52:51 +11:00
Will Marshall
3370865a01
Adding group siblings to the shop page
2014-03-13 14:50:06 +11:00
Will Marshall
179844b5cf
Fixing another spec
2014-03-13 14:32:14 +11:00
Will Marshall
f6321afbb5
Fixing up a bunch of specs to accommodate the new routing
2014-03-13 13:51:32 +11:00
Will Marshall
0c18a9c790
Changing links on cart
2014-03-13 11:56:55 +11:00
Will Marshall
9c655a855e
Redirecting to the shop page when a distributor is selected
2014-03-13 11:47:55 +11:00
Will Marshall
1ba720481f
Finally fixing the same as billing address checkbox?
2014-03-13 11:41:46 +11:00
Will Marshall
e7bed58616
Removing text as per #327
2014-03-13 11:25:06 +11:00
Will Marshall
8a7dad020b
Modifying the back to cart button
2014-03-13 11:24:33 +11:00
Rob H
9a291e28ec
Add bulk action checkboxes to BOM
2014-03-12 18:25:51 +11:00
Will Marshall
7c50e1a41d
Fixing up the specs
2014-03-12 17:17:07 +11:00
Rob H
9230bce6bb
An acceptable quantity of products is added to cart
2014-03-12 17:12:49 +11:00
Will Marshall
35bd1257d9
Opening variants by default
2014-03-12 15:23:35 +11:00
Will Marshall
c08f739d4a
Minor HTML changes
2014-03-12 15:13:25 +11:00
Will Marshall
9848a724b7
Adding Back to Cart link
2014-03-12 15:09:00 +11:00
Will Marshall
f96e420f01
Re-arranging our radio boxes
2014-03-12 15:09:00 +11:00
Will Marshall
2f7688f864
Switching some form order
2014-03-12 15:08:59 +11:00
Will Marshall
a1ed951931
Default shipping address same as billing address, rendering data panel for pickup info
2014-03-12 15:08:59 +11:00
Will Marshall
3ec80aaaa3
Styling improvements to the popups for producers
2014-03-12 15:08:59 +11:00
Will Marshall
f73cd3db7d
Adding producer details popups
2014-03-12 15:08:59 +11:00
Rohan Mitchell
0d97397084
Fix fragile specs (ordering)
2014-03-12 15:00:20 +11:00
Rohan Mitchell
f7d8d866eb
Show two linebreaks for end of block level tags, strip whitespace from end of string
2014-03-12 13:52:13 +11:00
Rohan Mitchell
011668c0b6
Display line breaks in order confirmation email distributor info
2014-03-12 13:34:34 +11:00
Rohan Mitchell
a8373b7bef
Fix specs: stale data
2014-03-12 13:34:05 +11:00
Rohan Mitchell
4d8a23346c
Fix bug: Unselecting product variant unit in BPE doesn't save
2014-03-12 12:35:52 +11:00
Rohan Mitchell
356099a49a
When product unit changed, remove option types from master as well as other variants
2014-03-12 12:35:52 +11:00
Rohan Mitchell
93a661ac08
Do not show product unit fields when creating a new product - make this interface less confusing
2014-03-12 12:35:52 +11:00
Rohan Mitchell
0b39db0165
Display Rails env on landing page in dev and staging
2014-03-12 12:35:52 +11:00
Rohan Mitchell
af31d0cb8f
Reformat
2014-03-12 12:35:52 +11:00
Rohan Mitchell
98e9f7d7e1
Add custom noimage image for spree
2014-03-12 12:35:51 +11:00
Rohan Mitchell
68eaa61732
Enterprise user can delete product images
2014-03-12 12:35:51 +11:00
Will Marshall
57eb65f721
Adding an accessor for requires shipping address
2014-03-12 12:07:41 +11:00
Will Marshall
451e76b33f
Tweaking our paypal express plumbing further
2014-03-07 15:27:52 +11:00
Will Marshall
40c986892e
Patching the paypal test
2014-03-07 15:18:26 +11:00
Will Marshall
df435c0a38
Adding Paypal plumbing
2014-03-07 15:10:20 +11:00
Rob H
bed1c171b6
BOM: display product name and unit
2014-03-07 14:46:40 +11:00
Will Marshall
5790392430
Bypassing the stage check on the Paypal callbacks
2014-03-07 14:10:49 +11:00
Will Marshall
e5cea07d9e
Splitting out shopping spec, starting on Paypal plumbing
2014-03-07 13:18:53 +11:00
Will Marshall
d00ade8137
Splitting out shopping spec, starting on Paypal plumbing
2014-03-07 13:18:30 +11:00
Rob H
b6bd07abd3
BOM: show name from billing address
2014-03-07 12:56:39 +11:00
Rob H
ea3bd86318
Make enterprise factory get it own address
2014-03-07 12:14:09 +11:00
Will Marshall
dfcaab36fa
Patching a minor regression bug
2014-03-07 09:56:17 +11:00
Will Marshall
84955d3647
Merging master
2014-03-06 16:53:03 +11:00
Will Marshall
904a25fd18
Improving the test suite, refactoring the form and Checkout controller to use data injection instead of haxxx
2014-03-06 16:48:30 +11:00
Will Marshall
12f39ce511
Patching up some more address bugs
2014-03-06 16:46:56 +11:00
Rob H
641796ed64
BOM: and quick search
2014-03-06 16:32:23 +11:00
Will Marshall
d677116ea3
Overring before_address to conform to our new checkout as necessary
2014-03-06 16:24:08 +11:00
Will Marshall
cc3fb27490
Restoring the old checkout, but NOW our new checkout is broken
2014-03-06 16:16:00 +11:00
Rob H
483e9d80bc
BOM: filters work in combination
2014-03-06 13:21:31 +11:00
Rob H
43a4a3dd5a
Alter on_hand counts for products to fix broken specs
2014-03-06 13:14:06 +11:00
Rob H
200e3fef77
Merge branch 'master' into bom
2014-03-06 12:52:36 +11:00
Rob H
068a6ebd95
Fix checkout specs
2014-03-06 12:49:29 +11:00
Will Marshall
a40a0499e4
Reducing the number of country and state options
2014-03-06 11:33:38 +11:00
Will Marshall
2301f2372f
Defaulting the quantity fields to nil
2014-03-06 11:04:11 +11:00
Will Marshall
e146bb0dd0
Adding Quick Checkout link
2014-03-06 11:01:25 +11:00
Rob H
0726d591ac
BOM: can filter by order cycle
2014-03-06 10:50:27 +11:00
Rohan Mitchell
24d97bd754
Fix spec race condition
2014-03-06 10:36:49 +11:00
Will Marshall
56646ca5e3
Getting some form state into the Order
2014-03-06 10:26:51 +11:00
Rohan Mitchell
07caf99488
Enterprise user can delete product properties
2014-03-05 16:52:06 +11:00
Rohan Mitchell
922d817748
Product list view: For product with variants, show product price as min(variant prices)
2014-03-05 16:16:42 +11:00
Will Marshall
7d0fdead7a
Refactoring the way we default shipping_method_id
2014-03-05 15:49:47 +11:00
Will Marshall
3c108d3366
Improving the test suite, refactoring the form and Checkout controller to use data injection instead of haxxx
2014-03-05 15:31:41 +11:00
Rohan Mitchell
b89c84e8bd
BPE: Do not show product price when product has variants
2014-03-05 15:08:54 +11:00
Rohan Mitchell
07d979b38f
Collapse specs into one, halves spec runtime
2014-03-05 14:07:07 +11:00
Rohan Mitchell
637ccc113b
Do not show products that have no stock available to the current distribution
2014-03-05 13:54:02 +11:00
Rohan Mitchell
17debd9fad
On product list view, do not show variants that are out of stock
2014-03-05 13:54:02 +11:00
Rohan Mitchell
8234812157
Do not include master when outputting variants for oc/d
2014-03-05 13:54:02 +11:00
Rohan Mitchell
ec6f70c145
On product list view, only show variants that are a member of the current order cycle
2014-03-05 13:54:02 +11:00
Will Marshall
19350eeade
Adding the 'same as billing address' JS
2014-03-05 12:29:49 +11:00
Rob H
1635e7338e
Add ditributors and suppliers to OC show API
2014-03-05 12:17:08 +11:00
Rob H
fc65eefcfd
Add basic order cycle API
2014-03-05 12:00:26 +11:00
Will Marshall
66866f09b5
Adding the require ship address flag to admin UI:
2014-03-05 11:12:23 +11:00
Rob H
9f19e91e90
Merge branch 'master' into bom
2014-03-05 10:15:39 +11:00
Rob H
2a713245a8
BOM: date filter refactor and works with pending changes
2014-03-05 10:14:35 +11:00
Will Marshall
8b840388c8
Merge branch 'master' into checkout
2014-03-04 15:25:42 +11:00
Will Marshall
b5019f12b4
Fixing up a couple of bugs introduced to the old step workflow
2014-03-04 15:07:00 +11:00
Will Marshall
74238b111e
Fixing the order spec
2014-02-28 15:19:57 +11:00
Rohan Mitchell
6934cf236f
Update Rails
2014-02-28 14:34:14 +11:00
Will Marshall
4087d08e8e
Removing a save and open page call
2014-02-28 13:53:58 +11:00
Will Marshall
1d5addb06e
Patching up our checkout flow so we don't try to create shipments before we have valid shipping addresses
2014-02-28 13:41:02 +11:00
Will Marshall
86a8b926f3
Adding conditions to the autopopulator for shipping address
2014-02-28 11:53:45 +11:00
Will Marshall
3db601f362
Merge branch 'master' into checkout
2014-02-27 16:29:21 +11:00
Will Marshall
6e05bd63c6
Pending a test that currently breaks
2014-02-27 16:29:03 +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
4a6c00e592
Removing bangs from stub since it's totes deprecated
2014-02-27 16:15:42 +11:00
Will Marshall
d7921462eb
Removing save and open page call
2014-02-27 16:15:13 +11:00
Will Marshall
4daeac0b14
Removing JMigrate warnings
2014-02-27 16:15:06 +11:00
Will Marshall
c1cdf3e331
Removing some dud debugging stuff, fiddling with the checkout spec
2014-02-27 16:11:17 +11:00
Will Marshall
19fa7200f3
Fixing the login redirection issue
2014-02-27 14:47:56 +11:00
Will Marshall
91a8e1c071
Fixing a Javascript bug
2014-02-27 14:47:33 +11:00
Will Marshall
18f92fbff5
Fixing a nil.id bug
2014-02-27 14:04:04 +11:00
Will Marshall
e92d21ec4e
Patching a scoping bug that broke ALL the tests
2014-02-27 11:44:36 +11:00
Rohan Mitchell
8bb742b3f2
Alphabetise suppliers when adding new product
2014-02-27 11:33:02 +11:00
Rohan Mitchell
3196e28d88
Admin can assign units to a product
2014-02-27 11:29:39 +11:00
Rohan Mitchell
353d2a4d9c
Do not error when creating variant for product without non-unit option type
2014-02-27 11:28:07 +11:00
Will Marshall
85606b2a0d
Merge branch 'master' into checkout
2014-02-27 10:41:39 +11:00
Will Marshall
0bfa36056e
removing some dud Angular crud
2014-02-26 16:15:53 +11:00
Will Marshall
a0abd9c95a
Merge branch 'master' into checkout
2014-02-26 15:52:37 +11:00
Will Marshall
7708bc9f99
Patching up our shipping selection so there's always a default
2014-02-26 15:48:23 +11:00
Rohan Mitchell
adf4c0e387
Sort enterprises by name on enterprise fees admin page
2014-02-26 15:38:41 +11:00
Rohan Mitchell
f7e1befc75
Spec fees_for only sums per-item fees
2014-02-26 15:16:30 +11:00
Will Marshall
f5a3167fac
Patching up the form and update to get form submission working
2014-02-26 15:12:35 +11:00
Rohan Mitchell
11fb6c96a1
Charge per-order fees on orders exactly once
2014-02-26 14:34:30 +11:00
Rohan Mitchell
b720a1d8f2
EnterpriseFee.clear_all_adjustments_on_order clears adjustments from per-order fees
2014-02-26 14:33:28 +11:00
Rohan Mitchell
9dec40703a
Find exchanges with any of a number of variants
2014-02-26 13:49:10 +11:00
Rohan Mitchell
5057e236a9
Find enterprise fees with per-order calculators
2014-02-26 13:48:51 +11:00
Rohan Mitchell
890af85d30
Create per-order adjustments with EnterpriseFeeApplicator
2014-02-26 13:28:05 +11:00
Rohan Mitchell
75c8da1774
Rename create_adjustments_for to create_line_item_adjustments_for, only show per-item fees
2014-02-26 12:07:38 +11:00
Rohan Mitchell
febbe087e9
Find EnterpriseFees with per-item calculators
2014-02-26 10:39:39 +11:00
Rob H
41c61b3b12
BOM date filters work
2014-02-22 15:51:14 +11:00
Rob H
1f569e4be1
Add loading splash to BOM
2014-02-22 14:49:19 +11:00
Rob H
83e228dc63
Display message when no matching orders found for BOM
2014-02-22 11:48:24 +11:00
Rob H
1b10bf53c0
WIP: BOM loads with orders filtered by default date restrictions
2014-02-22 11:33:36 +11:00
Rohan Mitchell
da8a8e8a1a
Rename method
2014-02-21 15:49:10 +11:00
Rohan Mitchell
08009d4020
Extract application of enterprise fees as adjustments into its own class
2014-02-21 15:48:58 +11:00
Will Marshall
6b75e8c9ef
Switching to f_form_for and :bill_address
2014-02-21 15:19:12 +11:00
Will Marshall
a162f4a108
Adding some spec tweaks
2014-02-21 15:17:18 +11:00
Will Marshall
04ac6f466c
Forcing the class of Country
2014-02-21 15:15:06 +11:00
Will Marshall
b6b5c2889e
Reworking checkout to use f_form_for, show validation, better controller layout
2014-02-21 14:31:03 +11:00
Rob H
5ec7a10e16
Add date filter fields to BOM
2014-02-21 14:01:33 +11:00
Rohan Mitchell
97a6a812b8
Fix product listing appearing on RHS of page on Firefox
2014-02-19 13:44:31 +11:00
Rohan Mitchell
6d1a202800
Fix grammar
2014-02-19 13:32:57 +11:00
Rohan Mitchell
f88b930137
Extract unit_value_with_description into unit_description only when a string starting with a number is provided
2014-02-19 13:32:17 +11:00
Rohan Mitchell
acbf1ed680
Refactor fragile spec to use has_field? and has_select? in an attempt to make it more reliable in CI
2014-02-19 13:12:52 +11:00
Rohan Mitchell
3f9f24157c
Do not show unit value or description when product does not have a unit-related option type
2014-02-19 12:07:53 +11:00
Rohan Mitchell
3024bbbeb5
Edit unit value and description of variant
2014-02-19 11:56:37 +11:00
Rohan Mitchell
fb42724430
Remove entire field div instead of just the text field
2014-02-19 11:56:10 +11:00
Rohan Mitchell
7b80518621
On admin variant edit page, do not show option values for unit-related option types
2014-02-19 11:29:26 +11:00
Rohan Mitchell
b0cb19e370
Do not show master options text (eg. '1kg') when product has variants
2014-02-18 16:45:57 +11:00
Will Marshall
adb58bc059
Moving from @order to current_order to keep DRY
2014-02-18 15:07:00 +11:00
Will Marshall
6a861de1e1
Reworking the checkout form some more
2014-02-18 14:50:50 +11:00
Rohan Mitchell
4ee4ea7c60
Fix mismatch between client and server variants (ordering issue)
2014-02-18 14:02:17 +11:00
Will Marshall
ece7caa14a
Moving Darkswarm to new Angular version
2014-02-18 14:00:23 +11:00
Will Marshall
3024007bd3
Reworking our page structure to work better with Angular controllers
2014-02-18 13:51:39 +11:00
Rohan Mitchell
547f46fbc9
Deal with unit_value of zero correctly - do not treat as nil
2014-02-18 10:32:36 +11:00
Will Marshall
19e31a264d
Tidying footer contact details
2014-02-14 15:49:16 +11:00
Will Marshall
502dba1b3f
Fixing bug #281
2014-02-14 15:35:40 +11:00
Will Marshall
134d9831fe
Fixing bug #271
2014-02-14 15:34:55 +11:00
Will Marshall
e9178570e9
Committing order summary. NO TESTS YET
2014-02-14 15:18:03 +11:00
Will Marshall
09d8e19c35
DRYING UP MY VIEWS
2014-02-14 14:43:50 +11:00
Will Marshall
a6d58aa498
Partializing and adding yield blocks
2014-02-14 14:40:58 +11:00
Will Marshall
5c498735b0
Moving from new to edit
2014-02-14 14:26:31 +11:00
Will Marshall
a722320ece
Patching up the tests for new content
2014-02-14 13:43:23 +11:00
Will Marshall
3c696b6762
Adding payment method switching
2014-02-14 13:30:28 +11:00
Will Marshall
4704e927e3
Form toggling! Fuck yeah
2014-02-14 11:31:27 +11:00
Will Marshall
25916caeb4
Starting on Angular models for Checkout, pretties
2014-02-13 16:14:11 +11:00
Will Marshall
7f58007c45
Adding some fields to Shipping Methods
2014-02-13 16:12:42 +11:00
Rohan Mitchell
701896be95
BPE: Add variant and save it to server. Edit the saved variant.
2014-02-13 11:52:44 +11:00
Will Marshall
2425de8c98
Basic form implementation
2014-02-13 11:40:52 +11:00
Rohan Mitchell
4d24fec6fb
BPE: Add a variant. Do not show edit on unsaved variants. Delete unsaved variants.
2014-02-13 09:26:07 +11:00
Rohan Mitchell
4aa43cfbe0
Set the master unit value for a product without variants
2014-02-12 13:57:49 +11:00
Will Marshall
871637c4af
NO CAN HAZ EMPTY CART PAGE
2014-02-12 12:31:37 +11:00
Rohan Mitchell
b2ad6c7d57
Filter products for submit includes master variant
2014-02-11 19:23:27 +11:00
Rohan Mitchell
e845c0dc06
Remove derived attributes from master variant
2014-02-11 19:20:46 +11:00
Rohan Mitchell
0b255ed1e9
Pack the master variant before sending to the server
2014-02-11 19:19:12 +11:00
Rohan Mitchell
c7c70252d0
ofnTrackProduct and ofnTrackVariant accept nested properties as arguments
2014-02-11 19:13:11 +11:00
Will Marshall
b11533a629
Renaming ShopController to Shop::ShopController
2014-02-07 16:52:18 +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
Rob H
17456ebf2e
BOM: only fetch completed orders
2014-02-07 15:29:31 +11:00
Will Marshall
63f85fef0e
Starting to get in the login stuff
2014-02-07 14:34:49 +11:00
Will Marshall
cec0ad8a83
Adding ze boilerplate
2014-02-07 13:55:25 +11:00
Will Marshall
26e4adf7a6
Adding the routes, controller, new action and some tests
2014-02-07 13:53:36 +11:00
Will Marshall
1ca9a86042
Getting in a spec asserting that percentage-based fees are applied
2014-02-07 11:09:47 +11:00
Will Marshall
202f95a8fc
Fix for broken percentage Enterprise Fees in place, no test yet
2014-02-07 11:09:47 +11:00
Will Marshall
b1118735ec
One CSS change, adding a test for le price adjustments
2014-02-07 11:09:47 +11:00
Rohan Mitchell
aa9b5c84d9
Fix expected variant option type name/presentation
2014-02-06 16:14:29 +11:00
Rohan Mitchell
f187041606
Do not display a space separating units and scaled values. eg. 1kg, 4 boxes
2014-02-06 14:05:26 +11:00
Rohan Mitchell
33691085bd
Only perform scaling when a scale is present. Fixes items values not saving then loading as infinity.
2014-02-06 13:51:08 +11:00
Will Marshall
a1f75aa55e
Fixing up the top menu a bit
2014-02-06 13:49:27 +11:00
Will Marshall
ed8727708d
Improving responsiveness, hopefully
2014-02-06 13:03:40 +11:00
Rohan Mitchell
eccea9d9ff
When removing a product's option type, remove its variants' associated option values
2014-02-06 10:47:13 +11:00
Rob H
6243642cc9
Require timeago in karma config so that js tests run
2014-02-05 23:44:41 +11:00
Will Marshall
910d8e033e
Increasing space on right of product images
2014-02-05 15:10:45 +11:00
Will Marshall
f3edd15fa7
Switching to using new prices on shop page
2014-02-05 14:57:24 +11:00
Will Marshall
a3e6a6253c
Reworking table cell widths
2014-02-05 14:31:06 +11:00
Will Marshall
35c74e2bf0
Reworking shop to be more responsive
2014-02-05 14:26:41 +11:00
Rohan Mitchell
d0fd48456e
Variant calculates fees and its price inclusive of fees
2014-02-05 14:01:10 +11:00
Rohan Mitchell
04487da22a
Decouple OrderCycle#fees_for from LineItem
2014-02-05 13:27:17 +11:00
Will Marshall
7bdcb894cb
Adding properties to product data
2014-02-04 15:22:06 +11:00
Will Marshall
5345e7330a
Changing groups to Coming Soon
2014-02-04 15:19:36 +11:00
Will Marshall
ee8d7b1adc
Adding taxons to the product data, so we search on it
2014-02-04 15:16:16 +11:00
Will Marshall
5eff05d466
Removing the footer cruft
2014-02-04 14:50:18 +11:00
Will Marshall
e5c90e80f5
Adding sorting
2014-02-04 14:44:32 +11:00
Will Marshall
74f8fe46c6
Switching description to notes on shopping page
2014-02-04 14:14:02 +11:00
Will Marshall
2bb004ebaa
Adding notes field to products
2014-02-04 14:11:32 +11:00
Will Marshall
a2e396694b
Changing variant to unit
2014-02-04 12:02:38 +11:00
Will Marshall
a3b5a85a31
Adding list view links
2014-02-04 12:01:10 +11:00
Will Marshall
934f1eb196
Re-arranging product page into partials, redoing price display
2014-02-04 11:24:27 +11:00
Rob H
9373dcea3d
Merge branch 'master' into bom
2014-01-31 12:32:23 +08:00
Rob H
58d1bf0092
BOM: can update quantities of line_items
2014-01-31 11:57:57 +08:00
Rob H
0ac1816eb8
BOM: Add css to to allow visualisation of update status
2014-01-31 11:40:28 +08:00
Rob H
d679c7ac30
BOM dataSubmitter service changes class of relevant element based on response
2014-01-31 11:38:38 +08:00
Rob H
3beb633ed9
BOM: 'update-pending' class removed when value is init value
2014-01-31 11:24:14 +08:00
Rob H
7dbb7a5c2c
BOM: applying ofnLineItemUpdAttr directive to quantity field, tracks changes with update-pending class
2014-01-31 11:17:27 +08:00
Rob H
a5ffdbb1ba
Display quantity in field for BOM
2014-01-31 10:48:28 +08:00
Rob H
67db698a50
BOM: Add ofnLineItemUpdAttr directive to watch for changes in line_item attributes
2014-01-30 18:40:23 +08:00
Rob H
4fb06b76c7
BOM: Add switchClass service to help visualise update status
2014-01-30 18:34:48 +08:00
Rob H
b8448853ac
BOM: Add dataSubmitter service to handle updates
2014-01-30 17:09:55 +08:00
Rob H
224d91083d
BOM: Add factory to monitor changes made to line_items
2014-01-30 14:12:28 +08:00
Rob H
3bf36f0e55
Fix orders specs which fail because of new admin orders submenu
2014-01-30 14:06:32 +08:00
Rob H
1723ff22eb
Ignore confirm boxes when deleting line items in js tests
2014-01-22 18:41:03 +08:00
Will Marshall
c270473c93
Patching up the shopping spec
2014-01-22 14:36:31 +11:00
Will Marshall
803f653d39
Cleaning up handling of the page when no order cycle is selected
2014-01-22 14:25:41 +11:00
Will Marshall
7737a5da1d
Patching some regressed tests, getting in some responsive layout
2014-01-22 13:38:07 +11:00
Will Marshall
309f7d868d
Tweaking ze CSS for pretty
2014-01-22 11:58:37 +11:00
Will Marshall
60bf431008
Stripping HTML from description, since we seem to occasionally get some
2014-01-22 11:55:57 +11:00
Will Marshall
17c6321c8b
Adding some basic collapse/expand for variants in Shop
2014-01-22 11:55:57 +11:00
Rohan Mitchell
6d2f77b308
Fix report spec
2014-01-22 10:16:45 +11:00
Rohan Mitchell
5adc4f27f4
Do not display option type when showing variant options_text. This makes variant names cleaner.
2014-01-22 09:24:09 +11:00
Will Marshall
8879181a27
Adding promo image to about panel
2014-01-21 16:56:00 +11:00
Will Marshall
aec5894c70
Adding a promo image to enterprises
2014-01-21 16:32:55 +11:00
Will Marshall
8cc18e8db4
Fixing the shopping spec to conform to the new format of dates
2014-01-21 15:42:11 +11:00
Rob H
90f88d260b
Confirm deletion of line items on BOM
2014-01-19 21:59:07 +08:00
Rob H
b9a3031663
Line item delete button works
2014-01-19 21:46:11 +08:00
Rob H
1744cc9548
Orders API retrieves order number
2014-01-19 18:41:16 +08:00
Rob H
02f8917722
Add delete button to BOM page
2014-01-18 21:00:54 +08:00
Rob H
701b5aceb4
Add 'All' option to supplier and distributor filters
2014-01-18 14:26:07 +08:00
Rob H
79631ebb8e
Add distributor filter to BOM
2014-01-18 12:48:52 +08:00
Rob H
e2d9e9c4eb
BOM API collects distributor for orders
2014-01-18 11:50:36 +08:00
Rob H
3f5930032b
Add more detailed tests for output of orders API
2014-01-18 11:35:47 +08:00
Rob H
680b5c8a42
Add supplier filter to BOM
2014-01-18 11:13:32 +08:00
Rob H
6c1d149397
Add columns for quantity and max to BOM
2014-01-17 18:26:30 +08:00
Rob H
0e861d98af
Add column for variant description to BOM
2014-01-17 17:32:29 +08:00
Rob H
d6b4f8129c
Match supplier of each line item with the list fetched from server
2014-01-17 17:14:05 +08:00
Rob H
94c375ad31
WIP: changing BOM listing from orders to line items
2014-01-17 16:57:08 +08:00
Rob H
e0d03fa305
Listing more attributes of orders on BOM page
2014-01-17 15:29:08 +08:00
Rob H
00dfa62f43
Basic listing of orders on BOM page
2014-01-17 14:56:26 +08:00
Will Marshall
48854fdcf5
Adding date parsing to Angular
2014-01-17 17:13:15 +11:00
Rob H
5aa032b54c
BOM: fetchOrders sends request to API and resetOrders stores returned data
2014-01-17 14:00:02 +08:00
Rob H
c6d9bfafbc
Create shared services module for backend angularjs, rename modules
2014-01-17 13:48:28 +08:00
Will Marshall
053f2446bf
Adding a temporary note to the product page
2014-01-17 16:37:24 +11:00
Will Marshall
6e622ffb37
Changing the logo to go back to the home page
2014-01-17 16:36:28 +11:00
Will Marshall
1e88c0a6f1
Adding max quantity for group buy to ze form
2014-01-17 16:32:32 +11:00
Will Marshall
f7f4fbf503
Displaying prices better
2014-01-17 16:32:32 +11:00
Rob H
970942ff42
Add JS spec and basic initialisation code for BOM
2014-01-17 13:16:35 +08:00
Rohan Mitchell
87cf596a30
For a product with one or more on_demand variants, don't show 'On demand' at the product level
2014-01-17 16:12:07 +11:00
Rohan Mitchell
ed78cc053b
Do not update product on_hand when product has on_demand variants
2014-01-17 16:12:07 +11:00
Rohan Mitchell
4518e30849
Display infinite on_hand as read-only
2014-01-17 16:12:07 +11:00
Rohan Mitchell
ea028ddd01
Fix invalid JSON for on_demand products/variants with infinite on_hand
2014-01-17 16:12:07 +11:00
Rohan Mitchell
5e0515e6c5
Variant value expression returns a value of 1 when unit value equals the scale
2014-01-17 16:12:07 +11:00
Will Marshall
9624a3919a
Patching a bug in shop controller
2014-01-17 15:13:48 +11:00
Rob H
15c0350c29
Add product name as proxy for variant_unit_text to Order Managment API
2014-01-17 12:09:31 +08:00
Will Marshall
f5777bc7a1
Making our form on_demand and count_on_hand aware
2014-01-17 15:07:43 +11:00
Will Marshall
ef00927885
Adding a nice little JSON/controller test
2014-01-17 14:48:38 +11:00
Will Marshall
b6590000a4
Improving Product's has_stock, filtering Shop#products to in_stock products
2014-01-17 14:41:15 +11:00
Rob H
cfbf4d5bc4
Adding attributes to Order Managment API
2014-01-17 10:35:40 +08:00
Will Marshall
6f5ff0ab2c
Making a light grey option
2014-01-16 16:49:50 +11:00
Will Marshall
939b216c12
Changing text to N/A
2014-01-16 16:31:46 +11:00
Will Marshall
dac287f67a
Removing distributors and farmers, curse them
2014-01-16 16:28:10 +11:00
Will Marshall
b6d796e3bc
Getting in ze test for previous commit
2014-01-16 16:25:41 +11:00
Rob H
4e9ae7549e
Add sub menu to Orders menu item in admin view, add 'Bulk Order Management' page
2014-01-16 13:20:07 +08:00
Rob H
031414a41f
Make BPE menu tab selected
2014-01-16 13:18:28 +08:00
Will Marshall
d68551c6eb
Patching an issue with quantity fields showing for products with variants
2014-01-16 16:09:03 +11:00
Will Marshall
cbce5958e0
Removing an attr_accessible which breaks EVERYTHING
2014-01-16 15:47:38 +11:00
Will Marshall
0ddef9626e
First working image upload for enterprise logos
2014-01-16 15:47:38 +11:00
Rob H
11499178cb
Set up API for Bulk Order Management (BOM)
2014-01-16 11:56:11 +08:00
Rohan Mitchell
d861495d7d
Fix incomplete save when first setting variant_unit
2014-01-16 14:20:26 +11:00
Rohan Mitchell
1ebfea9c76
Require uglifier, should fix asset precompilation
2014-01-16 14:16:45 +11:00
Will Marshall
cdd64d438a
Adding another trivial sort to a test
2014-01-16 13:23:57 +11:00
Will Marshall
1a1057b824
Removing unhelpful gem
2014-01-16 13:04:44 +11:00
Will Marshall
35cc113aca
Fixing the checkout spec to conform to reply_to instead of from on mailer
2014-01-16 13:04:26 +11:00
Rohan Mitchell
7d224fb5ac
Update js compressor for staging as well as production
2014-01-16 12:06:00 +11:00
Rohan Mitchell
38a20e4a8c
Turn off name mangling to make DI more natural in angular - https://shellycloud.com/blog/2013/10/how-to-integrate-angularjs-with-rails-4
2014-01-16 12:05:43 +11:00
Will Marshall
26a8daed0e
Patching up the order mailer to set reply_to
2014-01-16 11:39:10 +11:00
Will Marshall
d4d2482927
Adding ng-min
2014-01-16 11:24:53 +11:00
Rob H
ce5b24a777
Prevent duplicate filters being added
2014-01-15 15:50:41 +08:00
Rob H
8146301b2f
Add validation to BPE advanced filter box
2014-01-15 14:35:46 +08:00
Rohan Mitchell
29235cd2cb
Merge branch 'master' into product-amount-units
...
Conflicts:
app/assets/javascripts/admin/bulk_product_update.js.coffee
spec/spec_helper.rb
2014-01-14 15:34:05 +11:00
Rohan Mitchell
7bbf2037e8
Add commented out option for remote debugging via poltergeist
2014-01-14 15:15:09 +11:00
Rohan Mitchell
68e5de0290
Update acceptance specs to expect unit values to be stored in base units
2014-01-14 15:14:54 +11:00
Rohan Mitchell
d0d0fc1a06
Fix intermittently failing spec - comparison of slightly differing dates
2014-01-14 11:47:56 +11:00
Rohan Mitchell
a30e46d747
Do not delete variant options_text when saving/refreshing products
2014-01-14 11:40:58 +11:00
Rohan Mitchell
9442b7b5dc
On save, scale from chosen unit to base unit (eg. mL to L)
2014-01-14 11:13:19 +11:00
Rohan Mitchell
c43b56f3f8
On load, scale from base unit to chosen unit (eg. g to kg)
2014-01-14 10:16:21 +11:00
Rohan Mitchell
22ec6aa852
Add comment
2014-01-10 15:59:38 +11:00
Rohan Mitchell
28c641a932
Remove redundant test stubs
2014-01-10 15:44:16 +11:00
Rohan Mitchell
9c28b5baae
Fix product lists not matching when saving changes to product unit+values fields
2014-01-10 15:43:45 +11:00
Rob H
aff35e5749
Remove unused toggle-column-list directive
2014-01-10 01:08:03 +08:00
Rob H
29ba0ccc97
Initialise BPE page with 'Available On' column hidden
2014-01-10 00:46:42 +08:00
Rob H
ee2da3e008
Toggle new view controls on BPE
2014-01-10 00:26:54 +08:00
Rohan Mitchell
a60c9a9cea
When variant already has a value set, remove old option value and assign a new one
2014-01-09 14:11:54 +11:00
Rohan Mitchell
c396c2a21f
Improve speed of BPE specs
2014-01-09 12:37:43 +11:00
Rohan Mitchell
420ff37562
Provide explicit ordering for intermittently failing spec
2014-01-09 12:09:50 +11:00
Rohan Mitchell
cbe46bffed
Merge branch 'bpe_paginate'
...
Conflicts:
config/ng-test.conf.js
2014-01-09 12:07:42 +11:00
Rohan Mitchell
8f479868b4
Fix js test errors - foundation not found, but not reqd for testing angular
2014-01-09 11:44:03 +11:00
Rohan Mitchell
e35eccca93
Revert 3b3815a 6c5539a 39c2803 - remove non-mangling js compression which breaks build
2014-01-09 11:18:54 +11:00
Rohan Mitchell
3b3815a09d
Require uglifier, should fix asset precompilation
2014-01-09 09:35:29 +11:00
Rohan Mitchell
6c5539a1da
Update js compressor for staging as well as production
2014-01-08 17:25:32 +11:00
Rohan Mitchell
39c2803493
Turn off name mangling to make DI more natural in angular - https://shellycloud.com/blog/2013/10/how-to-integrate-angularjs-with-rails-4
2014-01-08 16:45:21 +11:00
Rohan Mitchell
a67cea3fcd
Precompile darkswarm css and js
2014-01-08 15:59:09 +11:00
Rohan Mitchell
f317f3aa7f
Precompile darkswarm css and js
2014-01-08 15:58:47 +11:00
Rob H
ac17502046
Fix test
2014-01-08 12:30:32 +08:00
Will Marshall
533a987684
Uncommenting imgs for Angular, disabling image loading in Poltergeist/Phantom
2014-01-08 15:20:33 +11:00
Rohan Mitchell
c08c42b087
Fix inconsistent test fails - insignificant ordering
2014-01-08 15:11:46 +11:00
Will Marshall
e5514920c8
Fixing up the error messages in our specs
2014-01-08 15:11:23 +11:00
Will Marshall
e0c352d135
Merge branch 'master' into darkswarm
...
Conflicts:
spec/features/admin/products_spec.rb
2014-01-08 14:49:47 +11:00
Will Marshall
7838d759ee
Removing redundant functionality from the Order Populator
2014-01-08 14:45:40 +11:00
Rohan Mitchell
5f4d787d26
Fix sorting error in spec
2014-01-08 14:43:46 +11:00
Rohan Mitchell
c42d741d3d
Remove browse product specs for removed feature
2014-01-08 14:41:06 +11:00
Rohan Mitchell
4a74c2624c
Remove specs for removed features
2014-01-08 14:15:06 +11:00
Rohan Mitchell
ea3e697b73
Rename method for clarity, remove outdated specs for OrderPopulator
2014-01-08 14:14:45 +11:00
Rohan Mitchell
20ad906f7a
Fix multicart use of OrderPopulator
2014-01-08 14:13:19 +11:00
Rohan Mitchell
dd16934496
Remove redundant serializer spec, reinstate creation of order distribution charges
2014-01-08 13:22:34 +11:00
Rohan Mitchell
4f7fdd430f
Update failing controller spec - order needs distributor set
2014-01-08 11:58:53 +11:00
Rohan Mitchell
df53a14d4b
Remove specs that are no longer relevant - distribution selection on product page no longer present
2014-01-08 11:51:26 +11:00
Rohan Mitchell
eda4f241e2
Remove add to cart distribution selection, remove distribution change functionality from OrderPopulator, remove now-redundant tests
2014-01-08 11:39:05 +11:00
Rohan Mitchell
30eb11ad84
Allow select_distribution to take no order_cycle
2014-01-08 11:38:21 +11:00
Rohan Mitchell
ef56574d82
Pass quantity to OrderPopulator
2014-01-08 11:37:38 +11:00
Rohan Mitchell
458f91ef91
Add feature spec helper to select distributor and order cycle
2014-01-08 11:31:44 +11:00
Rohan Mitchell
2f98888acd
Remove active model serializers gem
2014-01-08 11:31:05 +11:00
Will Marshall
5e041a6f4f
Uncommenting the old OP code
2014-01-08 10:35:27 +11:00
Rohan Mitchell
70e16433d3
Spec for reusing existing option values
2014-01-08 10:16:38 +11:00
Rohan Mitchell
2fec16af5d
Merge branch 'master' into product-amount-units
2014-01-07 16:00:06 +11:00
Will Marshall
06ab4d5384
Patching some further regression bugs
2014-01-07 15:28:11 +11:00
Rohan Mitchell
894f86350e
Fix megalitre unit specification
2014-01-07 15:17:32 +11:00
Will Marshall
936d80b2c5
Removing a redundant test: no longer show current distributor and order cycle
2014-01-07 15:16:36 +11:00
Rohan Mitchell
042e8386ab
Refactor: Extract methods to simplify
2014-01-07 15:16:36 +11:00
Will Marshall
4d03f65766
Reworking everything to use RABL
2014-01-07 15:06:47 +11:00
Rohan Mitchell
9e6fa4d22d
Add spec for small values
2014-01-07 15:02:55 +11:00
Rohan Mitchell
ebae76375f
Fix specs to work with unit_value stored in base units, scale units correctly for output
2014-01-07 14:57:30 +11:00
Rohan Mitchell
5a1249e249
When value is blank, display description only
2014-01-07 12:19:48 +11:00
Rohan Mitchell
35d0bf6219
Generate option value values and units for weight, volume and items
2014-01-07 12:07:54 +11:00
Will Marshall
32c7682da2
Removing the serializers to fix regression issues
2014-01-07 11:12:44 +11:00
Will Marshall
641b7dcdf4
Removing the image serializer, causing regression bugs
2014-01-07 11:05:10 +11:00
Will Marshall
8e0a7d9072
Pretties, fixing the email validation issue with admin authentication steps
2014-01-07 11:04:40 +11:00
Rohan Mitchell
ef6c08408b
Generate option value name - value and description
2014-01-07 10:57:58 +11:00
Rohan Mitchell
9e956ebec6
Add specs for option value creation, create option values for simple case. Delete option value associations, not objects.
2014-01-07 10:36:19 +11:00
Rohan Mitchell
6a4c112cf2
Rename option_type_for_variant_unit to variant_unit_option_type
2014-01-07 10:31:53 +11:00
Rob H
177782fac5
Status message works when updating products with filters applied
2014-01-06 18:20:00 +08:00
Will Marshall
9677ec7159
Starting to build mixins
2014-01-06 16:27:41 +11:00
Will Marshall
1264af584c
Removing a pointless test
2014-01-06 15:56:28 +11:00
Will Marshall
dd1b3311d7
Removing all the old order populator stuff
2014-01-06 15:23:21 +11:00
Rob H
49b9b8f635
Add messages to BPE interface for cases when 0 or > 500 products are found
2014-01-05 19:17:50 +08:00
Rob H
2e56d7a551
Can remove filters from BPE
2014-01-05 17:53:32 +08:00
Rob H
fb9fd5089a
WIP: Adding a hard filter to BPE works
2014-01-05 17:04:27 +08:00
Rob H
6445275530
Basic layout changes for BPE page
2014-01-05 00:37:36 +08:00
Rob H
a6d7044dfd
WIP: Adding basic UI for applying hard filtering to BPE
2014-01-04 19:21:10 +08:00
Rob H
7ef358a476
Add basic hard filter adding js infrastructure for BPE
2014-01-04 16:44:00 +08:00
Rob H
687332d2b0
Add loading splash to BPE
2014-01-04 15:50:26 +08:00
Rob H
c6222f2180
BPE pagination works with filtering
2014-01-02 15:22:10 +08:00
Rob H
6b865aa38c
Display BPE update message correctly
2014-01-02 13:10:06 +08:00
Rob H
ef78609049
Prevent page being orphaned when changing page size in BPE
2013-12-26 19:37:21 +08:00
Rob H
2df0545819
Fix some outstanding updating issues in BPE
2013-12-23 23:09:19 +08:00
Rob H
3372f1d605
BPE page nav using page numbers
2013-12-23 17:19:38 +08:00
Rob H
ffbfbffb28
WIP: Add basic page nav controls to BPE
2013-12-23 09:22:31 +08:00
Rob H
06995bd3c6
Add controls to alter the number of products displayed for BPE
2013-12-22 17:31:27 +08:00
Rob H
530d38c7d0
Add basic pagination informaion to BPE
2013-12-22 16:58:48 +08:00
Will Marshall
49c2cc3696
Getting in the tab navigation
2013-12-20 14:23:14 +11:00
Will Marshall
0db7eae7f8
Getting images working
2013-12-20 11:49:08 +11:00
Will Marshall
751e98443f
Removing LOADS of code
2013-12-19 16:47:27 +11:00
Will Marshall
e20120b9ca
Fixing a syntax error
2013-12-19 16:05:35 +11:00
Will Marshall
985cebb44a
Massaging the form to push orders to the cart: some refactoring still required
2013-12-19 15:51:51 +11:00
Will Marshall
1048bab303
Patching up some edge cases
2013-12-19 14:20:16 +11: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
37f8ce68fb
Adding one additional mailer test
2013-12-19 11:58:08 +11:00
Will Marshall
b5dd921a81
Our feature spec is breaking but we'll work that out
2013-12-19 10:44:47 +11:00
Will Marshall
b3a4d826b8
Dumping OrderCycle data via :javascript tags instead of ng-init, Angularising the selector stuff
2013-12-18 17:05:47 +11:00
Will Marshall
1f012dc52c
Patching up the tests to check on our serialisers
2013-12-18 16:15:23 +11:00
Will Marshall
6d124b3275
Failing tests, forcing the orders close text to change
2013-12-18 16:12:06 +11:00
Will Marshall
21d99c8e56
Directing our form to the order populator
2013-12-18 15:17:08 +11:00
Will Marshall
4b7605212e
Adding text trunctation in Angular
2013-12-18 14:45:32 +11:00
Will Marshall
adbfdafff3
Lots of styling improvements
2013-12-18 13:13:58 +11:00
Will Marshall
a3dfe1b147
Working on the HTML structure, variants etc
2013-12-18 12:26:34 +11:00
Will Marshall
e23b33ab48
Adding variants display
2013-12-18 11:35:25 +11:00
Will Marshall
3ed8dc5a7d
Tiny typography change
2013-12-17 15:56:36 +11:00
Will Marshall
f146610a93
Fixing a recursion bug in Angular
2013-12-17 15:52:21 +11:00
Will Marshall
7ea9cf6862
Adding price to serializer
2013-12-17 15:45:06 +11:00
Rohan Mitchell
9f47ff64fa
Update spec now that bulk product edit is the default product edit view
2013-12-17 15:29:25 +11:00
Will Marshall
67fcf0f534
Fixing up the feature specs
2013-12-17 15:26:49 +11:00
Rohan Mitchell
3c95993975
Remove order sensitivity in specs
2013-12-17 15:25:17 +11:00
Will Marshall
c4c5f3a8c7
Merging from master
2013-12-17 14:18:21 +11:00
Will Marshall
ece46811f9
Adding serializers also
2013-12-17 14:04:36 +11:00
Will Marshall
843a1133ef
Moving to use custom serializers for ze JSON API
2013-12-17 13:48:08 +11:00
Rohan Mitchell
e443495a7e
Remove reference to deleted stylesheet
2013-12-17 12:48:44 +11:00
Rohan Mitchell
f1f3d7a99c
Remove duplicate migration
2013-12-13 16:01:36 +11:00
Rohan Mitchell
5c744c7295
Move enterprises_distributor_info_rich_text_feature styles into central files
2013-12-13 16:01:36 +11:00
Will Marshall
222ed20361
Defaulting to bulk products
2013-12-13 15:57:32 +11:00
Will Marshall
63349c7c9a
Fixing some breaking bugs in the refactored mailer
2013-12-13 15:40:23 +11:00
Will Marshall
f6af9e78ac
Adding destroy ability to enterprise users
2013-12-13 15:40:23 +11:00
Will Marshall
92b3d496a4
Fixing the bugherd script to use the production one
2013-12-13 15:40:23 +11:00
Will Marshall
12743850b4
Removing a chili, refactoring order mailer
2013-12-13 15:40:22 +11:00
Rohan Mitchell
124b6df75d
Show undated order cycles on index page
2013-12-13 14:51:43 +11:00
Rohan Mitchell
1084862139
When product variant unit is changed, remove related option values from variants
2013-12-13 12:08:51 +11:00
Will Marshall
6e36142809
Making some changes to the data on the products inventory page
2013-12-13 11:39:45 +11:00
Rohan Mitchell
60a3e06c5b
Reformat
2013-12-13 11:10:08 +11:00
Rohan Mitchell
f2269654ff
Set option type on product when variant unit changed
2013-12-13 11:07:57 +11:00
Will Marshall
e98031e581
Fixing some minor report bugs
2013-12-13 10:12:41 +11:00
Will Marshall
d5081e4cc5
Working on the pretties
2013-12-13 09:19:54 +11:00
Rohan Mitchell
03aa5604e5
Reorder columns on BPE
2013-12-12 10:52:17 +11:00
Rohan Mitchell
a67c7b808d
Do not set unit value or description on variant when unpacked field is undefined
2013-12-12 10:50:03 +11:00
Will Marshall
36694822db
Starting to prettify
2013-12-12 10:28:43 +11:00
Rohan Mitchell
42d3947861
Set unit value and description on variants
2013-12-12 10:14:05 +11:00
Will Marshall
8f41078c0c
Reworking our bindings so everything stacks on objects and automagically updates
2013-12-11 15:39:50 +11:00
Will Marshall
bc4f472523
Fixing up the tests with some refactoring
2013-12-11 15:33:57 +11:00
Will Marshall
71a5d84a1d
Filtering the products to the current order cycle
2013-12-11 15:06:07 +11:00
Will Marshall
3903173848
Working reloading of products, changing order cycles, sticky state
2013-12-11 13:36:12 +11:00
Will Marshall
04d8949177
Tweaks to the JS, redirection on the controller
2013-12-11 12:53:50 +11:00
Will Marshall
44fe304efb
Building out and testing our Product and OrderCycle Angular stuff
2013-12-11 12:42:33 +11:00
Will Marshall
4db8f755bf
Getting an order cycle update function in place like a boss
2013-12-11 12:42:02 +11:00
Rohan Mitchell
33f06f5eff
Display unit value and description for variants in BPE
2013-12-06 15:57:37 +11:00
Will Marshall
63dfa0b696
Getting the test framework set up for Angular, setting up a products fetch stub
2013-12-06 15:24:42 +11:00
Rohan Mitchell
385a80a305
Revert "Can set variant_unit_name when unit type is not items" - this applies to a different field.
...
This reverts commit 8f6f37355c .
2013-12-06 14:38:46 +11:00
Rohan Mitchell
3013870bd6
Merge branch 'master' into product-amount-units
...
Conflicts:
config/ng-test.conf.js
2013-12-06 14:33:59 +11:00
Rohan Mitchell
6956eb3f94
Basic styling for variant unit fields on BPE
2013-12-06 14:30:38 +11:00
Rohan Mitchell
8f6f37355c
Can set variant_unit_name when unit type is not items
2013-12-06 14:25:19 +11:00
Rohan Mitchell
5e086af27a
Update product variant_unit_name when variant unit is items
2013-12-06 13:16:33 +11:00
Rohan Mitchell
4e1a1825e6
Fix incorrect prefix on track-product
2013-12-06 13:14:55 +11:00
Rohan Mitchell
b21263e1c0
Display text field for variant_unit_name
2013-12-06 12:06:16 +11:00
Rohan Mitchell
e70513b06c
Remove off-canvas class for landing page, allowing it to scroll
2013-12-06 11:47:07 +11:00
Rohan Mitchell
3adeed1fa0
Update attr name
2013-12-06 11:11:19 +11:00
Will Marshall
b806947e7b
Merge branch 'master' into darkswarm
2013-12-06 11:08:17 +11:00
Rohan Mitchell
fdc98ba24c
Convert Karma config file to v0.10 compatible format
...
Conflicts:
config/ng-test.conf.js
2013-12-06 11:07:32 +11:00
Rohan Mitchell
62ca121db2
Rename directives to avoid using the ng namespace, which is reserved for angular core
2013-12-06 10:49:06 +11:00
Rohan Mitchell
a4edacc138
Change to double quotes for spec names
2013-12-06 10:41:28 +11:00
Rohan Mitchell
d9d6d48ede
Centralise ctrl calls
2013-12-06 10:14:38 +11:00
Will Marshall
3670d68265
Correctly failing tests forcing us to build out OrderCycle switching in Angular
2013-12-05 16:48:29 +11:00
Will Marshall
102cb62b60
Starting to build out the Angular.js app
2013-12-05 16:31:22 +11:00
Will Marshall
3cda12b8dd
Refactoring the order cycle partials
2013-12-05 16:31:12 +11:00
Will Marshall
165513fdea
Adding some feature tests for the basic products page
2013-12-05 16:30:59 +11:00
Will Marshall
3f4f5143ff
Refactoring the order cycle partials
2013-12-05 16:30:39 +11:00
Rohan Mitchell
84fe6706a2
Make 'Items' option appear in variant_unit field on BPE
2013-12-05 15:50:08 +11:00
Rohan Mitchell
8af7c57a88
Pack variant_unit fields back into products and dirtyProducts. These fields can now round-trip to the server.
2013-12-05 15:16:52 +11:00
Rohan Mitchell
f07fb8d533
Make variant unit fields attr_accessible
2013-12-05 15:16:52 +11:00
Rohan Mitchell
e3043cc6ae
Rename prepareProductsForSubmit to submitProducts
2013-12-05 15:16:52 +11:00
Rohan Mitchell
fefea54375
Do not include variant_unit_with_scale in product update check. When saving products, save variant_unit and variant_unit_scale.
2013-12-05 15:16:52 +11:00
Rohan Mitchell
2115e33189
Use == instead of is
2013-12-05 15:16:52 +11:00
Rohan Mitchell
0a07f38f15
Load and display variant_unit on BPE page
2013-12-05 15:16:52 +11:00
Rohan Mitchell
2a989652cb
Use ||=
2013-12-05 15:16:52 +11:00
Rohan Mitchell
d552e84302
Tweak formatting
2013-12-05 15:16:52 +11:00
Rohan Mitchell
21154a9455
Convert bulk product update spec to coffeescript
2013-12-05 15:16:52 +11:00
Rohan Mitchell
cee54b4785
Convert Karma config file to v0.10 compatible format
2013-12-05 15:16:52 +11:00
Rohan Mitchell
a8668e24e3
Finish converting bulk product update to coffeescript
2013-12-05 15:16:51 +11:00
Rohan Mitchell
634dd52a80
WIP: Convert bulk product update to coffeescript. 3 tests failing.
2013-12-05 15:16:51 +11:00
Rohan Mitchell
1b63546a9e
Master variants are valid without unit value or description
2013-12-05 15:16:51 +11:00
Rohan Mitchell
4c72170742
Remove unnecessary require
2013-12-05 15:16:51 +11:00
Rohan Mitchell
0bae3e58b8
Add product units and amount fields to product and variant models, add validations
2013-12-05 15:16:51 +11:00
Will Marshall
7e9f389900
Getting the order cycles dropdown rendering correctly
2013-12-05 15:15:15 +11:00
Will Marshall
ec72e9137a
We can now hit the index page
2013-12-05 15:07:46 +11:00
Will Marshall
4543e08872
Renaming everything to Shop
2013-12-05 13:40:05 +11:00
Will Marshall
f525b7aea1
Adding the distributors controller
2013-12-04 15:58:25 +11:00
Will Marshall
720d66b379
Merge branch 'master' into ui_setup
2013-12-04 14:28:20 +11:00
Will Marshall
578651ddae
forcing SSL in staging
2013-12-04 14:26:22 +11:00
Will Marshall
9876a5f27b
Merge branch 'master' into ui_setup
2013-12-04 14:13:06 +11:00
Will Marshall
0032a806b5
Further work on Darkswarm
2013-12-04 14:12:13 +11:00
Will Marshall
987ba1a81a
Adding a monkeypatch to spree to always allow SSL
2013-12-04 14:08:08 +11:00
Will Marshall
ff003d8931
disabling SSL :/
2013-12-04 13:42:35 +11:00
Will Marshall
f0e847a9f1
Merge branch 'master' into ui_setup
2013-12-04 13:09:48 +11:00
Will Marshall
9efd7c2d69
Getting the darkswarm build flow up and running. Like a boss
2013-12-04 13:09:30 +11:00
Will Marshall
c2d3e8bcec
Forcing staging to SSL
2013-12-04 13:08:28 +11:00
Will Marshall
3d019bdcd5
Starting to partialise things
2013-11-29 16:52:14 +11:00
Will Marshall
175cd86976
Adding darkswarm basics
2013-11-29 16:38:14 +11:00
Will Marshall
a8a12d6d04
Adding some magical guard unicorn sparkles
2013-11-29 16:11:56 +11:00
Will Marshall
e574185c95
Fixing an ordering issue in the order cycle spec
2013-11-29 14:48:06 +11:00
Will Marshall
0ac9bfd898
Moving our fix for the broken Spree function into our own JS
2013-11-29 14:24:56 +11:00
Will Marshall
0cfc0efe32
Overriding the broken _destroy partial so failure to destroy is shown as intended
2013-11-29 12:32:47 +11:00
Rohan Mitchell
6608b6e1ad
Remove some angular testing crud, integrate with regular rails config and script dirs
2013-11-29 11:13:41 +11:00
Rohan Mitchell
29308dca76
Enable order cycles by default
2013-11-29 10:49:33 +11:00
Will Marshall
33b23dd265
Sorting the bitching product report like a boss
2013-11-28 17:06:06 +11:00
Will Marshall
13e991d02d
Changing favicon
2013-11-28 16:52:54 +11:00
Will Marshall
7784a6ef44
Adding a default value of NOW to available_on on Products
2013-11-28 16:41:46 +11:00
Will Marshall
dec33ebda4
Fixing the HTML in the admin section
2013-11-28 16:13:13 +11:00
Will Marshall
69459847ca
Fixing some responsiveness issues on the home page
2013-11-28 15:42:00 +11:00
Will Marshall
acdbbb153d
Fixing up the landing page spec to cover the new login text
2013-11-28 15:24:38 +11:00
Will Marshall
7742fdc27a
Adding a better homepage login function
2013-11-28 15:01:57 +11:00
Will Marshall
7bc754a598
Adding filtering to the products page
2013-11-28 13:44:21 +11:00
Will Marshall
d39cb74d06
Merge branch 'customers'
2013-11-22 16:55:11 +11:00
Will Marshall
27f99d1383
Working version of Customers reports without filters
2013-11-22 16:53:57 +11:00
Will Marshall
fbe0e2cc29
Basic plumbing for the Customers in place
2013-11-22 16:22:44 +11:00
Will Marshall
51ea6fcd67
Starting on the Customers Report
2013-11-22 14:57:11 +11:00
Will Marshall
b3bf3a8378
Adding the plumbing for Customers reports, and one tiny refactor to products
2013-11-22 14:56:57 +11:00
Rohan Mitchell
4898460132
Fix failing spec with table reorder, lambda-fy scopes that use time
2013-11-22 14:00:04 +11:00
Rohan Mitchell
94c33e5f45
Colour order cycle rows based on their status
2013-11-22 11:31:04 +11:00
Rohan Mitchell
459b2c1050
Add #upcoming? and #open? to OrderCycle
2013-11-22 11:15:12 +11:00
Rohan Mitchell
3a2394675f
Rename OrderCycle#expired? to #closed?
2013-11-22 11:08:42 +11:00
Rohan Mitchell
5ad63d08f3
Add some more open/close time scopes to order cycles
2013-11-22 10:57:33 +11:00
Rohan Mitchell
f75879bec1
Put order cycle variants in a tooltip
2013-11-22 10:03:49 +11:00
Will Marshall
5e170a843e
Forcing a rebuild on Jenkins
2013-11-21 17:22:47 +11:00
Will Marshall
c695bafe69
Reworking the way the Reports works so we have more granular control over what shows
2013-11-21 16:45:59 +11:00
Will Marshall
beb6110bc3
Fixing up a bug in the aggregate filtering
2013-11-21 15:04:33 +11:00
Rohan Mitchell
b101a37dad
Rearrange columns
2013-11-21 14:42:28 +11:00
Rohan Mitchell
dfcf567f26
Sort payment methods by name
2013-11-21 14:42:28 +11:00
Will Marshall
612a80ec15
A little refactoring, some comment removal
2013-11-21 14:28:23 +11:00
Will Marshall
f642d6532a
Removing reundant Group Buys spec now we've removed Group Buys
2013-11-21 14:06:46 +11:00
Will Marshall
d703e1836f
Working build of P&I report
2013-11-21 14:06:24 +11:00
Will Marshall
e853c1275e
Working filters for Product&Inventory Report
2013-11-21 11:25:37 +11:00
Will Marshall
ca16314535
Working scopes for child variant and master variants
2013-11-20 14:11:22 +11:00
Will Marshall
84346c7fbd
Starting specing P&I Report
2013-11-20 13:59:02 +11:00
Will Marshall
6a11b2685f
Controller plumbing for Product & Inventory report
2013-11-20 13:58:01 +11:00
Will Marshall
5772fa9589
Boilerplate for the new Product and Inventory report, sans any functionality
2013-11-20 10:34:18 +11:00
Rohan Mitchell
306eaab262
Remove uservoice
2013-11-15 16:31:46 +11:00
Rohan Mitchell
7a8bd16083
On enterprise page, do not display products outside of the outgoing exchange
2013-11-15 15:08:45 +11:00
Rohan Mitchell
59935619e3
Rename OrderCycle#distributed_variants_by to variants_distributed_by
2013-11-15 14:34:05 +11:00
Rohan Mitchell
52b6c33aaa
When converting an exchange to a hash for comparison, ensure id lists are sorted - ordering issues should not indicate inequality
2013-11-15 12:09:26 +11:00
Rohan Mitchell
d73af509e0
When removing exchanges from an order cycle, compare by id only. Avoids erroneously removing exchanges where another attr has changed in an unimportant way.
2013-11-15 12:09:26 +11:00
Rohan Mitchell
8980284390
Reorder OC admin index table columns
2013-11-15 12:09:26 +11:00
Rohan Mitchell
daee827af6
Generalise db remote backup script, add restore script
2013-11-15 12:09:26 +11:00
Will Marshall
2ce687fc79
Adding variant update permissions to Enterprise users
2013-11-14 11:53:14 +11:00
Will Marshall
9097246301
Removing uservoice
2013-11-14 11:07:58 +11:00
Will Marshall
27b892851a
Enabling bugherd in Production
2013-11-14 11:02:20 +11:00
Will Marshall
281220c490
Updating a few gems
2013-11-13 16:25:06 +11:00
Will Marshall
a4f2ea771d
Fixing the bulk update spec
2013-11-13 16:24:09 +11:00
Rohan Mitchell
27b8c4508f
Split product distribution editing into its own admin page
2013-11-13 15:22:17 +11:00
Will Marshall
713742f016
Adding back in an important ID
2013-11-08 17:16:45 +11:00
Will Marshall
b7104add1c
Patching up the footer, partialising it
2013-11-08 16:37:02 +11:00
Will Marshall
b227be4a62
Adding an override to suppress the products display unless we actually have an order_cycle in play
2013-11-08 16:04:31 +11:00
Rohan Mitchell
283401d6fe
Fix checkout confirmation page blank (access denied) when checking out anonymously - BugHerd #139
2013-11-08 15:27:32 +11:00
Will Marshall
317b2f1ced
Helperizing some of the order cycles stuff
2013-11-08 15:19:27 +11:00
Will Marshall
b1d064c964
Adding some fancy new partials for the order cycle selection logic
2013-11-08 11:27:13 +11:00
Will Marshall
6582ed0753
Removing an extraneous check on the order cycle from line 4, partialising
2013-11-08 11:26:36 +11:00
Rohan Mitchell
71d6e51078
Put distributors column second, no need to explicitly set column widths, so remove this
2013-11-07 16:25:43 +11:00
Rohan Mitchell
48f18a93de
Order shipping methods by name, not distributor
2013-11-07 16:25:43 +11:00
Rohan Mitchell
0755b515d1
Only show shipping methods that enterprise user has access to
2013-11-07 16:25:43 +11:00
Will Marshall
a526439643
Moving the orders controller spec into the right place
2013-11-07 15:13:07 +11:00
Will Marshall
b7c7730278
Patching a bug in which we'd 404 if deleting items from a cart twice in parallel
2013-11-07 15:12:28 +11:00
Will Marshall
f0d335a454
Fixing up the failing spec for distributor changes, reworking a method to SharedHelper
2013-11-07 11:47:05 +11:00
Will Marshall
e33ff15151
Adding a small override to unbreak the New Product link
2013-11-06 16:28:51 +11:00
Rohan Mitchell
04387aa6b7
Scope time since last oc expired to distributor
2013-11-06 16:17:36 +11:00
Will Marshall
d95394f70d
Adding tooltips to the footer link
2013-11-06 15:56:00 +11:00
Will Marshall
406f8033fe
Partialising the _distributor render
2013-11-06 15:36:39 +11:00
Will Marshall
f9a4718bdd
Reworking the homepage styles to work on mobile as well as screen
2013-11-06 14:14:55 +11:00
Will Marshall
0784642517
Removing the copyright from the footer
2013-11-06 13:40:05 +11:00
Will Marshall
59b6badcd6
Small text change on the order confirmation screen
2013-11-06 13:28:54 +11:00
Will Marshall
3c37696882
Adding specs and implementation: moving current distributor to new empty order after checkout
2013-11-06 12:35:22 +11:00
Rohan Mitchell
72efb2096b
Remove comment - everything makes sense now
2013-11-06 11:26:10 +11:00
Will Marshall
bef64e5967
Making sure the final row has a bottom border
2013-11-06 11:18:34 +11:00
Will Marshall
91abf4fab1
Reworking the temp homepage to use the Foundation styles more cleverly
2013-11-06 11:16:29 +11:00
Will Marshall
263195c8b9
Merging
2013-11-06 10:59:56 +11:00
Will Marshall
71af58239e
Making the 'next order cycle' text big and black
2013-11-06 10:58:09 +11:00
Rohan Mitchell
fd43227921
Explicitly precompile style needed
2013-11-06 10:42:39 +11:00
Rohan Mitchell
bacd8401b4
Compile all admin css files for manual inclusion (fixes BugHerd #126 )
2013-11-06 10:18:45 +11:00
Rohan Mitchell
6e0dfbd88b
Make order cycle admin open and close time columns wider
2013-11-01 16:50:48 +11:00
Will Marshall
7d21dd053a
Merging
2013-11-01 16:50:28 +11:00
Will Marshall
8f27c7be80
Fixing a clearing bug on the home page
2013-11-01 16:49:28 +11:00
Rohan Mitchell
6aad840d05
Change inaccurate wording - this lists order cycles by closing date, not availability date
2013-11-01 16:37:49 +11:00
Rohan Mitchell
25b0306a93
Ensure css is precompiled, reformat configs
2013-11-01 16:22:54 +11:00
Will Marshall
9f150c8d87
Adding a small display on the distributor page indicating when the next order cycle is, if any - BugHerd#127
2013-11-01 16:12:31 +11:00
Will Marshall
37b81af91c
Adding myself to the Readme as a contributor
2013-11-01 14:49:58 +11:00
Will Marshall
b8fcfbd72b
Test and implementation: dropping inclusion of product_distributions from active Distributors on front page - BugHerd#125
2013-11-01 14:48:23 +11:00
Will Marshall
26f2d27d64
Updating therubyracer to fix mac compatibility with libv8
2013-11-01 14:46:41 +11:00
Rohan Mitchell
3d07d68637
Order landing page distributors by name
2013-10-31 16:28:04 +11:00
Rohan Mitchell
34638c0bf9
Remove pry from spec
2013-10-31 16:27:13 +11:00
Rohan Mitchell
094485bc2d
Sort enterprises by name, display direct-from-the-farm links separately at top
2013-10-31 15:52:22 +11:00
Rohan Mitchell
eb997c94a2
Mark inactive distributors on supplier distributors list
2013-10-31 14:59:47 +11:00
Rohan Mitchell
758676c1ea
When visiting supplier page without selecting a distributor, provide choice of distributors that distribute their products
2013-10-31 14:49:26 +11:00
Rohan Mitchell
217f1b58ad
Fix spec broken by 8595839
2013-10-31 13:49:57 +11:00
Rohan Mitchell
a3b96070d5
Use helper instead of manually creating a subject
2013-10-31 11:40:28 +11:00
Rohan Mitchell
859583992e
Hide distributors from product details page
2013-10-31 10:25:57 +11:00
Rohan Mitchell
2533e52189
After saving, maintain filter on enterprise fees by enterprise
2013-10-30 17:36:54 +11:00
Rohan Mitchell
5386fa72cc
Enterprise fees admin page for a specific enterprise auto-selects that enterprise for new fees and only allows selection of managed enterprises
2013-10-30 17:00:05 +11:00
Rohan Mitchell
32889715f0
Grey out hubs that have no products available for distribution and are not in an order cycle
2013-10-30 16:09:18 +11:00
Rohan Mitchell
fc8c82d5d2
Display enterprise groups on home page by position
2013-10-30 14:48:04 +11:00
Rohan Mitchell
647e1d196c
Position enterprise groups
2013-10-30 14:46:49 +11:00
Rohan Mitchell
2fe23c53ed
Rename region to group
2013-10-30 13:57:33 +11:00
Rohan Mitchell
521ed565b4
Modify specs to create enterprise groups where needed
2013-10-30 13:56:10 +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
7f6f725e02
Find enterprise groups on the front page
2013-10-30 13:54:11 +11:00
Rohan Mitchell
2d80490d41
Update group membership for enterprise
2013-10-30 11:27:39 +11:00
Rohan Mitchell
49b36d0670
Delete enterprise group
2013-10-30 10:42:32 +11:00
Rohan Mitchell
b8457b2b0f
Edit enterprise group
2013-10-30 10:42:32 +11:00
Rohan Mitchell
be7e76920d
Create new enterprise group
2013-10-30 10:42:32 +11:00
Rohan Mitchell
a6fa73ec13
List enterprise groups
2013-10-30 10:42:32 +11:00
Rohan Mitchell
e78815c2d3
Create models for EnterpriseGroups
2013-10-30 10:42:32 +11:00
Rohan Mitchell
8d0f192ca7
Update states to match
2013-10-30 10:42:23 +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
cbdd8a0091
Fix enterprise admin form style, which was being clobbered by CMS styles
2013-10-30 09:56:44 +11:00
Rohan Mitchell
5c9c96e174
Do not error if order cycle loads before enterprises
2013-10-24 13:40:27 +11:00
Rohan Mitchell
e265b406d6
Generalise script to work with staging servers, too
2013-10-24 13:30:21 +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
0d1dd361d6
Do not display links to enterprise payment methods and shipping methods when enterprise is a supplier only
2013-10-24 10:46:03 +11:00
Rohan Mitchell
fb22b5e2b7
When there are no order cycles open, display an 'orders closed' message
2013-10-24 10:32:30 +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
aec21b1a54
Add script to backup prod server to localhost
2013-10-23 17:14:53 +11:00
Rohan Mitchell
12061fd485
Order cycle admin does not allow save until page is loaded
2013-10-23 14:59:50 +11:00
Rohan Mitchell
763dab9efc
Fix country init for Jenkins
2013-10-23 10:41:50 +11:00
Rohan Mitchell
bd6997f345
Update Eaterprises -> OFF in README
2013-10-23 10:41:39 +11:00
Rohan Mitchell
0c5312f893
Update gem repo URLs
2013-10-23 10:41:26 +11:00
Rohan Mitchell
101510f2f4
Fix error when setting up a fresh db
2013-10-23 09:25:26 +11:00
Rohan Mitchell
b8320a9bb6
Rename some directives and internal login details
2013-10-19 09:45:38 +11:00
Rohan Mitchell
f7c431be3c
Rename database names and user name
2013-10-19 09:43:10 +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
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
8e269353a8
Rename all open_food_web dirs to open_food_network
2013-10-18 17:19:47 +11:00
Rohan Mitchell
39c60a84d6
Rename files from OFW to OFN convention
2013-10-18 17:15:21 +11:00
Rohan Mitchell
8ccad4b53a
Return an error code when bulk product edit save fails
2013-10-18 16:23:25 +11:00
Rohan Mitchell
bd112c64b0
Fix edit enterprise link to point to edit page, fix spec breakages
2013-10-18 15:39:58 +11:00
Rohan Mitchell
ea17e475a6
When viewing enterprise fees, only show those for the enterprise I select
2013-10-18 14:44:01 +11:00
Rohan Mitchell
91f14dcd4c
Enterprise manager can create/edit enterprise fees
2013-10-18 13:56:22 +11:00
Rohan Mitchell
3b5e6f5742
When viewing shipping methods, only show those for the distributor I select
2013-10-18 10:01:11 +11:00
Rohan Mitchell
c07c52085a
Enterprise user can view and create shipping methods
2013-10-18 09:35:53 +11:00
Rohan Mitchell
e6041aaf2f
Enterprise user can view, create and edit payment methods
2013-10-18 09:09:53 +11:00
Rohan Mitchell
05932a69cd
Adjust checkout spec for shipping method HABTM distributors
2013-10-17 12:30:26 +11:00
Rohan Mitchell
358ca25f31
Admin can assign multiple distributors to a shipping method
2013-10-17 11:16:26 +11:00
Rohan Mitchell
93cb845ee2
DB and model changes to make ShippingMethod distributor habtm
2013-10-17 11:15:43 +11:00
Rohan Mitchell
de8d7bd66e
Clean up payment methods form
2013-10-17 11:08:25 +11:00
Rohan Mitchell
8654f23a19
Move spree model decorator specs into their own dir to mirror model dir layout
2013-10-17 09:53:54 +11:00
Rohan Mitchell
d480e96d7a
Do not add an extra product which confuses other tests
2013-10-16 17:38:39 +11:00
Rohan Mitchell
e29497c5b4
Enterprise users can bulk edit inactive products
2013-10-16 16:57:20 +11:00
Rohan Mitchell
751801653e
Bulk product update with >25 products succeeds
2013-10-16 14:36:22 +11:00
Rohan Mitchell
a898d6d831
Add script to pull down and mirror the prod database
2013-10-16 12:04:29 +11:00
Rohan Mitchell
631bc631fb
Do not show order cycle debug info in production
2013-10-16 10:39:32 +11:00
Rohan Mitchell
a6877c6981
Only render calculator HTML in enterprise fee JSON if explicitly requested. Improves load time of order cycles page.
2013-10-16 10:37:09 +11:00
Rohan Mitchell
4b7fc8b5e4
In production, redirect to hostname with the SSL certificate
2013-10-14 10:44:14 +11:00
Rohan Mitchell
bf02dd0caa
Set countries and states in test to mirror id configuration provided by seed
2013-10-11 15:11:50 +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
c5228c9ad2
Fix home controller for oc hit by global before_filter
2013-09-30 17:22:55 +10:00
Rohan Mitchell
30bc45370b
When order cycle expires mid-order, clear the order cycle and display a message
2013-09-30 16:56:11 +10:00
Rohan Mitchell
8353413c4a
Fix spec fail
2013-09-30 15:13:02 +10:00
Rohan Mitchell
935229fa09
On order show / confirmation page, show correct pickup time for order cycle pickup
2013-09-30 14:53:28 +10:00
Rohan Mitchell
57aa10a6f6
Fix specs for time zone change
2013-09-30 11:40:05 +10:00
Rohan Mitchell
54d95d304f
Convert to Melbourne time zone
2013-09-30 11:25:26 +10:00
Rohan Mitchell
f5b56617a0
As an enterprise user, when I create an enterprise, I should have management permission for it
2013-09-30 11:10:20 +10:00
Rohan Mitchell
1d4198d402
Removing a supplier exchange removes variants from distribution
2013-09-30 09:46:39 +10:00
Rohan Mitchell
32204076bd
Update js specs for pagination fix
2013-09-30 09:18:49 +10:00
Rohan Mitchell
208ffb3317
Fix commented-out order cycle specs
2013-09-27 16:02:06 +10:00
Rohan Mitchell
01036ec730
Add LineItem#supplied_by scope, fixes orders and fulfillment report supplier filtering
2013-09-27 14:11:12 +10:00
Rohan Mitchell
dac49d1044
Order cycle-aware pickup time
2013-09-27 11:17:24 +10:00
Rohan Mitchell
68fe20c37a
Add scope: Exchange.with_product
2013-09-23 17:39:16 +10:00
Rohan Mitchell
99e12afd04
Explicitly compile store/shop_front.js, which is used on the temp landing page in isolation from all.js
2013-09-23 16:47:03 +10:00
Rohan Mitchell
44aac294e0
Merge branch 'issue14'
2013-09-23 15:39:13 +10:00
Rohan Mitchell
19349c805f
Destroy supplied products when a supplier is destroyed
2013-09-23 14:58:26 +10:00
Rohan Mitchell
450a1e49c2
Do not 500 when add to cart fails
2013-09-23 14:15:53 +10:00
Rohan Mitchell
741a81a427
Fix spec fails - do not redirect on Products#show when distributor not set
2013-09-23 14:00:33 +10:00
Rohan Mitchell
072ce67b78
Redirect if distributor not chosen
2013-09-23 13:39:13 +10:00
Rohan Mitchell
000b13782e
Remove taxon crumbs, since taxon view is not yet supported and produces errors
2013-09-23 11:06:02 +10:00
Rohan Mitchell
803594b4d7
Confirm change hub when it would empty cart
2013-09-23 10:07:25 +10:00
Rohan Mitchell
767478a0ee
Add link to change hub
2013-09-23 09:17:17 +10:00
Rob H
8831dfc660
Fix #42
2013-09-20 14:28:46 +05:45
Rob H
08eb865469
Increase pagination size for products in BPE, resolves #14
2013-09-20 13:25:07 +05:45
Rohan Mitchell
9811851e29
Comment out order cycles debug styling that breaks tests
2013-09-20 13:08:54 +10:00
Rohan Mitchell
d100d12ebe
When a variant is removed from supply to an order cycle, remove it from distribution also
2013-09-20 11:11:59 +10:00
Rohan Mitchell
00fe10e847
Reposition order cycle admin debug info
2013-09-20 09:29:26 +10:00
Rohan Mitchell
ab052b771b
Ignore newrelic config
2013-09-20 09:26:14 +10:00
Rohan Mitchell
4956a4e384
Only geocode addresses associated with enterprises. Makes Checkout#update much faster.
2013-09-19 16:56:48 +10:00
David Cook
0183b0f2c1
Fix bulk update of order cycles for enterprise users
2013-09-19 15:48:39 +10:00
David Cook
2df2096d74
Sort payment and shipping methods by distributor name
2013-09-19 15:21:14 +10:00
David Cook
2e13abf933
Show only orders I am distributing
2013-09-19 15:21:14 +10:00
Rohan Mitchell
c9e543b25a
Update delivery page of checkout, change shipping to delivery
2013-09-19 13:40:49 +10:00
David Cook
e4127358c3
Rearrange admin payment methods table (BH#73)
2013-09-19 12:12:50 +10:00
David Cook
402ed01207
Refactor/cleanup
2013-09-19 12:12:50 +10:00
Rohan Mitchell
da9e756d9f
Fix migration for envs without distributors
2013-09-19 11:32:00 +10:00
Rohan Mitchell
08941ae22b
Data integrity
2013-09-19 11:22:55 +10:00
Rohan Mitchell
f06f4702ed
Update newrelic agent
2013-09-19 09:35:13 +10:00
Rohan Mitchell
136ec7d9d3
Remove heroku newrelic config
2013-09-19 09:34:57 +10:00
Rohan Mitchell
dc9206ccf6
Re-arrange top nav area
2013-09-18 16:27:18 +10:00
David Cook
b544c3a4f9
Add distributor column to admin shipping methods and payment methods pages
2013-09-18 13:48:50 +10:00
Rohan Mitchell
c30b8554da
Pin deface to working version, update spree_paypal_express with state capitalisation fix
2013-09-18 12:39:20 +10:00
Rohan Mitchell
633399bbfb
Rename 'Inner Melbourne' region to 'Eaterprises'
2013-09-18 12:39:20 +10:00
David Cook
42a31ccd74
Show all relevant suppliers and distributors in report drop-down
2013-09-18 12:34:44 +10:00
David Cook
ad4301df90
Add supplier selection to Orders & Fulfillment Report
2013-09-18 12:34:43 +10:00
Rohan Mitchell
fb9adf051e
Update bugsnag. I can haz custom exception metadata?
2013-09-18 11:42:31 +10:00
David Cook
4c2d6b38ea
Ensure 'No Order Cycle' remains selected after clicking 'Search'
2013-09-18 09:57:03 +10:00
David Cook
b34d940457
Renamed report column to 'Curr. Cost per Unit' for clarity
2013-09-18 09:27:34 +10:00
David Cook
3fbd5dc625
Fix 'No Order Cycle' dropdown in Orders & Fulfillment Reports
2013-09-18 09:27:34 +10:00
David Cook
9782dd8264
Get line item cost from order, not current product price which may have changed. Also removed unnecessary total columns.
2013-09-18 09:27:34 +10:00
David Cook
e57ad81934
Add 'No Order Cycle' option and cycle dates to dropdown in Orders & Fulfillment Reports
2013-09-18 09:27:34 +10:00
David Cook
5ec3c1831d
Only show order cycles that the user has access to in reports drop-down
2013-09-18 09:26:50 +10:00
David Cook
fe513d42c4
Rename 'Order Cycles' report group to 'Orders & Fulfillment'
2013-09-18 09:25:51 +10:00
Rohan Mitchell
5d0dabc1e8
Switch to eaterprises spree_paypal_express with instrumentation to debug state-blank-from-paypal issue
2013-09-18 09:15:30 +10:00
Rohan Mitchell
2f73161421
Move patch to address class - much simpler
2013-09-18 07:14:21 +10:00
Rohan Mitchell
56590e2f4a
Instrument saving spree addresses with invalid values in an attempt to track down the cause of some invalid records finding their way into the database
2013-09-17 18:06:06 +10:00
Rohan Mitchell
42a6ad6e7c
Inline spree_last_address into the codebase to attempt to fix errors with it appearing only in prod
2013-09-17 13:48:53 +10:00
Rohan Mitchell
8a849b8e47
When selecting hub, auto-select order cycle if there is only one option available
2013-09-17 10:20:14 +10:00
Rohan Mitchell
a929312979
Add scope: OrderCycle.with_distributor
2013-09-17 09:54:21 +10:00
Rohan Mitchell
c2f1f0986b
Fix broken specs
2013-09-16 14:30:46 +10:00
Rohan Mitchell
d1979a70a1
Fix migration - dependency on modified model relations
2013-09-16 14:26:43 +10:00
Rohan Mitchell
b032bc0420
Add commented-out code for debugging specs that are otherwise thwarted by poltergeist's timeout
2013-09-16 14:13:07 +10:00
Rohan Mitchell
f0381f7579
Fix problems with spree_last_address - upgrade gem to a newer version, add a spec around it
2013-09-16 14:11:00 +10:00
Rohan Mitchell
c1a28023ce
Move js file to avoid clobbering spree file
2013-09-16 14:11:00 +10:00
Rohan Mitchell
9410123841
Convert to github-specific notation in gemfile
2013-09-16 14:11:00 +10:00
David Cook
4f9c7fb601
Remove distributor_id from payment method and update tests
2013-09-13 16:58:19 +10:00
David Cook
ee9d9a36d5
Make distributor payment method multi-select
2013-09-13 12:03:37 +10:00
David Cook
107c6978c2
Create many-to-many relationship between payment method and distributor
2013-09-13 10:25:25 +10:00
David Cook
7e96ba909e
Show a list of Order Cycles report types in the description column
2013-09-13 09:59:35 +10:00
Rohan Mitchell
29e1f38207
Set up production distributors for current order cycle
2013-09-12 18:21:44 +10:00
David Cook
af71838610
Fix deface comment
2013-09-12 15:33:17 +10:00
David Cook
a99f23eb01
Add distributor name to admin orders table
2013-09-12 15:16:51 +10:00
David Cook
b7541dcd52
Rename 'Home' link to 'OFN'
2013-09-11 15:13:45 +10:00
Rohan Mitchell
8f768d3b84
Update staging distributors
2013-09-10 15:17:18 +10:00
Rohan Mitchell
b8376a040f
Remove superfluous manual change triggers
2013-09-10 12:57:49 +10:00
Rohan Mitchell
a136161dd6
When showing enterprise, do not show enterprise name when we're in this enterprise - fix duplicate name in header
2013-09-10 12:57:35 +10:00
Rohan Mitchell
583164efb5
Fix variant price calculation
2013-09-10 11:52:13 +10:00
Rohan Mitchell
315876ca9d
Don't display bullets next to variant options
2013-09-10 11:52:04 +10:00
Rohan Mitchell
0e8443e118
Rename 'Change Pick-up Date' to 'Change Collection Date'. Fix this to clear the cart. Do not clear distributor when setting Order.order_cycle to nil.
2013-09-10 11:28:49 +10:00
Rohan Mitchell
d43df754d3
Load correct products on enterprise and product listing pages
2013-09-10 10:36:13 +10: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
64a3a309f5
Change 'pick-up date' to 'available on', provide absolute dates in options
2013-09-10 09:16:23 +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
3ac4bd3b5f
Hide adjustments in cart by default, show by click
2013-09-09 14:37:36 +10:00
Rohan Mitchell
644beeb093
Revert "Fix test fail"
...
This reverts commit 1de0f85c73 .
2013-09-09 10:55:40 +10:00
Rohan Mitchell
1de0f85c73
Fix test fail
2013-09-09 10:41:28 +10:00
Rohan Mitchell
d32a8b56d0
When order cycle is selected, only show variants that are in it
2013-09-09 10:40:15 +10:00
Rohan Mitchell
57906e6f8b
Fix seed failure due to ShippingMethod factory creating an enterprise, preventing enterprises from being seeded
2013-09-06 16:01:00 +10:00
Rohan Mitchell
33d1948bda
Display log in / sign up links on landing page
2013-09-06 13:44:35 +10:00
alexs333
80bb55496b
Temporarily disabling some tests.
2013-09-05 14:18:40 +10:00
alexs333
4f64679de7
Simplified shop flow.
2013-09-04 20:33:18 +10:00
alexs333
999bc2697a
Implemented simlified shop flow.
2013-09-04 20:33:18 +10:00
David Cook
25b25b7681
New scope Order.not_state to filter out cancelled orders from reports
2013-08-30 17:07:17 +10:00
David Cook
bf3c5c6dd6
Merge branch 'master' into reports-completed-only
...
Conflicts:
app/controllers/spree/admin/reports_controller_decorator.rb
2013-08-30 16:42:00 +10:00
David Cook
b0abe566eb
Comments
2013-08-30 16:28:02 +10:00
David Cook
6a303d7db9
Merge branch 'enterprise-reports'
...
Conflicts:
app/models/spree/ability_decorator.rb
2013-08-30 16:27:13 +10:00
David Cook
61e5ec24e7
Generalise ModelClassFromControllerName
2013-08-30 15:21:30 +10:00
David Cook
80bfc5ce53
Ensure Supplier enterprise users can only view their own products in reports
2013-08-30 15:17:27 +10:00
Rohan Mitchell
cace60b187
Shipping methods are only shown at checkout if their distributor matches the order
2013-08-30 12:27:13 +10:00
Rohan Mitchell
911d8b8bbc
Shipping method has a distributor, admin can create and edit
2013-08-30 11:43:45 +10:00
Rohan Mitchell
314e464c3f
Add failing spec for admin creatin a shipping method owned by a distributor
2013-08-27 10:53:59 +10:00
Rohan Mitchell
9824e1b9c5
Make spec more precise and robust - query was finding outgoing instead of incoming exchange
2013-08-27 10:41:02 +10:00
Rohan Mitchell
72136a59ae
Remove permission dupliation, fixes accessible_by errors when accessing admin backend
2013-08-27 10:19:54 +10:00
Rohan Mitchell
6a5d819fa6
Enterprise manager can create an order
2013-08-27 10:05:55 +10:00
alexs333
019d8ed2dc
Reverted poltergeist/capybara upgrade.
2013-08-23 17:02:33 +10:00
alexs333
ef96099f2d
Merge branch 'master' of https://github.com/eaterprises/openfoodweb
...
Conflicts:
Gemfile.lock
2013-08-23 16:11:02 +10:00
David Cook
9de5a0061e
Enterprise user can only view their own distributors in reports (and remove redundant feature test)
2013-08-23 16:09:37 +10:00
alexs333
9be7b5eecc
Updated poltergeist.
2013-08-23 15:40:04 +10:00
Rohan Mitchell
4f8014306e
Admin can't change distributor or order cycle once order has been finalized
2013-08-23 14:00:31 +10:00
Rohan Mitchell
158cd6994b
Update spree, syntax fix
2013-08-23 14:00:31 +10:00
Rohan Mitchell
2a662e6b6f
Switch from rvmrc to ruby-version/gemset
2013-08-23 14:00:31 +10:00
Rohan Mitchell
2cab83cb29
Admin create order can set distributor and order cycle
2013-08-23 14:00:31 +10:00
Rohan Mitchell
2e1de9a6d3
Fix admin create order - remove override on spree address form, update to spree patched to fix respond_override (spree issue #2210 ), fix nil state error
2013-08-23 14:00:31 +10:00
Rohan Mitchell
02089541cd
Syntax tweaks
2013-08-23 14:00:31 +10:00
David Cook
078bd033b6
Refactor authorisation to play nice with Spree instead of patching it (thanks to Rohan's suggestions)
2013-08-23 13:25:42 +10:00
David Cook
1bfb54f310
Refactor authorisation to play nice with Spree instead of patching it (thanks to Rohan's suggestions)
2013-08-23 13:25:10 +10:00
Rohan Mitchell
8a092697ee
Enterprise manager can clone an order cycle
2013-08-22 17:11:53 +10:00
Rohan Mitchell
f1fa90d7c3
Clone order cycles
2013-08-22 16:53:11 +10:00
David Cook
3d32e6480b
Enterprise user can access all OFN reports
2013-08-22 13:07:17 +10:00
David Cook
5b824c1e22
Prevent exception when order has no payments
2013-08-22 13:07:17 +10:00
David Cook
f1c2582e65
WIP: Test for enterprise user access in reports
2013-08-22 12:49:39 +10:00
David Cook
3a75f6b86a
Enterprise user can access all OFN reports
2013-08-22 11:49:18 +10:00
Rohan Mitchell
f870e70560
Enterprise manager can edit and bulk edit enterprises they have access to
2013-08-22 11:40:33 +10:00
David Cook
346113966e
Prevent exception when order has no payments
2013-08-22 11:31:31 +10:00
Rohan Mitchell
aab7176f2c
Enterprise manager can bulk edit products
2013-08-22 11:21:49 +10:00
Rohan Mitchell
d465560dba
Update selenium-webdriver (for test debugging with selenium)
2013-08-22 10:49:42 +10:00
David Cook
b41f6234db
Test to filter report by order cycle
2013-08-21 17:23:55 +10:00
alexs
01ad4a04a4
Bumped up the sleep time in the spec.
2013-08-21 16:26:08 +10:00
alexs
a623e2dee6
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-08-21 16:05:29 +10:00
alexs
8b4c0682fb
Replaced eaterprises logo with the distributor name header.
2013-08-21 16:05:06 +10:00
David Cook
b2878ddc40
Payment Method must belong to a Distributor
2013-08-21 15:14:01 +10:00
alexs
f5b326ee1a
Fixed the bug where search gets cleared after user clicks inside the suburb input field.
2013-08-21 12:04:35 +10:00
alexs
acfb1bd600
Making sure that only distributor enterprises are displayed on the landing page.
2013-08-21 12:03:44 +10:00
alexs
798565bb42
Overriding accidental commit.
2013-08-21 10:59:25 +10:00
alexs
845f7bb8d7
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-08-21 10:50:08 +10:00
alexs
f6983078a2
Removed search box and distributor/supplier sidebar from the hub page.
2013-08-21 10:49:43 +10:00
Rohan Mitchell
1a328e9567
Simplify syntax
2013-08-20 16:26:46 +10:00
Rohan Mitchell
31a078a53c
Enterprise manager can access enterprise fees for enterprises they manage - fixes fees on order cycles interface
2013-08-20 16:26:46 +10:00
Rohan Mitchell
673c0dca36
Fix varying shipping amounts
2013-08-20 16:26:46 +10:00
Rohan Mitchell
fa459c0395
Summarise distribution charges: order confirm page and email
2013-08-20 16:26:46 +10:00
alexs
fdf80cac5e
Adjusted specs to accommodate for new (temporary) landing page.
2013-08-20 16:14:29 +10:00
alexs
dd9b6b344f
Changed links to point to the shopfront urls (that set the distributor).
2013-08-20 15:31:43 +10:00
alexs
7061d0c53e
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-08-20 11:06:06 +10:00
alexs
18d60a1643
Fixed specs broken by new temp landing page (take 1).
2013-08-20 11:05:06 +10:00
Rohan Mitchell
fb33b853dd
Revert payment method changes that broke the build: 5f7cbe3, 5a3ad8e, 3ffe732, 2d305b5, 08babee, 6f73f41, 77329b5, 4be2fe5
2013-08-20 10:47:56 +10:00
Rohan Mitchell
8dd602f9de
Remove pry from spec
2013-08-20 09:19:38 +10:00
Rohan Mitchell
7b5eca3a50
Fix error when generating checkout email when distributor_info is nil
2013-08-20 09:19:23 +10:00
alexs
8f67f385b7
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-08-19 17:37:49 +10:00
alexs
f160e051e5
Added new temporary landing page.
2013-08-19 17:37:22 +10:00
Rohan Mitchell
5f01bd6901
Generalise checkout email signoff message
2013-08-19 17:35:09 +10:00
Rohan Mitchell
64c9d4254a
Fix spec failures - enterprise fee calculator type change, distributor info rich text tests, summarised distribution fee at checkout
2013-08-19 17:28:00 +10:00
Rohan Mitchell
0458f7a6bb
Summarise distribution fees in checkout after cart page
2013-08-19 17:02:02 +10:00
Rohan Mitchell
693fa9f37b
Enable enterprises_distributor_info_rich_text by default
2013-08-19 16:47:17 +10:00
Rohan Mitchell
010c58fffd
Ignore libpeerconnection.log from phantomjs
2013-08-19 16:46:51 +10:00
David Cook
5f7cbe3882
Ensure distributor is set on payment method factories
2013-08-19 16:19:18 +10:00
David Cook
5a3ad8e68b
Remove test for payment method with no distributor
2013-08-19 16:19:18 +10:00
Rohan Mitchell
562365311e
Lock enterprise fee adjustments on creation to avoid them being recalculated against order by update hooks
2013-08-19 14:38:51 +10:00
Rohan Mitchell
a9b70e67df
Change to using flat rate per item calculators - per-order is confusing when used against line items
2013-08-19 14:38:51 +10:00
David Cook
3ffe732b30
Ensure valid payment method is selected
2013-08-19 13:57:40 +10:00
David Cook
2d305b59d9
Only show payment methods for the distributor of the order
2013-08-19 13:57:40 +10:00
David Cook
08babeed65
Payment Method must have one Distributor
2013-08-19 13:57:40 +10:00
David Cook
6f73f41700
Create Payment Methods for each Enterprise instead of generic Payment Method
2013-08-19 13:57:40 +10:00
David Cook
77329b5532
Allow user to delete their enterprises' own payment methods
2013-08-19 13:57:40 +10:00
David Cook
4be2fe5fe9
Only show payment methods that user has access to
2013-08-19 13:57:40 +10:00
Rohan Mitchell
c1f9d9789d
Extract table test to private method
2013-08-19 12:29:26 +10:00
Rohan Mitchell
ba4d3d5d7d
Removing a product from cart removes its fees
2013-08-19 12:19:03 +10:00
Rohan Mitchell
6c24c0ef68
Make specs more resilient and less context-sensitive
2013-08-19 11:10:00 +10:00
Rohan Mitchell
24cd5209d6
Do not error when attempting to mix product and order cycle distribution
2013-08-19 10:41:14 +10:00
Rohan Mitchell
80d6e3b87f
Do not charge for distributor fees for a distributor you're not checking out with
2013-08-19 10:41:14 +10:00
Rohan Mitchell
7a75898b2b
Find exchanges going to/from any number of enterprises
2013-08-19 10:41:14 +10:00
Rohan Mitchell
e15e9a1476
Charge order cycle fees
2013-08-19 10:41:14 +10:00
Rohan Mitchell
dfd1a89975
Test whether exchanges are incoming
2013-08-19 10:41:14 +10:00
Rohan Mitchell
9563aad9fa
Find exchanges with a particular variant
2013-08-19 10:41:14 +10:00
Rohan Mitchell
1d23446c40
ProductDistribution validates_presence_of enterprise fee, check no longer required
2013-08-19 10:41:14 +10:00
Rohan Mitchell
591f6a8a57
Move ProductDistribution#clear_all_enterprise_fee_adjustments_for to EnterpriseFee class
2013-08-19 10:41:14 +10:00
Rohan Mitchell
e318a1591d
Add FeatureToggleHelper for tests, enabling feature toggle changes for tests
2013-08-19 10:41:14 +10:00
Rohan Mitchell
5ffd56aad7
Re-write spec with new fee display at checkout
2013-08-19 10:41:14 +10:00
Andrew Spinks
38522e2b74
Fix order cycle permissions for enterprise user.
2013-08-18 19:41:04 +10:00
Andrew Spinks
a8d4efd067
Add new 'shop' route that switches to the selected distributor and empties the cart if it has any line_items for a different distributor.
2013-08-16 17:08:19 +10:00
alexs
8ee98e3d96
Added bugherd to admin and sree frontend and re-arranged the bugherd code.
2013-08-16 15:50:45 +10:00
alexs
d73dc1dc48
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-08-16 12:13:47 +10:00
alexs
ec9bfa3114
Added BugHerd script for new landing page (staging only).
2013-08-16 12:13:25 +10:00
Andrew Spinks
82726d032c
Add enterprise roles for order cycles.
2013-08-16 11:34:07 +10:00
Rohan Mitchell
19e7537b64
Style order cycle fees
2013-08-16 10:36:41 +10:00
Rohan Mitchell
290607b5bf
CrUD for order cycle exchange fees
2013-08-16 10:22:29 +10:00
Rohan Mitchell
552cecb2e0
Find incoming and outgoing exchanges
2013-08-16 10:22:29 +10:00
Rohan Mitchell
715ec9b21a
Send enterprise id along with exchange enterprise fees
2013-08-16 10:22:29 +10:00
Rohan Mitchell
4d04a24342
Translate exchange fees for processing by rails
2013-08-16 10:22:29 +10:00
Rohan Mitchell
7fc0787e36
OrderCycleFormApplicator sets exchange fees
2013-08-16 10:22:29 +10:00
Rohan Mitchell
20853501e1
Delete unneeded angular scripts
2013-08-16 10:22:29 +10:00
Rohan Mitchell
e6fdcf581a
OrderCycle can fetch the direction of an exchange (incoming/outgoing)
2013-08-16 10:22:29 +10:00
alexs
a3970dde8a
Forcing POST for the search form.
2013-08-16 10:18:46 +10:00
alexs
4e715f62a2
Moved limit into the model.
2013-08-16 09:53:40 +10:00
alexs
82df7cddeb
Added staging environment.
2013-08-15 17:43:21 +10:00
alexs
b8bc30d4ab
Fixed the test setup and added the text for the bug found in 'Enterprise.find_near'.
2013-08-15 17:34:51 +10:00
alexs
a7256611cf
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-08-15 16:54:47 +10:00
alexs
da68dae586
Added unicorn-rails gem for running unicorn in dev.
2013-08-15 16:34:21 +10:00
alexs
cfffced652
Fixed the bug in the enterprise geo search.
2013-08-15 16:33:41 +10:00
Andrew Spinks
fdaa5364a1
Add controller action for adding products to multi cart via javascript API.
2013-08-15 15:36:35 +10:00
Andrew Spinks
d160a3256a
Make adding to cart via spree front end kind of work again.
2013-08-15 15:36:35 +10:00
alexs
88484f2d8b
Added tests for suburbs JSON.
2013-08-15 11:40:09 +10:00
alexs
c72a4a961f
Added the mechanism to test JSON APIs (Rabl stuff etc.)
2013-08-15 11:38:52 +10:00
alexs
0705c7af36
Added vertical separators for search results.
2013-08-15 11:37:50 +10:00
alexs
0c8779041f
Slightly increase the top bar height.
2013-08-15 11:35:24 +10:00
alexs
d3842b2d8d
Further compressed the landing page image to make it really light.
2013-08-15 11:34:48 +10:00
alexs
bdc8387346
Added base for shop front (enterprise).
2013-08-14 17:31:25 +10:00
alexs
e1da63d18f
Added some more dev sample data.
2013-08-14 17:30:17 +10:00
alexs
42c912bb0d
Using webmock for test group only.
2013-08-14 17:26:42 +10:00
alexs
773c2b4217
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-08-14 11:31:25 +10:00
Rohan Mitchell
c39bd6b59d
Remove shipping methods with the now-absent itemwise calculator
2013-08-14 11:27:16 +10:00
Rohan Mitchell
eaf71e28bb
Raise an error when tests hit the network
2013-08-14 11:19:16 +10:00
alexs
a8a0c0513e
Fixed id duplication for login and sign up forms.
2013-08-14 11:12:36 +10:00
Andrew Spinks
9c6c4724be
Ensure line items only get created in correct orders when adding a product to a cart.
2013-08-14 10:49:55 +10:00
Andrew Spinks
0f1142fc30
Define class used in migration.
2013-08-14 10:49:55 +10:00
Andrew Spinks
d5791657f3
Support multiple orders when adding a product to a cart.
2013-08-14 10:49:55 +10:00
Andrew Spinks
dd3aaccf9f
When adding a variant to a cart, split into multiple orders depending on the distributors that it contains.
2013-08-14 10:49:55 +10:00
Andrew Spinks
20bb5c9de7
Make sure angular injections work after magnification.
2013-08-14 10:49:55 +10:00
Andrew Spinks
59fce8a964
Show line items for each order in multi-cart.
2013-08-14 10:49:55 +10:00
Andrew Spinks
0a39fb87a5
Fix multi-cart association and add some temporary multi-cart support into the current front end.
2013-08-14 10:49:54 +10:00
alexs
77d31b3004
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-08-14 10:48:47 +10:00
Rohan Mitchell
5fac29d2ed
Do not merge current and incomplete orders when logging in - fixes #20
2013-08-14 10:44:02 +10:00
alexs
48cb725da5
Upgraded fundation to fetch from the edge (until the next release when gmaps4rails integration is fixed).
2013-08-14 10:39:42 +10:00
alexs
9501d2c8a1
Core of sign up functionality.
2013-08-14 10:38:49 +10:00
alexs
6b760f3068
Added feedback info for search criteria.
2013-08-14 10:37:25 +10:00
alexs
51c898625e
Fixed link colors on map view.
2013-08-14 10:36:04 +10:00
Rohan Mitchell
8ff749d0eb
Find enterprises participating in an order cycle
2013-08-14 09:48:45 +10:00
Rohan Mitchell
0293942816
Add order cycle service method to add and remove exchange fees
2013-08-14 09:48:45 +10:00
Rohan Mitchell
13df3b098b
Make error messages more descriptive
2013-08-14 09:48:45 +10:00
Rohan Mitchell
47f6a5fbbf
Add controller methods to add and remove exchange fees
2013-08-14 09:48:45 +10:00
Rohan Mitchell
f67a6fa3fb
Extract coordinator fees to partial
2013-08-14 09:48:45 +10:00
Rohan Mitchell
4120bc3dca
Output exchange fees as JSON
2013-08-14 09:48:45 +10:00
David Cook
293661377e
Remove text to the left of TOTAL
2013-08-13 17:01:19 +10:00
David Cook
015dbc5c01
Only show active or complete order cycles, ordered by cycle close date
2013-08-13 16:47:23 +10:00
David Cook
6bad6e2675
Add order cycle selection to Order Cycles Report
2013-08-13 15:48:04 +10:00
alexs
0a5f8afcb6
Added modal placeholders for new distributors and farmers sections.
2013-08-13 15:20:21 +10:00
alexs
3cf58c8415
Re-enabled Foundation JavaScript.
2013-08-13 15:19:37 +10:00
alexs
e1a876a4b5
Added default minimum height for text areas.
2013-08-13 15:19:03 +10:00
alexs
1a3c09a846
Temporarily downgraded zurb foundation to make it work with gmaps4rails (will be fixed in future release of Foundation).
2013-08-13 15:18:31 +10:00
alexs
886ac4a892
Added an escape patch with a small logo.
2013-08-13 12:07:32 +10:00
alexs
7206bf6393
Re-adjusted vertical positioning of the landing page.
2013-08-13 11:49:04 +10:00
alexs
e90ccef337
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-08-13 11:40:54 +10:00
alexs
779befe3cf
Links to the enterpise pages.
2013-08-13 11:40:35 +10:00
alexs
6a17f80c93
Added logo to the landing page.
2013-08-13 11:40:14 +10:00
alexs
72a422f7e7
Added the link that navigates to the current enterprise shopfront (for now).
2013-08-13 11:38:19 +10:00
alexs
8b87c33c97
Added layout based wrapping for the main component (used in off canvas layout).
2013-08-13 11:37:36 +10:00
alexs
215d6030d7
Added link to 'About OFN' page (as well as the base for that page).
2013-08-13 11:36:24 +10:00
David Cook
6c4ace8d14
Ensure that all PaymentMethod-derived classes also allow distributor_id
2013-08-13 10:57:36 +10:00
David Cook
725766d82e
Feature tests for PaymentMethod in admin and checkout
2013-08-13 10:57:36 +10:00
David Cook
98d520f0e3
Filter PaymentMethods by distributor
2013-08-13 10:55:52 +10:00
David Cook
1621e4c4a4
Add distributor to PaymentMethod
2013-08-13 10:55:51 +10:00
Rohan Mitchell
f3447f2898
Remove shipping method field from product distributions
2013-08-13 10:14:51 +10:00
Rohan Mitchell
5f4313b588
Remove itemwise shipping calculator
2013-08-13 10:14:39 +10:00
Rohan Mitchell
b71f7eec3d
Fix spec for charges by adjustment not shipping method
2013-08-13 09:11:26 +10:00
Rohan Mitchell
43f482a803
Remove use of deprecated rspec syntax
2013-08-13 09:11:26 +10:00
Rohan Mitchell
7677f79f17
Remove the now-unused Product#shipping_method_for_distributor
2013-08-13 09:11:26 +10:00
Rohan Mitchell
94e49d4190
Remove line item specs for removed functionality
2013-08-13 09:11:26 +10:00
Rohan Mitchell
7e30b664f2
Add enterprise fees relation to enterprise
2013-08-13 09:11:26 +10:00
Rohan Mitchell
c011de539d
Update rake task for product distribution fees by enterprise fee
2013-08-13 09:11:25 +10:00
Rohan Mitchell
b5d324ec8c
Drop itemwise shipping method use in tests
2013-08-13 09:11:25 +10:00
Rohan Mitchell
9aad44f093
Strip shipping method mechanics out of LineItem and Order
2013-08-13 09:11:25 +10:00
Rohan Mitchell
60956e9789
Display sum of distribution fees at cart by adjustment, not shipping methods
2013-08-13 09:11:25 +10:00
Rohan Mitchell
b7ea03f7fc
Remove distributor fees table at checkout, pending design of new breakdown
2013-08-13 09:11:25 +10:00
Rohan Mitchell
2379cc0c3c
Do not display double error when using js
2013-08-13 09:11:25 +10:00
alexs
03b36bb14b
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-08-12 17:35:36 +10:00
alexs
f2f507c5c7
Suburb auto-complete functionality for the new landing page.
2013-08-12 17:34:56 +10:00
David Cook
c5f0848a56
More comments
2013-08-12 14:44:27 +10:00
David Cook
03b8b042ba
Deleted: libpeerconnection.log
2013-08-12 14:44:27 +10:00
David Cook
5baf9938e1
Ensure capture shortcut button shows for the correct payment
2013-08-12 14:44:26 +10:00
David Cook
c915bb91cf
More tests for distributor enterprise user roles
2013-08-12 14:44:26 +10:00
David Cook
2ae4efbeba
Add more order privileges for distributor enterprise users
2013-08-12 14:44:26 +10:00
David Cook
c645ad25a7
Add more order privileges for distributor enterprise users
2013-08-12 14:44:26 +10:00
Rohan Mitchell
d7cce918f5
Instead of protecting shipping methods from destruction when referenced by product distributions, protect enterprise fees
2013-08-12 14:22:11 +10:00
Rohan Mitchell
f1485bf9c5
Remove shipping method from product distribution in factory.
2013-08-12 14:21:39 +10:00
Rohan Mitchell
af6b16ecc4
Admin can assign enterprise fees to product distributions
2013-08-12 11:05:00 +10:00
Rohan Mitchell
7ea1122833
Make spec naming consistent
2013-08-12 10:13:31 +10:00
Rohan Mitchell
14268b7be0
Create adjustment metadata when creating adjustment
2013-08-12 10:00:35 +10:00
Rohan Mitchell
149d48ff5a
Add AdjustmentMetadata, for holding info about enterprise fee adjustments at time of creation
2013-08-12 10:00:35 +10:00
Rohan Mitchell
ba0b3bad85
Convert product distribution shipping methods to enterprise fees
2013-08-12 10:00:35 +10:00
alexs
94cab872a5
Temporarily removing ssl enforcing.
2013-08-11 17:53:53 +10:00
alexs
efc5943f57
Increase compression for landing page images.
2013-08-11 17:38:25 +10:00
alexs
653525e9b0
Updated the spec to reflect the field name change.
2013-08-11 17:19:17 +10:00
alexs
e9110ac752
Merge branch 'master' of github.com:eaterprises/openfoodweb
...
Conflicts:
Gemfile.lock
2013-08-11 16:59:02 +10:00
alexs
71262d3cb3
Base for enterprise search via suburb selector..
2013-08-11 16:57:00 +10:00
alexs
51a4795763
Added rack-ssl and spinjs.
2013-08-11 16:52:34 +10:00
Rohan Mitchell
b065d7db36
When updating product distribution charge, skip line items that don't have a product distribution
2013-08-09 15:30:35 +10:00
Rohan Mitchell
b84c476348
Upgrade Rails to 3.2.14, use forked spree with calculators that are compatible with LineItems
2013-08-09 15:30:35 +10:00
Rohan Mitchell
b4a7ccf1b4
Adjustments on LineItems don't modify the order total. Make adjustments on Order instead.
2013-08-09 15:28:48 +10:00
Rohan Mitchell
513993324d
Clean up old adjustments when changing distributor
2013-08-09 15:27:52 +10:00
Rohan Mitchell
fd989e3a77
Create adjustments so computation is performed against line item. Simplify specs now that weight calculator is compatible with line items.
2013-08-09 15:27:52 +10:00
Rohan Mitchell
239dd29511
Weight calculator will calculate against a single line item as well as an order
2013-08-09 15:27:52 +10:00
Rohan Mitchell
a338c974f8
Create line item adjustments for product distributions
2013-08-09 15:27:52 +10:00
Rohan Mitchell
8c9a3c8a91
Add Product#product_distribution_for
2013-08-09 15:26:57 +10:00
alexs
295d86affb
Removed the test that is believed to be incorrect and failing build.
2013-08-09 14:44:54 +10:00
alexs
834cec48bf
Forcing site-wide SSL for production and staging environments.
2013-08-09 13:28:58 +10:00
alexs
4ff8e825e9
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-08-09 13:21:24 +10:00
alexs
d3ab78e2c6
Assets for gmap4rails gem.
2013-08-09 13:20:49 +10:00
alexs
b5cc2ab4cf
Added postcode search that redirect to page with map view.
2013-08-09 13:20:22 +10:00
alexs
39623d45d6
Tests for building full addresses.
2013-08-09 13:19:07 +10:00
alexs
3b4c02865f
Tests for logging in from the new landing page.
2013-08-09 13:16:58 +10:00
alexs
7c96c17c88
Tests for geo search.
2013-08-09 13:15:36 +10:00
alexs
1ca306e09e
Added RSpec matchers to test delegations.
2013-08-09 13:14:49 +10:00
Andrew Spinks
bc57364c7e
Add simple angular cart to the main page.
2013-08-08 18:31:56 +10:00
Andrew Spinks
ac37dff946
Add controller for cart and beginnings of an API.
2013-08-08 18:31:56 +10:00
Andrew Spinks
7fe1aab903
Simplest version of a cart that supports multiple orders.
2013-08-08 18:31:56 +10:00
alexs
7d2e6c57bc
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-08-08 11:43:26 +10:00
alexs
f45ed42bdb
Skeleton for the search results.
2013-08-08 11:42:45 +10:00
Andrew Spinks
7bd0582b50
remove pry call
2013-08-08 10:48:05 +10:00
alexs
44e06fe7fc
Added search stuff to the least of assets to precompile.
2013-08-08 10:43:21 +10:00
alexs
7f74b85040
Markup tweak.
2013-08-07 19:26:21 +10:00
alexs
8efc95e095
Separated Foundation powered site from the Spree powered content (for now).
2013-08-07 19:25:48 +10:00
alexs
97ff668029
Fixed the finder ('all' finder was used in seed test instead of singular one).
2013-08-07 19:24:57 +10:00
alexs
28f94ae959
Stubbed out geolocation.
2013-08-07 18:03:41 +10:00
alexs
1992675794
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-08-07 14:09:30 +10:00
alexs
999ba2cf56
Added more real australian addresses to seed data as well some enterprises that use those addresses.
2013-08-07 14:07:55 +10:00
alexs
00743fada8
Added foundation gem to the right group.
2013-08-07 14:06:40 +10:00
alexs
ef39d0ce31
Geocoded Spree addresses
2013-08-07 14:01:27 +10:00
Andrew Spinks
7fbb5b13fb
Fix line item cache migration to work across orders in the staging servers.
2013-08-07 12:44:05 +10:00
David Cook
c247c2d3ea
WIP: Allow distributor enterprise user to access their orders
2013-08-07 09:19:28 +10:00
David Cook
577b114662
Add distributor and supplier users to load_sample_data task
2013-08-07 09:19:28 +10:00
alexs
3f82147024
Merge branch 'master' of github.com:eaterprises/openfoodweb
...
Conflicts:
db/schema.rb
2013-08-06 18:32:53 +10:00
alexs
82ea8adfe3
Added list of geocoded suburbs.
2013-08-06 18:31:08 +10:00
Rohan Mitchell
f1dbc03401
Use correct amount for order total in spec
2013-08-06 13:47:17 +10:00
Rohan Mitchell
8fdf0b6ff9
Fix payment not being captured due to being to small to cover order's distribution fee
2013-08-06 13:47:17 +10:00
Rohan Mitchell
cfb8c05cb5
Remove association that's already added by Spree's calculated_adjustments
2013-08-06 13:47:17 +10:00
Rohan Mitchell
d8b7a05441
Add EnterpriseFee to ProductDistributions
2013-08-06 13:47:17 +10:00
Rohan Mitchell
ec3e00c128
Refactor LineItem and clients for new fields
2013-08-06 13:47:17 +10:00
Rohan Mitchell
be1127b414
Migrate line item shipping_method cache to distribution_fee/shipping_method_name
2013-08-06 13:47:17 +10:00
alexs
57e185af78
Merge branch 'landing_page'
2013-08-06 12:35:06 +10:00
alexs
17f9a4645a
Added login to the landing page.
2013-08-06 12:34:22 +10:00
David Cook
27c17d6b07
Test that enterprise user can't access other enterprises' products
2013-08-06 11:22:44 +10:00
David Cook
0a7c5d4992
Add cancan ability tests on enterprise user roles
2013-08-06 11:12:37 +10:00
David Cook
7a92d99817
Remove unnecessary test on editing product (now tested under cancan abilities)
2013-08-06 11:12:06 +10:00
David Cook
fd8fc480dc
Always show supplier form for enterprise user again (list is now filtered according to enterprise_roles)
2013-08-06 10:56:31 +10:00
David Cook
2347acc2c1
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-08-06 09:23:30 +10:00
alexs
24d559cd3a
Merge branch 'master' into landing_page
...
Conflicts:
db/schema.rb
db/seeds.rb
2013-08-05 17:08:39 +10:00
alexs
38b0a581e0
New landing page - initial layout and functionality
2013-08-05 17:04:56 +10:00
David Cook
a2b612e723
Add clone and destroy product access for enterprise users
2013-08-05 15:21:20 +10:00
David Cook
c40d694a15
Output correct task name
2013-08-05 15:20:35 +10:00
Andrew Spinks
b0d9596489
Fix bug with available on translation - seemed to be getting overridden.
2013-08-05 10:00:47 +10:00
Andrew Spinks
e75021d7bd
Fix loading of products for an enterprise in the admin section. NOTE: this is a major hack - had to copy the current fetch data from the spree product_controller and modify it to get the roles to take affect. There must be a better way.
2013-08-02 18:13:42 +10:00
Andrew Spinks
9d32a5775a
Enterprise user admin: only allow suppliers and distributors that we manage to be selected when creating and editing products.
2013-08-02 16:08:10 +10:00
Andrew Spinks
269294612d
Add product tests for an enterprise user.
2013-08-02 14:01:45 +10:00
Andrew Spinks
0bb4f676e1
Add permissions to enterprise users so they can manage their own products.
2013-08-02 11:51:25 +10:00
Andrew Spinks
5bccd38b5e
Fix tests - don't have feature toggle overrides on when running tests!
2013-08-01 15:37:42 +10:00
Andrew Spinks
46474ea4cc
Prevent order cycle validations on orders when feature toggled off.
2013-08-01 15:01:47 +10:00
Andrew Spinks
287bd57a4e
Fix loading of initial data to ensure there is an itemwise shipping method.
2013-08-01 10:52:06 +10:00
Andrew Spinks
65617e0e77
Add enterprise roles for a user and wire up interface.
2013-08-01 10:32:50 +10:00
Andrew Spinks
4f5679aac3
Add EnterpriseRole model and link up to users and enterprises.
2013-08-01 10:32:49 +10:00
Andrew Spinks
5810503068
Move test data seeding into separate rake task. Add new role to seeds file.
2013-08-01 10:31:58 +10:00
Rohan Mitchell
c64944d11a
Fix test
2013-07-30 17:32:53 +10:00
Rohan Mitchell
4a893fd548
Style
2013-07-30 13:49:38 +10:00
Rohan Mitchell
4a0e35deef
Clear coordinator fees when coordinator changes
2013-07-30 13:46:30 +10:00
Rohan Mitchell
d64bcf0e94
Remove coordinator fees
2013-07-30 11:55:21 +10:00
Rohan Mitchell
24b957dc57
Process coordinator fees before submit to Rails to use _ids field. Add ng spec for OrderCycle.update. Add acceptance specs for create/edit/update coordinator fees.
2013-07-30 11:34:10 +10:00
Rohan Mitchell
dc7f8986a0
Click to add coordinator fee
2013-07-30 11:34:10 +10:00
Rohan Mitchell
ae0f82b479
Display only coordinator fees belonging to the selected coordinator
2013-07-30 11:34:10 +10:00
Rohan Mitchell
43474d6408
Display coordinator fees on admin edit order cycle
2013-07-30 11:34:10 +10:00
Rohan Mitchell
13a1809d6c
Load enterprise fees in controllers
2013-07-30 11:34:10 +10:00
Rohan Mitchell
93e7ac53ad
Add EnterpriseFee service for order cycles admin
2013-07-30 11:34:10 +10:00
Rohan Mitchell
f613da30d0
Output order cycle coordinator fees in JSON
2013-07-30 11:34:10 +10:00
Rohan Mitchell
a19a43da79
Add blank enterprise fees in js rather than in controller
2013-07-30 11:34:10 +10:00
Rohan Mitchell
122b9b5617
Make order cycle coordinator fees many-to-many
2013-07-30 11:34:10 +10:00
alexs
bb9368a1b2
Listed dependecy on PhantomJS.
2013-07-29 18:20:34 +10:00
Andrew Spinks
d107786614
Make sure the payment details are shown prominently in the checkout screen.
2013-07-29 16:29:27 +10:00
Rohan Mitchell
dcc23078ff
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-07-29 11:52:06 +10:00
Rohan Mitchell
36a124c10e
Fix merge issues: DCV name change and application controller var name issues.
2013-07-29 11:49:43 +10:00
alexs
285353fb9a
Updated copyright info.
2013-07-29 11:13:48 +10:00
Rohan Mitchell
7640eb497a
Merge branch 'supplied-active-products-on-hand'
...
Conflicts:
app/controllers/application_controller.rb
app/models/enterprise.rb
app/views/spree/products/_source_sidebar.html.haml
spec/features/consumer/distributors_spec.rb
spec/models/enterprises_spec.rb
2013-07-29 11:05:42 +10:00
Rohan Mitchell
863236b827
Remove speculative test
2013-07-29 09:47:28 +10:00
David Cook
6265dfc80d
remove block commented code
2013-07-29 09:29:23 +10:00
Andrew Spinks
5adab948c9
Re-instate old order checkout behaviour.
2013-07-26 14:30:54 +10:00
Andrew Spinks
1797933501
Remove xvfb from travis deploy. Should no longer be required.
2013-07-25 14:13:06 +10:00
Andrew Spinks
6c18c5c65f
Fix bulk product edit so that it works with products with a blank available_on field.
2013-07-25 13:51:37 +10:00
Andrew Spinks
39536b2a13
And another dependency getting lost.
2013-07-24 17:52:15 +10:00
Andrew Spinks
54a79bc6ab
Fix other dependency injection problems in bpe angular code after magnification.
2013-07-24 17:47:48 +10:00
Andrew Spinks
24414036b9
Attempt to fix bulk product angular dependency injection which breaks on minification.
2013-07-23 18:16:39 +10:00
alexs
fadb1e4710
Merge branch 'master' of github.com:eaterprises/openfoodweb
...
Conflicts:
Gemfile
2013-07-23 18:02:28 +10:00
alexs
37a88a1be6
Changed JavaScript driver from selenium to phantomjs.
2013-07-23 17:54:05 +10:00
Rohan Mitchell
1d5e970b47
Fix test regressions with multiple 'Save and Continue' buttons in checkout
2013-07-23 17:48:54 +10:00
Rohan Mitchell
dd97768947
Merge branch 'move-save-checkout-button'
...
Conflicts:
spec/features/consumer/checkout_spec.rb
2013-07-23 17:03:00 +10:00
Rohan Mitchell
638d7b1c33
Stylistic changes, extract commented code to private method
2013-07-23 17:02:06 +10:00
Rohan Mitchell
2f83cecc23
Merge branch 'add-capture-order-shortcut-deface'
...
Conflicts:
spec/support/request/authentication_workflow.rb
2013-07-23 16:55:33 +10:00
Rohan Mitchell
d83e8cb3ba
Remove commented out code, clean up comments and style
2013-07-23 16:51:22 +10:00
Rohan Mitchell
1dd92d0133
Move deface to a partial
2013-07-23 16:50:42 +10:00
Andrew Spinks
1add182757
Feature toggle order cycles.
2013-07-23 15:57:43 +10:00
Andrew Spinks
8e560a59c9
Fix selection of itemwise shipping method that broke after the spree upgrade.
2013-07-23 15:46:07 +10:00
Andrew Spinks
7cb054f430
Merge branch 'master' into order-cycle-selection
...
Conflicts:
Gemfile
Gemfile.lock
app/controllers/spree/orders_controller_decorator.rb
app/models/enterprise.rb
app/models/spree/order_decorator.rb
app/views/spree/checkout/_other_available_distributors.html.erb
app/views/spree/products/_add_to_cart.html.haml
lib/open_food_web/distributor_change_validator.rb
spec/spec_helper.rb
2013-07-23 14:42:57 +10:00
Rohan Mitchell
f580b43619
Merge remote-tracking branch 'origin/master'
2013-07-23 14:03:08 +10:00
Rohan Mitchell
b73c584c3b
Update order confirmation email in line with changes in spree
2013-07-23 14:00:29 +10:00
Rohan Mitchell
3315191b81
Fix intermittent admin-user-has-no-admin-role error in specs
2013-07-23 14:00:07 +10:00
Rohan Mitchell
7532ebee5a
Require feature toggle within engines needs require_relative
2013-07-23 13:59:39 +10:00
alexs
418393afbd
Updated requirements documentation.
2013-07-23 13:53:00 +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
Rohan Mitchell
86616c4a6c
Add sass gem explicitly
2013-07-23 10:47:35 +10:00
Rob H
de78d09790
New branch for spree_last_address to fix compatibility issue with spree_auth_devise 1.3
2013-07-23 10:43:08 +10:00
Rob H
0322f21e5c
Rearrange bpe action buttons
2013-07-23 10:43:08 +10:00
Rob H
275b64c7d3
Fix broken delete action for variants
2013-07-23 10:43:08 +10:00
Rob H
ba04d0ea74
Increase wait time for delete action in bpe specs
2013-07-23 10:43:08 +10:00
Rob H
4c435e118a
BPE action buttons in separate columns
2013-07-23 10:43:08 +10:00
Rob H
3c973178fd
WIP: remove unneeded representative-based data request infrastructure
2013-07-23 10:43:08 +10:00
Rob H
961d63ec4c
WIP: Fix references in js tests for bpe
2013-07-23 10:43:08 +10:00
Rob H
9863a84a27
WIP: transfer bulk product update data requests to API
2013-07-23 10:43:08 +10:00
Rob H
97c03b50cc
Create new api routes/views/controllers for bulk product edit
2013-07-23 10:43:08 +10:00
Rob H
8f6ec9bd9b
WIP (Spree Update): Fix frontend order payment summary
2013-07-23 10:43:08 +10:00
Rob H
45309d6a75
WIP (Spree Update): Remove unrequired reference to AnalyticsHelper
2013-07-23 10:43:08 +10:00
Rob H
703f51ac1b
WIP (Spree Update): Update reference to current_user -> spree_current_user
2013-07-23 10:43:08 +10:00
Rob H
1f152d8121
WIP (Spree Update): Update authentication workflow input names
2013-07-23 10:43:08 +10:00
Rob H
78263f6835
WIP (Spree Update): change formats of tab overrides
2013-07-23 10:43:08 +10:00
Rob H
56f507dc03
WIP (Spree Update): Bump spree_auth_devise to resolve issue with admin 'Configuration' tab
2013-07-23 10:43:08 +10:00
Rob H
f055ece503
WIP (Spree Update): update variables.css.scss
2013-07-23 10:43:08 +10:00
Rob H
7941a61879
WIP (Spree Update): Update Spree 1.3.3, install and run migrations
2013-07-23 10:43:08 +10:00
Rob H
108dd6e619
Update Rails to 3.2.13 from 3.2.11
2013-07-23 10:42:07 +10:00
Rob H
19fbbb8374
BPUR: match product supplier on clone
2013-07-23 10:40:42 +10:00
Rob H
c826b18584
Wait for variants and products to be deleted
2013-07-23 10:40:42 +10:00
Rob H
f169dcda88
BPUR: Fix final unstable tests, js concurrency etc.
2013-07-23 10:40:42 +10:00
Rob H
ba840124d2
Install rabl and oj
2013-07-23 10:40:42 +10:00
Rob H
2384c4a43e
Remove naughty pry
2013-07-23 10:37:51 +10:00
Rob H
126f11683d
BPUR: Add datetimepicker to Available On
2013-07-23 10:37:51 +10:00
Rob H
23a56ff4f1
BPUR: toggle visbility of columns
2013-07-23 10:37:51 +10:00
Rob H
f750251cb8
BPUR: Visually differentiate products and variants in table
2013-07-23 10:37:51 +10:00
Rob H
5d30df5717
BPUR: add supplier name to product model to allow searching
2013-07-23 10:37:50 +10:00
Rob H
f9832d1375
BPUR: Remove unnecessary setValidity method in ngDecimal
2013-07-23 10:37:50 +10:00
Rob H
4ae5085192
BPUR: Remove unnecessary collections of products on bulk edit page
2013-07-23 10:37:50 +10:00
Rob H
0ddd9cc6d0
BPUR: use where rather than select for product collection
2013-07-23 10:37:50 +10:00
Rob H
9beb560b72
BPUR: cancel any pre-existing timeouts on message models when new message set
2013-07-23 10:37:50 +10:00
Rob H
b775145b16
BPUR: Add ability to filter by search and toggle variants
2013-07-23 10:37:50 +10:00
Rob H
57f2eff1b0
BPUR: Add warnings before deleting products/variants or directing to edit page
2013-07-23 10:37:50 +10:00
Rob H
ef435dc6da
Typo
2013-07-23 10:37:50 +10:00
Rob H
8453b43c25
BPUR: Allow updating of delegated variant properties
2013-07-23 10:37:50 +10:00
Rob H
1bd4875a6f
BPUR: Can clone products
2013-07-23 10:37:50 +10:00
Rob H
89e684a328
BPUR: add js tests for deleting products and variants
2013-07-23 10:37:50 +10:00
Rob H
e8f24dc2dd
BPUR: Add edit link for products and variants
2013-07-23 10:37:50 +10:00
Rob H
febb9a44a2
Remove commented (unrequired) lines on code
2013-07-23 10:37:50 +10:00
Rob H
c503c1b10c
BPUR: refactor of filterSubmitProducts
2013-07-23 10:37:50 +10:00
Rob H
dcf6446450
BPUR: can delete variants
2013-07-23 10:37:50 +10:00
Rob H
5db0d839fa
BPUR: can delete products
2013-07-23 10:37:50 +10:00
Rob H
8179f45272
BPUR: remove unused product update js and tests
2013-07-23 10:37:50 +10:00
Rob H
5258cba2a2
BPUR: change to live tracking of dirty properties (variant price update still failing)
2013-07-23 10:37:50 +10:00
Rob H
c80cba7fa5
BPUR: Don't use master variant to update attributes. Changes to product filtering.
2013-07-23 10:37:50 +10:00
Rob H
0ca0abd0b2
Can alter on_hand and price of individual variants
2013-07-23 10:37:50 +10:00
Rob H
f3d778af1a
BPUR: can update master on_hand
2013-07-23 10:37:50 +10:00
Rob H
fbb3657bdc
BPUR: can update master price. Test refactor and added angular ng-decimal directive
2013-07-23 10:37:50 +10:00
Rob H
44ad7584f0
BPUR: can update available_on
2013-07-23 10:37:50 +10:00
Rob H
f12c1c00d0
BPUR: rearrange acceptance tests
2013-07-23 10:37:50 +10:00
Rob H
344a084494
BPUR: can update supplier
2013-07-23 10:37:50 +10:00
Rob H
1e64dab9f7
Bulk product update rewrite: basic integration test passing
2013-07-23 10:37:50 +10:00
Rob H
246c6de495
WIP: remove reference to pry
2013-07-23 10:37:50 +10:00
Rob H
6b097eb9f8
WIP: minor fixes to bulk product update js
2013-07-23 10:37:50 +10:00
Rob H
3c57680303
WIP: bulk product update: basic integration test failing because rails infrastructure does not exist yet
2013-07-23 10:37:50 +10:00
Rob H
74291ab1f7
remove leftover debugger; call in code
2013-07-23 10:37:50 +10:00
Rob H
554c67f1a3
WIP: specs and basic js infrastructure for bulk product update
2013-07-23 10:37:50 +10:00
Rob H
731127d55c
WIP: Bulk Product Update Rewrite: initial acceptance testing
2013-07-23 10:37:50 +10:00
alexs
bcac56df0e
Upgraded pry-debugger.
2013-07-23 10:16:48 +10:00
David Cook
2e2dc216fa
WIP: writing order scope test
2013-07-22 17:33:50 +10:00
alexs
15f212713b
Updated rvmrc with rvm auto generated scripts.
2013-07-22 17:33:34 +10:00
David Cook
9f1a7746a4
WIP: start writing order scope test
2013-07-22 17:30:01 +10:00
David Cook
8017d79de4
remove report tests (will test scope not_state instead)
2013-07-22 17:17:18 +10:00
Andrew Spinks
4cdd858f48
Disable order cycles in the front end by default.
2013-07-22 17:16:55 +10:00
Rohan Mitchell
bc913fd355
Reset ActionMailer::Base.deliveries at start of test - http://stackoverflow.com/questions/5843284/clearing-out-activemailerbase-deliveries-after-rspec-test
2013-07-22 16:58:53 +10:00
Rohan Mitchell
f5f5433738
Require pry in test env outside of Travis
2013-07-22 16:56:00 +10:00
Rohan Mitchell
452ccfdb68
Remove debug statement
2013-07-22 16:55:44 +10:00
Rohan Mitchell
2ddc5b4e4a
Move strip_html to main app, fixes context-sensitive chili feature spec fail
2013-07-22 16:21:32 +10:00
Rohan Mitchell
d9988dac09
Remove unneeded feature application controllers and rake task files
2013-07-22 16:15:35 +10:00
David Cook
55277e2f0a
test for inactive enterprises being counted in 'x more' on sidebar, disable limit test
2013-07-22 14:55:46 +10:00
David Cook
66d345d360
fix 'x more' count, disable sidebar limit (config for this to be implemented later)
2013-07-22 14:53:08 +10:00
Rohan Mitchell
d0421cbc4d
Define feature toggles in FeatureToggle class rather than ENV['OFW_DEPLOYMENT']
2013-07-22 14:34:29 +10:00
Rohan Mitchell
7b1d1f1d42
Add FeatureToggle config to replace ENV['OFW_DEPLOYMENT']
2013-07-22 12:11:52 +10:00
alexs
1ea48af98b
Updated contributors list.
2013-07-22 11:56:33 +10:00
alexs
5e4cabc967
Merge branch 'master' of github.com:eaterprises/openfoodweb
2013-07-22 11:49:09 +10:00
alexs
40bd0e9c58
Fixed product seed.
2013-07-22 11:48:59 +10:00
alexs
3b4ad6558c
Added .rvmrc.
2013-07-22 11:48:39 +10:00
alexs
6f57c2a01a
Bumped up debugger-ruby_core_source version to address bundle installation issues.
2013-07-22 11:48:12 +10:00
Rohan Mitchell
6ceb8e9ee7
Restore change: render checkout distributor details from partial
2013-07-22 11:23:48 +10:00
Rohan Mitchell
568837aa53
Revert "On order confirmation page and email, display distributor details instead of misc fields. HACK - this should be in the engine, not in the main app. FIXME"
...
This reverts commit b7f7766893 .
2013-07-22 11:22:20 +10:00
Rohan Mitchell
efec0b07d6
Merge branch 'amazon-ec2'
...
Conflicts:
Gemfile
Gemfile.lock
2013-07-22 10:29:11 +10:00
David Cook
f0755f34aa
tidy up javascript, remove unnecessary disableSaveOnClick
2013-07-19 17:05:09 +10:00
David Cook
15c454a0f1
move style to stylesheet
2013-07-19 17:04:04 +10:00
David Cook
46043f2237
click new 'Save and Continue' button
2013-07-16 17:02:06 +10:00
David Cook
0a25dfc679
remove disabled flag
2013-07-16 17:01:12 +10:00
David Cook
050b884076
remove old-style deface file in favour of new .deface format
2013-07-16 17:00:04 +10:00
David Cook
1d2704ab4c
Clean up comments
2013-07-16 15:55:28 +10:00
David Cook
c9432288c5
Clean up comments and use admin_orders_path for checking current page
2013-07-16 15:36:14 +10:00
David Cook
0ad7cde198
Add factory for an order with items and valid distributor
2013-07-12 16:42:33 +10:00
David Cook
4fc0608a44
Finish capture order test
2013-07-12 16:41:20 +10:00
David Cook
a76232bb7e
Make sure admin_user has admin privilege for new version of Spree
2013-07-12 14:02:37 +10:00
Rohan Mitchell
5683656605
Merge branch 'invalid-login-message'
2013-07-12 13:07:30 +10:00
David Cook
7341d5e11a
ignore Sublime project files
2013-07-05 16:24:37 +10:00
David Cook
8df0f30b4f
Move override into .deface format, and removed unecessary bits
2013-07-05 16:08:26 +10:00
David Cook
50b5d13e1f
Add javascript to hide new save button if not supported (not yet tested on old browsers)
2013-06-28 17:53:39 +10:00
David Cook
5b58351b73
minor changes
2013-06-28 17:04:58 +10:00
David Cook
3007549aa5
use .length instead of .count which produced unexpected results
2013-06-28 17:02:26 +10:00
Rohan Mitchell
3de52b10b2
Fix JS error: Unknown provider: a from order_cycle
2013-06-25 12:31:28 +10:00
Rohan Mitchell
ce2c6c5661
Fix uninjected directive for enterprise fees
2013-06-25 12:17:15 +10:00
Rohan Mitchell
b7a778b0de
Define order cycles JS methods in a minification-friendly manner
2013-06-25 10:58:12 +10:00
Rohan Mitchell
f78db2493f
Define enterprise fees controller in a minification-safe manner
2013-06-25 10:35:45 +10:00
Rohan Mitchell
2373601e9d
Switch to Karma for angluar testing
2013-06-25 10:35:17 +10:00
Rohan Mitchell
37a4ad3372
Don't 500 when setting cart order cycle to nil
2013-06-21 17:04:47 +10:00
David Cook
a63b8908bb
Moved inline style to stylesheet
2013-06-21 16:12:56 +10:00
David Cook
0525abb084
Test that scopes don't return deleted products
2013-06-21 15:53:12 +10:00
David Cook
250e76c281
Fix incorrect count of enterprises (due to bug in rails issue #5554 )
2013-06-21 15:10:21 +10:00
Rohan Mitchell
ae43fd1333
Set distributor and order cycle in one step, avoiding validation errors. Update spec with new error messages.
2013-06-21 11:36:24 +10:00
Rohan Mitchell
72f1c52b3e
Update Order model distribution validation - make fully inclusive of order cycles
2013-06-21 11:35:42 +10:00
Rohan Mitchell
bc40b2c856
Test each distinct distributor/order cycle invalid combination case
2013-06-21 11:06:21 +10:00
David Cook
7121860416
new view to display all distributors
2013-06-21 10:53:24 +10:00
David Cook
2e6387ac60
test available_on for distributors
2013-06-21 10:52:15 +10:00
David Cook
38c0552362
test 'more' count
2013-06-21 10:47:04 +10:00
David Cook
2d64e257ff
break long lines into two; no functional change
2013-06-21 10:45:11 +10:00
David Cook
d95903a82d
add html output format for all distributors
2013-06-21 10:44:16 +10:00
David Cook
b0e4bef75e
rename sidebar collection variables to avoid clash, fix count to be distinct
2013-06-21 10:42:42 +10:00
Rohan Mitchell
3386da4b4c
Validate distribution combination for new products added to cart
2013-06-21 10:39:08 +10:00
Rohan Mitchell
cfcc8c3fb2
Fix DistributionChangeValidator#variants_available_for_distribution: Do not show products distributed through a different order cycle
2013-06-21 10:34:39 +10:00
Rohan Mitchell
69019859da
Refactor views
2013-06-20 15:14:23 +10:00
Rohan Mitchell
b8d0e3f49a
OrderPopulator decorator checks cart contents against order cycle as well as distributor
2013-06-20 15:13:59 +10:00
David Cook
98be44b301
Disable asset debug logging
2013-06-20 11:50:34 +10:00
David Cook
4e2549d347
Add host setting, required for authenticating local DBs
2013-06-20 11:49:36 +10:00
David Cook
65af89c962
ignore new rvm files
2013-06-20 11:48:22 +10:00
Rohan Mitchell
12fb43e268
DistributionChangeValidator returns an empty array when distributor and order cycle are both nil
2013-06-17 16:01:10 +10:00
Rohan Mitchell
1d977de328
Order validation performed over both product distribution and order cycle distribution
2013-06-17 15:06:41 +10:00
Rohan Mitchell
705af41684
DistributionChangeValidator finds variants distributed by product distribution when order cycle is nil
2013-06-17 15:06:20 +10:00
Rohan Mitchell
be29974dd8
DistributionChangeValidator checks if an order can change to a specified new distributION
2013-06-17 15:00:19 +10:00
Rohan Mitchell
27b5dc071a
Order cycle reports on the variants distributed by a particular distributor
2013-06-17 14:58:13 +10:00
Rohan Mitchell
17103a8b0c
Remove DistributionChangeValidator#can_change_distributor? method
2013-06-17 14:00:39 +10:00
Rohan Mitchell
da02cb5a93
Reorder specs
2013-06-17 12:05:46 +10:00
Rohan Mitchell
a355a09a7c
Disable distributor change in checkout until it takes order cycles into account
2013-06-17 11:45:23 +10:00
Rohan Mitchell
b5479380b6
Refactor alternative distributors at checkout form, fixing indentation and removed double negatives
2013-06-17 11:41:35 +10:00
Rohan Mitchell
6d22f56c86
Distribution selection form is not shown when there are products in the cart.
...
This form doesn't filter options based on which can supply the products in the cart,
so don't show it in those circumstances.
2013-06-17 11:29:36 +10:00
Rohan Mitchell
95de78f24e
Tidy-ups
2013-06-17 10:03:00 +10:00
Rohan Mitchell
bfe8184b6a
Reload order before setting variant attributes, fixes group buy
2013-06-17 10:02:49 +10:00
David Cook
1a9fd4a9a8
Merge branch 'supplied-active-products-on-hand' of github.com:eaterprises/openfoodweb into supplied-active-products-on-hand
2013-06-14 17:40:12 +10:00
David Cook
7933dea611
WIP: add more tests
2013-06-14 17:38:51 +10:00
David Cook
7ce7107c6c
Add meaningfull ids and classnames
2013-06-14 17:37:44 +10:00
David Cook
1abc0dac68
rename vars again
2013-06-14 17:36:38 +10:00
Rohan Mitchell
065ea6a1a1
Remove controller specs that are now covered by OrderPopulator
2013-06-14 14:57:31 +10:00
Rohan Mitchell
4e5f0b9963
Set potential distributor and order cycle before attempting add to cart, revert on failure
2013-06-14 14:57:08 +10:00
Rohan Mitchell
772d01abf7
Merge branch 'favicon'
2013-06-14 12:22:51 +10:00
Rohan Mitchell
063d760047
Merge branch 'master' into supplied-active-products-on-hand
2013-06-14 11:07:24 +10:00
Rohan Mitchell
26c3b80e87
Reverse unintentional changes to database.yml and db/schema.rb
2013-06-14 11:05:56 +10:00
David Cook
1a06b53b21
More verbose sign in error message
2013-06-13 16:29:45 +10:00
David Cook
203232de27
Disable as this has now been incorporated into move_save_checkout_button
2013-06-13 12:30:35 +10:00
David Cook
aa468140ac
Move save/process button to side on checkout pages
2013-06-13 12:29:34 +10:00
Rohan Mitchell
5e120b35aa
Ensure orders controller decorator is loaded, fixes home controller test failures
2013-06-13 07:57:03 +10:00
David Cook
30253ffd07
align actions column left for better usability
2013-06-12 15:51:07 +10:00
David Cook
017275f40e
fix error when order has no payments (ie not yet complete)
2013-06-12 15:40:36 +10:00
David Cook
7381163023
test for cancelled orders in order and distributor report
2013-06-12 15:19:45 +10:00
David Cook
ea3922a023
filter out cancelled orders from the reports
2013-06-12 15:19:14 +10:00
David Cook
415de37a6a
WIP for order spec
2013-06-12 13:33:15 +10:00
David Cook
cf4582c08e
Create respond_override to return user back to the referring page. (But it breaks payments#create respond_with..)
2013-06-12 11:24:49 +10:00
David Cook
2b15f92ab8
fix capture button to link to latest payment
2013-06-12 09:58:44 +10:00
David Cook
269c6ac14f
Use CSS substring selector for selecting Capture link by order number
2013-06-11 17:16:37 +10:00
David Cook
ada95183a2
Start respond_override
2013-06-11 17:09:41 +10:00
David Cook
fb25946acd
Start to write a test spec.. (not complete)
2013-06-11 17:00:07 +10:00
David Cook
df769a2f4c
ensure latest 'payment' object is used for the capture button
2013-06-11 16:57:14 +10:00
David Cook
4967093b72
Add capture button and resize columns
2013-06-11 15:07:41 +10:00
Rohan Mitchell
71ee764d65
Fix travis fails - set deployment before requiring gems, race condition in distributor info spec
2013-06-07 17:08:55 +10:00
Rohan Mitchell
cbeffaced1
Configure Travis, remove spork, add simplecov, add turbo sprokets.
...
Add travis config
(cherry picked from commit e3fdb12289 )
Only build on Ruby 1.9.3
(cherry picked from commit 719ef386bf )
Exclude pry from CI build
(cherry picked from commit d60935c800 )
Conflicts:
Gemfile
Attempt 2
(cherry picked from commit 2b19253895 )
Conflicts:
Gemfile.lock
Configure travis for postgres
(cherry picked from commit 3a441cd7d9 )
Fix migrations that fail because of coupling to changed/removed models
(cherry picked from commit b030793f15 )
Set up xvfb for Travis
(cherry picked from commit cdc3ab09a1 )
Add a failing test to test travis
(cherry picked from commit 72aa8fe5e5 )
Revert "Add a failing test to test travis"
This reverts commit 72aa8fe5e5 .
(cherry picked from commit bd5533e2b1 )
Add simplecov
(cherry picked from commit 5089d3bb22 )
Conflicts:
Gemfile.lock
Add turbo sprockets for faster asset precompile
(cherry picked from commit 3e6c56a638 )
Remove spork
(cherry picked from commit ed7bded642 )
Conflicts:
spec/spec_helper.rb
Remove more spork-specific things, remove unused cuc config from zeus
(cherry picked from commit fa11ff8982 )
Ensure order decorator is required, fix test fragility
(cherry picked from commit 1e94f88c5e )
2013-06-07 16:23:24 +10:00
Rohan Mitchell
1e94f88c5e
Ensure order decorator is required, fix test fragility
2013-06-07 15:40:03 +10:00
Rohan Mitchell
1e0491e90f
Add spec for OrderPopulator#check_variant_available_under_distributor
2013-06-05 16:00:17 +10:00
Rohan Mitchell
e90077bb09
Add spec for OrderPopulator#order_cycle_required_for
2013-06-05 15:54:45 +10:00
Rohan Mitchell
4bcae29553
Add specs for OrderPopulator#check_distribution_provided_for and distribution_provided_for
2013-06-05 15:50:20 +10:00
Rohan Mitchell
f4df69765d
Add spec for OrderPopulator#distributor_can_supply_products_in_cart
2013-06-05 15:09:11 +10:00
Rohan Mitchell
3724a67d16
Add spec for OrderPopulator#set_cart_distributor_and_order_cycle
2013-06-05 15:04:42 +10:00
Rohan Mitchell
bfc300a3c2
Add spec for OrderPopulator#load_distributor_and_order_cycle
2013-06-05 15:01:52 +10:00
Rohan Mitchell
437da7425c
Add spec for OrderPopulator#attempt_cart_add
2013-06-05 14:55:56 +10:00
Rohan Mitchell
fb4f533976
Refactor OrderPopulator, add outside level spec
2013-06-05 14:44:57 +10:00
Rohan Mitchell
98f3197c08
WIP Move orders#populate logic to OrderPopulator class
2013-06-05 11:47:47 +10:00
Rohan Mitchell
6670c9543b
Remove spork
...
Conflicts:
Gemfile
Gemfile.lock
2013-06-04 14:04:26 +10:00
Rohan Mitchell
f91e1144e0
Name blank order cycle option
2013-06-04 11:11:13 +10:00
Rohan Mitchell
661ce4e597
Add to cart page does not allow the user to add a product from an order cycle that cannot supply the cart's products
2013-06-04 10:26:13 +10:00
Rohan Mitchell
249e1e013f
Slight wording change to confirmation email
2013-06-04 09:11:49 +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
Rohan Mitchell
cb703c2a66
Do not give order cycle choice when there is only one option
2013-05-28 16:35:39 +10:00
Rohan Mitchell
54fe63e7f3
User can add subsequent order cycles product to cart, show order cycle selection in page header along with distributor
2013-05-28 16:20:58 +10:00
Rohan Mitchell
1f9f5efb79
Add first product to cart with order cycle choice
2013-05-28 14:06:52 +10:00
Rohan Mitchell
9ef7da1339
Add OrderCycle#distributed_variants
2013-05-28 14:01:04 +10:00
Rohan Mitchell
fbac41b060
Add DistributionChangeValidator#available_order_cycles, analagous to available_distributors
2013-05-28 13:51:52 +10:00
Rohan Mitchell
fb5c050b48
Refactor DistributionChangeValidator#available_distributors specs
2013-05-28 13:44:17 +10:00
Rohan Mitchell
11755346ce
DistributionChangeValidator finds available order cycles for a product
2013-05-28 13:40:13 +10:00
Rohan Mitchell
3bedfc3d1d
Add OrderCycle distributing_product scope
2013-05-28 13:27:52 +10:00
Rohan Mitchell
46fd94eded
Fix minor test fail
2013-05-28 13:01:48 +10:00
Rohan Mitchell
1b25364160
Cherry-pick c3b2f52: Cache DistributorChangeValidator#all_available_distributors, move Enterprise#available_variants into SQLland - massive render speed improvement
...
Conflicts:
app/models/enterprise.rb
lib/open_food_web/distribution_change_validator.rb
2013-05-28 13:01:07 +10:00
Rohan Mitchell
0e08829a29
Rename DistributorChangeValidator to DistributionChangeValidator in preparation for expansion to include order cycles
2013-05-28 12:32:52 +10:00
Rohan Mitchell
02561ee252
With order cycle distribution, show error message when adding a product to cart with no distribution chosen
2013-05-28 11:54:46 +10:00
Rohan Mitchell
881bceb4d1
Fill in some missing / incorrect test cases for add to cart
2013-05-27 18:40:06 +10:00
Rohan Mitchell
7b332d0f53
Re-group add to cart specs
2013-05-27 18:12:59 +10:00
Rohan Mitchell
a2abcaf7bd
Push product_compatible_with_current_order and available_distributors_for down to DistributorChangeValidator, add tests
2013-05-27 13:50:33 +10:00
Rohan Mitchell
612e6aed2c
Include order cycle distributions in distributor choice when adding product to cart
2013-05-27 13:12:29 +10:00
Rohan Mitchell
a21783c814
Allow changing distributor when there are alternate distributors available that can service the cart's order
2013-05-27 13:11:30 +10:00
Rohan Mitchell
e3a419993c
Work around order cycles not having fees / shipping methods yet - notify bugsnag and provide an undefined shipping method
2013-05-27 13:00:12 +10:00
Rohan Mitchell
796be2ee6d
Refactor add to cart form into partials and helpers
2013-05-27 11:25:09 +10:00
David Cook
0f8cd4705a
Regenerate favicon.ico from higher quality image
2013-05-24 10:14:40 +10:00
David Cook
731cf33f86
Add new favicon.ico file with size 16, 32 and 64
2013-05-22 16:21:13 +10:00
David Cook
423bd52fd6
rename _count vars to _total
2013-05-22 14:03:51 +10:00
vagrant
4e7f966429
add suppliers scope, limit by 5, test
2013-05-22 13:07:30 +10:00
vagrant
aa85d20173
add suppliers scope, limit by 5, test
2013-05-22 13:06:24 +10:00
Rohan Mitchell
6fd13212f5
Remove HTML entities from order confirmation email
2013-05-21 17:44:34 +10:00
Rohan Mitchell
c3b2f52b7a
Cache DistributorChangeValidator#all_available_distributors, move Enterprise#available_variants into SQLland - massive render speed improvement
2013-05-20 21:16:43 +10:00
Rohan Mitchell
f19ef4ed07
Move save button back within form, fix failing test
2013-05-20 16:05:25 +10:00
Rohan Mitchell
3b2508dad3
On local organics checkout, remove distributor change, move save button to top right
2013-05-20 15:29:13 +10:00
Rohan Mitchell
cc2e8694f0
Move LineItem update to source of change (order update). On empty cart, re-instanciate shipping method adjustment, fixing no shipping fees after empty cart bug.
2013-05-20 15:01:04 +10:00
Rohan Mitchell
571dfd9e9f
Regroup OrderController methods - actions / callbacks / utils
2013-05-20 14:56:39 +10:00
Rohan Mitchell
b7f7766893
On order confirmation page and email, display distributor details instead of misc fields. HACK - this should be in the engine, not in the main app. FIXME
2013-05-18 19:54:27 +10:00
Rohan Mitchell
d65dda4dc5
When order distributor changes, update line item shipping method
2013-05-18 19:21:01 +10:00
Andrew Spinks
174d7fac6f
Increase unicorn timeout so that reports can run over long date range.
2013-05-05 18:42:42 +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
a1f189627b
Only show UserVoice feedback button on Eaterprises deployment
2013-04-29 16:34:19 +10:00
Rohan Mitchell
da3267a302
Add OpenFoodWeb logo to footer
2013-04-29 16:20:26 +10:00
Rohan Mitchell
234b2d26e9
Add MiGS payment gateway
2013-04-29 15:37:48 +10:00
Rohan Mitchell
e20e4950bb
Install db2fog for S3 database backups
2013-04-29 11:31:01 +10:00
Rohan Mitchell
06c285689e
Order confirmation email contains distributor info
2013-04-29 11:14:00 +10:00
Rohan Mitchell
50f3455523
Fix gemspec
2013-04-26 16:55:30 +10:00
Rohan Mitchell
89b749fe95
Add terms and conditions to footer
2013-04-26 16:31:33 +10:00
Rohan Mitchell
92a7f19ff1
Add specs for enterprises distributor info as rich text feature
2013-04-26 15:43:13 +10:00
Rohan Mitchell
63768df3d7
Replace distributor info box on product details and checkout pages with rich text field
2013-04-26 13:30:21 +10:00
Rohan Mitchell
fb999732ee
Rename enterprises admin extended description to profile info, add distributor info field
2013-04-26 13:10:32 +10:00
Rohan Mitchell
08161ece61
Remove sample defaces
2013-04-26 13:09:32 +10:00
Rohan Mitchell
1b6bf6ca2b
Add distributor info field to enterprises
2013-04-26 12:31:19 +10:00
Rohan Mitchell
4900129511
Enable feature for local organics only
2013-04-26 12:31:11 +10:00
Rohan Mitchell
953fe22d4c
Add new feature for rich text distributor info for enterprises
2013-04-26 12:27:15 +10:00
Rohan Mitchell
2379861c92
Shrink local organics local/remote product heading
2013-04-26 10:16:51 +10:00
Rohan Mitchell
f17907e06f
Style local organics product details distributor heading
2013-04-26 09:56:16 +10:00
Rohan Mitchell
7911adab6a
Update local organics product listing style
2013-04-26 09:47:20 +10:00
Rohan Mitchell
06364ec759
Increase local organics font size, change local products background colour
2013-04-26 09:42:50 +10:00
Rohan Mitchell
ea0df511cc
Enlarge local organics sidebar font
2013-04-26 09:23:42 +10:00
Rohan Mitchell
9909261c8c
Update local organics logo
2013-04-26 09:18:47 +10:00
Rohan Mitchell
4730ba0734
Restore display of admin top-right menu
2013-04-25 21:52:10 +10:00
Rohan Mitchell
9f6d1a2f18
Order cycle reports are precise to time of day, not just date
2013-04-25 21:22:26 +10:00
Rohan Mitchell
cea2089768
Add empty admin.js, fixes asset not precompiled error
2013-04-25 15:50:41 +10:00
Rohan Mitchell
bea247e64d
Only configure sass load paths if sass defined. Fixes production init.
2013-04-25 15:31:32 +10:00
Rohan Mitchell
0da57f1d6c
Remove spree_heroku - S3 support is now built into Spree
2013-04-23 07:32:23 +10:00
Rohan Mitchell
8f6cc361cc
Precompile all engine-specific assets
2013-04-22 18:34:11 +10:00
Rohan Mitchell
9e60e6269e
Remove unneeded variables override file
2013-04-22 18:33:53 +10:00
Rohan Mitchell
139188e021
Turn on asset init on precompile - now precompile can find assets stored in engines (lib/chili/...), but this breaks Heroku deployment
2013-04-22 17:37:02 +10:00
Rohan Mitchell
3df2207664
Remove non-present files from gemspecs
2013-04-22 17:36:18 +10:00
Rohan Mitchell
7bee04e5f6
Update selenium-webdriver, test with eaterprises deployment settings by default
2013-04-22 16:48:49 +10:00
Rohan Mitchell
3db23393d2
Scope admin css to admin section, add simple styling for front-end
2013-04-22 16:23:30 +10:00
Rohan Mitchell
27d7a2c6c2
Remove example deface, update README with licence
2013-04-22 16:14:52 +10:00
Rohan Mitchell
3dd4e074fc
Split spree variable changes into per-feature files, add an eaterprises feature for default layout
2013-04-22 16:12:50 +10:00
Rohan Mitchell
a90f060b28
Add local organics logo
2013-04-22 10:49:37 +10:00
Rohan Mitchell
3bd766eab9
Update local organics feature readme
2013-04-22 10:32:23 +10:00
Rohan Mitchell
3d8d8ecd49
Move assets deface to correct directory
2013-04-22 10:32:09 +10:00
Rohan Mitchell
a4bdea4d5c
Add chili feature for local organics
2013-04-22 10:29:05 +10:00
Rohan Mitchell
cbef31f619
Install chili for feature toggles
2013-04-22 10:24:17 +10:00
Rohan Mitchell
dc54be992b
Require spree support file that provides a default shipping method for ProductDistributions when building from factory - fixes product seeds
2013-04-21 08:54:32 +10:00
Rohan Mitchell
8f682a6d07
Unicorn handle forked db connections - fixes PG::Error SSL SYSCALL error: EOF detected
2013-04-19 09:52:16 +10:00
Rohan Mitchell
c5e8ac6fd1
Newrelic unicorn compatibility
2013-04-19 09:39:54 +10:00
Rohan Mitchell
3e2d31d432
spree-last-address repo deleted - use mirror
...
Conflicts:
Gemfile
Gemfile.lock
2013-04-19 09:27:40 +10:00
Rohan Mitchell
4ce7525748
Configure newrelic for performance monitoring
2013-04-19 09:20:59 +10:00
Rohan Mitchell
ff9200ebb8
Display order cycle distributors on product details page
2013-04-12 13:18:40 +10:00
Rohan Mitchell
6e7ee6481d
Fetch enterprises that are distributing a product via a product or order cycle distribution
2013-04-12 10:13:04 +10:00
Rohan Mitchell
32629a27e7
Remove explicit class specification
2013-04-05 16:57:53 +11:00
Rohan Mitchell
f66ff0f8b1
Rename Enterprise#available_variants to distributed_variants to remove ambiguity between supplied/distributed variants
2013-04-05 16:51:51 +11:00
Rohan Mitchell
5649a50e28
Add tests around Enterprise#available_variants, make it also show variants distributed via an order cycle
2013-04-05 16:49:27 +11:00
Rohan Mitchell
3cceb0a7b0
Ignore app/public
2013-04-05 16:48:38 +11:00
Rohan Mitchell
fa11ff8982
Remove more spork-specific things, remove unused cuc config from zeus
2013-04-05 15:25:46 +11:00
Rohan Mitchell
ed7bded642
Remove spork
2013-04-05 15:16:54 +11:00
Rohan Mitchell
02b524bfce
Fix our monkey-patch of spree's order merging to accomodate orders having an order cycle
2013-04-05 15:00:42 +11:00
Rohan Mitchell
990931e006
Test splitting the product listing by local/remote order cycle
2013-04-05 14:32:23 +11:00
Rohan Mitchell
ad32147576
Display correct product splitting criteria
2013-04-05 14:30:35 +11:00
Rohan Mitchell
0874f12797
Controllers provide current order cycle for product splitting
2013-04-05 14:30:11 +11:00
Rohan Mitchell
661b7da110
Booleanise all the logic
2013-04-05 14:14:12 +11:00
Rohan Mitchell
f95c6a2386
Extract stub building into private method
2013-04-05 14:11:31 +11:00
Rohan Mitchell
e735a709bf
SplitProductsByDistribution deals with order cycles, and is tested by stubs
2013-04-05 14:05:30 +11:00
Rohan Mitchell
3aa48907a6
Add per-product tests for membership of distributor or order cycle
2013-04-05 12:45:01 +11:00
Rohan Mitchell
cf4fe269d1
Add specs for splitting products by various distribution options
2013-04-05 11:41:37 +11:00
Rohan Mitchell
f8ebb0c715
Rename split partial and update overrides
2013-04-05 11:34:03 +11:00
Rohan Mitchell
a11f36e121
Provide pry in test env when we're not building with Travis
2013-04-05 11:30:26 +11:00
Rohan Mitchell
11ac0a1277
Fix order cycle selection on products page
2013-04-05 11:26:47 +11:00
Rohan Mitchell
b3976bfbd0
Rename SplitProductsByDistributor to SplitProductsByDistribution
2013-04-05 11:08:19 +11:00
Rohan Mitchell
7cc24f7340
Handle the case where we're viewing a product from a remote distributor that we can change to
2013-04-05 10:28:08 +11:00
Rohan Mitchell
c681750698
Move distributor/OC browsing into its own acceptance spec
2013-03-27 11:58:38 +11:00
Rohan Mitchell
f6c76ef8ad
Update pry
2013-03-27 11:57:42 +11:00
Rob H
5544ccb94e
Merge branch 'master', remote-tracking branch 'origin'
2013-03-27 10:42:05 +11:00
Rohan Mitchell
3e6c56a638
Add turbo sprockets for faster asset precompile
2013-03-16 13:08:14 +11:00
Rohan Mitchell
1d7cf4436a
Add comments linking areas concerned with separating products by distributor and order cycle
2013-03-15 17:02:54 +11:00
Rohan Mitchell
81b65efb29
Update selenium-webdriver
2013-03-15 16:58:22 +11:00
Rohan Mitchell
a9a58db137
Add spec for viewing product counts when both a distributor and an order cycle are selected, scope Spree::Product.with_order_cycles_outer joins to avoid clash when using both in_distributor and in_order_cycle in the same query
2013-03-15 12:17:29 +11:00
Rohan Mitchell
f349628202
Test that products by ProductDistribution are not shown
2013-03-15 11:41:58 +11:00
Rohan Mitchell
5089d3bb22
Add simplecov
2013-03-11 10:57:14 +11:00
Rohan Mitchell
bcd545c13f
Alias spree_variants join to avoid name clash when loading products for home page
2013-03-08 17:21:18 +11:00
Rohan Mitchell
955f313abc
Remove require for queries_product_distribution
2013-03-08 16:59:47 +11:00
Rohan Mitchell
711f769bcd
Remove QueriesProductDistribution - replaced by Product and Enterprise scopes
2013-03-08 16:57:54 +11:00
Rohan Mitchell
c9d1573049
Remove placeholder scopes, use new Enterprise.active_distributors scope for loading sidebar distributors
2013-03-08 16:56:58 +11:00
Rohan Mitchell
b25dcaa92b
Enterprise.active_distributors doesn't show distributors from inactive order cycles
2013-03-08 16:54:22 +11:00
Rohan Mitchell
2a890f80f4
Enterprise.active_distributors doesn't show distributors of out of stock products
2013-03-08 16:48:35 +11:00
Rohan Mitchell
13abf9ada7
Enterprise.active_distributors doesn't show distributors of unavailable products
2013-03-08 16:46:25 +11:00
Rohan Mitchell
cd61bad0b9
Enterprise.active_distributors doesn't show distributors of deleted products
2013-03-08 16:43:45 +11:00
Rohan Mitchell
00d7fcbfb6
Enterprise.active_distributors finds active distributors by order cycles
2013-03-08 16:39:42 +11:00
Rohan Mitchell
977344e279
Rewrite scope with outer join
2013-03-08 16:31:54 +11:00
Rohan Mitchell
98cad56e7c
Enterprise.active_distributors finds active distributors by product distributions
2013-03-08 16:23:45 +11:00
Rohan Mitchell
4b642f8c90
Convert to 1.9 hash syntax
2013-03-08 15:18:53 +11:00
Rohan Mitchell
43843f05b1
WIP: Add edge case tests
2013-03-08 15:18:53 +11:00
Rohan Mitchell
d02e8fece5
WIP: Spec that no duplicates are shown
2013-03-08 15:18:53 +11:00
Rohan Mitchell
dd3c72199a
WIP: Add spec for in_order_cycle
2013-03-08 15:18:53 +11:00
Rohan Mitchell
6d6390b886
WIP: Spec in_supplier_or_distributor
2013-03-08 15:18:53 +11:00
Rohan Mitchell
5c64e18360
WIP: Refactor tests - positive and negative into single cases for easier managability
2013-03-08 15:18:53 +11:00
Rohan Mitchell
29a9526b3f
WIP: Add spec for in_distributor
2013-03-08 15:18:53 +11:00
Rohan Mitchell
8e1c9e7bcc
WIP: Add notes, put in Spree module, write in_supplier scope spec
2013-03-08 15:18:53 +11:00
Rohan Mitchell
69392100f9
Push QueriesProductDistribution.products_available_for back to model
2013-03-08 15:18:53 +11:00
Rohan Mitchell
e326e590db
Implement and use scopes for finding products by distributor via order cycle or product distribution
2013-03-08 15:18:53 +11:00
Rohan Mitchell
265336b70c
When looking up distributors for sidebar, include both those in ProductDistributions and in OrderCycles
2013-03-08 15:18:53 +11:00
Rohan Mitchell
1285d507eb
Revert "Create order cycles where needed by tests"
...
This reverts commit b82e0007c9b0322e85e5597634628024e839d102.
Conflicts:
spec/factories.rb
spec/features/consumer/order_cycles_spec.rb
2013-03-08 15:18:53 +11:00
Rohan Mitchell
884dbd5de6
Keep old methods available for product distribution queries
2013-03-08 15:18:52 +11:00
Rohan Mitchell
ebf1c8602f
Write new query for Product#in_distributor that queries order cycles instead of product_distributions
2013-03-08 15:18:52 +11:00
Rohan Mitchell
dfa94b88aa
Display distributor and order cycle choice
2013-03-08 15:18:52 +11:00
Rohan Mitchell
fcb1701d36
WIP Add hub and order cycle display stub with failing tests
2013-03-08 15:18:52 +11:00
Rohan Mitchell
c0431c614f
Clean up specs, add spec for selecting both hub and OC
2013-03-08 15:18:52 +11:00
Rohan Mitchell
624a2799aa
Create order cycles where needed by tests
2013-03-08 15:18:52 +11:00
Rohan Mitchell
a5c706d694
In test, create a global shipping method, which is required when creating orders
2013-03-08 15:18:52 +11:00
Rohan Mitchell
666f110d47
Load distributor list from those in an active order cycle
2013-03-08 15:17:23 +11:00
Rohan Mitchell
3aa44c3e9a
Setting a remote distributor clears the order cycle, and vice versa
2013-03-08 15:17:23 +11:00
Rohan Mitchell
e1b2490259
Selecting an order cycle highlights valid distributor choices
2013-03-08 15:17:23 +11:00
Rohan Mitchell
74e2b70d3a
Without JS, select distributor, highlighting local order cycle choices
2013-03-08 15:17:22 +11:00
Rohan Mitchell
72a9286457
Add helper to generate a local/remote class for order cycle selection
2013-03-08 15:17:22 +11:00
Rohan Mitchell
456dfcf6db
Style distribution choice, add compass for border radius mixin
2013-03-08 15:17:22 +11:00
Rohan Mitchell
34cb8bab26
View order cycle and distributor choices
2013-03-08 15:15:15 +11:00
Rohan Mitchell
fe824c2d4e
Add order cycle active and inactive scopes
2013-03-08 15:15:15 +11:00
Rohan Mitchell
8b5aea42b8
Add deface for order cycle selection
2013-03-08 15:15:15 +11:00
Rohan Mitchell
63f3504b81
Add order cycle reference to orders
2013-03-08 15:15:15 +11:00
Rohan Mitchell
bd5533e2b1
Revert "Add a failing test to test travis"
...
This reverts commit 72aa8fe5e5 .
2013-02-24 20:22:37 +11:00
Rohan Mitchell
72aa8fe5e5
Add a failing test to test travis
2013-02-24 19:57:57 +11:00
Rohan Mitchell
cdc3ab09a1
Set up xvfb for Travis
2013-02-24 19:42:32 +11:00
Rohan Mitchell
b030793f15
Fix migrations that fail because of coupling to changed/removed models
2013-02-24 19:09:43 +11:00
Rohan Mitchell
3a441cd7d9
Configure travis for postgres
2013-02-24 18:46:31 +11:00
Rohan Mitchell
2b19253895
Attempt 2
2013-02-24 18:17:46 +11:00
Rohan Mitchell
d60935c800
Exclude pry from CI build
2013-02-24 18:05:11 +11:00
Rohan Mitchell
4bcd55959a
spree-last-address repo deleted - use mirror
2013-02-24 17:51:46 +11:00
Rohan Mitchell
719ef386bf
Only build on Ruby 1.9.3
2013-02-24 17:51:20 +11:00
Rohan Mitchell
e3fdb12289
Add travis config
2013-02-24 17:36:19 +11:00
Rohan Mitchell
b0a665aef7
Update ransack (rubygems could not find previous version)
2013-02-20 15:44:21 +11:00
Rohan Mitchell
3982b2a690
Merge branch 'new-spree'
...
Conflicts:
Gemfile.lock
2013-02-20 15:24:27 +11:00
Rob H
a59b136864
Spree 1.3 upgrade: fix final failing tests
2013-02-20 15:16:43 +11:00
Rob H
055c07a466
Add before_payment method to checkout controller (fixes issues with spree_paypal_express)
2013-02-20 14:04:10 +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
046eb256ff
Fix issues causing enterprise fee tests to break
2013-02-15 14:10:56 +11:00
Rob H
68246e08d2
Fix stack overflow error in admin shipping method test
2013-02-15 10:34:17 +11:00
Rob H
1ded1bac3f
Lengthen Capybara.default_wait_time for tests that fail due to long load time
2013-02-15 10:31:41 +11:00
Rob H
2f1a9094bf
Fix StaleObjectError in order model test
2013-02-14 16:49:28 +11:00
Rob H
2cdf458d6a
Move additional of tabs to main nav bar to defaces, rather than overriding view directly
2013-02-14 15:42:47 +11:00
Rob H
9e9199643e
Remove unneeded :partial from override
2013-02-14 15:35:50 +11:00
Rob H
c956706d78
Move set_current_order override to new location in lib (Spree 1.3 Upgrade), and update home controller test
2013-02-14 15:12:50 +11:00
Rob H
290f2276cd
Update cms_admin spec work after Spree 1.3 upgrade broke it
2013-02-14 14:03:14 +11:00
Rob H
b924b0c817
Remove unnecessary include of Spree::Core::CurrentOrder (helper is now accessible by all controllers in Spree 1.3)
2013-02-14 12:24:01 +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
Rob H
a3746c6c59
Add analytics helper to Enterprises Controller
2013-02-14 12:10:31 +11:00
Rohan Mitchell
7cc1c97c53
Upgrade spree to 1.1.6beta
2013-02-12 09:18:50 +11:00
Rohan Mitchell
ccfe6bc0b3
Update bugsnag
2013-02-12 09:11:38 +11:00
Andrew Spinks
5e2fbcb874
Add script to sanitize order and user data.
2013-02-10 16:54:39 +11:00
Rob H
1d4fbe865b
Finished revision of defaces
2013-02-09 00:40:34 +11:00
Rob H
c517469662
Added down method to remove_display_on_from_payment_methods migration
2013-02-07 22:54:07 +11:00
Rob H
1ead1dadaf
Upgrade database to Spree 1.3
2013-02-07 15:58:15 +11:00
Rob H
109d5cfe67
Upgrade database to Spree 1.2
2013-02-07 15:34:00 +11:00
Rob H
62d6745f02
Rollback all Spree 1.3 migrations (forgot db/schema.rb)
2013-02-07 15:24:59 +11:00
Rob H
bdea85d1b4
Rollback all Spree 1.3 migrations
2013-02-07 15:24:17 +11:00
Rob H
2a07d61e81
Finish Deface review, two defaces which appear on orders/show remain unchecked due to Spree 1.2 migration issue
2013-02-07 15:09:25 +11:00
Rob H
99b4530db2
WIP: revise overrides following upgrade to Spree 1.3, update ':original' definitions and reconcile filename and :name
2013-02-07 13:07:14 +11:00
Rob H
3507c5414d
Changed Sass variable: back to our green colour following upgrade
2013-02-07 09:25:29 +11:00
Rob H
4b254a5529
WIP: revise overrides following upgrade to Spree 1.3, update ':original' definitions and reconcile filename and :name
2013-02-06 11:25:26 +11:00
Rob H
612017f143
WIP Upgrade to Spree 1.3
2013-02-05 15:01:45 +11:00
Rob H
e559870189
Merge remote-tracking branch 'origin/master'
2013-02-01 13:15:25 +11:00
Rohan Mitchell
5b22cce950
Remove sleeps from specs
2013-01-22 12:12:29 +11:00
Rohan Mitchell
fec81b7ed4
Fix failing specs after merge
2013-01-22 11:34:43 +11:00
Rohan Mitchell
f2f3bbd3ed
Merge branch 'order-cycles-exchange-products'
...
Conflicts:
Gemfile.lock
2013-01-22 10:40:56 +11:00
Rohan Mitchell
83e3c6815d
Merge branch 'checkout-changes'
...
Conflicts:
.rvmrc
app/helpers/application_helper.rb
2013-01-22 10:30:51 +11:00
Rohan Mitchell
3f71655bd1
Test updating collection details
2013-01-22 09:44:19 +11:00
Rohan Mitchell
662aaf75bf
When editing an order cycle, distributor collection details are loaded
2013-01-22 09:34:07 +11:00
Rob H
f7890bd94d
Fixes following code review for checkout changes
2013-01-18 19:17:55 +11:00
Rob H
6a45e8be3b
Make tests pass after changes to checkout broke them all
2013-01-18 15:29:36 +11:00
Rohan Mitchell
c75738893e
Display supplier name on products for distribution
2013-01-18 14:35:06 +11:00
Rohan Mitchell
074d5715e7
Only provide distributors as coordinating enterprises. Order by name.
2013-01-18 14:26:56 +11:00
Rohan Mitchell
87d5ffeee2
Add fields for outgoing exchange collection details
2013-01-18 14:24:17 +11:00
Rohan Mitchell
9a03a58d9e
Change exchange pickup time from datetime to string
2013-01-18 14:23:58 +11:00
Rohan Mitchell
ae93d02c9c
OrderCycleFormApplicator applies outgoing exchange collection details
2013-01-18 14:23:42 +11:00
Rohan Mitchell
d8a7570a61
Display accurate counts for distributed products
2013-01-18 12:21:35 +11:00
Rohan Mitchell
a293ea54f9
Update saves distributors and distributed products
2013-01-18 12:13:13 +11:00
Rohan Mitchell
33b9d45f43
Distributors and products displayed on edit
2013-01-18 11:59:32 +11:00
Rohan Mitchell
0a2ce30bb6
Only show variants for distribution that are supplied to the order cycle
2013-01-18 11:52:01 +11:00
Rohan Mitchell
1a0ef85030
Test distributor exchanges are created with order cycles
2013-01-18 11:40:36 +11:00
Rohan Mitchell
983ba92dea
OrderCycleFormApplicator deals with outgoing exchanges
2013-01-18 11:22:42 +11:00
Rohan Mitchell
487247f6e7
Upgrade selenium-webdriver, fixes testing in new firefox
2013-01-18 09:35:29 +11:00
Rohan Mitchell
05c9a189c8
Merge branch 'email-changes'
2013-01-17 16:09:25 +11:00
Rohan Mitchell
43a1cf7779
Merge branch 'product-quantity-fix'
2013-01-17 16:07:55 +11:00
Rohan Mitchell
12dad2468d
Reorder specs
2013-01-17 15:13:41 +11:00
Rohan Mitchell
8f17df0e45
Name exchange elements independently
2013-01-17 11:36:56 +11:00
Rohan Mitchell
8e9845be12
Functionalise
2013-01-17 11:03:15 +11:00
Rohan Mitchell
3991199c30
Only show products for distribution that have been supplied to the order cycle
2013-01-17 10:49:59 +11:00
Rohan Mitchell
8f05c69696
Display all supplied products for distribution
2013-01-15 12:31:57 +11:00
Rohan Mitchell
f3f0f37716
Return to indexing for exchanges - this way new entries without an id get an index
2013-01-15 12:21:57 +11:00
Rohan Mitchell
850d65958b
Build Enterprise.supplied_products, an array of all products supplied by any enterprise
2013-01-15 12:21:13 +11:00
Rohan Mitchell
488fc2d60e
Upgrade capybara, spec/requests changed to spec/features
2013-01-15 10:10:24 +11:00
Rohan Mitchell
a10eb0d0c7
List and add distributor exchanges
2013-01-11 15:53:51 +11:00
Rohan Mitchell
9e59dead07
Tidy up coffee
2013-01-11 15:52:45 +11:00
Rohan Mitchell
d3fca565a3
Fix file naming and controller definition/testing
2013-01-11 14:09:56 +11:00
Rohan Mitchell
f971958042
Port order cycles js to coffeescript
2013-01-11 13:39:26 +11:00
Rohan Mitchell
3e06220b7f
WIP: Rename order_cycle to coffee
2013-01-11 10:57:02 +11:00
Rohan Mitchell
3694321f66
Use angular's extend instead of jquery's
2013-01-11 10:54:53 +11:00
Rohan Mitchell
24a48a9b33
Move enterpriseTotalVariants to Enterprise service
2013-01-11 10:50:03 +11:00
Rohan Mitchell
bb13ec0e02
Rename methods
2013-01-11 10:40:56 +11:00
Rohan Mitchell
d3189e333b
Count selected variants on an exchange
2013-01-11 10:36:27 +11:00
Rohan Mitchell
a9fb10b0ca
Do not show master selection if there are variants
2013-01-10 16:25:29 +11:00
Rohan Mitchell
3186b703a2
Apply basic styling for order cycle product selection
2013-01-10 15:57:22 +11:00
Rohan Mitchell
e46d61075e
Simplify field naming
2013-01-10 15:33:56 +11:00
Rohan Mitchell
4e78fa19a3
Add spec for updating order cycle, minor fixes
2013-01-10 15:29:13 +11:00
Rohan Mitchell
31ea8540ea
Test editing an order cycle - all data is displayed
2013-01-10 15:02:56 +11:00
Rohan Mitchell
d27ef76ead
Load exchange variants from correct attr
2013-01-10 11:27:39 +11:00
Rohan Mitchell
5129e31f21
Remove unneeded exchange_variants init
2013-01-10 11:00:09 +11:00
Rohan Mitchell
c5d031a6d7
Simplify exchange products/variants JSON output format, bind angular to this
2013-01-10 10:59:53 +11:00
Rohan Mitchell
c7d3b9ee1a
Upgrade to Rails 3.2.11
2013-01-10 09:34:52 +11:00
Rohan Mitchell
62a7a0db7c
Add spec for updating exchanges
2013-01-09 10:50:17 +11:00
Rohan Mitchell
f8c74e8b92
Make most OrderCycleFormApplicator methods private, add spec for adding exchanges
2013-01-09 10:41:09 +11:00
Rohan Mitchell
e53fff8e31
Split OrderCycleFormApplicator specs into unit / integration, add integration spec for exchange_exists?
2013-01-09 10:18:06 +11:00
Rohan Mitchell
ba19db3ccf
Add or update exchange variants when creating or updating order cycles
2013-01-09 10:06:51 +11:00
Rohan Mitchell
04297d928e
Correct naming of OrderCycleFormApplicator spec
2013-01-09 09:16:25 +11:00
Rohan Mitchell
1d357af708
Disable Jirafe and UserVoice outside of production -> test speedup
2013-01-09 09:14:43 +11:00
Rohan Mitchell
6a666dd7ec
Move preventDefault from service to controller
2013-01-08 17:51:08 +11:00
Rohan Mitchell
f705926c72
Display check boxes for products and variants, bind to model
2013-01-08 15:16:28 +11:00
Rohan Mitchell
7ae315a1cb
Remove directives test stub
2013-01-08 15:15:20 +11:00
Rohan Mitchell
836f568b8e
Display variants under products for exchange suppliers
2013-01-08 13:33:02 +11:00
Rohan Mitchell
043e67fd9d
Test adding suppliers
2013-01-08 11:58:49 +11:00
Rohan Mitchell
6ca56cbb94
Add AGPL licence
2012-12-18 15:56:54 +11:00
Rob H
ebcd5fdeed
Merge branch 'master', remote-tracking branch 'origin'
2012-12-14 15:55:04 +11:00
Rob H
63cf128f86
Remove product descriptions from line item listings in cart and order
2012-12-14 15:08:35 +11:00
Rob H
1f8b4d185b
Rearrange 'Add To Cart' section of product page
2012-12-14 14:01:13 +11:00
Rob H
c7ac0f7d91
Allow distributor to be changed from product page
2012-12-14 11:57:34 +11:00
Rob H
8a37b4e918
Push validation logic for changing distributor down into lib class
2012-12-14 11:02:01 +11:00
Rohan Mitchell
19e55428b8
Test fetching enterprises
2012-12-13 16:24:59 +11:00
Rohan Mitchell
8d8c2f04d8
Add test for removesInactiveExchanges
2012-12-13 14:55:11 +11:00
Rohan Mitchell
bec10be233
Make create test thinner
2012-12-13 14:46:07 +11:00
Rohan Mitchell
2382de946f
Test OrderCycle service create order cycle, use $window for testability
2012-12-13 14:37:35 +11:00
Rob H
fc34c9c804
Add controller level check of product count_on_hand for adding products to cart
2012-12-13 11:16:46 +11:00
Rohan Mitchell
0f5d51423b
Provide jQuery to tests, test loading an order cycle
2012-12-08 17:24:57 +11:00
Rohan Mitchell
91e3ddb93c
Begin writing test for OrderCycle service
2012-12-07 16:24:40 +11:00
Rohan Mitchell
8cfce57730
Add unit tests for AdminEditOrderCycleCtrl
2012-12-07 15:30:49 +11:00
Rob H
9c9431ca7f
Install Letter Opener for development environment
2012-12-07 14:31:23 +11:00
Rob H
3a3f427a8d
Reference name of payment method rather than payment method itself
2012-12-07 14:30:05 +11:00
Rob H
b5a95e73dc
Only show alternative distributors on 'address' page of checkout process
2012-12-07 12:29:44 +11:00
Rob H
9cf6124df3
Change checkout explanations from CMS pages to CMS snippets
2012-12-07 12:24:28 +11:00
Rob H
46abc2fc42
Add ability to change distributor based on whether products in the cart are available
2012-12-07 11:56:40 +11:00
Rohan Mitchell
0a6686b592
Add unit tests for AdminCreateOrderCycleCtrl angular controller
2012-12-05 16:09:20 +11:00
Rohan Mitchell
55423d2df1
Display all supplied products for selection
2012-12-04 15:24:11 +11:00
Rohan Mitchell
e9746ebc9b
Display exchange product names
2012-12-04 14:52:59 +11:00
Rohan Mitchell
505f33a3f7
Display variant image url in json output
2012-12-04 14:14:36 +11:00
Rohan Mitchell
1d4d7d064b
Add exchange products form, shown/hidden by button press
2012-12-04 12:26:18 +11:00
Rohan Mitchell
a4d3cc5417
Display exchange variants in JSON, load data client side
2012-12-04 12:07:58 +11:00
Rohan Mitchell
3080454b25
Merge branch 'order-cycles'
2012-12-04 11:40:35 +11:00
Rohan Mitchell
cd13ab4f77
Fix failing tests
2012-12-04 11:39:39 +11:00
Rohan Mitchell
9880c45313
Perform all XHR with instead of
2012-12-04 11:07:44 +11:00
Rohan Mitchell
5afb2bb8f9
Extract Enterprise fetching into service
2012-12-04 10:51:14 +11:00
Rohan Mitchell
aefa06b67d
Edit works with service
2012-12-04 10:31:45 +11:00
Rohan Mitchell
7d84803bad
Extract OrderCycle into service, create works
2012-12-04 10:18:31 +11:00
Rohan Mitchell
fee64a5764
Datetime recognises input datetime format
2012-12-04 09:43:39 +11:00
Rohan Mitchell
34ef8a1deb
Datetime pickers interact with angular model
2012-12-04 09:38:12 +11:00
kirstenalarsen
c055a3c594
remove old rvmrc file
2012-12-03 19:31:27 +11:00
Rohan Mitchell
a0c40607ec
Bulk update order cycle opening/closing times
2012-12-02 15:43:05 +11:00
Rohan Mitchell
25a2732253
Add basic styling to order cycle edit page
2012-12-02 15:14:31 +11:00
Rohan Mitchell
97401ca370
Remove exchanges in both create and edit
2012-12-02 14:32:52 +11:00
Rohan Mitchell
71320aa977
Display correct label for submit button
2012-12-02 14:02:17 +11:00
Rohan Mitchell
8e4b729351
Load correct order cycle, prep for saving order cycle
2012-12-02 13:53:35 +11:00
Rohan Mitchell
07eac918a3
OrderCycleFormApplicator deletes removed exchanges
2012-11-30 17:08:57 +11:00
Rohan Mitchell
cfa96c7615
Each order cycle may not have duplicate exchanges between the same enterprises
2012-11-30 16:37:29 +11:00
Rohan Mitchell
5655b0b7a5
OrderCycleFormApplicator updates existing exchanges
2012-11-30 16:07:21 +11:00
Rohan Mitchell
34120730cd
Load enterprises, all data displays
2012-11-30 15:46:53 +11:00
Rohan Mitchell
31735d3d10
Add edit order cycle controller, load basic data
2012-11-30 15:44:07 +11:00
Rohan Mitchell
ba3a595af2
Output an order cycle in JSON
2012-11-30 15:43:46 +11:00
Rohan Mitchell
6e4638b12d
Upgrade angular to 1.0.3, move form to partial, use angular resource
2012-11-30 15:17:21 +11:00
Rohan Mitchell
145fed09a1
Fixy
2012-11-29 11:54:22 +11:00
Rohan Mitchell
8736254f12
Create incoming exchanges on save
2012-11-29 11:52:34 +11:00
Rohan Mitchell
2c8d313c77
Create OrderCycleFormApplicator, for interfacing between front-end form and OrderCycle exchanges model.
2012-11-29 11:40:15 +11:00
Rohan Mitchell
243e1ccd93
Add supplier to order cycle
2012-11-29 11:16:59 +11:00
Rohan Mitchell
ac66bf4871
Add client-side validation to order cycle form
2012-11-29 10:40:19 +11:00
Rohan Mitchell
64d4e405dd
Add datetimepicker for order cycle opening and closing times
2012-11-29 10:25:33 +11:00
Rohan Mitchell
aacc36ea44
Create order cycle basic fields
2012-11-29 10:02:23 +11:00
Rob H
ef22168349
Move select_distributor and deselect_distributor actions from enterprises controller to orders controller
2012-11-28 10:54:11 +11:00
Rob H
43248aee99
Add can_change_distributor validation to the Order model
2012-11-28 09:17:05 +11:00
Rohan Mitchell
a19e697556
Add header to admin enterprises page
2012-11-27 13:46:59 +11:00
Rohan Mitchell
5103ce64ba
Output new order cycle as JSON
2012-11-27 10:51:22 +11:00
Rohan Mitchell
d5310452b6
Admin list order cycles
2012-11-27 10:13:12 +11:00
Rohan Mitchell
47c28e65a7
Add detailed order cycle factory, add methods to report on order cycle suppliers, distributors and products/variants exchanged
2012-11-27 10:09:40 +11:00
Rohan Mitchell
6b97872a25
Create OrderCycles, Exchanges, ExchangeFees and ExchangeVariants
2012-11-26 11:03:44 +11:00
Rohan Mitchell
7a6d930706
Merge branch 'enterprise-fees'
2012-11-26 10:13:48 +11:00
Rohan Mitchell
7c5dcd6a90
Change angular_ prefix to ng_
2012-11-26 10:03:20 +11:00
Rohan Mitchell
6106f1b469
Calculator type change works, enterprise fee tests pass
2012-11-26 09:45:06 +11:00
Rohan Mitchell
59af447739
Fix ?
2012-11-26 09:44:42 +11:00
Rohan Mitchell
d502705362
Raise an error when using unsupported nested angular_fields_for
2012-11-24 07:50:09 +11:00
Rohan Mitchell
5ae13d6156
Order all the fees
2012-11-23 17:21:46 +11:00
Rohan Mitchell
c46b858563
Don't render teh bits we dont wants
2012-11-23 17:20:52 +11:00
Rohan Mitchell
5e0a5654ff
Correctly index calculator fields. Adds ng-bind-html-unsafe-compiled.
2012-11-23 17:02:58 +11:00
Rob H
58a79e9b0c
Minor changes to order confirm email
2012-11-23 16:06:25 +11:00
Rob H
ee482d520c
Replace order information display for Confirm and Complete stages of checkout
2012-11-23 10:51:14 +11:00
Rob H
3d025bb709
WIP Replace order information display for Confirm and Complete stages of checkout
2012-11-23 09:26:27 +11:00
Rohan Mitchell
52ebe2c495
Provide proper names for angular select fields, add angular hidden field
2012-11-22 16:38:25 +11:00
Rohan Mitchell
fd0cc93e68
Add delete link
2012-11-22 16:19:10 +11:00
Rohan Mitchell
2a645d04ae
Move presentation to presenter, display calculator fields
2012-11-22 14:37:38 +11:00
Rohan Mitchell
b7bd21e498
Full-text search of form
2012-11-22 12:15:39 +11:00
Rohan Mitchell
873937db47
angular_collection_select
2012-11-22 11:45:55 +11:00
Rohan Mitchell
e64a86f5be
angular_select
2012-11-22 11:27:51 +11:00
Rohan Mitchell
ad76e66944
angular_options_for_select
2012-11-22 11:24:05 +11:00
Rohan Mitchell
216125c7a1
Start building some selects
2012-11-22 11:03:28 +11:00
Rohan Mitchell
d6802d9ae5
Generate text field with custom form builder - AngularFormBuilder
2012-11-22 09:53:26 +11:00
Rohan Mitchell
58917fe378
Convert enterprise select and name entry into form fields
2012-11-22 08:58:08 +11:00
Rob H
2786791c39
Change location of checkout delivery page cms from /delivery to /distribution
2012-11-21 16:14:56 +11:00
Rohan Mitchell
e2b0770c35
Fix name of button in spec
2012-11-21 16:02:12 +11:00
Rob H
b34d9da8e5
Add cms field to cart page to explain cart, located at cms path: /cart
2012-11-21 16:00:51 +11:00
Rohan Mitchell
e388e82d50
Merge branch 'checkout-changes'
2012-11-21 15:15:10 +11:00
Rohan Mitchell
dd155532f8
Add angular include, basic controller for listing enterprise fees, display fee ids using angular
2012-11-21 14:59:02 +11:00
Rohan Mitchell
63ba5d13a3
Add representative, output enterprise fees as JSON
2012-11-21 14:58:29 +11:00
Rohan Mitchell
fa2addd025
Delete enterprise fee
2012-11-21 12:17:19 +11:00
Rohan Mitchell
77b78f5bbb
Edit enterprise fee
2012-11-21 11:50:37 +11:00
Rohan Mitchell
bcc2ef99fd
Ensure that AUTH_TOKEN var is set in tests, since spree's admin JS errors without it
2012-11-21 11:49:59 +11:00
Rohan Mitchell
a4d10ab4e0
Create new enterprise fee, display errors when present
2012-11-21 09:47:51 +11:00
Rohan Mitchell
ff0d2bc983
Create EnterpriseSet as subclass of ModelSet
2012-11-21 09:08:41 +11:00
Rob H
cbfb896ca4
Change 'Delivery Fees' to 'Distribution Costs' in cart
2012-11-17 11:46:43 +11:00
Rob H
59ca8f4513
Add cms field to cart page to explain delivery fees, located at cms path: /cart-delivery-fees
2012-11-16 18:32:02 +11:00
Rob H
0d99d9d18f
Don't display unit size in reports for products that are not group buy items
2012-11-16 17:00:57 +11:00
Rob H
573ba9c8d4
Merge remote-tracking branch 'origin/master' into checkout-changes
2012-11-16 16:10:51 +11:00
Rohan Mitchell
98143ffe5b
Add calculator to EnterpriseFee, test passes for listing enterprise fees
2012-11-16 16:07:40 +11:00
Rob H
32acba05a3
Fixed total row labels in bulk co-op allocation report.
2012-11-16 15:28:06 +11:00
Rohan Mitchell
6247bd2541
Display admin table of enterprise fees with enterprise, fee type and name columns
2012-11-15 15:03:12 +11:00
Rohan Mitchell
03764881c8
Generalise EnterpriseSet to ModelSet
2012-11-15 14:29:38 +11:00
Rohan Mitchell
ec74396659
Add enterprise fees to admin configurations menu
2012-11-15 13:58:51 +11:00
Rohan Mitchell
192d4993a1
Add EnterpriseFee model
2012-11-15 13:42:55 +11:00
Rob H
9cb5ac95ff
More brackets make everything even better
2012-11-11 15:30:01 +11:00
Rohan Mitchell
076c64f7b0
Brackets make everything better
2012-11-10 12:53:03 +11:00
Rohan Mitchell
580486a347
Do not show duplicate products with in_supplier_or_distributor scope
2012-11-10 12:26:41 +11:00
Rohan Mitchell
9a9bef5304
Report filtering on completion date, not creation date
2012-11-09 20:31:08 +11:00
Rohan Mitchell
b4120b1028
Merge branch 'fixes-for-reports'
2012-11-07 19:00:07 +11:00
Rob H
a15f96aa68
Fix for case where no group_buy_size_has been set. ie. = nil
2012-11-07 18:34:54 +11:00
Rohan Mitchell
0f68ddcf01
Merge branch 'fixes-for-reports'
2012-11-07 14:30:45 +11:00
Rob H
5f07df9316
Add calculation fields to bulk co-op and order cycle reports
2012-11-03 11:36:17 +11:00
Rob H
9e4edd5da0
Change the basis of line_item grouping for Bulk Co-op and Order Cycle reports from User to Order
2012-11-02 16:41:32 +11:00
Rohan Mitchell
80159e1ea7
Do not munge foreign keys when migrating to enterprises
2012-11-02 15:34:02 +11:00
Rob H
3d2572c628
Merge branch 'master', remote-tracking branch 'origin'
2012-11-02 14:43:47 +11:00
Rohan Mitchell
3a116dc13d
Fix product filtering on supplier and distributor pages
2012-11-01 16:37:12 +11:00
Rohan Mitchell
c2133d70ac
Rename Enterprise is_supplier scope to is_primary_producer
2012-11-01 15:02:57 +11:00
Rohan Mitchell
a7a8b8490b
Add test for viewing a CMS page
2012-11-01 11:31:08 +11:00
Rohan Mitchell
8748a65031
Show role on admin enterprises listing page
2012-11-01 11:22:13 +11:00
Rohan Mitchell
6d84cf7613
Merge branch 'master' into enterprises
...
Conflicts:
app/controllers/enterprises_controller.rb
app/views/spree/checkout/_distributor.html.haml
db/schema.rb
spec/lib/open_food_web/group_buy_report_spec.rb
2012-11-01 11:02:02 +11:00
Rohan Mitchell
13d6f7213e
Fix db seeds
2012-11-01 10:21:55 +11:00
Rohan Mitchell
d89945bbb2
Add smoke test for reports, fix use of old Distributor model
2012-11-01 10:20:06 +11:00
Rohan Mitchell
78bdbcbe6f
Rename DistributorsHelper to EnterprisesHelper
2012-11-01 10:07:55 +11:00
Rohan Mitchell
682c09f516
Remove use of old Distributor model, fix before all not cleaning db
2012-11-01 10:05:39 +11:00
Rohan Mitchell
34588e6141
Remove old supplier and distributor routes, models, controllers, views, specs
2012-11-01 09:55:45 +11:00
Rohan Mitchell
d927906934
Update admin views, tests pass
2012-11-01 08:36:40 +11:00
Rohan Mitchell
58d227e76a
Home controller and product model specs pass
2012-11-01 08:28:40 +11:00
Rohan Mitchell
fb9f59213f
Distributors, product, suppliers and taxonomy specs pass
2012-11-01 08:15:50 +11:00
Rohan Mitchell
f8c2c8bbed
Convert group buy unit size field from string to float
2012-11-01 08:02:11 +11:00
Rohan Mitchell
7dd42b7feb
Fix use of pickup_address and url fields with enterprises, checkout spec passes
2012-10-31 17:10:21 +11:00
Rohan Mitchell
1b89331aa4
Update capybara and selenium-webdriver for compatibility with firefox 16
2012-10-31 17:09:26 +11:00
Rohan Mitchell
309179096b
Update supplier_id and distributor_id to point to newly created enterprises
2012-10-31 16:56:35 +11:00
Rohan Mitchell
9d5c127f0d
Add enterprises controller that supercedes suppliers and distributors controllers. Add to cart consumer spec passes.
2012-10-31 16:47:01 +11:00
Rohan Mitchell
a8f4178894
Update orders controller for enterprises
2012-10-31 16:33:38 +11:00
Rohan Mitchell
f03d9b66f0
Update spree_paypal_express to fail gracefully when setting address
2012-10-31 15:17:05 +11:00
Rohan Mitchell
b9a072b61a
Make sure enterprises have a valid address after pickup address field has been removed
2012-10-31 14:32:47 +11:00
Rohan Mitchell
1d1c27701d
Add admin interface for enterprises
2012-10-31 14:25:00 +11:00
Rohan Mitchell
5dcba7403b
Avoid contaminating test data
2012-10-31 13:54:14 +11:00
Rohan Mitchell
926440a978
Fix namespacing of Distributor in reports controller
2012-10-31 11:13:55 +11:00
Rohan Mitchell
9b32579bd6
Group buy report handles nil variant weight gracefully
2012-10-31 10:37:40 +11:00
Rohan Mitchell
5ac904005b
Merge branch 'order-cycle-reports'
...
Conflicts:
app/controllers/spree/admin/reports_controller_decorator.rb
config/routes.rb
2012-10-31 10:18:11 +11:00
Rohan Mitchell
077098e6c1
Refactor libs to use enterprise instead of supplier and distributor
2012-10-29 14:57:03 +11:00
Rohan Mitchell
04d8648c6d
Remove pickup address and use single address field for supplier and distributor roles within enterprise
2012-10-28 18:03:19 +11:00
Rohan Mitchell
4c2debba7e
Model specs pass
2012-10-28 18:00:15 +11:00
Rohan Mitchell
abe3feb996
Integrate functionality from distributor into enterprise
2012-10-28 17:46:45 +11:00
Rohan Mitchell
c700d9e71b
Create enterprise model, integrate functionality from supplier
2012-10-28 13:24:26 +11:00
Rohan Mitchell
ff24149195
Combine suppliers and distributors into enterprises table
2012-10-28 12:59:50 +11:00
Rohan Mitchell
03610c93de
Upgrade capybara and selenium-webdriver for compatibility with Firefox 16
2012-10-28 12:28:55 +11:00
Rohan Mitchell
c5941d6cb5
Update distributor details when distributor is changed
2012-10-27 18:50:09 +11:00
Rohan Mitchell
773adca838
Display distributor details on product page when distributor is selected
2012-10-27 12:49:57 +11:00
Rohan Mitchell
13317347bb
Display an explanation message on product page when no distributor is selected
2012-10-27 12:19:44 +11:00
Rob H
7da595afbd
Add cms field to top of delivery page of checkout, located at cms path: /delivery
2012-10-26 19:29:55 +11:00
Rob H
f960cc44ba
Fixed calculations when variant weight is nil
2012-10-26 17:27:08 +11:00
Rob H
a9293709d8
Merge branch 'master', remote-tracking branch 'origin'
2012-10-26 17:24:17 +11:00
Rohan Mitchell
a3042118c7
Merge branch 'group-reports'
...
Conflicts:
app/controllers/spree/admin/reports_controller_decorator.rb
config/routes.rb
2012-10-26 17:14:49 +11:00
Rob H
01569c2550
Change button text on Payments page to 'Process My Order'
2012-10-26 16:47:42 +11:00
Rob H
ede4649fbf
Merge branch 'master', remote-tracking branch 'origin'
2012-10-26 16:12:11 +11:00
Rob H
4dd5e12968
Fix reports controller, previous changes to fix change generate_report were incomplete
2012-10-26 13:49:39 +11:00
Rob H
d74591afe6
Fixes to reports controller and addition of order cycles reports
2012-10-26 13:44:13 +11:00
Rohan Mitchell
09b60908b8
Fix links to admin distributor edit and delete
2012-10-25 12:20:20 +11:00
Rohan Mitchell
d1b9ce92f6
Move distributors helper out of spree namespace
2012-10-25 10:45:39 +11:00
Rohan Mitchell
784969097d
Move admin non-Spree controllers out of Spree namespace
2012-10-25 10:45:39 +11:00
Rohan Mitchell
15e91f7743
WIP Move non-admin non-Spree controllers out of Spree namespace
2012-10-25 10:45:39 +11:00
Rohan Mitchell
c46019d68c
WIP: Move Supplier, Distributor, DistributorSet and ProductDistribution models out of Spree namespace
2012-10-25 10:45:39 +11:00
Rohan Mitchell
aa336d9b9f
Merge branch 'feedback'
2012-10-25 10:34:27 +11:00
Rob H
ff029b8903
Add feedback bar to all pages on the front end
2012-10-24 18:26:21 +11:00
Rob H
a362dd5161
Change reports controller: generate_report to render_report
2012-10-24 17:01:50 +11:00
Rohan Mitchell
51850be83e
Update spree_paypal_express to handle blank states from paypal
2012-10-24 16:19:53 +11:00
Rob H
41d547ac2d
Minor formatting changes to Order Group Spec
2012-10-24 16:13:23 +11:00
Rob H
81b33772fe
Fixes to syntax and formatting for group-reports
2012-10-24 15:21:16 +11:00
Rohan Mitchell
32db258db0
Use spree_heroku with support for staging env
2012-10-24 13:11:40 +11:00
Rob H
3b855a866a
Merge branch 'grouper-reports' into group-reports
2012-10-22 11:35:56 +11:00
Rob H
eb7d69fe6b
commit routes.rb file to prevent overwriting
2012-10-22 11:35:48 +11:00
Rob H
4c0109bccc
Merge branch 'master', remote-tracking branch 'origin'
2012-10-22 11:15:23 +11:00
Rob H
f83a5b0ba8
Merge branch 'master', remote-tracking branch 'origin'
2012-10-22 10:45:35 +11:00
Rob H
ddb01e4ccb
WIP: Create report grouper, write reports for bulk co-ops and payments
2012-10-21 13:12:48 +11:00
Rohan Mitchell
87a89324d9
Update repo in readme, add Rob to creds
2012-10-19 17:02:09 +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
5b025a6cba
Make group_buy_unit_size accessible
2012-10-18 15:15:54 +11:00
Rohan Mitchell
9166829930
Add group buy unit size field
2012-10-18 11:56:21 +11:00
Rohan Mitchell
8c7a02ec10
Fix image uploads with CMS
2012-10-18 11:13:40 +11:00
Rohan Mitchell
f4f250675c
Use eaterprises spree_paypal_express with Bugsnag notification of paypal gateway errors
2012-10-18 10:30:35 +11:00
Rohan Mitchell
394a269df2
Update Spree, fixes paypal password blanking bug. Update spree_paypal_express, fixes nil state error on checkout.
2012-10-18 10:17:52 +11:00
Rohan Mitchell
41dcc85ad1
Update version of spree_paypal_express for debugging
2012-10-17 15:26:06 +11:00
Rohan Mitchell
9be9d75cb5
Update version of spree_paypal_express for debugging
2012-10-17 15:10:04 +11:00
Rohan Mitchell
11483a77e8
Update bugsnag and spree_paypal_express for paypal error debugging
2012-10-17 08:42:33 +11:00
Rohan Mitchell
ba895ed486
Display CMS content for suppliers page
2012-10-17 07:54:12 +11:00
Rohan Mitchell
36d342f216
Add view all suppliers page
2012-10-17 07:50:58 +11:00
Rohan Mitchell
d09123eb22
Do not show suppliers with no products in stock
2012-10-17 07:36:18 +11:00
Rohan Mitchell
642f58551c
Use spree_paypal_express from RohanM with debugging for nil state from paypal address error
2012-10-16 10:34:11 +11:00
Rohan Mitchell
9fbcd8c01b
Display CMS pages with Spree's layout
2012-10-12 10:21:21 +11:00
Rohan Mitchell
927970d1a9
Viewing another products listing page does not display home page content
2012-10-12 09:39:49 +11:00
Rohan Mitchell
3dd3d8030f
Display CMS pages in menu
2012-10-11 17:00:34 +11:00
Rohan Mitchell
cab61ddb7c
CMS content on home page
2012-10-11 16:21:33 +11:00
Rohan Mitchell
015b7f88b0
Add tests for CMS admin security
2012-10-11 13:17:05 +11:00
Rohan Mitchell
28fc16ac66
Create links between Spree and CMS admin sections
2012-10-11 12:50:59 +11:00
Rohan Mitchell
e1d4ee318c
Fix issues with elRTE - sprites and functionality now work for link and image functions
2012-10-11 12:00:30 +11:00
Rohan Mitchell
48497266da
Precompile CMS assets
2012-10-11 11:06:52 +11:00
Rohan Mitchell
fe5fd76415
Further syntax fixes for GroupBuyReport
2012-10-11 10:53:33 +11:00
Rohan Mitchell
c05911fa10
Fix spree_creditcards table renamed in Spree 1.2 upgrade, remove old pending test
2012-10-11 10:50:37 +11:00
Rohan Mitchell
a686a820d9
Add distributor show page, redirect here after selecting distributor
2012-10-11 10:50:36 +11:00
Rohan Mitchell
3889545f2b
Convert suppliers page to HAML
2012-10-11 10:50:36 +11:00
Rohan Mitchell
7432cb416e
Andand all the html_safes
2012-10-11 10:50:36 +11:00
Rohan Mitchell
0b830a7845
Suppliers and distributors long description editable with WYSIWYG editor from CMS and displayed as HTML
2012-10-11 10:50:36 +11:00
Rohan Mitchell
58e5724f81
Display supplier details on supplier page
2012-10-11 10:50:36 +11:00
Rohan Mitchell
c07a33d88c
Edit long description field in admin for suppliers and distributors
2012-10-11 10:50:36 +11:00
Rohan Mitchell
d080aa49d5
Add long description field to distributors and suppliers
2012-10-11 10:50:36 +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
Rob H
8c7ed6f4ef
Merge branch 'group-buy-report'
2012-10-10 15:47:02 +11:00
Rob H
1709083d8f
Merge branch 'master' of github.com:andrewspinks/openfoodweb
2012-10-10 15:45:42 +11:00
Rob H
5803da9c55
Syntax fixes for group buy report classes and tests
2012-10-10 15:13:15 +11:00
Rohan Mitchell
0ad6045363
Fix struct superclass mismatch error
2012-10-10 14:02:44 +11:00
Rob H
9737f21bb8
WIP: Write body of group buy report
2012-10-10 13:46:51 +11:00
Rob H
d7a5a87aef
create group buy report, display header
2012-10-03 11:49:21 +10:00
Rob H
3b8c41840f
Merge branch 'master' of github.com:andrewspinks/openfoodweb
...
Conflicts:
app/models/spree/line_item_decorator.rb
db/migrate/20120919013335_add_shipping_method_to_line_items.rb
2012-10-03 10:27:19 +10:00
Rob H
fe3743af16
Replace shipping method lookup with relation
2012-09-19 12:06:43 +10:00