Commit Graph

  • 3a907a4db7 Move DEFAULT_OPTIONS related logic to Document Gaurav Chande 2015-06-03 19:42:16 +00:00
  • 8b98f92c7f Extract tokenize logic from Template to a RubyTokenizer Gaurav Chande 2015-06-03 19:40:49 +00:00
  • ebaa1cb23d Merge a3f2367776694ad41d10c72db35879a4f7b8feab into b79c0c611c76289007d7c380520eb683d67324c0 #585 Gaurav Chande 2015-06-03 15:18:18 +00:00
  • b79c0c611c Merge pull request #586 from Shopify/string-contains-non-string Dylan Thacker-Smith 2015-06-03 10:58:38 -04:00
  • 49dc60f7b6 add global_filters Loren Hale 2015-06-03 14:37:19 +08:00
  • 4c9f5c47ab Merge 7b21444289e94c31ab2e9140f80c992cf5cbf625 into ea29f8b4b8cbbda09c128a6d03c370aa3ffcf2a2 #587 Loren Hale 2015-06-03 06:34:23 +00:00
  • 8a2947865b Avoid an exception from checking if a string contains a non-string. #586 Dylan Thacker-Smith 2015-06-03 02:21:51 -04:00
  • 7b21444289 Keep input out of error message and add test for slice Integer parsing. #587 Dylan Thacker-Smith 2015-06-03 01:35:01 -04:00
  • 2f7e9f2132 Raise a Liquid::ArgumentError in slice filter for invalid integers. Dylan Thacker-Smith 2015-06-02 15:36:27 -04:00
  • 139ede7832 Convert arguments to replace filters to strings to avoid exceptions. Dylan Thacker-Smith 2015-06-02 15:58:52 -04:00
  • 94db1c8562 Keep old test as well Justin Li 2015-06-02 15:21:51 -04:00
  • eaa7057b6c Remove unnecessary regex options Justin Li 2015-06-02 15:17:36 -04:00
  • 36a113faec Ensure raw tag has no arguments Justin Li 2015-06-02 14:32:39 -04:00
  • c290ece58c Raise SyntaxError if raw tag is unclosed Justin Li 2015-06-02 10:56:51 -04:00
  • deb8ae5e64 add global_filter option to variable Loren Hale 2015-06-03 14:10:15 +08:00
  • c94abf9c43 add rake console task Loren Hale 2015-06-03 14:09:10 +08:00
  • ea29f8b4b8 Merge pull request #583 from Shopify/slice-nil-offset Dylan Thacker-Smith 2015-06-03 01:43:56 -04:00
  • c84f4520cc Keep input out of error message and add test for slice Integer parsing. #583 Dylan Thacker-Smith 2015-06-03 01:35:01 -04:00
  • a3f2367776 User TagRegistery for template registered_tags #585 Gaurav Chande 2015-06-03 03:43:12 +00:00
  • 9582c3034b Prototype template specific tags Gaurav Chande 2015-06-03 03:14:23 +00:00
  • 3dd6433e2f Merge pull request #584 from Shopify/replace-non-string Dylan Thacker-Smith 2015-06-02 16:41:15 -04:00
  • ab7109a335 Raise a Liquid::ArgumentError in slice filter for invalid integers. Dylan Thacker-Smith 2015-06-02 15:36:27 -04:00
  • 94fe050952 Convert arguments to replace filters to strings to avoid exceptions. #584 Dylan Thacker-Smith 2015-06-02 15:58:52 -04:00
  • 9b98c436c4 Merge pull request #582 from Shopify/require-empty-raw-tag Justin Li 2015-06-02 15:58:15 -04:00
  • 889019f53a Keep old test as well #582 Justin Li 2015-06-02 15:21:51 -04:00
  • c290375aec Remove unnecessary regex options Justin Li 2015-06-02 15:17:36 -04:00
  • 719a98a25e Ensure raw tag has no arguments Justin Li 2015-06-02 14:32:39 -04:00
  • 86d8b552da Merge pull request #581 from Shopify/require-closed-raw-tag Justin Li 2015-06-02 11:38:45 -04:00
  • b1ee9129e7 Raise SyntaxError if raw tag is unclosed #581 Justin Li 2015-06-02 10:56:51 -04:00
  • be2e41e4d5 Merge pull request #579 from Shopify/ast-match Justin Li 2015-05-28 16:45:09 -04:00
  • 20ca2b9632 Update history to reflect merge of #570 Justin Li 2015-05-28 16:43:22 -04:00
  • 09de50dcb1 Bump version to 3.0.3 v3.0.3 Justin Li 2015-05-28 16:39:10 -04:00
  • 49f2af4209 Merge pull request #570 from Shopify/fix-strict-conditions Justin Li 2015-05-28 16:33:54 -04:00
  • 6c058823ad Merge pull request #570 from Shopify/fix-strict-conditions Justin Li 2015-05-28 16:33:54 -04:00
  • 27245c9eab Merge pull request #577 from Shopify/table-row-blank-string-collection Dylan Thacker-Smith 2015-05-28 16:20:42 -04:00
  • a639a13380 Use cleaner recursive solution #570 Justin Li 2015-05-28 16:16:30 -04:00
  • 05a0fe56c8 Ensure For@reversed is a boolean #579 Justin Li 2015-05-28 16:06:51 -04:00
  • c1eb694057 Remove the redundant iterable check in the for tag. #577 Dylan Thacker-Smith 2015-05-28 16:04:23 -04:00
  • f53b31c867 Merge pull request #578 from Shopify/filter-error-handling Dylan Thacker-Smith 2015-05-28 15:00:57 -04:00
  • 363388e92f Handle some more standard filter errors. #578 Dylan Thacker-Smith 2015-05-28 14:18:36 -04:00
  • 873eddbb85 Split a line and use String#empty? for readability Dylan Thacker-Smith 2015-05-28 12:55:04 -04:00
  • e790b60f60 Fix exception from using an empty string for the table row collection. Dylan Thacker-Smith 2015-05-28 11:56:52 -04:00
  • 3264d60425 Merge pull request #576 from Shopify/flexible-exception-handler Dylan Thacker-Smith 2015-05-28 11:38:44 -04:00
  • 8ff1b8e01f Test set_line_number_from_token after exception is converted. #576 Dylan Thacker-Smith 2015-05-28 09:22:02 -04:00
  • 8d5e71f856 Allow the exception handler to convert exceptions to hide error messages. Dylan Thacker-Smith 2015-05-27 18:59:51 -04:00
  • 89c6e605f8 Merge pull request #575 from Shopify/zero-division-error Dylan Thacker-Smith 2015-05-26 10:43:23 -04:00
  • 6265c36ec9 Raise Liquid::ZeroDivisionError instead of ZeroDivisionError. #575 Dylan Thacker-Smith 2015-05-25 15:40:17 -04:00
  • 169dfe5af3 Translate exceptions in filters to Liquid::FilterError errors. filter-error Dylan Thacker-Smith 2015-05-25 15:22:12 -04:00
  • 8af99ff918 Merge pull request #573 from Shopify/optional-error-rendering Dylan Thacker-Smith 2015-05-25 12:11:10 -04:00
  • 36200ff704 Make liquid error rendering optional. #573 Dylan Thacker-Smith 2015-05-21 10:49:21 -04:00
  • 8daaad3b76 Make error locations available for non-Liquid::Error exceptions. out-of-band-errors Dylan Thacker-Smith 2015-05-21 18:36:56 -04:00
  • d36c6822da Include template name with line numbers in render errors. Dylan Thacker-Smith 2015-05-21 16:49:18 -04:00
  • 3d87d9ab1e Raise Liquid::ZeroDivisionError instead of ZeroDivisionError. Dylan Thacker-Smith 2015-05-21 12:18:58 -04:00
  • 71ff1f283a Make liquid rendering optional. Dylan Thacker-Smith 2015-05-21 10:49:21 -04:00
  • a9c7df931f Strict parse conditions in reverse order Justin Li 2015-05-15 13:37:53 -04:00
  • 070639daba Push to for_stack at the beginning of For#render Justin Li 2015-05-15 23:13:15 -04:00
  • dad98cfc89 Merge pull request #562 from Shopify/use-find_variable-for-parentloop Justin Li 2015-05-15 21:48:57 -04:00
  • 014cff0413 Merge 3f0d223285b3f4e6e10cbd31d6008e2a553ce386 into 1d3c0b3dab6a3c568cc88eb0439e6997a846d09b #572 Guillermo Guerrero Ibarra 2015-05-15 07:13:27 +00:00
  • 3f0d223285 Fixed for Ruby 1.9.3 #572 Guillermo Guerrero 2015-05-15 08:48:45 +02:00
  • ada5a3d026 Merge 84d8fb83b4e448e96f0f3fc1e927f0a1e9d5b951 into 1d3c0b3dab6a3c568cc88eb0439e6997a846d09b #566 Justin Li 2015-05-14 20:19:04 +00:00
  • 1d3c0b3dab Merge pull request #568 from Shopify/remove_liquid_methods Florian Weingarten 2015-05-14 22:19:02 +02:00
  • 84d8fb83b4 Remove unnecessary stack pushes #566 Justin Li 2015-05-13 17:42:06 -04:00
  • 648a4888af Pop the for_stack register in an ensure #562 Justin Li 2015-05-14 15:02:20 -04:00
  • b4e5017c79 Add truth table test for multiple if conditions Justin Li 2015-05-14 14:11:03 -04:00
  • f1bc9f27df Include message in assert_template_result Justin Li 2015-05-14 14:10:45 -04:00
  • f4724f0db3 Remove support for liquid_methods Module extension #568 Florian Weingarten 2015-05-14 14:44:13 +00:00
  • df74955ac4 Merge pull request #564 from Shopify/rubocop Florian Weingarten 2015-05-14 16:41:32 +02:00
  • 3372ca8136 Rubocop #564 Florian Weingarten 2015-05-13 17:56:13 +00:00
  • 0a76a3b8d1 Merge f5ba7ae4b269977086b5581b24811d65824d4e3c into 8cf524e91c3f3939f86482c8e8789da37f57e342 #561 Justin Li 2015-05-13 19:45:24 +00:00
  • 8cf524e91c Merge pull request #565 from Shopify/file-dirname Jean Boussier 2015-05-13 15:45:22 -04:00
  • 5e38626309 Force circle in ruby 2.0 #565 Jean Boussier 2015-05-13 15:40:34 -04:00
  • b31df0fb3d Mordernize code base with __dir__ and require_relative Jean Boussier 2015-05-13 15:32:08 -04:00
  • c0fdbf9d04 Merge 9f9794ad33e5743010dd75ed7d114fc2740e74b4 into 9e815ec594d765bd4f90853e139d2c147ad9dbdc #558 Andrew Rove (Rover) 2015-05-13 17:41:05 +00:00
  • d78817733d Merge 7e4eacddda241bce279e2029ffaa0e8f7c5086f0 into 9e815ec594d765bd4f90853e139d2c147ad9dbdc #336 Didier Lafforgue 2015-05-13 14:59:40 +00:00
  • 9e815ec594 Merge pull request #563 from Shopify/webscale_exceptions Florian Weingarten 2015-05-13 06:06:35 +02:00
  • 93b29b67ef Prefer Class.new() where possible #563 Florian Weingarten 2015-05-13 02:47:43 +00:00
  • 863e8968f0 Use extra stack for forloop references Justin Li 2015-05-12 17:04:34 -04:00
  • 4c9d2009f9 Add find_own_variable method to look up internal context variables Justin Li 2015-05-12 16:49:39 -04:00
  • 239cfa5a44 Use find_variable for parentloop Justin Li 2015-05-12 16:11:32 -04:00
  • f2d760b0e9 Add to_hash for ResourceLimits for serialization resource-limits-keys Justin Li 2015-05-12 14:27:26 -04:00
  • f5ba7ae4b2 Update Include#format for recent changes in master #561 formatter Justin Li 2015-05-12 13:24:40 -04:00
  • 9e666d7528 Use heredocs for multiline strings (backwards compat) Justin Li 2015-05-12 13:16:51 -04:00
  • 5ee8a32cb8 Include for tag arguments in formatted output Justin Li 2015-05-12 13:15:42 -04:00
  • d2cbc5610e Use Tag#raw as the fallback for #format Justin Li 2015-05-11 17:42:13 -04:00
  • 4a17d1a4ad Initial recursive AST formatting Justin Li 2015-05-11 17:33:23 -04:00
  • 8a8996387b Update history to reflect merge of #554 Justin Li 2015-05-12 13:20:06 -04:00
  • 9310640bdd Merge pull request #554 from arthanzel/529-sort_natural Justin Li 2015-05-12 13:19:24 -04:00
  • 4c3381a523 Update history to reflect merge of #559 Justin Li 2015-05-12 10:59:58 -04:00
  • 261aa2e726 Merge pull request #559 from Shopify/fix-include-var Justin Li 2015-05-12 10:50:13 -04:00
  • 247c51ac70 Call Context#find_variable directly #559 Justin Li 2015-05-11 18:21:24 -04:00
  • 37dbec3610 Remove unnecessary parse Justin Li 2015-05-11 18:10:38 -04:00
  • ff253a04c6 Lazily evaluate template name for context variable injection Justin Li 2015-05-11 18:01:24 -04:00
  • 25ef0df671 Add tests for #461 Justin Li 2015-05-11 17:59:05 -04:00
  • 284ab38b8c Merge 9f9794ad33e5743010dd75ed7d114fc2740e74b4 into 724d625f47972c0b12f1f63d427588dc2e226ee1 #557 Andrew Rove (Rover) 2015-05-11 19:15:44 +00:00
  • 9f9794ad33 Allow for a block to be passed on liquid_methods that can transform the allowed methods return value. Useful for sanitization and dynamic content. #558 #557 Andrew Rove 2015-05-11 14:12:04 -05:00
  • aa3b4107fc Merge 78890f8e0f4af9916725e3dfe04cc401adfc0b29 into 724d625f47972c0b12f1f63d427588dc2e226ee1 #556 nulian 2015-05-11 08:28:46 +00:00
  • 78890f8e0f make sure to get the correct context_variable_name #556 nulian 2015-05-11 10:23:30 +02:00
  • 32460c255b Removed a few superfluous comments #554 Martin Hanzel 2015-05-08 11:48:33 -04:00
  • 724d625f47 Update history to reflect merge of #555 [ci skip] Justin Li 2015-05-07 14:03:38 -04:00
  • f658dcee8b Merge pull request #555 from boobooninja/date_filter Justin Li 2015-05-07 13:59:22 -04:00