2488 Commits

Author SHA1 Message Date
Hasan Ramezani
81efa40da7 Improve parsing of 'unix://' addresses in parse_address (#1623) 2017-10-16 09:44:00 +03:00
Dariusz Suchojad
e868c52997 Point to GitHub for usage questions. (#1613)
Closes #1611
2017-10-05 18:57:59 +03:00
Carl Johan Gustavsson
d0d1a1ca99 docs: Fix typo in environment variable name 2017-10-01 14:37:48 +03:00
Berker Peksag
1edf8fcff5 Revert "Simplify hook handler config code"
This reverts commit cbbafdb9b1f8b0f04c7a0d174b5d56962e6bdbfe.
2017-09-19 02:28:00 +03:00
Takuya Noguchi
2bcec7fd0c Fix reST format in docs 2017-09-18 07:15:37 +03:00
Randall Leeds
4c3ee6f4ec Merge pull request #1589 from Code0x58/tweaks
Tweaks
2017-09-16 13:52:49 -07:00
Randall Leeds
fe9cdc3262 Merge pull request #1595 from Code0x58/sort-THANKS
Sort THANKS file in keeping with CONTRIBUTING.md
2017-09-16 13:42:22 -07:00
Oliver Bristow
f681a13664 Sort THANKS file in keeping with CONTRIBUTING.md 2017-09-16 21:31:55 +01:00
Randall Leeds
886b5e9731 Merge pull request #1581 from Code0x58/fix/1576-env-config-file
Fix #1576 - config file/module in GUNICORN_CMD_ARGS
2017-09-16 12:51:45 -07:00
Takuya Noguchi
53ded2f9da Update Debian installation instructions 2017-09-16 17:48:36 +03:00
T N
6ad3d3c22c Update docs links (#1592) 2017-09-16 17:46:19 +03:00
Oliver Bristow
6a2a8b3298 Fix #1576 - config file/module in GUNICORN_CMD_ARGS 2017-09-16 11:41:57 +01:00
Oliver Bristow
cbbafdb9b1 Simplify hook handler config code 2017-09-15 17:56:54 +01:00
Oliver Bristow
f14d4428bd Remove redundant properties 2017-09-14 22:12:06 +01:00
Oliver Bristow
bff593d9e4 replace shim wrap_method with staticmethod 2017-09-14 21:19:36 +01:00
Ed Morley
9e3dbd59c6 Enable CI testing on Windows using Appveyor
Currently everything but the prospector lint job fails, however having
CI set up makes it easier to see what work remains for #524.

Fixes #1467.
2017-09-07 16:53:02 +03:00
Benoit Chesneau
c171c15c63 Merge pull request #1578 from rslinckx/master
http/message: Split request line as bytes to avoid splitting on 0x0A. Fixes #1577
2017-09-02 16:10:22 +02:00
Raphaël Slinckx
15e901a5e5 http/message: Split request line as bytes to avoid splitting on 0x0A. Fixes #1577 2017-08-25 10:50:34 +02:00
Raphaël Slinckx
ccfb29871c tests: Fix send_bytes for testing requests 2017-08-25 10:44:00 +02:00
Benoit Chesneau
60efb1041e Merge pull request #1528 from hramezani/redirect_accesslog_issue_1403
Redirect accesslog issue 1403
2017-08-22 21:17:59 +02:00
Hasan Ramezani
919871d656 Add disable-redirect-access-to-syslog documentation. 2017-08-22 22:43:59 +04:30
Hasan Ramezani
7dc9003dff Add disable-redirect-access-to-syslog config 2017-08-22 22:43:30 +04:30
Alexandre Conrad
92afaa5ce8 pin coverage>=4.0,<4.4 (#1571) 2017-08-22 11:44:32 +03:00
Tuukka Mustonen
0e4e0779e6 doc: Notes about worker keepalive support 2017-08-09 18:05:08 +03:00
Randall Leeds
fc0d973416 Merge pull request #1547 from guj-zz/syslog_socktype
parse_syslog_addr sock_type default
2017-08-06 23:37:55 -07:00
tomjaguarpaw
fc1e7a8262 Remove redundant "is not None" in gunicorn/app/wsgiapp.py (#1558) 2017-08-01 13:56:49 +03:00
tomjaguarpaw
c77df25a84 Remove redundant "is not None" in gunicorn/app/base.py (#1557) 2017-08-01 13:54:35 +03:00
tomjaguarpaw
cf401982fd Remove redundant "is not None" in gunicorn/http/wsgi.py (#1556) 2017-08-01 13:51:19 +03:00
Randall Leeds
9507ae4a09 Merge pull request #1551 from tomjaguarpaw/patch-1
Remove redundant 'is not None'
2017-07-26 15:05:40 -07:00
tomjaguarpaw
4f11708542 Remove redundant 'is not None' 2017-07-22 20:05:55 +01:00
zz
5b0ae52c8a Merge remote-tracking branch 'origin/master' into syslog_socktype 2017-07-17 07:48:44 +02:00
Berker Peksag
56ef7710dd Fix a silly error introduced by 2407dd29a6b44e96150d48ac12d0d16be2506725 2017-07-14 02:42:28 +03:00
Berker Peksag
2407dd29a6 select.error is a subclass of OSError since Python 3.3 2017-07-12 18:07:16 +03:00
Berker Peksag
610596c9d9 Pass log.info() formatted values correctly
It should be

    log.info("%s", "spam")

not

    log.info("%s" % "spam")
2017-07-12 18:07:16 +03:00
Berker Peksag
2b7b63ae58 Test that os.kill() is called 2017-07-12 18:07:16 +03:00
Berker Peksag
b64c7fa305 Add # noqa to a false-positive for unused-import warning 2017-07-12 18:07:16 +03:00
Berker Peksag
f00fb441ca Remove unused variables 2017-07-12 18:07:16 +03:00
Berker Peksag
f859447a39 Update prospector configuration
* Disable pep8 and pyflakes
* Disable unnecessary options of pylint
2017-07-12 18:07:16 +03:00
Berker Peksag
dd7c8f330b list.pop() doesn't accept a second argument
This was introduced by 032271a030a6bbe39d22e9ebadf2a86ddf3b6705.
2017-07-12 17:48:23 +03:00
Benno Rice
f69c17f8e2 Unlock pylint as prospector now works with >=1.7. Use Python 3.6 for lint. 2017-07-12 16:36:50 +03:00
Benno Rice
0d11691718 Ensure that overriding methods match the signature they've overriden. 2017-07-12 16:34:28 +03:00
Benno Rice
20616d50fc Move a default class definition into an else block so we're not redefining. 2017-07-12 16:26:04 +03:00
Benno Rice
a4461ba158 RequestParser takes two parameters. 2017-07-12 16:17:50 +03:00
Benno Rice
e81c654c2d __str__ doesn't take any extra parameters. 2017-07-12 16:17:26 +03:00
Benno Rice
1f42421762 Fix a broken format string. 2017-07-12 16:16:40 +03:00
Benno Rice
e6edcb454a Remove some errant trailing commas. 2017-07-12 16:16:10 +03:00
Benno Rice
032271a030 Empty sequences are false, there's no need to check the len. 2017-07-12 16:15:42 +03:00
Benno Rice
5b89fe1beb Don't use a list comprehension as shorthand for a for loop. 2017-07-12 16:14:57 +03:00
Benno Rice
72dd0199d7 Deal fully with deprecated functions.
If possible use a function based on inspect.signature to calculate the
arity.  If inspect.signature is not available fall back to getargspec. The
version based on inspect.signature looks like more code but is actually a
subset of what inspect.getfullargspec does.

html.escape is preferred over cgi.escape primarily because it defaults quote
to True. For this reason pass quote=True to cgi.escape when used.
2017-07-12 16:14:09 +03:00
Peter VandeHaar
fc7c15abbd Only use inotify on linux (#1541)
Fixes #1540
2017-07-12 12:55:48 +03:00