summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* chore: update version to 2.4.0 and year refs to 2017v2.4.0Ben Bangert2017-01-013-4/+11
|
* Merge pull request #75 from adamchainz/universal_wheelsBen Bangert2016-12-311-0/+3
|\ | | | | Release as a universal wheel
| * Release as a universal wheelAdam Chainz2016-10-161-0/+3
|/ | | | By releasing as a [Python wheel](http://pythonwheels.com/) as well as a source distribution, you can speed up end user’s installs. After merging this command, to release you just need to run `python setup.py clean sdist bdist_wheel upload`.
* Merge pull request #71 from webknjaz/bugfix/tox-nose-commentBen Bangert2016-07-221-1/+2
|\ | | | | Fix tox comment next to nose dependency
| * Move comment next to nose dependency one line upSviatoslav Sydorenko2016-07-211-1/+2
| | | | | | | | | | It looks tox stopped understanding comments, added to the same line as instructions. Work around that.
| * Merge pull request #3 from bbangert/masterSviatoslav Sydorenko2016-07-2110-35/+75
| |\ | | | | | | Update from upstream #3
* | \ Merge pull request #72 from scorpioxiatian/masterBen Bangert2016-07-222-3/+2
|\ \ \ | |_|/ |/| | Fix a little syntax error
| * | Fix a little syntax errorchengkunye2016-07-222-3/+2
|/ /
* | Merge pull request #67 from adamchainz/readthedocs.ioBen Bangert2016-06-201-1/+1
|\ \ | | | | | | Convert readthedocs links for their .org -> .io migration for hosted projects
| * | Convert readthedocs links for their .org -> .io migration for hosted projectsAdam Chainz2016-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard. Test Plan: Manually visited all the links I’ve modified.
* | | Merge pull request #69 from sdague/masterBen Bangert2016-06-201-1/+1
|\ \ \ | |/ / |/| | Fix missing quotes in documentation
| * | Fix missing quotes in documentationSean Dague2016-06-201-1/+1
|/ / | | | | | | | | When reading the docs I discovered a missing set of single quotes in this code example which makes the example invalid python code. Fixed.
* | chore: add codecovBen Bangert2016-03-301-0/+2
| |
* | chore: update version to 2.3.1 and year refs to 2016v2.3.1Ben Bangert2016-03-304-7/+7
| |
* | Merge pull request #65 from dims/masterBen Bangert2016-03-293-10/+21
|\ \ | | | | | | Tolerate older usage with mandatory routename and optional path
| * | Tolerate older usage with mandatory routename and optional pathDavanum Srinivas2016-03-293-10/+21
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the following review: https://github.com/bbangert/routes/commit/0a417004be7e2d950bdcd629ccf24cf9f56ef817 Routes 2.3 has changed the function signature to mandate path in addition to routename for the connect method. In this patch, we try to get back to path being optional by checking the length of the args list. No other change in logic. This hopefully fixes the problem reported here: https://github.com/bbangert/routes/issues/64 Add an entry in Changelog as well.
* | chore: tag 2.3 releasev2.3Ben Bangert2016-03-282-3/+3
| |
* | Merge pull request #62 from PavloKapyshin/masterBen Bangert2016-03-261-1/+1
|\ \ | | | | | | Fix typo
| * | Fix typoPavlo Kapyshin2016-03-261-1/+1
|/ /
* | Merge pull request #61 from uvNikita/masterBen Bangert2016-03-243-3/+14
|\ \ | | | | | | Fix subdomain equivalence check
| * | Add changelog entry for sub_domain fixNikita Uvarov2016-03-241-0/+1
| | |
| * | Fix subdomain equivalence check. Use regex instead of startswithNikita Uvarov2016-03-242-3/+13
|/ / | | | | | | | | Problem occurred when new subdomain was left substring of current one. In this case subdomain was not replaced.
* | Merge pull request #60 from webknjaz/29-support-protocol-relative-urlBen Bangert2016-02-283-12/+28
|\ \ | | | | | | Fix #29. Add support for protocol-relative URLs
| * | Wrap conditions with parenthesesSviatoslav Sydorenko2016-02-281-2/+2
| | |
| * | Document support for protocol-relative URLs generation. Close #29Sviatoslav Sydorenko2016-02-231-0/+2
| | |
| * | Add support for protocol-relative URLs generation. Close #29Sviatoslav Sydorenko2016-02-231-12/+24
| | |
| * | Add tests for protocol-relative URLs generation. Close #29Sviatoslav Sydorenko2016-02-231-0/+2
| |/
| * Merge pull request #2 from bbangert/masterSviatoslav Sydorenko2016-02-226-13/+22
| |\ | |/ |/| Update from upstream #2
* | Merge pull request #59 from webknjaz/38-add-webob-dependencyBen Bangert2016-02-216-13/+22
|\ \ | | | | | | Fix #38: Add webob dependency [optional]
| * | Ignore .eggs/ and .coverage appearing locallySviatoslav Sydorenko2016-02-211-0/+2
| | |
| * | Document possibility of depending on [middleware]. Fix #38Sviatoslav Sydorenko2016-02-212-2/+6
| | |
| * | Document [middleware] dependency in changelog. Fix #38Sviatoslav Sydorenko2016-02-211-0/+2
| | |
| * | Add test for middleware extra requirement. Fix #38Sviatoslav Sydorenko2016-02-211-11/+7
| | |
| * | Add optional dependency for webob as middleware extra requirement. Fixes #38Sviatoslav Sydorenko2016-02-201-0/+5
| |/
| * Merge pull request #1 from bbangert/masterSviatoslav Sydorenko2016-02-187-14/+40
| |\ | |/ |/| Update from upstream
* | Merge pull request #55 from haypo/toxBen Bangert2016-02-153-4/+20
|\ \ | | | | | | Add tox.ini
| * | Add tox.iniVictor Stinner2016-02-153-4/+20
|/ / | | | | | | | | | | | | | | | | | | | | tox is a nice tool to run tests: it creates virtual environments, install test dependencies and run tests. With the simple command "tox", tests are run on Python 2 and Python 3. * Create tox.ini based on .travis.yml * Modidy .travis.yml to use tox-travis: https://github.com/ryanhiebert/tox-travis * .gitignore: ignore .tox/ sub-directory created by tox.
* | Merge pull request #56 from haypo/mapper_py3Ben Bangert2016-02-132-2/+6
|\ \ | | | | | | Fix BytesWarning in Mapper.generate()
| * | Fix BytesWarning in Mapper.generate()Victor Stinner2016-02-092-2/+6
|/ / | | | | | | | | | | | | | | | | | | | | | | When python3 is run with -bb, str(bytes) raises a BytesWarning. On Python 3, Mapper.generate() gets such BytesWarning because script_name type is str whereas cache_key type is byte. On Python 3, generate() now encodes the script_name to UTF-8 and uses bytes concatenation to fix this issue. .travis.yml: Run tests using "python -bb $(which nosetests)" to raise BytesWarning exception on bytes vs Unicode issue.
* | Merge pull request #58 from webknjaz/58-fix-empty-string-matchBen Bangert2016-02-035-9/+15
|\ \ | |/ |/| Fix empty string match
| * Add python 3.5 classifierSviatoslav Sydorenko2016-02-041-1/+2
| |
| * Log empty string fixSviatoslav Sydorenko2016-02-041-2/+2
| |
| * Test against 3.5 an nightly as well. Allow nightly to failSviatoslav Sydorenko2016-02-011-0/+5
| |
| * Ajusts empty value testsSviatoslav Sydorenko2016-02-011-2/+2
| |
| * Fix empty string matchSviatoslav Sydorenko2016-02-011-4/+4
|/
* Merge pull request #57 from sdague/masterBen Bangert2016-01-153-0/+36
|\ | | | | allow requirements to be specified on Mapper.resource
| * Add support for ``requirements`` to mapper.resourceSean Dague2016-01-133-0/+36
|/ | | | | | | | | | | | | | | | | | | | | | | | | This adds support for ``requirements`` option to mapper.resource, which makes it possible to restrict matching in urls (most often useful for capturing variables with path_prefix). In OpenStack Nova we've used the prefix_path on Mapper.resource to specify additional variables we want to capture (specifically {project_id}). Project_id is a uuid. When trying to restrict project_id to only valid uuid format a couple of issues were exposed. - #1 '/{project_id:[a-f0-9]{32}}/...' builds an incorrect regex because of the nested {} - #2 the preferred method that works on connect() to pass requirements doesn't work here (requirements are reset to only an id match) That leaves us with having to build a custom project_id match with 32 [a-f0-9] strings appended for every resource added to get the support we need without effectively vendoring our own version of Mapper.resource. This small change to allow requirements to pass through would make it possible to get this tighter validation with much smaller regexes.
* Add changelog for PR #28 re: submapper controller argument concat issue.Ben Bangert2015-08-201-0/+8
|
* Merge pull request #28 from mikepk/concat_fixBen Bangert2015-08-202-11/+74
|\ | | | | Concat fix
| * Add test for arg override behaviors in submappersmikepk2015-08-181-0/+37
| |