3
0
Fork 0
Commit Graph

2200 Commits (f27f8bc62536781a2c20593cededc78dc5b47d8c)

Author SHA1 Message Date
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
Hans Henrik Gabelgaard 0ad1c90e64 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/
2018-10-10 10:40:46 +02:00
Rodrigo Macedo 58492f32b2 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/
2018-10-10 10:40:46 +02:00
oca-travis b8660e8dc7 [UPD] Update web_notify.pot 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
Houzéfa Abbasbhay 88e68cf513 [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).
2018-10-10 10:40:46 +02:00
OCA Transbot 497b58468a OCA Transbot updated translations from Transifex 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
Adrien Peiffer (ACSONE) 87bd04d0b9 [FIX] Return result of super of show_application 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
Laurent Mignon (ACSONE) f50f17a174 New module web_notify
This technical module allows you to send instant notification messages from the server to the user in live.
2018-10-10 10:40:46 +02:00
OCA-git-bot 9dc14ce685 [ADD] setup.py 2018-10-09 11:17:42 +00:00
OCA-git-bot 9ea59353d2 [UPD] README.rst 2018-10-09 11:17:42 +00:00
tarteo 8f1a806b8e [MIG] web_environment_ribbon: Migration to 12.0
[MIG] web_environment_ribbon: Migration to 12.0

[FIX] Default value for ribbon.name if not exists

[FIX] Hide ribbon when ribbon.name is false or not existing

[FIX] Remove copyright flag on __init__ files

[REM] Debugging logs

[REM] Make quotes inconsistant again and change sequence of data files in manifest
2018-10-09 13:17:36 +02:00
Rodrigo Macedo 92fd83186d Translated using Weblate (Portuguese (Brazil))
Currently translated at 100,0% (4 of 4 strings)

Translation: web-11.0/web-11.0-web_environment_ribbon
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_environment_ribbon/pt_BR/
2018-10-09 13:17:36 +02:00
oca-travis d719ec23e4 [UPD] Update web_environment_ribbon.pot 2018-10-09 13:17:36 +02:00
Jean-Paul Ladage 3ac60d9895 web_environment_ribbon: import from odoo instead of openerp. 2018-10-09 13:17:36 +02:00
Xavier Jiménez e69311838a [FIX][11.0] web_environment_ribbon (#806)
* [FIX] web_environment_ribbon: Fix to show the ribbon to every non-admin user

* [FIX] web_environment_ribbon: Version number
2018-10-09 13:17:36 +02:00
xavierjimenez 4f6c813c10 [MIG] web_environment_ribbon: Migration to 11.0 2018-10-09 13:17:36 +02:00
OCA Transbot 0a6912f4ae OCA Transbot updated translations from Transifex 2018-10-09 13:17:36 +02:00
Stéphane Bidoul (ACSONE) d1445ddfe5 [IMP] ribbon: better extensibility 2018-10-09 13:17:36 +02:00
Stéphane Bidoul (ACSONE) 96ad260d2e [IMP] ribbon: no need for the backend model to have a table 2018-10-09 13:17:36 +02:00
Thomas Binsfeld (ACSONE) 912ce37549 [9.0] [IMP] Web Environment Ribbon: support variables in ribbon name (eg db_name) (#621)
* [ADD] .eggs in gitignore

* [IMP] Web Environment Ribbon: add backend
This commit adds a simple bakend to facilitate inheritance

* [IMP] Web Environment Ribbon: add the databse name
This commit adds the database name under the ribbon name, in the ribbon

* [IMP] Web Environment Ribbon: prepare method for ribbon name

* [IMP] README: explain how to use db_name
2018-10-09 13:17:36 +02:00
Pedro M. Baeza 74c1cba29e [MIG] Migrated web_environment_ribbon to v10.0 2018-10-09 13:17:36 +02:00
Sylvain GARANCHER 3c161f4139 [IMP] Make web_environment_ribbon more generic
By creating the ribbon div on the fly, this module doesn't depend
anymore on the webclient structure.
2018-10-09 13:17:36 +02:00
Antonio Espinosa 0618f7f5a4 [MIG] web_environment_ribbon 2018-10-09 13:17:36 +02:00
Javi Melendez b6b832d40d [IMP] ribbon color customization (#347)
* [IMP] web_environment_ribbon: add color customization
The ribbon color and background-color can be modified through system
parameters:
 * ribbon.color
 * ribbon.background.color

Added Copyright in .js
Delete duplicate entries in css
2018-10-09 13:17:36 +02:00
Pedro M. Baeza 33327a71c9 [MIG] Make modules uninstallable 2018-10-09 13:17:36 +02:00
Stéphane Bidoul 67f2b202f8 [UPD] prefix versions with 8.0 2018-10-09 13:17:36 +02:00
hparfr 94a884919f [IMP] web_environment_ribbon increase margin
+ 10px
2018-10-09 13:17:36 +02:00
hparfr eaa0a84166 [FIX] web_environment_ribbon : Fix menu_navbar overlap
Set correct z-index on ribbon
Move position accordingly

Cf #191
2018-10-09 13:17:36 +02:00
Sylvain Calador 0f264de149 [IMP] Add default 'ribbon.name' configuration parameter 2018-10-09 13:17:36 +02:00
Sylvain Calador 3a86047a38 [IMP] web_environment_ribbon: conditional ribbon 2018-10-09 13:17:36 +02:00
Pedro M. Baeza 0e085a1b95 [IMP] web_environment_ribbon: Add icon 2018-10-09 13:17:36 +02:00
Yannick Vaucher b9ce009213 Add missing default oca icons 2018-10-09 13:17:36 +02:00
Daniel Dico ee82d7d9b3 ADD web_environment_ribbon - Minor improvement of transparency to allow top menu visibility 2018-10-09 13:17:36 +02:00
Pedro M. Baeza fb494b9314 [IMP] web_environment_ribbon: Improved README 2018-10-09 13:17:36 +02:00
Francesco Apruzzese 8547fb9a49 [IMP] Change module name and every references to old name module in path
ribbon_test_environment -> web_environment_ribbon
2018-10-09 13:17:36 +02:00
OCA Git Bot 3f3e48c7c0 [ADD] setup.py 2018-10-06 12:02:50 +02:00
OCA Git Bot 957805136f [UPD] README.rst 2018-10-02 15:48:11 +02:00
oca-travis 524807568d [UPD] Update web_disable_export_group.pot 2018-10-02 15:48:11 +02:00
David f7842f91f6 [MIG] web_disable_group_export: Migration to 11.0 2018-10-02 15:48:11 +02:00
Andrea af98ddef01 Add module web_disable_export_group 2018-10-02 15:48:11 +02:00
oca-travis 086c2a8b8d [UPD] Update web_listview_range_select.pot 2018-10-01 15:32:56 +02:00
Aldo_Soares f4bcf9c0f2 [MIG] web_listview_range_select: Migration to 11.0 2018-10-01 15:32:56 +02:00
tarteo e86f7fc09d [ADD] Selecting multiple ranges 2018-10-01 15:32:56 +02:00
tarteo 2a776ecffc [ADD] web_listview_range_select 2018-10-01 15:32:56 +02:00
OCA git bot a93261e577 [MIG] .travis.yml: Upgrade to Postgres 9.6 2018-10-01 09:31:42 +02:00
OCA git bot c4b5877e03 [MIG] Add metafiles
[skip ci]
2018-09-27 02:40:55 +02:00