Commit Graph

35 Commits

Author SHA1 Message Date
Simone Rubino
30df4b5048 [FIX] web_notify: function declaration
Resolving https://github.com/OCA/web/issues/1072
2018-10-11 12:15:20 +02:00
oca-travis
cd0218ffc0 [UPD] Update web_notify.pot 2018-10-10 21:50:04 +00:00
Guewen Baconnier
6249c15a0c Bump web_notify to 10.0.1.2.0 2018-10-09 08:29:13 +02:00
Guewen Baconnier
7924072514 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-09 08:28:53 +02:00
Wolfgang Pichler
9a4b74aef8 [FIX] Fixed inheritance bugs in web_notify. Did caused problems when used with other modules which do inherit from WebClient (web_auto_refresh) 2018-09-26 10:23:11 +02:00
oca-travis
2aab62837f [UPD] Update web_notify.pot 2018-07-31 13:34:23 +00:00
Guewen Baconnier
8b2818c73b Correct tests 2018-07-31 15:19:43 +02:00
Guewen Baconnier
4fd13e22da Make notify options variadic
It opens for extensions.
The implemented options now allow to configure the name and the icon of
the link for the action. Addons could easily add new features as the
arguments are no longer predefined, they'll all be available in the
'options' dictionary.
2018-07-31 15:19:33 +02:00
Guewen Baconnier
bf7fda1980 Use new classes for the interactive notifications 2018-07-31 15:17:08 +02:00
Guewen Baconnier
b333cdc7b1 Add possibility to return an action in a notification 2018-07-31 15:17:06 +02:00
Guewen Baconnier
8d3f2749e4 web_notify: add feature to reload current view 2018-07-31 15:15:50 +02:00
oca-travis
f9f4d841bf [UPD] Update web_notify.pot 2018-06-24 01:39:33 +00:00
OCA Transbot
9298796eef OCA Transbot updated translations from Transifex 2018-01-27 15:54:48 +01:00
Houzéfa Abbasbhay
5cb0d4974f [10.0][FIX] web_notify tests: Fix an arg check
Fix a check when comparing a user count with items within a mock call.

The previous method was succeeding by pure luck because OCA test
databases contain 2 users, which happens to be the amount of items
within a mock "call_args" (it contains args + kwargs).
2017-08-17 13:37:14 +02:00
OCA Transbot
977a85c133 OCA Transbot updated translations from Transifex 2017-07-15 12:53:39 +02:00
OCA Transbot
f33cf1292c OCA Transbot updated translations from Transifex 2017-06-24 12:40:00 +02:00
OCA Transbot
663e88a130 OCA Transbot updated translations from Transifex 2017-05-02 03:16:38 +02:00
Serpent Consulting Services Pvt Ltd
11047e4d9a [REF] web_notify : Upgraded runbot link (#573) 2017-03-12 01:27:03 +01:00
OCA Transbot
c23684c739 OCA Transbot updated translations from Transifex 2017-02-04 03:21:13 -05:00
OCA Transbot
13c14035a3 OCA Transbot updated translations from Transifex 2016-12-24 01:39:11 -05:00
Serpent Consulting Services Pvt Ltd
7e707ed2ca Merge pull request #2 from acsone/10.0-web-notify-return-ape
[FIX] Return result of super of show_application
2016-12-07 00:10:35 +05:30
Serpent Consulting Services Pvt Ltd
3d615c1f8e Update __manifest__.py 2016-12-01 14:54:59 +05:30
Serpent Consulting Services Pvt Ltd
66fd708c89 Update __manifest__.py 2016-11-25 20:20:15 +05:30
Serpent Consulting Services Pvt Ltd
5a2299e1a7 Update web_client.js 2016-11-25 20:19:11 +05:30
Adrien Peiffer (ACSONE)
328d457d14 [FIX] Return result of super of show_application 2016-11-23 12:03:35 +01:00
Jay Vora(SerpentCS)
012b45c3be [MIG] Migration of web_notify 2016-11-18 19:01:16 +05:30
Jay Vora(SerpentCS)
6a1ebe8e3d [MIG] Migration of web_notify 2016-11-18 18:52:57 +05:30
Jay Vora(SerpentCS)
9dc9fa01c9 [MIG] Migration started web_notify 2016-11-18 18:43:43 +05:30
Pedro M. Baeza
648315dadf [MIG] Rename manifest files 2016-10-06 16:13:01 +02:00
Pedro M. Baeza
fe4b300ca9 [MIG] Make modules uninstallable 2016-10-06 16:12:54 +02:00
Laurent Mignon
afdd5d2819 Add screenshot 2016-09-23 09:23:53 +02:00
Laurent Mignon (ACSONE)
80674a6241 Don't store channel names since the perf gain is negligible and not worth additional database columns. 2016-09-21 15:37:56 +02:00
Laurent Mignon (ACSONE)
acb8ce6ff4 Remove required flag 2016-09-21 12:01:21 +02:00
Laurent Mignon (ACSONE)
8b2079b3ef Improve logic and add tests 2016-09-21 11:05:31 +02:00
Laurent Mignon (ACSONE)
8fa467fa1f New module web_notify
This technical module allows you to send instant notification messages from the server to the user in live.
2016-09-20 17:56:56 +02:00