Commit Graph

26 Commits (5d3065e4af33c6149b8412476261d7dd9cb38fee)

Author SHA1 Message Date
Florian Mounier 5d3065e4af [FIX] sentry: warn about sentry_transport only if it is specified in config 2022-12-19 16:05:31 +05:30
Florian Mounier d438a30b7d [FIX] sentry: Patch odoo.service.server wsgi app
Because post_load is called after odoo.service.server start
It has already registered the unpatched   odoo.service.wsgi_server.application
So patch it here too.
This enables wsgi performance reporting with sentry_traces_sample_rate
2022-12-19 16:05:31 +05:30
Florian Mounier e546324ee2 [FIX] sentry: Coerce numerical config values 2022-12-19 16:05:31 +05:30
Fernanda Hernandez 78f7e6057f [IMP] sentry: migrate sentry-raven to new api sentry-sdk 2022-12-19 16:05:31 +05:30
Dept. Técnico 760b6a3709 Added translation using Weblate (Catalan) 2022-12-19 16:05:31 +05:30
OCA-git-bot c950f6cb6f sentry 14.0.1.0.2 2022-12-19 16:05:31 +05:30
Travis Waelbroeck 93b758bf11 [FIX] sentry: enable use of "sentry_odoo_dir" config parameter
Allow using `sentry_release` or `sentry_odoo_dir` in the Odoo
configuration file.

Previously, the `sentry_odoo_dir` was never actually respected. It would
always be overridden by `sentry_release`. Even if `sentry_release` is
not set, it will use an empty value instead of using `sentry_odoo_dir`
to find the Git commit hash.

After this commit, the `sentry_release` parameter still takes
precedence. However, if `sentry_release` is not set and
`sentry_odoo_dir` is set, then `sentry_odoo_dir` will be used to find
the appropriate Git commit hash, which will be used as the `release`
value.

Both cases are covered by the added unit tests.
2022-12-19 16:05:31 +05:30
OCA-git-bot d4cab37f13 sentry 14.0.1.0.1 2022-12-19 16:05:31 +05:30
Luis González 8e5c37b2aa [FIX] sentry: Warning when using classes from collections.abc
The following warning is fixed:

    DeprecationWarning: Using or importing the ABCs from 'collections' instead of
    from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop
    working
2022-12-19 16:05:31 +05:30
oca-travis ab25f50c7b [UPD] Update sentry.pot 2022-12-19 16:05:31 +05:30
OCA-git-bot c213184449 [UPD] README.rst 2022-12-19 16:05:31 +05:30
OCA Transbot e4640dc040 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-14.0/server-tools-14.0-sentry
Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-sentry/
2022-12-19 16:05:31 +05:30
Travis Waelbroeck 51ec40e854 [MIG] sentry: Migration to 14.0 2022-12-19 16:05:31 +05:30
OCA-git-bot fd159a96b7 sentry 13.0.1.1.0 2022-12-19 16:05:31 +05:30
Moisés López 7bbe60b37c [REF] sentry: Fix sentry title level
fix https://github.com/OCA/maintainer-tools/issues/459
https://github.com/OCA/server-tools/pull/1776#discussion_r436904679
Credits sbidoul

[UPD] README.rst
2022-12-19 16:05:31 +05:30
Moises Lopez - https://www.vauxoo.com/ 5dc1677f1f [REF] sentry: README.rst using gen_addon_readme.py locally
because https://github.com/OCA/maintainer-tools/issues/459

[UPD] Update sentry.pot
2022-12-19 16:05:31 +05:30
Ivan 71fccc65a0 [MIG] sentry: Migration to 13.0 2022-12-19 16:05:31 +05:30
Ivan 532bdbdbfe [IMP] sentry: black, isort 2022-12-19 16:05:31 +05:30
黎伟杰 165715b747 Added translation using Weblate (Chinese (Simplified)) 2022-12-19 16:05:31 +05:30
jeffery chen fan 6824e60500 migrate to 12.0
[UPD] Update sentry.pot
2022-12-19 16:05:31 +05:30
Simone Orsi 0a307b16bd Global pylint cleanup 2022-12-19 16:05:31 +05:30
Atte Isopuro bcdfca304b Enable setting a release option directly
sentry: It is not always possible to read commit information from
a production environment. In those cases it is useful to be able
to set a release version manually.

[UPD] Update sentry.pot
2022-12-19 16:05:31 +05:30
Nicolas JEUDY 44d39be740 [FIX] Better manage KEYS - FIELDS conversion 2022-12-19 16:05:31 +05:30
Naglis Jonaitis dc7ce73744 [MIG] sentry to V11
- [FIX] sentry: fixes missing `raven` library preventing loading of modules
- [FIX] 2to3 script on py file
- [FIX] add requirements.txt
2022-12-19 16:05:31 +05:30
Naglis Jonaitis 953f751038 [FIX] sentry: fixes missing `raven` library preventing loading of modules
Related: #761 #879 #881
2022-12-19 16:05:31 +05:30
Naglis Jonaitis 3510909ba2 [ADD] sentry module (#761)
* [ADD] sentry module

* [FIX] updated sentry module according to PR comments
2022-12-19 16:05:31 +05:30