Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Apr 9, 2015
  1. Bump version

    authored
  2. Add tests to see whether modifying the tag list works

    authored
    Note that this also shows that an (Rails) needs to modify the list only once
    (assuming that the change is globally required)
Commits on Apr 7, 2015
  1. Remove old/unusage methods

    authored
  2. Ignore coverage test results

    authored
  3. Remove unused method

    authored
    Last use is removed by e365527
Commits on Apr 6, 2015
  1. Do not track (vim) swap files

    authored
  2. Remove debugging code

    authored
    It is not used anywhere for a long time, and lots of more sophisticated methods are available.
  3. Add Travis and Coveralls badges

    authored
Commits on Apr 5, 2015
  1. Add Coveralls support

    authored
  2. Require ruby version 1.9.3 or higher

    authored
    The i18n gem (dependency of activesupport gem) requires ruby version 1.9.3 or higher
  3. Add link to changelog

    authored
    and use relative link for license
Commits on Apr 4, 2015
  1. Support default value for an optional parameter

    authored
    This default value is used when the parameter is not specified by the input
  2. Slightly more clear what is happening

    authored
    Matches html_template.rb as well (increasing clarity)
  3. There is no need to check is parameters are set

    authored
    inlay_params! iterates over the params and fills them in when they are provided.
    This also works when no parameters are provided at all..!
  4. Fix quick_param_format of img and size tags

    authored
    The old format allowed for empty values
  5. Support optional and required parameters

    authored
    When an required parameter is missing, an error is thrown by the validation mechanisms.
    
    Missing optional parameters are (silently) ignored: make use that the output does not have empty attributes!
  6. Use iframe-API for YouTube videos (closes #18)

    authored
    The newer API (https://developers.google.com/youtube/iframe_api_reference) is more flexible and supports a wider range of devices.
    
    Note that iframe-tag is directly inserted, instead of using the JavaScript code.
    This is easier to generate and include on pages that support BBCode, and might or might now use youtube videos
  7. Fix (double) quotes in the HTML output

    authored
    (Double) quotes could not be parsed in JavaScript/JSON, as the strings were ending prematurely resulting in parse errors
Commits on Mar 1, 2015
  1. @warezgibzzz

    Uppercase fixes annd test coverage (issue #27)

    warezgibzzz authored committed
  2. @warezgibzzz

    Rename test file

    warezgibzzz authored committed
    Fix typo
Commits on Feb 25, 2015
  1. Add :uri_escape option for tag tokens (issue #21)

    authored
    When :uri_escape is set, the parameter value will be escaped so the parameter can become part of the query part of an URI.
    
    Note that this is different than HTML escaping (e.g. & becomes &)
Commits on Feb 14, 2015
  1. Improve multi_tag support

    authored
     * media-tag requires between text (to determine actual tag) (issue #25)
     * Throw error cases where no 'between_text' is provided (issue #25)
     * Throw error when the between text is not recognized, so the actual tag cannot be determined
     * Do not convert tag to text, just because it is not recognized
     * Do not check for unknown media tags in HTMLTemplate, as it should just thrown an error (which it does now)
Commits on Feb 8, 2015
  1. Add errors to BBCodeErrorTemaplte for non-matching tags

    authored
    The closing tags that do not match are converted to 'text elements', so they are shown by the BBCodeErrorTemplate including the error annotation.
    When an opening tag does not have a matching closing tag, a mark is added, so the closing tag is not processed (wrongly) by BBCodeErrorTemplate
Commits on Feb 6, 2015
  1. Remove assert_raise tests and these exceptions in HTML test

    authored
    It is not interesting whether an exception is raised when bbcode validity is checked, but the actual error(s) should be tested there.
    Whether exceptions are raised or not is placed (back) in the HTML test, as the exceptions should only be raised for the HTML output.
  2. Store actual node/tag in @tags_list

    authored
    This allows for easier tag manipulation, as the complete/spefic set of information is available.
Commits on Feb 5, 2015
  1. Add error checking when between text is allowed as parameter (url-tag)

    authored
    (and add missing img-tag test)
  2. Refactor code

    authored
     * Reuse tag(_def)
     * Create element when it is actually required
     * Rename tag to tag_def if the variable hold the tag definition
     * Create tag(_def) variable when it is actually required, also use 'current node' as this is the node/tag that is  being checked
Something went wrong with that request. Please try again.