Commit Graph

8 Commits (442ebe182e87be5ea66a6e6564c98e8efb5d6711)

Author SHA1 Message Date
OCA-git-bot bbd3649a2c web_notify 12.0.1.0.1 2020-09-07 07:35:11 +00:00
Shepilov Vladislav 9b905c8e95 [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.
2019-04-05 12:39:14 +02:00
Aitor Bouzas fbb550f65c [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
2018-10-15 14:53:36 +02:00
Guewen Baconnier ae8e4ec59d 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
2018-10-10 10:40:46 +02:00
Damien Bouvy b7fcfc5a8c [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.
2018-10-10 10:40:46 +02:00
Serpent Consulting Services Pvt Ltd e3f44ea28d Update web_client.js 2018-10-10 10:40:46 +02:00
Jay Vora(SerpentCS) 2fc5ab26c6 [MIG] Migration started web_notify 2018-10-10 10:40:46 +02:00
Pedro M. Baeza 89583d94fd [MIG] Make modules uninstallable 2018-10-10 10:40:46 +02:00