Commit Graph

3030 Commits

Author SHA1 Message Date
David Cramer b581d07db3 Changes for 5.7.0 2015-09-16 10:45:41 -07:00
David Cramer 2ce05c72b4 Improve error handling for fetch_git_sha 2015-09-14 11:08:02 -07:00
David Cramer 32891faa99 Merge pull request #656 from akalipetis/hotfix/fetch_git_sha
Better guessing for head in `fetch_git_sha`
2015-09-14 11:04:04 -07:00
Antonis Kalipetis dfb7e71c40 Improved default head guessing for `fetch_git_sha` 2015-09-14 17:47:06 +03:00
Antonis Kalipetis f19287da47 Added test for correct git SHA
The default behavior of `fetch_git_sha` should be to fetch the SHA of the active branch - if any - and not the master branch.
2015-09-14 17:38:18 +03:00
Antonis Kalipetis 7393d39832 Fixed dependencies for tests 2015-09-14 17:37:05 +03:00
David Cramer 6a84d48564 Remove is_authenticated property (excl. Tornado) 2015-09-10 16:07:29 -05:00
David Cramer 24521704c6 Handle failures with context helpers 2015-09-10 16:03:32 -05:00
David Cramer e335057772 Clean up is_authenticated attributes for Flask (refs GH-655) 2015-09-10 16:02:13 -05:00
David Cramer 4076f50896 Revert "Filter out celery.redirect"
This reverts commit ed845e9cef.
2015-09-10 11:15:35 -05:00
David Cramer 32366939eb Revert "Clean up invalid Celery logic"
This reverts commit 2d334d971a.
2015-09-10 11:15:35 -05:00
David Cramer 5b4e86cb01 Revert "redirect => redirected"
This reverts commit d65cc551ca.
2015-09-10 11:15:35 -05:00
David Cramer 7a7d138d45 Merge pull request #650 from recht/tornado-fix
Fix the Tornado transport, arguments were in wrong order.
2015-09-04 11:10:25 -07:00
Joakim Recht 5d4326095a Fix the Tornado transport, arguments were in wrong order.
Also, add tests to ensure that it actually works.
2015-09-04 09:50:47 +02:00
David Cramer 1a9877a8e0 Merge pull request #647 from getsentry/improve-stack-slimming
Improve stack slimming
2015-08-31 15:36:29 -07:00
David Cramer cd9a8b256f Improve stacktrace truncation code
- Update stacktrace truncation code to match server behavior (and defaults)
- Ensure maximum length of each set of variables
2015-08-31 15:35:52 -07:00
David Cramer 10216c0f34 Remove twine as no one uses it 2015-08-31 14:30:53 -07:00
David Cramer 56fc6f7bee Merge pull request #646 from recht/tornado-error-handling
Fix Tornado error handling.
2015-08-28 17:59:06 -07:00
Joakim Recht e97071ae84 Fix Tornado error handling.
The error handling was quite broken - the exception handlers were never invoked, and they used methods which have been removed.

This fixes #601
2015-08-28 21:40:36 +02:00
David Cramer 59e3730574 5.7.0.dev0 2015-08-26 14:03:39 -07:00
David Cramer 8b0aad48f1 Ensure repr is is limited to string_max_length 2015-08-26 13:57:18 -07:00
David Cramer 94a6d6a873 Note additional changes 2015-08-26 11:52:45 -07:00
David Cramer 6d0d0d5de0 Correct fingerprint behavior 2015-08-26 11:51:06 -07:00
David Cramer 56d8cd4f7e Begin changes for 5.6.0 2015-08-26 11:48:36 -07:00
David Cramer a76101f1fe Dont base64-encode bodies
- Send deflate content-encoding
2015-08-26 11:47:13 -07:00
David Cramer 13fd2410b6 Cleanup docstring 2015-08-26 11:45:03 -07:00
David Cramer ebaae95c21 Merge pull request #642 from Fleurer/fix-error-on-no-atrribute-user-id
add try..except for error on self.get_current_user()
2015-08-19 00:35:02 -07:00
Li Yazhou cca9b2bb60 add try..except for error on self.get_current_user() 2015-08-19 10:10:49 +08:00
David Cramer 683f2f9461 Merge pull request #641 from Photonomie/django-1.9-compat
In order to prepare the compatibility with the Django 1.9
2015-08-16 13:45:17 -07:00
Pierre Dulac 0cfd4e35f9 The LoaderOrigin has been merged with StringOrigin
described in the Django 1.9 release notes
https://docs.djangoproject.com/en/dev/releases/1.9/#template-loaderorigin-and-stringorigin-are-removed
2015-08-15 16:45:03 +02:00
David Cramer ec66e20462 Merge pull request #640 from percipient/clarify-639
Clarify and fix typo from #639.
2015-08-12 10:25:40 -07:00
Patrick Cloke c2d1bb516c Clarify and fix typo from #639. 2015-08-12 07:41:35 -04:00
David Cramer 91f95d348c Merge pull request #639 from percipient/doc-ignorable-404s
Add documentation for the IGNORABLE_404_URLS setting.
2015-08-11 15:58:38 -07:00
Patrick Cloke d819a14b64 Add documentation for the `IGNORABLE_404_URLS` setting. 2015-08-11 11:35:57 -04:00
David Cramer 5eb06d5aa6 Merge pull request #633 from lepture/flask-contrib
Don't send X-Sentry-ID when last_event_id is None
2015-08-04 23:30:26 -07:00
Hsiaoming Yang ae52042cf2 Don't send X-Sentry-ID when last_event_id is None 2015-08-05 14:05:07 +08:00
David Cramer d65cc551ca redirect => redirected 2015-08-04 08:39:45 -07:00
David Cramer ed845e9cef Filter out celery.redirect 2015-08-03 23:09:15 -07:00
David Cramer 2d334d971a Clean up invalid Celery logic 2015-08-03 22:48:08 -07:00
David Cramer d20865c2dc Merge pull request #632 from getsentry/versions
Refactor get_version_from_app to better handle unexepcted cases
2015-08-03 16:39:57 -07:00
Matt Robenolt 94fe2b3d9c Add pytest-timeout to try and get travis to error faster on hanging
builds
2015-08-02 17:43:24 -07:00
Matt Robenolt a87eecc3e1 Refactor get_version_from_app to better handle unexepcted cases
For example, graphite's `version` returns a `module`. So this should
cover all of the bases to assure that we don't return back a `str`
of a `module`.
2015-08-02 17:29:20 -07:00
Matt Robenolt 2118456482 Merge pull request #631 from getsentry/travis
Use correct pip cached directory
2015-08-02 17:11:53 -07:00
Matt Robenolt 8cb97dd289 Use correct pip cached directory 2015-08-02 17:11:29 -07:00
Matt Robenolt faff47c9f0 Update django middleware docs
The old method has been removed since Django 1.4
2015-08-01 12:24:50 -07:00
Armin Ronacher 23fc5b5d8a Merge pull request #614 from smarkets/fix-eventlet-transport-on-python3
Fix Eventlet transport on Python 3
2015-07-29 16:22:30 +02:00
David Cramer 0df38c7c23 Language 2015-07-28 14:37:11 -07:00
David Cramer 296555fc12 code-style => code-block 2015-07-28 14:24:06 -07:00
David Cramer d1a47c1d6e Expand docs for to match current behavior
- Add transport attribute
- Remove scheme-based DSN
- Add fingerprint
- Remove checksum
2015-07-28 14:12:57 -07:00
Armin Ronacher 4371e3de97 Updates to the API docs 2015-07-24 13:42:16 +02:00