Commit Graph

281 Commits

Author SHA1 Message Date
Kostis Anagnostopoulos, Yoga-2
cb6f3b698a Use bottle's SimpleTemplate engine to avoid XSS on welcome-page (#77).
- Add 1 TC.
- TODO: Probable XSS still in error-messages.
2015-02-22 18:43:35 +01:00
Kostis Anagnostopoulos, Yoga-2
9cdcf70fd9 Bump version from 1.1.7-beta.0 --> beta.1. 2015-02-21 00:28:51 +01:00
Kostis Anagnostopoulos
e6d53968d1 Merge pull request #75 from ankostis/prep_v1.1.7
(2) Preparations for v1.1.7: beta.0
1.1.7-beta.0
2015-02-20 11:34:49 +01:00
Kostis Anagnostopoulos, Yoga-2
e0bb002a03 Retrofit mutable-default-arg introduced by Auths @ffd366fa3e. 2015-02-17 01:46:29 +01:00
Kostis Anagnostopoulos, Yoga-2
f664ac8dcd Update Changes. 2015-02-17 01:46:28 +01:00
Kostis Anagnostopoulos, Yoga-2
24114e6761 Tox-test PY34 on also on TravisCI and classifiers. 2015-02-17 01:46:01 +01:00
Kostis Anagnostopoulos, Yoga-2
8f9cc454cb Bump-ver from 1.1.6-->1.1.7-beta.0 2015-02-17 01:31:45 +01:00
Kostis Anagnostopoulos
6be20d7d99 Merge pull request #73 from ankostis/PEP8
Pep8 changes
2015-02-17 00:51:24 +01:00
Kostis Anagnostopoulos, Yoga-2
c6a79ef9c2 FIX test with PEP8-PkgFile class. 2015-02-17 00:46:37 +01:00
stephanep
9883120adb Fix some PEP8 conventions 2015-02-17 00:46:37 +01:00
Kostis Anagnostopoulos
ce63a21a04 Merge pull request #74 from ankostis/cachectrl
(2) Add Cache-control header to enable pip caching
2015-02-17 00:41:08 +01:00
Bartek Rychlicki
c3453878f1 Add tests for cache control. 2015-02-17 00:30:53 +01:00
Bartek Rychlicki
127038917b Add cache control header option. 2015-02-17 00:30:53 +01:00
Kostis Anagnostopoulos
a90c96dab3 Merge pull request #61 from ankostis/feat/welcome-msg
Possible to redefine server's welcome-page with cmd-line option (2).
2015-02-15 23:25:09 +01:00
Kostis Anagnostopoulos, Yoga-2
b011ac9dcf Merge WelcomeMsg with recent master for Milestone v1.7 (Auth included). 2015-02-15 23:09:05 +01:00
Kostis Anagnostopoulos
2bb673505c Merge pull request #70 from ankostis/SelectProperFiles
Updated PR #59 (serve packages only), also tox-test on py34.
2015-02-15 22:48:13 +01:00
Kostis Anagnostopoulos, Yoga-2
e5857c211e Tox-test also on py34 2015-02-15 22:43:28 +01:00
Kostis Anagnostopoulos, Yoga-2
2c0bf82c6a Merge with pypiserver/master before milestone v1.7 2015-02-15 22:38:41 +01:00
Kostis Anagnostopoulos
202c26fb75 Merge pull request #66 from koodaamo/auth_improvements
Merge Auth improvements (directly on github).
2015-02-15 21:52:14 +01:00
Kostis Anagnostopoulos @ STUW025
91f635b570 tests: Normalize paths for comparisons to run on Windows. 2015-01-15 16:20:24 +01:00
ankostis@kilo
c64b8c32d2 Allow to override welcome-msg(/) from a separate html file.
- Read welcome-msg in UTF-8.
- Add cmd-line option for `welcome-file`.
- Add TCs for welcome-file option and `/` http-req.
- Update docs for new option.
- Failback to in-code welcome-msg if unreadable (ie standalone mode, bad file).
2015-01-15 16:20:24 +01:00
Petri Savolainen
1f2b67ab99 update changelog 2015-01-09 12:21:30 +02:00
Petri Savolainen
9b3b820644 update README 2015-01-09 12:13:59 +02:00
Petri Savolainen
3d72d16150 remove unused import 2015-01-09 12:11:35 +02:00
Petri Savolainen
f57815df89 add auth option to README 2015-01-09 12:08:10 +02:00
Petri Savolainen
5e8500f615 add checks for trailing comma & option dependencies, improve docs 2015-01-09 12:05:50 +02:00
Petri Savolainen
ffd366fa3e implement auth for listings and downloads 2015-01-09 10:59:56 +02:00
Gregory Reshetniak
d0946ebbcf Merge pull request #62 from ankostis/feat/logging
FIX #58: Added logging facilities
2014-11-18 11:44:04 +02:00
Gregory Reshetniak
b28ecc4fb2 Merge pull request #59 from ankostis/feat/gitignore-pydev
Git-Ignore PyDev's (Eclipse) project files, along with *.egg
2014-11-18 11:41:06 +02:00
ankostis@kilo
cf03226ea2 Add Logging for all http actions.
* Use stabdard python's logging lib.
* Log http-request/response/errors.
* Cmd-line options for logging-format and filename.
* Cmd-line options for request /response/error requests/responses/errors
props to log.
* Add `-v` option controlling verbosity.
* Add docs about new options.
* TCs only `-v` & `--log_file ` (logging statements used throughout all
tests).
2014-11-17 16:51:45 +01:00
Kostis Anagnostopoulos @ STUW025
f30546027d git: Also ignore .settings folder. 2014-11-14 12:07:11 +01:00
ankostis@kilo
dfe9bc6fc4 Ignore PyDev's (Eclipse) project files, along with *.egg 2014-11-14 01:16:14 +01:00
stephanep
97dedc2ecd Allow .egg as possible package file extension 2014-09-10 16:07:49 +02:00
stephanep
e7e34471c1 Check if a file is a proper package before showing it
In case the package repository contains several file types, the
server exposes all by default. For instance, it exposes html files
as package files...
2014-09-10 10:44:20 +02:00
Kurtis Freedland
39316bb56a made pip install happy with the redirect url 2014-04-20 21:33:24 +02:00
Ralf Schmitt
590a06c327 prepare 1.1.6 1.1.6 2014-03-05 22:55:53 +01:00
Ralf Schmitt
557862a7e6 documentation uploads are not saved to disk
see #47
2014-03-05 22:53:09 +01:00
Ralf Schmitt
0f601fcd4b Revert "make index_url an optional parameter for find_packages"
This reverts commit b722c2a68f6790cffc60ca8a404c12d1cd1d949c.
2014-02-16 23:57:44 +01:00
Ralf Schmitt
c63e4734b5 Revert "make index_url an optional parameter to update()"
This reverts commit 7061dd795d1fdd6771430eacecd102d91ecb20b0.
2014-02-16 23:57:41 +01:00
Ralf Schmitt
57a80da651 Revert "add --index-url cli parameter"
This reverts commit f178c69f49762ae97e16ac3a751ee35422cfd74c.
2014-02-16 23:57:37 +01:00
Ralf Schmitt
af25f1a4a0 prepare 1.1.5 1.1.5 2014-01-20 23:10:41 +01:00
Ralf Schmitt
935e566f71 link to https url for downloads 2014-01-20 22:55:51 +01:00
Ralf Schmitt
b88edc6f2b update copyright year 2014-01-20 22:53:59 +01:00
Ralf Schmitt
92577e4695 only list devpi-server and proxypypi as alternatives
I don't feel comfortable pointing people to these other
implementations...
2014-01-20 22:50:50 +01:00
Ralf Schmitt
af62cfbf3e better handling for wheel files
use pip's wheel regex. this should fix #44.
2014-01-20 21:37:52 +01:00
Ralf Schmitt
95f24b0a99 test package name and version guessing with wheel files
see https://github.com/schmir/pypiserver/issues/44
2014-01-19 21:55:14 +01:00
Ralf Schmitt
e32b325544 pyg is dead, don't link to it 2014-01-10 21:36:46 +01:00
Ralf Schmitt
7ab9d2cfb6 serve wheel files as application/octet-stream 2014-01-10 01:34:17 +01:00
Ralf Schmitt
123b493775 make pypiserver executable from wheel file
i.e. python pypiserver-1.1.x-py2.py3-none-any.whl/pypiserver will now
start pypiserver
2014-01-10 01:30:10 +01:00
Ralf Schmitt
0207348df9 merge "universal wheel" changes 2014-01-10 00:45:56 +01:00