Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | | | | | | | | | Revert some stuff to use the new sanitizers. | Timm | 2014-06-16 | 1 | -6/+6 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Point gems to all the right places. | Timm | 2014-06-16 | 1 | -4/+4 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Remove html-scanner and its tests. | Timm | 2014-06-16 | 13 | -2454/+0 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Remove deprecation notice. | Timm | 2014-06-16 | 1 | -2/+0 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Add a layer of indirection making sanitizers pluggable. | Timm | 2014-06-16 | 3 | -3/+23 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Delegate allowed tags and attributes setting to HTML::WhiteListSanitizer. | Timm | 2014-06-16 | 1 | -4/+4 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Changed configuration documentation to no longer state it replaces a Set. | Timm | 2014-06-16 | 1 | -2/+2 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Deprecate configurations and use allowed_tags and allowed_attributes on ↵ | Timm | 2014-06-16 | 1 | -99/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WhiteListSanitizer. | |||||
| | * | | | | | | | | | | Remove include of rails-dom-testing in rails_info_controller_test.rb as it ↵ | Timm | 2014-06-16 | 1 | -3/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is included in ActionController::TestCase. | |||||
| | * | | | | | | | | | | Migrated test away from escaped quotes. | Timm | 2014-06-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Made deprecation messages in sanitize_helper more clear. | Timm | 2014-06-16 | 1 | -3/+3 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Remove unneeded comment in test. | Timm | 2014-06-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Remove some whitespace in actionpack.gemspec. | Timm | 2014-06-16 | 1 | -3/+0 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Updated CHANGELOG message to include info about rails-html-sanitizer. | Timm | 2014-06-16 | 1 | -2/+3 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Updated CHANGELOG message about rails-dom-testing. | Timm | 2014-06-16 | 1 | -12/+3 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Completed integration of rails-html-sanitizer in SanitizeHelper. Deprecated ↵ | Timm | 2014-06-16 | 3 | -294/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | protocol_separator accessors and bad_tags=. | |||||
| | * | | | | | | | | | | Moved html_document to ActionDispatch::Assertions. Included the ↵ | Timm | 2014-06-16 | 2 | -7/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rails::Dom::Testing::Assertions there as well. | |||||
| | * | | | | | | | | | | Updated html-scanner deprecation message. | Timm | 2014-06-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Support for changes in SelectorAssertions. | Timm | 2014-06-16 | 2 | -5/+20 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Included rails-dom-testing in rails_info_controller_test.rb | Timm | 2014-06-16 | 1 | -0/+3 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Fixed deprecated selector in form_collections_helper_test.rb with from ↵ | Timm | 2014-06-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | catch_invalid_selector. Sweet. | |||||
| | * | | | | | | | | | | Removed sanitizers- and scrubbers_test.rb. They are in rails-html-sanitizer. | Timm | 2014-06-16 | 2 | -645/+0 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Included DomAssertions in url_helper- and atom_feed_helper_test.rb. | Timm | 2014-06-16 | 2 | -1/+3 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Removed assert_select test file, since it has been moved to rails-dom-testing. | Timm | 2014-06-16 | 1 | -365/+0 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Required rails-dom-testing in test_case.rb | Timm | 2014-06-16 | 1 | -1/+3 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Changed deprecation message in dom and selector assertions in Action Dispatch. | Timm | 2014-06-16 | 2 | -2/+2 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Exchanged requiring of action view assertions with rails dom testing assertions. | Timm | 2014-06-16 | 1 | -2/+3 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Removed ActionView::Assertions. Getting ready to exchange with ↵ | Timm | 2014-06-16 | 3 | -540/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rails::Dom::Testing::Assertions. | |||||
| | * | | | | | | | | | | Added rails-dom-testing and rails-html-sanitizer to Gemfile. Added tests for ↵ | Timm | 2014-06-16 | 2 | -0/+65 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assert_select_email. | |||||
| | * | | | | | | | | | | Removed tag.rb, since it is actually removed, not just deprecated. [ci skip] | Timm | 2014-06-16 | 1 | -3/+0 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Moved ActionView::Assertions dependency from Action Pack's lib to ↵ | Timm | 2014-06-16 | 3 | -4/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | abstract_unit.rb. | |||||
| | * | | | | | | | | | | Changed ActiveSupport::Derprecation.silence to assert_deprecated. | Timm | 2014-06-16 | 1 | -2/+2 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Silenced deprecation warnings in the tests. Documentation uses present ↵ | Timm | 2014-06-16 | 2 | -5/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tense. Changed deprecation message to not use you. Also returning from rescue block in catch_invalid_selector to abort reraising the exception. | |||||
| | * | | | | | | | | | | Added deprecation warning for invalid selectors and skipping assertions. | Timm | 2014-06-16 | 2 | -5/+35 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Nokogiri leaves '<' unescaped, so the assert_select looking for '<' will ↵ | Timm | 2014-06-16 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | never work. Switched to assert_matching the reponse body. | |||||
| | * | | | | | | | | | | Added tests for TargetScrubber. | Timm | 2014-06-16 | 1 | -0/+31 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Rounded out PermitScrubber tests. Extracted helper methods to a ScrubberTest ↵ | Timm | 2014-06-16 | 1 | -8/+80 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | class. | |||||
| | * | | | | | | | | | | Moved some tests to scrubbers_test.rb. Added better testing of accessor ↵ | Timm | 2014-06-16 | 2 | -6/+21 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | validation. | |||||
| | * | | | | | | | | | | Added some test coverage for PermitScrubber. | Timm | 2014-06-16 | 1 | -0/+80 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Changed PermitScrubber's direction to bottom up to align better with ↵ | Timm | 2014-06-16 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Loofah's strip scrubber. | |||||
| | * | | | | | | | | | | Now only requiring Loofah in the places where it is needed. | Timm | 2014-06-16 | 3 | -1/+4 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Minor rewording in TargetScrubber documentation. | Timm | 2014-06-16 | 1 | -3/+3 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Added deprecation notice to actionpack changelog. | Timm | 2014-06-16 | 1 | -0/+6 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Updated Action View changelog entries with more information about the ↵ | Timm | 2014-06-16 | 1 | -0/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes in the API. Removed mention of mentor (at his request). | |||||
| | * | | | | | | | | | | Stylistic improvements in ActionView::Assertions::DomAssertions. | Timm | 2014-06-16 | 1 | -0/+4 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Now returning html if html is blank? in FullSanitizer and ↵ | Timm | 2014-06-16 | 2 | -5/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WhiteListSanitizer. This means it'll return false if called with false, however that is not a valid use case. | |||||
| | * | | | | | | | | | | Stylistic improvements. Some light documentation for remove_xpaths. | Timm | 2014-06-16 | 1 | -6/+8 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Removed require's for html-scanner. | Timm | 2014-06-16 | 3 | -2/+3 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | Changed test expectation from '<<' to '' with string to sanitize '<<<bad ↵ | Timm | 2014-06-16 | 1 | -4/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | html>' in sanitizers_test. | |||||
| | * | | | | | | | | | | Added deprecation warning to ActionDispatch::Assertions::TagAssertions. | Timm | 2014-06-16 | 1 | -0/+3 | |
| | | | | | | | | | | | |