Commit Graph

60 Commits

Author SHA1 Message Date
OCA-git-bot
b2cd4ca9ad [BOT] post-merge updates 2023-11-20 18:29:29 +00:00
DavidJForgeFlow
19b156c718 [IMP] web_notify
When trying to use the notify function that comes from a normal user with sudo flag enabled, it wasn't letting the user access it. Adding the su flag to the check should allow sudo users using this feature.
2023-11-20 10:57:56 +01:00
Adriano Prado
0aba067808 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (18 of 18 strings)

Translation: web-16.0/web-16.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/pt_BR/
2023-11-09 13:36:35 +00:00
mymage
13c89ac0b1 Translated using Weblate (Italian)
Currently translated at 100.0% (18 of 18 strings)

Translation: web-16.0/web-16.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/it/
2023-09-21 15:40:07 +00:00
OCA-git-bot
0fcc326ee1 [UPD] README.rst 2023-09-03 17:59:06 +00:00
Ivorra78
84d6c9202b Translated using Weblate (Spanish)
Currently translated at 100.0% (18 of 18 strings)

Translation: web-16.0/web-16.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/es/
2023-09-02 20:35:26 +00:00
Nils Coenen
d122c8491b Translated using Weblate (German)
Currently translated at 100.0% (18 of 18 strings)

Translation: web-16.0/web-16.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/de/
2023-06-20 11:09:19 +00:00
mymage
304ef666d7 Translated using Weblate (Italian)
Currently translated at 94.4% (17 of 18 strings)

Translation: web-16.0/web-16.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/it/
2023-06-13 16:11:03 +00:00
Weblate
d8892b18e8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-16.0/web-16.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/
2023-04-19 15:14:03 +00:00
OCA-git-bot
6bc83ec665 [UPD] README.rst 2023-04-19 09:58:55 +00:00
oca-ci
4537b1b910 [UPD] Update web_notify.pot 2023-04-19 09:56:22 +00:00
Minh Chien
f099779fc8 [ADD] show message under html format 2023-04-11 10:03:39 +02:00
Benoit Aimont
28b8e6d4a6 [MIG] web_notify: if not target then take self.partner_id 2023-04-11 09:53:03 +02:00
Benoit Aimont
50dcada5f1 [MIG] web_notify: Migration to 16.0 2023-04-11 09:53:03 +02:00
Riccardo Bellanova
7661716d7a Translated using Weblate (Italian)
Currently translated at 100.0% (18 of 18 strings)

Translation: web-15.0/web-15.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_notify/it/
2023-04-11 09:53:03 +02:00
Riccardo Bellanova
030d064628 Added translation using Weblate (Italian) 2023-04-11 09:53:03 +02:00
Weblate
b775091d17 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-15.0/web-15.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_notify/
2023-04-11 09:53:03 +02:00
OCA-git-bot
4d8f28a118 [UPD] README.rst 2023-04-11 09:53:03 +02:00
oca-ci
18c4856b3a [UPD] Update web_notify.pot 2023-04-11 09:53:03 +02:00
David
6fa8ac48e1 [IMP] web_notify: migration improvements
- Use ES6 in js files
- Update screenshots
- Clean old lint exceptions
- New icon

TT38350
2023-04-11 09:53:03 +02:00
Aiendry Sarkar
dafee50eea [MIG] web_notify: Migration to 15.0 2023-04-11 09:53:03 +02:00
OCA-git-bot
2d8317d93f web_notify 14.0.1.0.1 2023-04-11 09:53:03 +02:00
OCA-git-bot
1c7e23c974 [UPD] README.rst 2023-04-11 09:53:03 +02:00
Stéphane Bidoul
7bf3234957 web_notify: bump dev status
It exists since many version and is actively maintained.
2023-04-11 09:53:03 +02:00
Bosd
606450b9a7 Translated using Weblate (Dutch)
Currently translated at 42.8% (9 of 21 strings)

Translation: web-14.0/web-14.0-web_notify
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_notify/nl/
2023-04-11 09:53:03 +02:00
Bosd
1f8b67048c Added translation using Weblate (Dutch) 2023-04-11 09:53:03 +02:00
Kevin Khao
619494e298 [14.0][MIG] web_notify: Migration to version 14.0 2023-04-11 09:53:03 +02:00
Kevin Khao
68323c9be8 [IMP] web_notify: black, isort, prettier 2023-04-11 09:53:03 +02:00
OCA-git-bot
f37984929f web_notify 13.0.1.0.1 2023-04-11 09:53:03 +02:00
Juan Jose Scarafia
32d2b9f8f5 [IMP] web_notify: add channels only if not done already 2023-04-11 09:53:03 +02:00
c2cdidier
e8256684bf 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/
2023-04-11 09:53:03 +02:00
OCA-git-bot
7cb34ad40f [UPD] README.rst 2023-04-11 09:53:03 +02:00
OCA-git-bot
7a533f8b2e [UPD] README.rst 2023-04-11 09:53:03 +02:00
Alexandre Díaz
be3c69d1f0 [MIG] web_timeline: Finish migration to 13.0 2023-04-11 09:53:03 +02:00
Jairo Llopis
00a9a9f698 [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2023-04-11 09:53:03 +02:00
OCA Transbot
1830fd2edb 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/
2023-04-11 09:53:03 +02:00
laurent.corron
47a012cd7a [MIG] web_notify: Migration to 13.0 2023-04-11 09:53:03 +02:00
laurent.corron
19f059b783 [REF] web_notify: Black python code 2023-04-11 09:53:03 +02:00
黎伟杰
0fab8889d3 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/
2023-04-11 09:53:03 +02:00
黎伟杰
43e51f5630 Added translation using Weblate (Chinese (Simplified)) 2023-04-11 09:53:03 +02:00
Rodrigo Macedo
ac1a7e83f9 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/
2023-04-11 09:53:03 +02:00
OCA-git-bot
607ef3142a [UPD] README.rst 2023-04-11 09:53:03 +02:00
Karolis Kalantojus
eded6987a6 [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.
2023-04-11 09:53:03 +02:00
OCA Transbot
1e784481f2 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/
2023-04-11 09:53:03 +02:00
OCA Transbot
50b749e19b 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/
2023-04-11 09:53:03 +02:00
Shepilov Vladislav
ee19e7fb46 [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.
2023-04-11 09:53:03 +02:00
OCA-git-bot
65596d0f94 [UPD] README.rst 2023-04-11 09:53:03 +02:00
OCA Transbot
dc260a9ce2 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2023-04-11 09:53:03 +02:00
Aitor Bouzas
06a4ec791f [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
2023-04-11 09:53:03 +02:00
Guewen Baconnier
13d754007b 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
2023-04-11 09:53:03 +02:00