Commit Graph

17 Commits

Author SHA1 Message Date
Kevin Khao
4ea425f83f [14.0][MIG] web_notify: Migration to version 14.0 2024-10-14 08:53:21 +07:00
c2cdidier
a7f57e296a Translated using Weblate (German)
Currently translated at 100.0% (18 of 18 strings)

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/de/
2024-10-14 08:53:21 +07:00
OCA Transbot
f4da78da56 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-14 08:53:21 +07:00
laurent.corron
2cf6728bce [MIG] web_notify: Migration to 13.0 2024-10-14 08:53:21 +07:00
黎伟杰
4f336af159 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-14 08:53:21 +07:00
黎伟杰
1de1e41904 Added translation using Weblate (Chinese (Simplified)) 2024-10-14 08:53:21 +07:00
Rodrigo Macedo
dec123571a 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-14 08:53:21 +07:00
OCA Transbot
d10cef994f 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-14 08:53:21 +07:00
OCA Transbot
55b5d41704 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-14 08:53:21 +07:00
Shepilov Vladislav
246bf34081 [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-14 08:53:21 +07:00
OCA Transbot
cd0a6c9a73 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2024-10-14 08:53:21 +07:00
Aitor Bouzas
0e736e6b33 [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-14 08:53:21 +07:00
Guewen Baconnier
619e5fe16d 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-14 08:53:21 +07:00
Hans Henrik Gabelgaard
678fdf6645 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-14 08:53:21 +07:00
Rodrigo Macedo
6d8243a779 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-14 08:53:21 +07:00
Damien Bouvy
687baa82b4 [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-14 08:53:21 +07:00
OCA Transbot
5a1285d95a OCA Transbot updated translations from Transifex 2024-10-14 08:53:21 +07:00