3
0
Fork 0
Commit Graph

58 Commits (b2baab6a9f3e62771459eb8810f9207850f55d04)

Author SHA1 Message Date
David a91a2e1ea9 [IMP] web_notify: action button name and close
- We can now set a button name to the notification action.
- We can set an icon button as well.
- After the button is clicked, the notification gets closed.
2024-09-20 12:48:24 +02:00
Weblate 16838233fb 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/
2024-04-01 11:16:54 +00:00
OCA-git-bot a1c450a472 [BOT] post-merge updates 2024-04-01 11:16:30 +00:00
oca-ci 52a84070a4 [UPD] Update web_notify.pot 2024-04-01 11:13:20 +00:00
Guewen Baconnier 5d1c3d5fd7 [IMP] web_notify: Add possibility to return an action in a notification 2024-03-04 10:24:16 +01:00
OCA-git-bot 95b9199faa [BOT] post-merge updates 2024-01-06 23:47:36 +00:00
Hans Henrik Gabelgaard 159f732042 [IMP] web_notity: HTML formatting 2023-12-30 15:47:07 +01:00
OCA-git-bot 5ff36bcf42 [BOT] post-merge updates 2023-11-20 18:31:00 +00:00
DavidJForgeFlow 9635d4c753 [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:46:10 +01:00
Ivorra78 17ce2d4043 Translated using Weblate (Spanish)
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/es/
2023-11-19 19:33:24 +00:00
OCA-git-bot 55183d2487 [UPD] README.rst 2023-09-03 17:56:09 +00:00
mymage 704a643346 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-06-13 16:08:41 +00:00
Riccardo Bellanova 73f50c2a5c 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-01-23 17:45:05 +00:00
Riccardo Bellanova 10d2861668 Added translation using Weblate (Italian) 2023-01-23 14:59:54 +00:00
Weblate 410cecee42 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-01-09 12:10:08 +00:00
OCA-git-bot 70c1c213fc [UPD] README.rst 2023-01-09 08:25:57 +00:00
oca-ci c06ea6d2aa [UPD] Update web_notify.pot 2023-01-09 08:22:40 +00:00
David 23269fcbd6 [IMP] web_notify: migration improvements
- Use ES6 in js files
- Update screenshots
- Clean old lint exceptions
- New icon

TT38350
2023-01-05 16:40:07 +01:00
Aiendry Sarkar dd92d61f30 [MIG] web_notify: Migration to 15.0 2023-01-05 16:40:07 +01:00
OCA-git-bot 083d0c527e web_notify 14.0.1.0.1 2023-01-05 16:40:07 +01:00
OCA-git-bot 3fca3710ce [UPD] README.rst 2023-01-05 16:40:06 +01:00
Stéphane Bidoul d5cbba2133 web_notify: bump dev status
It exists since many version and is actively maintained.
2023-01-05 16:40:06 +01:00
Bosd 5a93fd1f85 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-01-05 16:40:06 +01:00
Bosd 96915091b1 Added translation using Weblate (Dutch) 2023-01-05 16:40:06 +01:00
Kevin Khao b18b7a9f64 [14.0][MIG] web_notify: Migration to version 14.0 2023-01-05 16:40:06 +01:00
Kevin Khao 91a409f03b [IMP] web_notify: black, isort, prettier 2023-01-05 16:40:06 +01:00
OCA-git-bot b3e98d1a8d web_notify 13.0.1.0.1 2023-01-05 16:40:06 +01:00
Juan Jose Scarafia 0f7f8b5876 [IMP] web_notify: add channels only if not done already 2023-01-05 16:40:06 +01:00
c2cdidier 9d15e2fc9c 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-01-05 16:40:06 +01:00
OCA-git-bot 189695c428 [UPD] README.rst 2023-01-05 16:40:06 +01:00
OCA-git-bot e146053c08 [UPD] README.rst 2023-01-05 16:40:06 +01:00
Alexandre Díaz e864004fbc [MIG] web_timeline: Finish migration to 13.0 2023-01-05 16:40:06 +01:00
Jairo Llopis 94462b5c72 [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2023-01-05 16:40:06 +01:00
OCA Transbot 71b24af712 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-01-05 16:40:06 +01:00
laurent.corron f049676b1d [MIG] web_notify: Migration to 13.0 2023-01-05 16:40:06 +01:00
laurent.corron 26880e30a6 [REF] web_notify: Black python code 2023-01-05 16:40:06 +01:00
黎伟杰 dfbd67358c 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-01-05 16:40:06 +01:00
黎伟杰 ab7f175833 Added translation using Weblate (Chinese (Simplified)) 2023-01-05 16:40:06 +01:00
Rodrigo Macedo a42c764817 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-01-05 16:40:06 +01:00
OCA-git-bot 4fb616ddab [UPD] README.rst 2023-01-05 16:40:06 +01:00
Karolis Kalantojus 9f8d05d7d6 [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-01-05 16:40:06 +01:00
OCA Transbot 8c1a13aeb0 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-01-05 16:40:06 +01:00
OCA Transbot 9bd73f3b22 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-01-05 16:40:06 +01:00
Shepilov Vladislav 3db7072296 [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-01-05 16:40:06 +01:00
OCA-git-bot af2656ba00 [UPD] README.rst 2023-01-05 16:40:06 +01:00
OCA Transbot d4ce5b9fdc Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2023-01-05 16:40:06 +01:00
Aitor Bouzas 9cd5f5b981 [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-01-05 16:40:06 +01:00
Guewen Baconnier d21c87f525 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-01-05 16:40:06 +01:00
Hans Henrik Gabelgaard 77c2b42351 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/
2023-01-05 16:40:06 +01:00
Rodrigo Macedo a4ff881a55 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/
2023-01-05 16:40:06 +01:00