Skip to content

Commit d9e7473

Browse files
committed
[MIG] sentry: Migration to 19.0
1 parent 5147112 commit d9e7473

3 files changed

Lines changed: 29 additions & 32 deletions

File tree

sentry/README.rst

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Sentry
2121
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
2222
:alt: License: AGPL-3
2323
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github
24-
:target: https://github.com/OCA/server-tools/tree/18.0/sentry
24+
:target: https://github.com/OCA/server-tools/tree/19.0/sentry
2525
:alt: OCA/server-tools
2626
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27-
:target: https://translation.odoo-community.org/projects/server-tools-18-0/server-tools-18-0-sentry
27+
:target: https://translation.odoo-community.org/projects/server-tools-19-0/server-tools-19-0-sentry
2828
:alt: Translate me on Weblate
2929
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30-
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=18.0
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=19.0
3131
:alt: Try me on Runboat
3232

3333
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -110,25 +110,25 @@ are necessary.
110110
Known issues / Roadmap
111111
======================
112112

113-
- **No database separation** -- This module functions by intercepting
114-
all Odoo logging records in a running Odoo process. This means that
115-
once installed in one database, it will intercept and report errors
116-
for all Odoo databases, which are used on that Odoo server.
117-
- **Frontend integration** -- In the future, it would be nice to add
118-
Odoo client-side error reporting to this module as well, by
119-
integrating `raven-js <https://github.com/getsentry/raven-js>`__.
120-
Additionally, `Sentry user feedback
121-
form <https://docs.sentry.io/learn/user-feedback/>`__ could be
122-
integrated into the Odoo client error dialog window to allow users
123-
shortly describe what they were doing when things went wrong.
113+
- **No database separation** -- This module functions by intercepting
114+
all Odoo logging records in a running Odoo process. This means that
115+
once installed in one database, it will intercept and report errors
116+
for all Odoo databases, which are used on that Odoo server.
117+
- **Frontend integration** -- In the future, it would be nice to add
118+
Odoo client-side error reporting to this module as well, by
119+
integrating `raven-js <https://github.com/getsentry/raven-js>`__.
120+
Additionally, `Sentry user feedback
121+
form <https://docs.sentry.io/learn/user-feedback/>`__ could be
122+
integrated into the Odoo client error dialog window to allow users
123+
shortly describe what they were doing when things went wrong.
124124

125125
Bug Tracker
126126
===========
127127

128128
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_.
129129
In case of trouble, please check there if your issue has already been reported.
130130
If you spotted it first, help us to smash it by providing a detailed and welcomed
131-
`feedback <https://github.com/OCA/server-tools/issues/new?body=module:%20sentry%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
131+
`feedback <https://github.com/OCA/server-tools/issues/new?body=module:%20sentry%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
132132

133133
Do not contact contributors directly about support or help with technical issues.
134134

@@ -146,19 +146,19 @@ Authors
146146
Contributors
147147
------------
148148

149-
- Mohammed Barsi <barsintod@gmail.com>
150-
- Andrius Preimantas <andrius@versada.eu>
151-
- Naglis Jonaitis <naglis@versada.eu>
152-
- Atte Isopuro <atte.isopuro@avoin.systems>
153-
- Florian Mounier <florian.mounier@akretion.com>
154-
- Jon Ashton <jon@monkeyinferno.com>
155-
- Mark Schuit <mark@gig.solutions>
156-
- Atchuthan <atchuthan@sodexis.com>
149+
- Mohammed Barsi <barsintod@gmail.com>
150+
- Andrius Preimantas <andrius@versada.eu>
151+
- Naglis Jonaitis <naglis@versada.eu>
152+
- Atte Isopuro <atte.isopuro@avoin.systems>
153+
- Florian Mounier <florian.mounier@akretion.com>
154+
- Jon Ashton <jon@monkeyinferno.com>
155+
- Mark Schuit <mark@gig.solutions>
156+
- Atchuthan <atchuthan@sodexis.com>
157157

158158
Other credits
159159
-------------
160160

161-
- Vauxoo
161+
- Vauxoo
162162

163163
Maintainers
164164
-----------
@@ -193,6 +193,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
193193

194194
|maintainer-barsi| |maintainer-naglis| |maintainer-versada| |maintainer-moylop260| |maintainer-fernandahf|
195195

196-
This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/18.0/sentry>`_ project on GitHub.
196+
This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/19.0/sentry>`_ project on GitHub.
197197

198198
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

sentry/static/description/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ <h1>Sentry</h1>
374374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375375
!! source digest: sha256:e2f1d0bc83bf031b61df768de9c2f6d4f1feb303facf171a8d1889fc6a2635ca
376376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-tools/tree/18.0/sentry"><img alt="OCA/server-tools" src="https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-tools-18-0/server-tools-18-0-sentry"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-tools&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-tools/tree/19.0/sentry"><img alt="OCA/server-tools" src="https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-tools-19-0/server-tools-19-0-sentry"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-tools&amp;target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378378
<p>This module allows painless <a class="reference external" href="https://sentry.io/">Sentry</a> integration
379379
with Odoo.</p>
380380
<p><strong>Table of contents</strong></p>
@@ -472,7 +472,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Bug Tracker</a></h2>
472472
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-tools/issues">GitHub Issues</a>.
473473
In case of trouble, please check there if your issue has already been reported.
474474
If you spotted it first, help us to smash it by providing a detailed and welcomed
475-
<a class="reference external" href="https://github.com/OCA/server-tools/issues/new?body=module:%20sentry%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
475+
<a class="reference external" href="https://github.com/OCA/server-tools/issues/new?body=module:%20sentry%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
476476
<p>Do not contact contributors directly about support or help with technical issues.</p>
477477
</div>
478478
<div class="section" id="credits">
@@ -516,7 +516,7 @@ <h3><a class="toc-backref" href="#toc-entry-11">Maintainers</a></h3>
516516
promote its widespread use.</p>
517517
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
518518
<p><a class="reference external image-reference" href="https://github.com/barsi"><img alt="barsi" src="https://github.com/barsi.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/naglis"><img alt="naglis" src="https://github.com/naglis.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/versada"><img alt="versada" src="https://github.com/versada.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/moylop260"><img alt="moylop260" src="https://github.com/moylop260.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/fernandahf"><img alt="fernandahf" src="https://github.com/fernandahf.png?size=40px" /></a></p>
519-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-tools/tree/18.0/sentry">OCA/server-tools</a> project on GitHub.</p>
519+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-tools/tree/19.0/sentry">OCA/server-tools</a> project on GitHub.</p>
520520
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
521521
</div>
522522
</div>

sentry/tests/test_logutils.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ def test_cookie_as_string(self):
2525
http = result["request"]
2626
self.assertEqual(
2727
http["cookies"],
28-
"website_lang=en_us;"
29-
f"session_id={proc.MASK};"
30-
f"Session_ID={proc.MASK};"
31-
"foo=bar",
28+
f"website_lang=en_us;session_id={proc.MASK};Session_ID={proc.MASK};foo=bar",
3229
)
3330

3431
def test_cookie_as_string_with_partials(self):

0 commit comments

Comments
 (0)