Permalink
Commits on May 8, 2014
  1. Add name (and path to espeak) and its data directory as a parameter.

    ckeen committed May 8, 2014
    Error out if the call to espeak is not successful (unpon the
    initial collection of available languages).
    
    This should fix the issue found by Mario Goulart, where older
    versions of espeak don't come with a --version flag.
  2. Bump version to 0.19

    Christian Kellermann
    Christian Kellermann committed May 8, 2014
  3. Merge branch 'audible-captchas'

    Christian Kellermann
    Christian Kellermann committed May 8, 2014
Commits on Apr 24, 2014
  1. Fix bug in raw pages, introduced while porting to SXML

    mario-goulart committed Apr 24, 2014
    The raw pages had special HTML characters converted to HTML entities
    (should not happen).
    
    Tests have been updated to check that case.
Commits on Apr 17, 2014
  1. Pronounce the captcha based on the provided language preference.

    ckeen committed Apr 17, 2014
    This should make it easier to understand as the letters are spelled
    with the "correct accent".
  2. fix tool-installed?

    mario-goulart committed Apr 17, 2014
    Previously it always returned a truthy value (a procedure). Now
    it properly returns a boolean.
    
    It has been internally restructured to search for the given filename
    in PATH, since the `-v' trick is not valid anymore (espeak's `-v'
    requires an argument).
  3. Add space between strings to be concatenated

    mario-goulart committed Apr 17, 2014
    Without those spaces, the output would be:
    
      ... figletdoesn't...
      ... espeakdoesn't...
Commits on Apr 16, 2014
  1. Make audio download link unconditionally rendered

    ckeen committed Apr 16, 2014
    If there are browsers that support the audio tag but someone still has
    trouble figuring it out maybe the direct link is of more help.
  2. Make audible captchas configurable

    ckeen committed Apr 16, 2014
    audible-captcha? is a new parameter that will enable audible
    captchas. The default is #t.
    
    Also bail out on bogus input parameters or unkown hashes for captchas.
  3. Fix layout of form

    ckeen committed Apr 16, 2014
    This makes the audio tag / audio link align nicely with the rest
    again.
  4. Make espeak pause between characters

    ckeen committed Apr 16, 2014
    This makes the a in "bar" audible again.
  5. Show correct page title when displaying pastes.

    ckeen committed Apr 16, 2014
    This bug has been kindly reported by andyjpb.
  6. Add audible captcha support to pastiche

    ckeen committed Apr 16, 2014
    This requires espeak in addition to figlet and will generate an audio
    tag or a link to the wav file if the browser does not support the
    audio tag. Tested with Firefox and lynx.
  7. Add missing unquote to navigation-links

    ckeen committed Apr 16, 2014
    This makes them reappear when displaying a paste.
  8. Make example-app run the pastiche module from current working directory

    ckeen committed Apr 16, 2014
    This makes development easier, also include the chicken CSS file.
Commits on Mar 14, 2014
  1. Use define-app

    mario-goulart committed Feb 28, 2014
  2. Use SXML

    mario-goulart committed Feb 28, 2014
  3. Some whitespace cleanup

    mario-goulart committed Feb 27, 2014
Commits on Dec 5, 2013
  1. Bump version to 0.17

    ckeen committed Dec 5, 2013
  2. Fix browsing by using the proper SQL queries

    ckeen committed Dec 5, 2013
    This bug has been there forever, since the author misunderstood the
    limit statement's semantics. With this patch there will be always
    browsing-steps pastes visible. This patch also fixes the
    number-of-post query to omit paste annotations.
Commits on Nov 27, 2013
  1. bump version to 0.16

    ckeen committed Nov 27, 2013
  2. Add `force-vandusen-notification?' keyword parameter for `pastiche'

    mario-goulart authored and ckeen committed Nov 27, 2013
    Default value: #f.
    
    When set to a truthy value, the "Please notify the #chicken channel on
    freenode." checkbox won't be displayed and vandusen will
    unconditionally be notified.
    
    This feature is targeted at paste.call-cc.org, which has been used by
    spammers from time to time.  Spammers usually uncheck the "notify
    vandusen" checkbox, which makes it difficult to track spam pastes.
    With this feature, we will at least be notified on #chicken.
    
    Signed-off-by: Christian Kellermann <ckeen@pestilenz.org>
  3. Turn figlet-installed? into a procedure

    mario-goulart authored and ckeen committed Nov 26, 2013
    That's to avoid calling figlet when captcha is disabled.
    
    Signed-off-by: Christian Kellermann <ckeen@pestilenz.org>
  4. Fix I/O redirection when checking for figlet

    mario-goulart authored and ckeen committed Nov 26, 2013
    Signed-off-by: Christian Kellermann <ckeen@pestilenz.org>
  5. Only refill captchas when use-captcha? is truthy

    mario-goulart authored and ckeen committed Nov 26, 2013
    Fixes error in tests:
    
    Error: (call-with-input-request) Server error: 500 Internal server error:
      #<URI-common: scheme=http port=8080 host="localhost" path=(/ "paste") query=() fragment=#f>
    
    The error was not showing up because of a bug in server-test (it was
    not propagating exceptions).
    
    Signed-off-by: Christian Kellermann <ckeen@pestilenz.org>
Commits on Oct 21, 2013
  1. Use UTF-8 as content type

    ckeen committed Oct 21, 2013
Commits on May 25, 2013
  1. Rel 0.14

    ckeen committed May 25, 2013
  2. Use captchas only once and regenerate the list if empty

    ckeen committed May 25, 2013
    This makes sure a captcha cannot be reused by a witty client. It may
    still be possible to guess the existing list.
Commits on Aug 28, 2012
  1. release 0.13

    ckeen committed Aug 28, 2012
  2. Fix for submitting annotations

    mario-goulart authored and ckeen committed Aug 27, 2012
    Signed-off-by: Christian Kellermann <ckeen@pestilenz.org>
Commits on Jul 26, 2012
  1. release 0.12

    ckeen committed Jul 26, 2012