Commit Graph

1135 Commits (76ea08b51eb88dbad2b854c46e708ae69401c5c6)

Author SHA1 Message Date
OCA-git-bot 32149a89de [UPD] addons table in README.md 2022-10-20 13:25:28 +00:00
oca-ci 1bf5b78642 [UPD] Update base_remote.pot 2022-10-20 13:22:17 +00:00
OCA-git-bot fdeeb537f6 Merge PR #2344 into 15.0
Signed-off-by etobella
2022-10-20 13:19:18 +00:00
Atte Isopuro ced4efc61e [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.
2022-10-20 09:53:12 +03:00
Atte Isopuro 3f7616f2e7 [MIG] sentry: Migration to 15.0 2022-10-20 09:53:12 +03:00
Atte Isopuro 7971e6f284 [IMP] : black, isort, prettier 2022-10-20 09:53:12 +03:00
OCA-git-bot f552d7ba7b sentry 14.0.1.1.1 2022-10-20 09:53:12 +03:00
OCA-git-bot f048088beb [UPD] README.rst 2022-10-20 09:53:12 +03:00
Florian Mounier 25dcef43d4 [FIX] sentry: Fix bad ported version 2022-10-20 09:53:12 +03:00
Florian Mounier c9ee23a2d3 [FIX] sentry: warn about sentry_transport only if it is specified in config 2022-10-20 09:53:12 +03:00
Florian Mounier 79f048ab98 [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-10-20 09:53:12 +03:00
Florian Mounier ab16a0bef1 [FIX] sentry: Coerce numerical config values 2022-10-20 09:53:12 +03:00
Fernanda Hernandez da6cae3ba8 [IMP] sentry: migrate sentry-raven to new api sentry-sdk 2022-10-20 09:53:12 +03:00
Dept. Técnico fc67103c7a Added translation using Weblate (Catalan) 2022-10-20 09:53:12 +03:00
OCA-git-bot 60aad95347 sentry 14.0.1.0.2 2022-10-20 09:53:12 +03:00
Travis Waelbroeck 5726e6619a [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-10-20 09:53:12 +03:00
OCA-git-bot d965775511 sentry 14.0.1.0.1 2022-10-20 09:53:12 +03:00
Luis González 85291bcb07 [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-10-20 09:53:12 +03:00
oca-travis 8a8aca1e02 [UPD] Update sentry.pot 2022-10-20 09:53:12 +03:00
OCA-git-bot fb407e5cc6 [UPD] README.rst 2022-10-20 09:53:12 +03:00
OCA Transbot 03c119a590 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-10-20 09:53:12 +03:00
Travis Waelbroeck a38382b7c6 [MIG] sentry: Migration to 14.0 2022-10-20 09:53:12 +03:00
OCA-git-bot dc1eb48585 sentry 13.0.1.1.0 2022-10-20 09:53:12 +03:00
Moisés López 57ec2f5985 [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-10-20 09:53:12 +03:00
Moises Lopez - https://www.vauxoo.com/ f738106a2d [REF] sentry: README.rst using gen_addon_readme.py locally
because https://github.com/OCA/maintainer-tools/issues/459

[UPD] Update sentry.pot
2022-10-20 09:53:12 +03:00
Ivan 07e0f41fb2 [MIG] sentry: Migration to 13.0 2022-10-20 09:53:12 +03:00
Ivan 3cf04228e0 [IMP] sentry: black, isort 2022-10-20 09:53:12 +03:00
黎伟杰 bf7d2b14eb Added translation using Weblate (Chinese (Simplified)) 2022-10-20 09:53:12 +03:00
jeffery chen fan 60c93e8fd0 migrate to 12.0
[UPD] Update sentry.pot
2022-10-20 09:53:12 +03:00
Simone Orsi 610fac7938 Global pylint cleanup 2022-10-20 09:53:12 +03:00
Atte Isopuro 509627447f 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-10-20 09:53:12 +03:00
Nicolas JEUDY 2fdf43a8e2 [FIX] Better manage KEYS - FIELDS conversion 2022-10-20 09:53:12 +03:00
Naglis Jonaitis 777724fb3d [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-10-20 09:53:12 +03:00
Naglis Jonaitis cd9e53d934 [FIX] sentry: fixes missing `raven` library preventing loading of modules
Related: #761 #879 #881
2022-10-20 09:53:12 +03:00
Naglis Jonaitis f8c404c053 [ADD] sentry module (#761)
* [ADD] sentry module

* [FIX] updated sentry module according to PR comments
2022-10-20 09:53:12 +03:00
OCA-git-bot 00ee9c40f7 [UPD] addons table in README.md 2022-10-19 17:05:33 +00:00
OCA-git-bot 0cad19cf27 upgrade_analysis 15.0.3.0.0 2022-10-19 17:05:28 +00:00
OCA-git-bot e6b665d7e1 Merge PR #2416 into 15.0
Signed-off-by pedrobaeza
2022-10-19 17:01:57 +00:00
OCA-git-bot ad9969d593 [UPD] addons table in README.md 2022-10-19 16:40:28 +00:00
OCA-git-bot aec1a10b1a letsencrypt 15.0.1.0.1 2022-10-19 16:40:23 +00:00
OCA-git-bot 937d7a4ea9 Merge PR #2432 into 15.0
Signed-off-by pedrobaeza
2022-10-19 16:37:02 +00:00
Stefan Rijnhart 19ba4e9082 [FIX] letsencrypt: workaround blocked domain name example.com 2022-10-19 18:22:10 +02:00
Stefan Rijnhart a01c6d478e [FIX] upgrade_analysis: misleading representation of read/write computed fields
Odoo 14 introduced the widescale usage of computed fields with readonly=False.
In that case, the compute method functions as a default that can also be used
to compute a value some time *after* the initial creation of the record.

In the OpenUpgrade analysis files, these fields would be misrepresented as
computed fields rather than fields with a default function. This change fixes
that.
2022-10-11 21:27:40 +02:00
Ignacio Buioli fc7edefbe2 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (21 of 21 strings)

Translation: server-tools-15.0/server-tools-15.0-base_conditional_image
Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-base_conditional_image/es_AR/
2022-10-09 22:36:30 +00:00
Ignacio Buioli a909278a32 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (86 of 86 strings)

Translation: server-tools-15.0/server-tools-15.0-auto_backup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-auto_backup/es_AR/
2022-10-09 22:36:13 +00:00
Ignacio Buioli 3070c7a52f Added translation using Weblate (Spanish (Argentina)) 2022-10-09 19:36:01 +00:00
Héctor Villarreal Ortega a4535fe952 [MIG] base_technical_user: Migration to 15.0 2022-10-05 10:58:55 +02:00
Yves Le Doeuff 920fabf73e Translated using Weblate (French)
Currently translated at 54.5% (6 of 11 strings)

Translation: server-tools-14.0/server-tools-14.0-base_technical_user
Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-base_technical_user/fr/
2022-10-05 10:58:55 +02:00
OCA Transbot 311f381f5c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-14.0/server-tools-14.0-base_technical_user
Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-base_technical_user/
2022-10-05 10:58:55 +02:00
oca-travis d3d2a76c1f [UPD] Update base_technical_user.pot 2022-10-05 10:58:55 +02:00