Commit Graph

965 Commits (9cdbed7a5795ad238e930f587af355791385d30c)

Author SHA1 Message Date
OCA-git-bot 9cdbed7a57 [UPD] README.rst 2022-11-18 18:04:29 +00:00
oca-ci c8490e5b60 [UPD] Update auditlog.pot 2022-11-18 18:00:34 +00:00
OCA-git-bot 5c99fe686a Merge PR #2448 into 15.0
Signed-off-by StefanRijnhart
2022-11-18 17:57:48 +00:00
Pedro M. Baeza 652c9331b3
Merge pull request #2467 from StefanRijnhart/fix/15.0/flake8_from_github
[15.0][FIX] PyCQA no longer has a gitlab mirror of repos
2022-11-18 18:43:32 +01:00
Stefan Rijnhart f0e181b7be [UPD] Run copier to include https://github.com/OCA/server-tools/pull/2467 2022-11-18 18:26:34 +01:00
Bert Van Groenendael a5aff56513 [15.0][IMP] auditlog: dedicated security groups for model access 2022-11-18 11:41:28 +01:00
Pedro M. Baeza b594a825fe
Merge pull request #2456 from tarteo/15-fix-pre-commit
[15.0][FIX] pre-commit
2022-11-08 12:20:54 +01:00
tarteo a882963d82 [15.0][FIX] pre-commit 2022-11-08 12:15:26 +01:00
OCA-git-bot b8e1025453 [UPD] addons table in README.md 2022-11-02 11:52:59 +00:00
OCA-git-bot fdbeb35b85 auditlog 15.0.1.1.1 2022-11-02 11:52:54 +00:00
OCA-git-bot f23632d6ad Merge PR #2445 into 15.0
Signed-off-by gurneyalex
2022-11-02 11:49:44 +00:00
Alexandre Fayolle db8463fe78 [FIX] auditlog: autovacuum performance
Add database indices on the foreign key fields of the auditlog models.
Without these indices, the performance of the autovacuum cron are terrible
because the "ON DELETE SET NULL" trigger has to make a full table scan
on the auditlog_log and auditlog_log_line tables when
auditlog_http_session and auditlog_http_request rows are deleted.
2022-10-31 13:21:05 +01:00
Weblate d7f684a4ed 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/
2022-10-29 23:44:49 +00:00
OCA-git-bot ca8af239e6 [ADD] setup.py 2022-10-29 21:42:24 +00:00
OCA-git-bot 368bfa02b6 [UPD] README.rst 2022-10-29 21:42:23 +00:00
OCA-git-bot e3e339f115 [UPD] addons table in README.md 2022-10-29 21:42:20 +00:00
oca-ci 03d9aa206f [UPD] Update sentry.pot 2022-10-29 21:38:53 +00:00
OCA-git-bot 95b9975f6f Merge PR #2428 into 15.0
Signed-off-by thomaspaulb
2022-10-29 21:35:40 +00:00
OCA-git-bot 800861674c [ADD] setup.py 2022-10-24 12:23:54 +00:00
OCA-git-bot 134e7451dc [UPD] README.rst 2022-10-24 12:23:54 +00:00
OCA-git-bot e1a7e5a016 [UPD] addons table in README.md 2022-10-24 12:23:51 +00:00
oca-ci 28eea7dbde [UPD] Update base_technical_user.pot 2022-10-24 12:20:34 +00:00
OCA-git-bot 2d345ad95a Merge PR #2402 into 15.0
Signed-off-by sebalix
2022-10-24 12:17:51 +00:00
OCA-git-bot e667c1f27f [UPD] addons table in README.md 2022-10-24 11:42:21 +00:00
OCA-git-bot 0eb8d19fcb base_view_inheritance_extension 15.0.1.0.2 2022-10-24 11:42:16 +00:00
OCA-git-bot 42348f6240 Merge PR #2437 into 15.0
Signed-off-by sebalix
2022-10-24 11:38:36 +00:00
Sébastien Alix dd4d28def8 [FIX] b_v_inheritance_extension: fix parsing of 'update' operation
This fixes an error we could get if the attribute of the inherited tag
has some extra carriage returns.

Exception raised: SyntaxError: unexpected EOF while parsing
2022-10-24 12:53:37 +02:00
Weblate feac4b03ab Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-15.0/server-tools-15.0-base_remote
Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-base_remote/
2022-10-20 15:12:38 +00:00
OCA-git-bot af744a042b [ADD] setup.py 2022-10-20 13:25:32 +00:00
OCA-git-bot da7d377c10 [UPD] README.rst 2022-10-20 13:25:31 +00:00
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