Commit Graph

  • f78826c9c7 Fix rare case where price is saved without variant Rohan Mitchell 2016-02-04 12:05:42 +11:00
  • 2f602f2a57 Shop controller uses CachedProductsRenderer Rohan Mitchell 2016-02-04 11:42:25 +11:00
  • fa543fed63 Deal with unset distribution Rohan Mitchell 2016-02-04 11:41:56 +11:00
  • 235c463849 Hide wrapped exception, too Rohan Mitchell 2016-02-04 11:38:09 +11:00
  • ff493c21d4 Log a warning on cache MISS Rohan Mitchell 2016-02-04 11:33:59 +11:00
  • d0b7b4ee50 Add CachedProductsRenderer - wraps ProductsRenderer using Rails cache Rohan Mitchell 2016-02-04 11:22:37 +11:00
  • 339f3fc2f0 Refresh products cache when price is changed or destroyed Rohan Mitchell 2016-02-03 16:08:41 +11:00
  • d8d803546b Refresh products cache when master variants or images are changed or destroyed Rohan Mitchell 2016-02-03 15:34:23 +11:00
  • 6d80d91873 Refresh products cache when taxons or classifications are changed or destroyed Rohan Mitchell 2016-02-03 14:53:55 +11:00
  • 7c4e9e5838 Refresh products cache when product properties are changed Rohan Mitchell 2016-02-03 14:22:05 +11:00
  • f756749e02 Fix specs Rohan Mitchell 2016-02-03 12:28:26 +11:00
  • 3bcd3257a1 Perform refresh of products cache when supplier fee is changed Rohan Mitchell 2016-01-29 15:59:17 +11:00
  • fbedff4eca Perform refresh of products cache when distributor fee is changed Rohan Mitchell 2016-01-29 15:42:41 +11:00
  • af7e3380d3 Perform refresh of products cache when coordinator fee is changed Rohan Mitchell 2016-01-29 15:35:26 +11:00
  • 0c65d1ddd8 Trigger products cache refresh when enterprise fee changed or destroyed Rohan Mitchell 2016-01-29 15:31:14 +11:00
  • 378a703cc3 Order cycles are undated unless they have both open and close dates defined Rohan Mitchell 2016-01-29 12:24:04 +11:00
  • fe41430d1e Rerefesh products cache when an order cycle is changed Rohan Mitchell 2016-01-29 11:41:02 +11:00
  • 1ec329284c Refresh products cache when a variant override is destroyed Rohan Mitchell 2016-01-29 10:16:41 +11:00
  • b7a88fd03b Perform refresh of products cache for variant override change Rohan Mitchell 2016-01-29 10:14:15 +11:00
  • 5f188650d8 Trigger cache refresh on VariantOverride save/destroy Rohan Mitchell 2016-01-29 10:01:14 +11:00
  • c98e44c5a1 Perform refresh of products cache on product change Rohan Mitchell 2016-01-28 16:00:55 +11:00
  • 0c0c98a0b0 Refresh products cache on product change Rohan Mitchell 2016-01-28 15:41:17 +11:00
  • 6d39cc39c6 When a variant is destroyed, update product cache Rohan Mitchell 2016-01-28 15:17:17 +11:00
  • a0a61b65cb Refresh the appropriate product caches when a variant is changed Rohan Mitchell 2016-01-28 13:45:28 +11:00
  • 5d20b4fb51 Add OrderCycle scopes: not_closed, dated Rohan Mitchell 2016-01-28 13:41:30 +11:00
  • 3621c34bd5 Job calls ProductsRenderer with object instances rather than ids Rohan Mitchell 2016-01-28 13:39:45 +11:00
  • eba636c929 When variant is changed/destroyed, trigger product cache refresh Rohan Mitchell 2016-01-28 12:05:36 +11:00
  • 0d0eb6117f Add job to cache products JSON Rohan Mitchell 2016-01-15 14:03:58 +11:00
  • 6df8f73bb0 Make method naming more explanatory Rohan Mitchell 2016-01-15 13:45:36 +11:00
  • b0207f2b49 Clean up specs Rohan Mitchell 2016-01-15 13:36:12 +11:00
  • 920d3bb974 Do not show knapsack time offset warnings unless in CI Rohan Mitchell 2016-01-15 13:29:46 +11:00
  • 0d5d015d88 Extract product JSON rendering to lib class. Fix HTML stripping that never actually worked. Rohan Mitchell 2016-01-15 13:29:28 +11:00
  • 6193bb896b Sanitize input for ofnTaxonAutocomplete and userSelect directives Rohan Mitchell 2016-02-24 11:08:51 +11:00
  • 4314bfb99c Fix karma fail due to file load order change Rohan Mitchell 2016-02-19 16:46:13 +11:00
  • ae03170984 Sanitize input for ofn-select2 Rohan Mitchell 2016-02-19 16:06:19 +11:00
  • 977ff7b35d Fix compatibility issues with new version of select2 Rohan Mitchell 2016-02-19 15:34:15 +11:00
  • 1e288e5f14 Further styling for select2 after upgrade Rohan Mitchell 2016-02-12 11:10:56 +11:00
  • 9747b0cf96 Upgrade select2-rails Rohan Mitchell 2016-02-12 09:18:46 +11:00
  • 258e84fc0a Replace with-tip with ofn-with-tip: misc Rohan Mitchell 2016-02-12 08:33:37 +11:00
  • 17cda86dfa Replace with-tip with ofn-with-tip: enterprise groups Rohan Mitchell 2016-02-12 08:06:38 +11:00
  • bdd6d3ba6b Replace with-tip with ofn-with-tip: business model configuration Rohan Mitchell 2016-02-12 08:00:28 +11:00
  • d699f8321a Replace with-tip with ofn-with-tip: dashboard Rohan Mitchell 2016-02-12 07:48:35 +11:00
  • b4976a5445 Replace with-tip with ofn-with-tip: enterprise forms Rohan Mitchell 2016-02-12 07:28:17 +11:00
  • e2722710de Clean up syntax Rohan Mitchell 2016-02-11 14:26:08 +11:00
  • 45d4dd6b88 Add ofnWithTip directive to sanitise HTML going into tooltips Rohan Mitchell 2016-02-11 14:25:55 +11:00
  • d79a6d7e19 Escape HTML entities in JSON Rohan Mitchell 2016-02-11 11:24:42 +11:00
  • 6a2e07064b Fix stomped spree JS file Rohan Mitchell 2016-02-11 11:23:13 +11:00
  • 52d5b8936e new validation4 02/22/2016 Nicolas Blanc 2016-02-22 14:54:31 +00:00
  • c91eb9f345 new validation3 02/22/2016 Nicolas Blanc 2016-02-22 14:31:31 +00:00
  • 44508f0f1e new validation2 02/22/2016 Nicolas Blanc 2016-02-22 13:38:19 +00:00
  • 1738db9e1f new validation 02/22/2016 Nicolas Blanc 2016-02-22 13:00:27 +00:00
  • f7387048b0 Remove cruft and 2nd active table, to stop constant hover Steve Pettitt 2016-02-21 12:40:53 +00:00
  • 92cfcb8fc9 remove debug statement Steve Pettitt 2016-02-20 21:22:10 +00:00
  • 614f83799e new test 2016/02/20 Nicolas Blanc 2016-02-20 19:23:22 +00:00
  • d39b62aa31 Fallback to a default tractor logo if missing Steve Pettitt 2016-02-20 19:00:37 +00:00
  • ec3e158781 Merge current master Steve Pettitt 2016-02-20 17:24:57 +00:00
  • d5e51dada6 Don't serialize payment ID (not used) Steve Pettitt 2016-02-20 17:22:26 +00:00
  • 23e774bede Styling, fewer columns in small/medium screen, logo resize Steve Pettitt 2016-02-20 17:20:43 +00:00
  • 0cb5dfbbe0 delete old sidebar partials Maikel Linke 2016-02-19 16:29:19 +11:00
  • 6ba534fb58 Show noticeboard in mobile menu Maikel Linke 2016-02-19 15:16:24 +11:00
  • 38cac3a3c4 Explicitly referencing main_app.discourse_login_path Maikel Linke 2016-02-19 11:23:38 +11:00
  • 82182d24e7 Merge remote-tracking branch 'origin/master' into discourse-sso Maikel Linke 2016-02-19 11:02:59 +11:00
  • 83d248469f Running balances stveep 2016-02-16 20:32:09 +00:00
  • 2d620071f0 Fxing conflicts Lynne Davis 2016-02-11 16:14:44 +00:00
  • 50c657133a Change "&" to "and" Paul Mackay 2016-02-09 10:01:51 +00:00
  • fb7fb62f79 Add SCSS lint config Paul Mackay 2016-02-09 06:11:13 +00:00
  • 98e5df6aac Add Rubocop config file Paul Mackay 2016-02-09 06:00:05 +00:00
  • ee168bcbfb Add codeclimate config file Paul Mackay 2016-02-08 21:07:42 +00:00
  • 8cdf2254d8 Fix to make shell block highlight correctly Paul Mackay 2016-02-06 20:07:57 +00:00
  • 57a929d718 #268: add notes in README about creating OFN user Paul Mackay 2016-02-06 20:05:23 +00:00
  • 2b0788ec9c #737: add link to dev wiki Paul Mackay 2016-02-06 11:13:17 +00:00
  • c7f6d4e4fe Add Travis badge, link to wiki, UK contributors Paul Mackay 2016-02-06 11:09:53 +00:00
  • 979baf80dd Rename README to have consistent short file extension Paul Mackay 2016-02-06 10:50:01 +00:00
  • 3db79aa6b2 Prevent body from scrolling when a modal is open Maikel Linke 2016-02-05 15:10:16 +11:00
  • 2ebad800b2 Try again: using :site_meta_description for translation of global site meta description Rob Harrington 2016-02-05 14:57:18 +11:00
  • dbe7fbc760 Using :meta_description for translation of global site description Rob Harrington 2016-02-05 12:29:02 +11:00
  • ad2e10c33e Updating translations for fr.yml and nb.yml Transifex-Openfoodnetwork 2016-01-05 08:36:23 +11:00
  • ac413937f3 Merge remote-tracking branch 'origin/master' into groups Maikel Linke 2016-02-05 11:05:40 +11:00
  • 48b02db70d Order cycles are undated unless they have both open and close dates defined Rohan Mitchell 2016-01-29 12:24:04 +11:00
  • eef62d4128 fix hub filter style Maikel Linke 2016-02-04 16:34:03 +11:00
  • f5ff5bd5b0 Merge remote-tracking branch 'origin/master' into groups Maikel Linke 2016-02-04 16:12:57 +11:00
  • bd19bf5f3c Refactoring filter selectors Maikel Linke 2016-02-04 16:08:19 +11:00
  • 0ad3d8f351 WIP: styling updates Steve Pettitt 2016-02-02 23:21:04 +00:00
  • 2be005d344 i18n from berlin hackathon Nicolas Blanc 2016-01-31 12:16:33 +00:00
  • 79808acd9f Merge branch 'uk/account-balances' of https://github.com/openfoodfoundation/openfoodnetwork into uk/account-balances Steve Pettitt 2016-01-31 11:00:18 +00:00
  • dcb07237d8 Spec worked, links didn't :) Steve Pettitt 2016-01-31 11:00:07 +00:00
  • 381fb6291e Auto-merged master into uk/account-balances on deployment. Maikel 2016-01-31 21:35:44 +11:00
  • e3b9ce4d80 Delegate url helper to pass specs Steve Pettitt 2016-01-31 10:28:19 +00:00
  • fb557dd682 Merge branch 'hackweek/i18n' of https://github.com/elf-pavlik/openfoodnetwork into elf-pavlik-hackweek/i18n Nicolas Blanc 2016-01-31 09:16:33 +00:00
  • 4438cbd5d0 Merge branch 'uk/account-balances' of https://github.com/openfoodfoundation/openfoodnetwork into uk/account-balances Steve Pettitt 2016-01-30 19:53:53 +00:00
  • ec6b0f873e style credit/debit, spec updates Steve Pettitt 2016-01-30 19:53:37 +00:00
  • 92d830b884 Table styling Steve Pettitt 2016-01-30 17:56:04 +00:00
  • 3c8df7c4aa Auto-merged master into delivery_email_updates on deployment. Maikel 2016-01-30 05:04:11 +11:00
  • c0afa6be49 Bug fix Lynne Davis 2016-01-29 17:57:10 +00:00
  • d0cb9008a2 Delete unused shopfront haml Maikel Linke 2016-01-29 15:13:36 +11:00
  • e551a6b9f5 Updating translations for fr.yml and nb.yml v1.4.1 Transifex-Openfoodnetwork 2016-01-05 08:36:23 +11:00
  • 533124fe91 Display receival instructions when editing order cycle v1.4.0 Rohan Mitchell 2016-01-12 11:24:33 +11:00
  • 5b73b80e81 sorting orders in reverse date order Steve Pettitt 2016-01-28 23:10:27 +00:00
  • ccd66bba9c Credit/debit formatting, use filters for money formatting, use full page width for table Steve Pettitt 2016-01-28 22:42:45 +00:00
  • 02616a8ac7 Updates based on testing on staging Lynne Davis 2016-01-27 18:43:01 +00:00