Commit Graph

1111 Commits

Author SHA1 Message Date
Aitor Bouzas
bdd4ca7cf0 [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
2024-10-07 14:38:14 +07:00
Guewen Baconnier
2eb3dc7d92 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
2024-10-07 14:38:14 +07:00
Hans Henrik Gabelgaard
48e68d11d6 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/
2024-10-07 14:38:14 +07:00
Rodrigo Macedo
c7ddf7ffe5 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/
2024-10-07 14:38:14 +07:00
Damien Bouvy
9810010400 [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.
2024-10-07 14:38:14 +07:00
Houzéfa Abbasbhay
1f9a18e30a [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).
2024-10-07 14:38:14 +07:00
OCA Transbot
36c609dcca OCA Transbot updated translations from Transifex 2024-10-07 14:38:14 +07:00
Serpent Consulting Services Pvt Ltd
c696a4b8a7 Update web_client.js 2024-10-07 14:38:14 +07:00
Adrien Peiffer (ACSONE)
4aea80d96d [FIX] Return result of super of show_application 2024-10-07 14:38:14 +07:00
Jay Vora(SerpentCS)
6d0762f188 [MIG] Migration started web_notify 2024-10-07 14:38:14 +07:00
Pedro M. Baeza
4456bb1d71 [MIG] Make modules uninstallable 2024-10-07 14:38:14 +07:00
Laurent Mignon (ACSONE)
f8cf60d377 New module web_notify
This technical module allows you to send instant notification messages from the server to the user in live.
2024-10-07 14:38:14 +07:00
OCA-git-bot
7dfd744539 [BOT] post-merge updates 2024-09-30 15:21:03 +00:00
OCA-git-bot
a91be97fd2 Merge PR #2940 into 17.0
Signed-off-by gurneyalex
2024-09-30 15:00:18 +00:00
harry-ngn
4ccd98cb73 [IMP] web_environment_ribbon : improve Readme / Configure 2024-09-30 16:30:06 +02:00
OCA-git-bot
91fb17cc55 [BOT] post-merge updates 2024-09-16 10:37:04 +00:00
OCA-git-bot
58b8b2a4ce Merge PR #2924 into 17.0
Signed-off-by pedrobaeza
2024-09-16 10:33:20 +00:00
OCA-git-bot
f28a0d1b26 [BOT] post-merge updates 2024-09-16 06:52:03 +00:00
OCA-git-bot
a5c82072b5 Merge PR #2921 into 17.0
Signed-off-by pedrobaeza
2024-09-16 06:47:58 +00:00
wout
9e1b022341 [FIX] Error opening product form in shop floor 2024-08-29 13:23:05 +02:00
OCA-git-bot
3062d82fa8 [BOT] post-merge updates 2024-08-29 06:20:13 +00:00
oca-ci
0f41b72717 [UPD] Update web_widget_url_advanced.pot 2024-08-29 06:17:28 +00:00
OCA-git-bot
30c029a893 Merge PR #2918 into 17.0
Signed-off-by simahawk
2024-08-29 06:14:54 +00:00
Christopher Rogos
767de4c065 [FIX] web_m2x_options: add fieldColor to Many2OneAvatarUserField and KanbanMany2OneAvatarUserField 2024-08-23 06:59:57 +00:00
OCA-git-bot
f4885276a6 [BOT] post-merge updates 2024-08-19 06:29:06 +00:00
oca-ci
7ac2d0b93e [UPD] Update web_dialog_size.pot 2024-08-19 06:26:15 +00:00
OCA-git-bot
4a7e67e71c Merge PR #2919 into 17.0
Signed-off-by pedrobaeza
2024-08-19 06:23:52 +00:00
Carlos Roca
996d4e56e6 [MIG] web_dialog_size: Migration to 17.0 2024-08-16 09:41:59 +02:00
Carlos Roca
d760a19735 [IMP] web_dialog_size: pre-commit auto fixes 2024-08-16 08:35:31 +02:00
Carlos Roca
95c85e4fce [FIX] web_dialog_size: Fixes on legacy Dialogs
The problems found on Legacy Dialogs are the next:

1. The modal can't be dragged
2. The button for extending and reduce the modal is doing nothing
3. The x for close the modal is showed twice

You can test it with dialogs showed on Vault module
2024-08-16 08:35:31 +02:00
mymage
96776c225a Translated using Weblate (Italian)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-16.0/web-16.0-web_dialog_size
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_dialog_size/it/
2024-08-16 08:35:31 +02:00
tarteo
0b8750db7c [IMP] web_dialog_size: Migration to 16.0
[IMP] web_dialog_size: Migration to 16.0

[REM] Remove duplicate configuration readme file

[FIX] Make it work for normal dialogs also

[FIX] SelectCreateDialog

precommit
2024-08-16 08:35:31 +02:00
Mantux11
de7f74d8d8 [15.0][MIG] web_dialog_size: migration to 15.0 2024-08-16 08:35:31 +02:00
Corneliuus
22892259d0 Added translation using Weblate (German) 2024-08-16 08:35:31 +02:00
Alessandro Fiorino
b140bc764f Added translation using Weblate (Italian) 2024-08-16 08:35:31 +02:00
Valentin Vinagre
544820d87e Added translation using Weblate (Spanish) 2024-08-16 08:35:31 +02:00
Bosd
e584f48192 Added translation using Weblate (Dutch) 2024-08-16 08:35:31 +02:00
Yves Le Doeuff
905c76aefe Added translation using Weblate (French) 2024-08-16 08:35:31 +02:00
Jairo Llopis
89ece718a2 [IMP] web_dialog_size: add task to roadmap
It is important to let users decide their default dialog size. Some have ultrawide monitors and this module does more harm than benefit.

Here I add such task to roadmap, to avoid forgetting about it.

@Tecnativa
2024-08-16 08:35:31 +02:00
Pierre Pizzetta
8a378e01ee [MIG] web_dialog_size: Migration to 14.0 2024-08-16 08:35:31 +02:00
Pierre Pizzetta
67de16f079 [IMP] web_dialog_size: black, isort, prettier 2024-08-16 08:35:31 +02:00
Stéphane Bidoul
0c69cbaef3 pre-commit update: prettier xml indent 2024-08-16 08:35:31 +02:00
Jairo Llopis
ad37c8252b [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2024-08-16 08:35:31 +02:00
emagdalena
6d5156af44 [FIX] web_dialog_size js warnings 2024-08-16 08:35:31 +02:00
sudhir-erpharbor
daaea05f29 [IMP] Improved code and solved the bug of two arrows in dialog. 2024-08-16 08:35:31 +02:00
sudhir-erpharbor
82fed0518f [MIG] Migrated web_dialog_size module in v13. 2024-08-16 08:35:31 +02:00
黎伟杰
f3a78cc14c Added translation using Weblate (Chinese (Simplified)) 2024-08-16 08:35:31 +02:00
ernesto
090c0dbeed [MIG] web_dialog_size: Migration to 12.0 2024-08-16 08:35:31 +02:00
joezsweet
18364b9838 Fix default_maximize check
Checking result of rpc call, `dialog_maximize`, will end to be always `true` as the method will return a json: `{'dialog_maximize': false }`. So i changed the test to test the value of json key `dialog_maximize`
2024-08-16 08:35:31 +02:00
QS5ELkMu
41209e7112 [11.0][FIX] web_dialog_size: Draggable Dialog 2024-08-16 08:35:31 +02:00