Commit Graph

9 Commits (e9f62738fb0c46e6b54edd841ccf83fd3429e659)

Author SHA1 Message Date
Matt Miller 53ffe0c3b6 URLEncode: add structured answer 2014-11-15 21:33:00 +02:00
Matt Miller 68fc7c8dec Set explicit caching everywhere.
This explicity sets the caching behavior for all goodies. Goodies which
did not have caching behavior set in their package have had it added.
Similarly for the tests.

This resulted in a number of changes for caching behavior, mostly
moving towards more frequent caching.

I identified three cases where goodies should not be cached. They are when
the result depends upon:

- some random element,
- the time of day or year (as with relative dates), or
- the location of the requesting user

In all other cases, I presumed that the goodies were sufficiently
deterministic in their output to warrant caching.
2014-09-27 10:35:17 -04:00
nishanths 38ec92a4a8 cleanup
- accented_chars changes for the future
- substitutions in the Encode Goodie are now after the ‘else’ block
- regex change to one liners
- tests
2014-06-24 20:19:37 -07:00
nishanths 34d4ad5f01 URL encode now encodes reserved chars 2014-06-24 19:29:03 -07:00
nishanths 23dbc78514 convert indentation to spaces 2014-06-23 22:14:56 -07:00
nishanths ced5244f8b Add css
File level:
- Rename decode module

Changes:
- Add css (not in share folder)
- Improve triggers
- Improve brackets vs. bracket, quotes vs. quote

Other:
- More tests
- Comments
- minor regex for spaces, html decoding
2014-06-23 22:12:47 -07:00
nishanths d4fedd24d4 add zci__mor-at class for links 2014-06-17 02:59:20 +05:30
nishanths 617d27c394 update test files for new triggers 2014-06-17 02:03:57 +05:30
nishanths c0b15421eb Add separate modules HTMLEncode, Decode; URLEncode
– Add HTMLEntitiesDecode.pm and .t
– Add HTMLEntitiesEncode.pm and .t
– Add URLEncode and .t
– Remove HTMLEntities.pm and HTMLEntitiesCode.pm and their test files
2014-06-13 19:29:01 +05:30