Commit Graph

3030 Commits

Author SHA1 Message Date
Armin Ronacher 0a2f65df9e Restored template error handling for Django 1.9 and newer. 2016-01-13 22:50:24 +01:00
Armin Ronacher 8755ce3b64 Merge pull request #722 from sabricot/disable_ssl_certs_PEP467
Fix disabling of ssl certs check with python 2.7.9/3.4.3 and sync/threaded transport
2016-01-13 22:44:55 +01:00
Armin Ronacher fb0b53a66f Make tests work with newer Django 2016-01-13 17:32:32 +01:00
sabricot 168ffa2e13 Fix disabling of ssl certs check with python 2.7.9/3.4.3 2016-01-13 16:10:03 +00:00
Armin Ronacher 206f233ef9 Restored broken import 2016-01-13 13:27:44 +01:00
Armin Ronacher 97e93ea7ba Strip six module and rename to raven._compat
We're seeing some odd issues with our six module interacting
badly with the six module from other libraries for some users.
The suspicion is that our six module in some cases gets unvendored.
We thus rename it to `raven._compat` (which is also what some
other Python modules do).  We still use six normally for the
tests.
2016-01-12 21:40:51 +01:00
Matt Robenolt f2eedb742c Alias import to prevent attribute lookup 2016-01-11 22:39:52 -08:00
Matt Robenolt 85c01bb7bf Merge pull request #719 from ojii/master
Do not capture tornado.web.HTTPErrors if their status code is not 5xx
2016-01-11 22:37:58 -08:00
Jonas Obrist db96b5b312 Do not capture tornado.web.HTTPErrors if their status code is not 5xx 2016-01-12 15:27:10 +09:00
David Cramer 775e7e2340 Correct memoize behavior 2016-01-08 14:20:16 -08:00
Matt Robenolt 8c14346c3b Merge pull request #713 from getsentry/gh-712
django: ignore a missing settings.SITE_ID
2016-01-05 13:23:04 -08:00
Matt Robenolt 2f6fc1410e django: ignore a missing settings.SITE_ID
SITE_ID isn't required to exist or to be set, so just ignore it.

Fixes GH-712
2015-12-31 15:29:12 -05:00
Armin Ronacher d6b52c9749 Merge pull request #710 from brente/patch-1
Fix example in django.rst
2015-12-27 14:38:32 +01:00
Stefano Brentegani e5c4ff5251 Fix example in django.rst
Missing comma in LOGGING example
2015-12-27 07:27:46 +01:00
David Cramer ae5315b257 Changes for 5.9.2 2015-12-17 12:58:43 -08:00
David Cramer c78230ba7a Merge pull request #707 from kbrownlees/feature/django19_no_user_installed
Store user information if AbstractBaseUser doesn't exist
2015-12-17 12:55:44 -08:00
Kieran Brownlees 18579dd596 Store user information if AbstractBaseUser doesn't exist
The previous fix had the side effect of stopping user information
being stored when AbstractBaseUser doesn't exist since the else
clause would never be executed.

