Matt-Yorkley
4ba3c81f90
Update route declaration in karma test
2021-01-08 17:47:09 +00:00
Andy Brett
b713bd7aa7
spec updates
2020-12-08 14:37:16 -08:00
Andy Brett
f875e406a8
update karma specs for setting default card
2020-12-08 07:46:10 -08:00
Andy Brett
c4cd574242
fix currency spec
2020-12-02 11:37:25 -08:00
Luis Ramos
eada388534
Add handle_extensions to get Spree.translations (archaic spree js translations) in handlebars templates
...
This is all legacy from spree that can be cleaned up at some point, we only have two handlebars templates in OFN
2020-11-04 12:15:45 +00:00
Luis Ramos
cf3f511f4d
Add directive spec to validate the dialog template is loaded on element click
2020-10-30 15:09:13 +00:00
Luis Ramos
ceee89fad0
Make Checkout form submit read terms_and_conditions_accepted from the checkout form checkbox
2020-10-30 15:09:13 +00:00
Andy Brett
9bf84bd5a8
provide default availableUnits to specs
2020-10-29 09:18:24 -07:00
Andy Brett
3ead050a56
provide availableUnits to VariantUnitManager spec
2020-10-29 09:18:24 -07:00
Andy Brett
402fc902ff
remove non-default units from expected options array
2020-10-29 09:17:49 -07:00
Luis Ramos
76afc0b407
Merge pull request #6202 from cillian/sort-admin-products-by-name-fix
...
Fix sorting of admin products by name
2020-10-29 00:09:31 +00:00
Cillian O'Ruanaidh
e29d6048c2
Add a test for sorting admin products by name
2020-10-23 10:53:30 +01:00
Maikel Linke
d337561ea8
Move ShopVariantCtrl to own file and spec it
2020-10-22 15:46:46 +11:00
Maikel Linke
3e789fdb84
Show only tabular price breakdown, no graph
2020-10-22 15:46:44 +11:00
Luis Ramos
d4c4bcaa50
Make node_modules available for code in app/assets
2020-09-18 15:53:34 +01:00
Matt-Yorkley
77eaebc2a7
Merge pull request #5888 from andrewpbrett/imperial-auto-units
...
Allow US units on products/variants
2020-09-17 15:04:15 +02:00
Luis Ramos
f1358dfa9a
Merge pull request #5722 from rioug/4206-back-from-Edit-Product-removed-filters-products-page
...
4206 back from edit product removed filters products page
2020-09-17 11:51:58 +01:00
Andy Brett
55e448897f
use fewer sigfigs for ounces; add spec to option_value_namer
2020-09-03 09:11:00 -07:00
Andy Brett
08e6e5a459
add compatibleUnitScales function and spec
2020-09-03 09:11:00 -07:00
Andy Brett
2f216039ac
update variantunitmanager test expectation
2020-09-03 09:11:00 -07:00
Maikel Linke
5d48da72c7
Notify Bugsnag on Stripe payment errors
2020-08-27 11:09:16 +10:00
Maikel Linke
f435039061
Simplify using loading and flash messages together
2020-08-27 11:03:13 +10:00
Gaetan Riou
6564ea7b00
rename ProductFiltersService to ProductFiltersUrl
2020-08-21 12:13:16 +10:00
Gaetan Riou
7356d0fe77
move url filter functionality to service ProductFiltersService
2020-08-21 10:42:02 +10:00
Gaetan Riou
39564e612f
on admin product page, add selected filter to url and apply filter from url on page load
2020-08-21 10:19:53 +10:00
Matt-Yorkley
ce5bcaaa20
Explicitly notify Bugsnag on checkout failure
2020-08-14 18:06:30 +01:00
Cillian O'Ruanaidh
702669e61c
Merge branch 'master' into prevent-blank-open-street-map
2020-07-24 16:00:37 +01:00
Cillian O'Ruanaidh
cc317bc8c9
Move the :initialLatitude and :initialLongitude methods from the OpenStreetMap service to the MapCenterCalculator service.
2020-07-24 16:00:30 +01:00
Luis Ramos
cc3361aaac
Merge pull request #5659 from dmarcoux/issue-5555
...
Filter orders on inclusive dates in admin/orders
2020-07-09 20:40:45 +01:00
Dany Marcoux
3dfabdc117
Filter orders on inclusive dates in admin/orders
...
Closes #5555
Co-authored-by: Luis Ramos <luisramos0@gmail.com >
2020-07-05 20:12:16 +02:00
Matt-Yorkley
b441ac2644
Update paths to "noimage" images
2020-06-29 20:07:08 +02:00
Cillian O'Ruanaidh
1199a356c4
Extract out a JS service for calculating where to centre the map when given a set of coordinates.
...
Also removing the hardcoded default latitude/longitude from open_street_map directive because it's probably not very likely that it will be needed.
2020-06-26 22:26:39 +01:00
Matt-Yorkley
459e53f43d
Adjust specs for new cart display
2020-06-18 22:21:55 +02:00
Pau Pérez Fabregat
2052756169
Merge pull request #5556 from Matt-Yorkley/geocoding-service
...
Rename Angular Geo service
2020-06-11 15:19:08 +02:00
jeffrey s hill md
c4e910a7c8
Make clear filters fetch products automatically without filters
...
The spec change is needed: fetchProducts() makes cleared filters values undefined in removeClearedValues.
2020-06-08 18:27:10 +01:00
Matt-Yorkley
78fc6b7138
Rename "Geo" service to "GmapsGeo" for clarity.
...
This service directly calls methods in the google maps javascript included in the darkswarm layout. If we're moving away from it, we should clarify where it's used.
2020-06-05 08:35:15 +02:00
Luis Ramos
bb8401a0fc
Merge pull request #5444 from luisramos0/dead_js_code
...
Remove some dead JS code related to admin sub menus
2020-05-28 19:54:42 +01:00
Luis Ramos
6c81c19f00
Remove dead code
2020-05-16 14:19:25 +01:00
David Cook
b4228e8cdd
5299 Remove unnecessary comments
2020-05-15 15:11:26 +10:00
David Cook
79df4868de
5299: Unit and feature test for filtering by multiple order cycles
2020-05-15 15:04:01 +10:00
Luis Ramos
5f7c1474a2
Merge pull request #5377 from manvil/1782_enterprise_at_same_address
...
Handling multiple enterprises at the same location
2020-05-13 19:31:14 +01:00
Manvil George
19b5f6a562
Handling multiple enterprises at the same location
...
Changes:
* Introduced a cluster marker to denote multiple points of interest at
the same location
* Seperated out a plain enterprise modal into 2 parts
* A modal called EnterpriseModal for showing a list of enterprises at
the same location
* A box called EnterpriseBox(which by the way is also a technically a
modal) that shows the details of that particular enterprise selected
* If at a location there exists only a single enterprise then only the
box is shown
2020-05-06 12:54:42 +10:00
Matt-Yorkley
bdc2d002fa
Update karma tests
2020-05-05 17:22:12 +02:00
Pau Pérez Fabregat
e7df9bb58d
Merge pull request #5178 from coopdevs/dont-populate-empty-cart
...
Dont populate empty cart
2020-04-29 13:08:26 +02:00
Pau Perez
c224df9b6a
Do not trigger an orderChanged with null quantity
...
When loading the page $watchGroup calls the listener function for every
listed line item but with a set variant and null quantity and
max_quantity. There's no point on computing an order change when there
was none.
This saves an empty request on the second most used endpoint of the app,
specially busy when users are placing orders.
2020-04-24 15:54:46 +02:00
Luis Ramos
910cc99c2f
Add spec to cover orders_controller watch sortOptions
2020-04-18 10:23:02 +01:00
Luis Ramos
cedf1b26f2
If no flash is sent from the server, show the generic error
2020-04-14 14:31:34 +01:00
Luis Ramos
62471bf2ab
Clear Loading spinner when exception is caught
2020-04-14 13:50:38 +01:00
Luis Ramos
cdf5bcb7eb
Improve unexpected error handling and add test cases for it
2020-04-14 13:44:58 +01:00
Luis Ramos
7414047b92
Switch from old success/error to modern then/catch structure
...
Catch() will get a few more errors then errors()
Also, add try/catch inside catch to detect any errors parsing the
response error payload
2020-04-14 13:04:28 +01:00