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
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
- 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.
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).
[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
* [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
* [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