Actually fixes #705
2015-12-18 09:48:54 +13:00
David Cramer bd2d1ec138 Changes for 5.9.1 2015-12-16 16:54:54 -08:00
David Cramer 47e8e791f1 5.10.0.dev0 2015-12-16 16:53:05 -08:00
David Cramer b7e4313e26 Merge pull request #706 from kbrownlees/feature/django19_no_user_installed
Catch the RuntimeError raised if contentypes is not available
2015-12-16 14:14:14 -08:00
Kieran Brownlees f39b68f3f7 Catch the RuntimeError raised if contentypes is not available
In Django 1.9 it became an error to import a model of an app
before it is loaded (https://docs.djangoproject.com/en/1.9/releases/1.9/#features-removed-in-1-9)

This means the import of the user model may fail if the contenttype
or user contrib applications are not in INSTALLED_APPS.

Fixes #705
2015-12-17 10:54:57 +13:00
David Cramer f9060ccf67 initial changes in 5.9.0 2015-12-10 12:07:02 -08:00
David Cramer c4b96d74c3 Add environment support 2015-12-10 12:06:54 -08:00
David Cramer 02862d64c7 Support tags on root logging handler 2015-12-10 11:57:47 -08:00
David Cramer 95220c99ae Remove use of check_output (not in Py2.6) 2015-12-10 11:24:52 -08:00
David Cramer 6063125f9c Cache wsgi property (fixes GH-677) 2015-12-10 11:15:23 -08:00
David Cramer 8804d1b8fe Merge pull request #697 from getsentry/certificates
Update cacertificate bundle with latest from Mozilla
2015-12-10 11:14:12 -08:00
David Cramer 2c9d3c60e8 Merge pull request #699 from CGenie/django-tags
Django handler: add support for tags in logging setup
2015-12-10 11:13:48 -08:00
Armin Ronacher 6f0ad8232a Spawn new thread for different pid
This spawns a thread again first time on queue if the process was forked
by the time the enqueueing happened.
2015-12-10 20:09:56 +01:00
Przemek Kaminski 546aa3afc7 Django handler: add support for tags in logging setup 2015-12-04 21:44:47 +01:00
David Cramer 2fc64e8056 Merge pull request #698 from nikolas/django19-python35
enable automated testing on django 1.9 and python 3.5
2015-12-03 18:40:47 -08:00
Nik Nyby 8f791cf0b0 enable automated testing on django 1.9 and python 3.5 2015-12-03 21:21:06 -05:00
Matt Robenolt b0e8a20a10 Update cacertificate bundle with latest from Mozilla 2015-12-03 13:23:02 -08:00
David Cramer 435823d7e8 Correct install 2015-12-01 17:33:53 -08:00
David Cramer a2adcbe23f Remove invalid requirements 2015-12-01 17:31:52 -08:00
David Cramer b2d7abbeca setup_requires is unused 2015-12-01 17:24:19 -08:00
David Cramer 747ad0dda1 Support SENTRY_RELEASE in Flask (fixes GH-687) 2015-11-30 11:03:08 -08:00
David Cramer cc67f53f91 Merge pull request #694 from ovidner/master
Support detached HEAD in fetch_git_sha
2015-11-24 11:43:05 -08:00
David Cramer 83c7f341a6 Merge pull request #693 from HPotter/feature/capture-exceptions-manager
Modify client.capture_exceptions to return both decorator and context manager
2015-11-23 14:11:36 -08:00
Olle Vidner 1454412df9 #676: Support detached HEAD 2015-11-21 22:17:18 +01:00
Anton Blintsov 9db4e7aba9 Modify client.capture_exceptions to return both decorator and context manager 2015-11-21 17:47:20 +03:00
Armin Ronacher bbc7e1523c Clarified setting key. This fixes #865 2015-11-13 17:38:43 +01:00
Armin Ronacher 80b24acc33 Extension to #686 to also log keyboard interrupts. 2015-11-13 08:32:20 +01:00
Matt Robenolt 5be739c331 Add tests 2015-11-12 17:41:12 -08:00
Matt Robenolt 3eddaa4dff Log SystemExit in wsgi middleware when code != 0
SystemExit does not subclass Exception, so we don't catch this.
SystemExit manifests itself (at least) from gunicorn when gunicorn
attempts to gracefully shut down a worker process. See GH-675 for more
background.

Fixes: GH-675
2015-11-12 17:20:16 -08:00
Matt Robenolt 276266822a No www 2015-11-10 15:40:41 -08:00
Armin Ronacher c0aab31d64 Merge pull request #681 from pquentin/master
Ensure Django LOGGING example passes PEP8
2015-11-10 18:52:22 +01:00
Quentin Pradet d98f2c6ff7 Ensure Django LOGGING example passes PEP8 2015-11-10 09:27:48 +04:00
Armin Ronacher ff47a56f79 Small fixes for the flask integration docs 2015-11-09 20:53:50 +01:00
David Cramer cd2850e8f1 Update link to docs 2015-11-09 00:30:27 -08:00