Commit Graph

1275 Commits (4fb80532fda70bbec20ddc0ceb67a22e19979866)

Author SHA1 Message Date
Jairo Llopis 66406a2603 [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2024-10-07 14:38:14 +07:00
OCA Transbot ba4312163e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-13.0/web-13.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_notify/
2024-10-07 14:38:14 +07:00
laurent.corron e2973d84f8 [MIG] web_notify: Migration to 13.0 2024-10-07 14:38:14 +07:00
laurent.corron 09a0fc41a4 [REF] web_notify: Black python code 2024-10-07 14:38:14 +07:00
黎伟杰 d4f6c3ad50 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (18 of 18 strings)

Translation: web-12.0/web-12.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_notify/zh_CN/
2024-10-07 14:38:14 +07:00
黎伟杰 12e732976c Added translation using Weblate (Chinese (Simplified)) 2024-10-07 14:38:14 +07:00
Rodrigo Macedo 5660a3e456 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (18 of 18 strings)

Translation: web-12.0/web-12.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_notify/pt_BR/
2024-10-07 14:38:14 +07:00
OCA-git-bot 5512cf0406 [UPD] README.rst 2024-10-07 14:38:14 +07:00
Karolis Kalantojus 5296fd2e89 [FIX] web_notify attempt to fix void messages (#1249)
It seems besides the custom channels provided in this addon it also catches messages from other channels. E.g. in this case it seems the void popup is triggered by these activity creation bus messages.

**Steps to reproduce**

Odoo commit: could reproduce on 5e8b667951 and 4da82776ff
OCA/web commit: 2465278

* Install crm and web_notify modules
* Create an activity for yourself (tried for admin user)
* Empty popup appears

**Attempt to solve**

It seems the bus handles all messages non exclusively. I've hacked in a conditional to handle only messages from web_notify addon, but its unclear wether this does not break something else.
2024-10-07 14:38:14 +07:00
OCA Transbot 6e9fd9517f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-12.0/web-12.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_notify/
2024-10-07 14:38:14 +07:00
OCA Transbot 35fc1c2786 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-12.0/web-12.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_notify/
2024-10-07 14:38:14 +07:00
Shepilov Vladislav 8307c87b0d [12.0] web_notify: improve popup UI (#1231)
* [ADD]: all available bootstrap notifications (success/danger/warning/info/default)
* [IMP] use black color for text for default notification.
* [FIX] reverted require string for `bus.Longpolling` and rename `on_message_received` to `on_message` to prevent collisions.
2024-10-07 14:38:14 +07:00
OCA-git-bot 029a6780df [UPD] README.rst 2024-10-07 14:38:14 +07:00
OCA Transbot 1924864ff1 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2024-10-07 14:38:14 +07:00
Aitor Bouzas bdd4ca7cf0 [MIG] web_notify: Migration to 12.0
Add self-test buttons in demo environment,
Updated readme to show how to test it.
Add buttons to users form
Do not rely on SUPERUSER_ID and avoid getattr usage
2024-10-07 14:38:14 +07:00
Guewen Baconnier 2eb3dc7d92 Prevent to send web notifications to other users
Only the admin user (sudo) is allowed to send notifications to other
users. The normal users can only send notifications to themselves.

This is to prevent attackers to craft malicious notifications and send
them to other users using RPC.

Correction based on the idea of @hbrunn
2024-10-07 14:38:14 +07:00
Hans Henrik Gabelgaard 48e68d11d6 Translated using Weblate (Danish)
Currently translated at 40.0% (2 of 5 strings)

Translation: web-11.0/web-11.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_notify/da/
2024-10-07 14:38:14 +07:00
Rodrigo Macedo c7ddf7ffe5 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100,0% (5 of 5 strings)

Translation: web-11.0/web-11.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_notify/pt_BR/
2024-10-07 14:38:14 +07:00
Damien Bouvy 9810010400 [MIG] web_notify: Migration to 11.0
- Use the 'session' class of the JS Framework (session no lounger bound
to web client)
- Test change: compare emitted & received messages based on content, not
order. Using string comparison raises false positives.
2024-10-07 14:38:14 +07:00
Houzéfa Abbasbhay 1f9a18e30a [10.0][FIX] web_notify tests: Fix an arg check
Fix a check when comparing a user count with items within a mock call.

The previous method was succeeding by pure luck because OCA test
databases contain 2 users, which happens to be the amount of items
within a mock "call_args" (it contains args + kwargs).
2024-10-07 14:38:14 +07:00
OCA Transbot 36c609dcca OCA Transbot updated translations from Transifex 2024-10-07 14:38:14 +07:00
Serpent Consulting Services Pvt Ltd c696a4b8a7 Update web_client.js 2024-10-07 14:38:14 +07:00
Adrien Peiffer (ACSONE) 4aea80d96d [FIX] Return result of super of show_application 2024-10-07 14:38:14 +07:00
Jay Vora(SerpentCS) 6d0762f188 [MIG] Migration started web_notify 2024-10-07 14:38:14 +07:00
Pedro M. Baeza 4456bb1d71 [MIG] Make modules uninstallable 2024-10-07 14:38:14 +07:00
Laurent Mignon (ACSONE) f8cf60d377 New module web_notify
This technical module allows you to send instant notification messages from the server to the user in live.
2024-10-07 14:38:14 +07:00
OCA-git-bot 7dfd744539 [BOT] post-merge updates 2024-09-30 15:21:03 +00:00
OCA-git-bot a91be97fd2 Merge PR #2940 into 17.0
Signed-off-by gurneyalex
2024-09-30 15:00:18 +00:00
harry-ngn 4ccd98cb73
[IMP] web_environment_ribbon : improve Readme / Configure 2024-09-30 16:30:06 +02:00
OCA-git-bot 91fb17cc55 [BOT] post-merge updates 2024-09-16 10:37:04 +00:00
OCA-git-bot 58b8b2a4ce Merge PR #2924 into 17.0
Signed-off-by pedrobaeza
2024-09-16 10:33:20 +00:00
OCA-git-bot f28a0d1b26 [BOT] post-merge updates 2024-09-16 06:52:03 +00:00
OCA-git-bot a5c82072b5 Merge PR #2921 into 17.0
Signed-off-by pedrobaeza
2024-09-16 06:47:58 +00:00
wout 9e1b022341 [FIX] Error opening product form in shop floor 2024-08-29 13:23:05 +02:00
OCA-git-bot 3062d82fa8 [BOT] post-merge updates 2024-08-29 06:20:13 +00:00
oca-ci 0f41b72717 [UPD] Update web_widget_url_advanced.pot 2024-08-29 06:17:28 +00:00
OCA-git-bot 30c029a893 Merge PR #2918 into 17.0
Signed-off-by simahawk
2024-08-29 06:14:54 +00:00
Christopher Rogos 767de4c065 [FIX] web_m2x_options: add fieldColor to Many2OneAvatarUserField and KanbanMany2OneAvatarUserField 2024-08-23 06:59:57 +00:00
OCA-git-bot f4885276a6 [BOT] post-merge updates 2024-08-19 06:29:06 +00:00
oca-ci 7ac2d0b93e [UPD] Update web_dialog_size.pot 2024-08-19 06:26:15 +00:00
OCA-git-bot 4a7e67e71c Merge PR #2919 into 17.0
Signed-off-by pedrobaeza
2024-08-19 06:23:52 +00:00
Carlos Roca 996d4e56e6 [MIG] web_dialog_size: Migration to 17.0 2024-08-16 09:41:59 +02:00
Carlos Roca d760a19735 [IMP] web_dialog_size: pre-commit auto fixes 2024-08-16 08:35:31 +02:00
Carlos Roca 95c85e4fce [FIX] web_dialog_size: Fixes on legacy Dialogs
The problems found on Legacy Dialogs are the next:

1. The modal can't be dragged
2. The button for extending and reduce the modal is doing nothing
3. The x for close the modal is showed twice

You can test it with dialogs showed on Vault module
2024-08-16 08:35:31 +02:00
mymage 96776c225a Translated using Weblate (Italian)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-16.0/web-16.0-web_dialog_size
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_dialog_size/it/
2024-08-16 08:35:31 +02:00
tarteo 0b8750db7c [IMP] web_dialog_size: Migration to 16.0
[IMP] web_dialog_size: Migration to 16.0

[REM] Remove duplicate configuration readme file

[FIX] Make it work for normal dialogs also

[FIX] SelectCreateDialog

precommit
2024-08-16 08:35:31 +02:00
Mantux11 de7f74d8d8 [15.0][MIG] web_dialog_size: migration to 15.0 2024-08-16 08:35:31 +02:00
Corneliuus 22892259d0 Added translation using Weblate (German) 2024-08-16 08:35:31 +02:00
Alessandro Fiorino b140bc764f Added translation using Weblate (Italian) 2024-08-16 08:35:31 +02:00
Valentin Vinagre 544820d87e Added translation using Weblate (Spanish) 2024-08-16 08:35:31 +02:00