Permalink
Commits on Jul 14, 2016
  1. Bump version to 0.25

    committed Jul 14, 2016
  2. Add search feature to pastiche

    This uses the fts3 extension of sqlite which is built in by the bundled
    sqlite that comes with the sql-de-lite egg.
    
    To upgrade an existing paste db do the following:
    
    create virtual table searchable using fts3(hash, author, title, time,
    paste);
    
    insert into searchable select * from pastes;
    
    Then start pastiche.
    committed Jul 14, 2016
Commits on Jun 15, 2015
  1. Bump version to 0.24

    committed Jun 15, 2015
  2. @mario-goulart

    Use the same scheme as request's for referencing the CSS file

    Signed-off-by: Christian Kellermann <ckeen@pestilenz.org>
    mario-goulart committed with Jun 15, 2015
Commits on Feb 18, 2015
  1. bump version to 0.23

    committed Feb 18, 2015
  2. Add id to paste-url

    committed Feb 18, 2015
Commits on Nov 17, 2014
  1. bump version to 0.22

    committed Nov 17, 2014
  2. @mario-goulart

    Set maxlength for input fields (nick, title and captch) as 78

    Spammers cause flood on IRC when vandusen notifies pastes whose title
    is too large.  So, limit those fields to 78 characters.
    
    Signed-off-by: Christian Kellermann <ckeen@pestilenz.org>
    mario-goulart committed with Nov 16, 2014
Commits on Aug 28, 2014
  1. Merge pull request #3 from arthurmaciel/master

    Reordered navigation-links, moving it to the top of the page.
    committed Aug 28, 2014
Commits on Aug 19, 2014
  1. @arthurmaciel
Commits on Aug 9, 2014
  1. Merge pull request #2 from arthurmaciel/css-update

    Updated chicken.css to an experimental design, thanks to arthurmaciel!
    committed Aug 9, 2014
Commits on Aug 8, 2014
  1. @arthurmaciel
Commits on May 15, 2014
  1. Bump version to 0.21

    committed May 15, 2014
Commits on May 9, 2014
  1. @mario-goulart

    Use version as string

    Version 0.20 is read as 0.2, which is less than 0.19, according to the
    version comparators.  This can cause problems when chicken-install
    takes decisions based on version numbers.
    
    Although (> 0.20 0.19) => #t,  (version>=? 0.20 0.19) => #f.  However,
    (version>=? "0.20" "0.19") => #t.
    
    That's because versions are (read) by setup-api and tokenized using
    `.' as separators.  If versions are numbers, they are read as numbers
    then converted to strings, then parsed by the version API.  So, 0.20
    is read as 0.2, converted to "0.2" and tokenized as ("0" "2").  Then,
    converted back to numbers we have (0 2).  If we apply the same to
    0.19, we have (> 2 19) => #f.
    
    By using versions as strings, we have "0.20" read as a string,
    tokenized as ("0" "20") and converted back to numbers as (0 20).
    Thus, (> 20 19) => #t.
    mario-goulart committed May 9, 2014
Commits on May 8, 2014
  1. bump version to 0.20

    committed May 8, 2014
  2. Add name (and path to espeak) and its data directory as a parameter.

    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.
    committed May 8, 2014
  3. Bump version to 0.19

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

    Christian Kellermann committed May 8, 2014
Commits on Apr 24, 2014
  1. @mario-goulart

    Fix bug in raw pages, introduced while porting to SXML

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

    This should make it easier to understand as the letters are spelled
    with the "correct accent".
    committed Apr 17, 2014
  2. @mario-goulart

    fix tool-installed?

    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).
    mario-goulart committed Apr 17, 2014
  3. @mario-goulart

    Add space between strings to be concatenated

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

    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.
    committed Apr 16, 2014
  2. Make audible captchas configurable

    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.
    committed Apr 16, 2014
  3. Fix layout of form

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

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

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

    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.
    committed Apr 16, 2014
  7. Bump version to 0.18 for release

    committed Apr 16, 2014
  8. Document easier development mode

    committed Apr 16, 2014
  9. Add missing unquote to navigation-links

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

    This makes development easier, also include the chicken CSS file.
    committed Apr 16, 2014