Commit Graph

18 Commits (871df13026a3d57d7f742bbe949f4a060a8e3d3f)

Author SHA1 Message Date
OCA-git-bot 871df13026 [BOT] post-merge updates 2024-04-01 06:36:48 +00:00
OCA-git-bot b2cd4ca9ad [BOT] post-merge updates 2023-11-20 18:29:29 +00:00
Benoit Aimont 50dcada5f1 [MIG] web_notify: Migration to 16.0 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
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
Kevin Khao 619494e298 [14.0][MIG] web_notify: Migration to version 14.0 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
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
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
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
Damien Bouvy 00e4d9c1aa [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.
2023-04-11 09:53:03 +02:00
Serpent Consulting Services Pvt Ltd 337bad393b Update web_client.js 2023-04-11 09:53:03 +02:00
Jay Vora(SerpentCS) 09884d74a5 [MIG] Migration started web_notify 2023-04-11 09:53:02 +02:00
Pedro M. Baeza e5492a65d7 [MIG] Make modules uninstallable 2023-04-11 09:53:02 +02:00