Commit Graph

1277 Commits (55de47bc78ab7e1168ae939c9fdc6ab036d0c53c)

Author SHA1 Message Date
oca-ci 62773d2243 [UPD] Update sentry.pot 2024-05-13 12:22:13 +03:00
prabakaran d2d302cb08 [MIG] sentry: Migration to 16.0 2024-05-13 12:22:13 +03:00
Weblate fc4073819e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-15.0/server-tools-15.0-sentry
Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-sentry/
2024-05-13 12:22:13 +03:00
OCA-git-bot 406e56e7ca [UPD] README.rst 2024-05-13 12:22:13 +03:00
oca-ci 7f0036da4b [UPD] Update sentry.pot 2024-05-13 12:22:13 +03:00
Atte Isopuro 23d7203b21 [FIX] sentry: test failure due to incomplete transport init
The test code uses a "mock" Transport object to ensure that events are
stored locally in memory, instead of triggering network requests.

The Sentry client is cleaned up once done, and this triggers a call to
capture_envelope, a different way of sending events to Sentry. Since
our mock class did not fully complete initialization, and also did
not provide an overriding method, the original was called, which
depends on proper initialization to work.

We introduce an override for capture_envelope: as it is meant to be
a "sibling" to capture_event, it makes sense for us to also make sure
events registrered in this way are intercepted, even if we don't
currently expect any of our tests to explicitly cause it to be used.
2024-05-13 12:22:13 +03:00
Atte Isopuro f40702c050 [MIG] sentry: Migration to 15.0 2024-05-13 12:22:13 +03:00
OCA-git-bot b8a5718688 sentry 14.0.1.1.1 2024-05-13 12:22:13 +03:00
OCA-git-bot 402acf8b89 [UPD] README.rst 2024-05-13 12:22:13 +03:00
Florian Mounier 8c9bb8f5a8 [FIX] sentry: Fix bad ported version 2024-05-13 12:22:13 +03:00
Florian Mounier 7d82a46c52 [FIX] sentry: warn about sentry_transport only if it is specified in config 2024-05-13 12:22:13 +03:00
Florian Mounier 9293edd67a [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
2024-05-13 12:22:13 +03:00
Florian Mounier 47f44c9d1a [FIX] sentry: Coerce numerical config values 2024-05-13 12:22:13 +03:00
Fernanda Hernandez f176b8bd9d [IMP] sentry: migrate sentry-raven to new api sentry-sdk 2024-05-13 12:22:13 +03:00
Dept. Técnico b93b9b8e22 Added translation using Weblate (Catalan) 2024-05-13 12:22:13 +03:00
OCA-git-bot 8b6facbdb9 sentry 14.0.1.0.2 2024-05-13 12:22:13 +03:00
Travis Waelbroeck 54527d3a40 [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.
2024-05-13 12:22:13 +03:00
OCA-git-bot bc389b87f9 sentry 14.0.1.0.1 2024-05-13 12:22:13 +03:00
Luis González a2dbe57ebd [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
2024-05-13 12:22:13 +03:00
oca-travis e65898380d [UPD] Update sentry.pot 2024-05-13 12:22:13 +03:00
OCA-git-bot 18f2ecc88c [UPD] README.rst 2024-05-13 12:22:13 +03:00
OCA Transbot a9be1c3e01 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/
2024-05-13 12:22:13 +03:00
Travis Waelbroeck f82ac17a2f [MIG] sentry: Migration to 14.0 2024-05-13 12:22:13 +03:00
OCA-git-bot 3bb29910da sentry 13.0.1.1.0 2024-05-13 12:22:13 +03:00
Moisés López a831097838 [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
2024-05-13 12:22:13 +03:00
Moises Lopez - https://www.vauxoo.com/ 1db17837a0 [REF] sentry: README.rst using gen_addon_readme.py locally
because https://github.com/OCA/maintainer-tools/issues/459

[UPD] Update sentry.pot
2024-05-13 12:22:13 +03:00
Ivan 3305ee1a6c [MIG] sentry: Migration to 13.0 2024-05-13 12:22:13 +03:00
Ivan 4f78f32bba [IMP] sentry: black, isort 2024-05-13 12:22:13 +03:00
黎伟杰 baaea01fa7 Added translation using Weblate (Chinese (Simplified)) 2024-05-13 12:22:13 +03:00
jeffery chen fan 761f0c3618 migrate to 12.0
[UPD] Update sentry.pot
2024-05-13 12:22:13 +03:00
Simone Orsi 6681cab825 Global pylint cleanup 2024-05-13 12:22:13 +03:00
Atte Isopuro 0af26db9a9 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
2024-05-13 12:22:13 +03:00
Nicolas JEUDY b88cba6325 [FIX] Better manage KEYS - FIELDS conversion 2024-05-13 12:22:13 +03:00
Naglis Jonaitis ca64d9c5e2 [MIG] sentry to V11
- [FIX] sentry: fixes missing `raven` library preventing loading of modules
- [FIX] 2to3 script on py file
- [FIX] add requirements.txt
2024-05-13 12:22:13 +03:00
Naglis Jonaitis a12917d37e [FIX] sentry: fixes missing `raven` library preventing loading of modules
Related: #761 #879 #881
2024-05-13 12:22:13 +03:00
Naglis Jonaitis 03c1f1b37a [ADD] sentry module (#761)
* [ADD] sentry module

* [FIX] updated sentry module according to PR comments
2024-05-13 12:22:13 +03:00
andrea 56b5f23212 [MIG] add tests for purge fields 2024-05-09 08:24:31 +00:00
Andrea Stirpe 2198e9701b [MIG] adapt code for V17 2024-05-09 08:24:24 +00:00
Yann Papouin 59e5ffa851 [FIX] database_cleanup: Check that the model is automatically managed by Odoo 2024-05-09 07:58:59 +00:00
Yann Papouin 4b4c118bdc [ADD] database_cleanup: Purge fields (ir.model.fields) added 2024-05-09 07:58:46 +00:00
mymage f040c39628 Translated using Weblate (Italian)
Currently translated at 100.0% (4 of 4 strings)

Translation: server-tools-17.0/server-tools-17.0-module_auto_update
Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-module_auto_update/it/
2024-05-03 16:34:48 +00:00
Weblate 576750e767 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-17.0/server-tools-17.0-module_auto_update
Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-module_auto_update/
2024-05-03 11:10:41 +00:00
mymage d5aa28da1b Translated using Weblate (Italian)
Currently translated at 100.0% (25 of 25 strings)

Translation: server-tools-17.0/server-tools-17.0-tracking_manager
Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-tracking_manager/it/
2024-05-03 09:36:47 +00:00
OCA-git-bot 48bf5d813d [BOT] post-merge updates 2024-05-03 08:19:42 +00:00
oca-ci e544da5f58 [UPD] Update module_auto_update.pot 2024-05-03 08:17:10 +00:00
OCA-git-bot a7753964c4 Merge PR #2763 into 17.0
Signed-off-by dreispt
2024-05-03 08:14:48 +00:00
Weblate bf1cd77fc4 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-17.0/server-tools-17.0-tracking_manager
Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-tracking_manager/
2024-05-02 15:08:32 +00:00
OCA-git-bot d2cdf00b39 [BOT] post-merge updates 2024-05-02 13:16:21 +00:00
oca-ci 760c5bec83 [UPD] Update tracking_manager.pot 2024-05-02 13:13:59 +00:00
OCA-git-bot 4c468dd081 Merge PR #2916 into 17.0
Signed-off-by pedrobaeza
2024-05-02 13:11:38 +00:00