Giter VIP home page Giter VIP logo

peppercorn's Introduction

peppercorn's People

Contributors

aodag avatar hathawsh avatar mcdonc avatar sallner avatar stevepiercy avatar tisdall avatar tseaver avatar vung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

peppercorn's Issues

Add contributing.md and update docs

Use Pyramid's contributing.md as a template.

Update docs to use modern Sphinx settings, including an rtd.txt file, and adding an environment to build docs for each PR. Also run linkcheck.

Release?

Not to be a pest (well โ€” maybe to be a pest) would it be possible to get a release made?

(I'm working on hardening my app against funky inputs. Peppercorn 0.4, the latest release, raises a StopIteration on peppercorn.parse([('__start__', u'foo:mapping')]). Master more properly raises ValueError.)

Thank you!

Naming conflict in HTML due to multiple __start__ tokens

The nested example in the documentation produces invalid HTML. Multiple input tags contain the identical name 'start', which is only allowed for types checkbox and radio.

So, when testing this web form with infrae.testbrowser this issue becomes blocking, because it produces the following assertion error:

"AssertionError: start: only checkbox and radio can be multiple inputs"

There should be away to distinguish multiple start (and end) tokens.

A simple solution can be to handle these tokens as postfix values (by checking with endswith() instead of equals), allowing any custom, unique prefix to be put in front of this token.

Multiple file select uploads

When using a file select input type (<input type="file" />), and adding more than one file (multiple), peppercorn seems to ignore all but the last file parsed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.