-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[18.0][MIG] web_notify: Migration to 18.0 #2956
Commits on Oct 14, 2024
-
This technical module allows you to send instant notification messages from the server to the user in live.
Configuration menu - View commit details
-
Copy full SHA for 7b60962 - Browse repository at this point
Copy the full SHA 7b60962View commit details -
Configuration menu - View commit details
-
Copy full SHA for a99b7f2 - Browse repository at this point
Copy the full SHA a99b7f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2be1034 - Browse repository at this point
Copy the full SHA 2be1034View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5733994 - Browse repository at this point
Copy the full SHA 5733994View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bb1e7c - Browse repository at this point
Copy the full SHA 5bb1e7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a1285d - Browse repository at this point
Copy the full SHA 5a1285dView commit details -
[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).
Configuration menu - View commit details
-
Copy full SHA for ed2e6f0 - Browse repository at this point
Copy the full SHA ed2e6f0View commit details -
[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.
Configuration menu - View commit details
-
Copy full SHA for 687baa8 - Browse repository at this point
Copy the full SHA 687baa8View commit details -
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/
Configuration menu - View commit details
-
Copy full SHA for 6d8243a - Browse repository at this point
Copy the full SHA 6d8243aView commit details -
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/
Configuration menu - View commit details
-
Copy full SHA for 678fdf6 - Browse repository at this point
Copy the full SHA 678fdf6View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 619e5fe - Browse repository at this point
Copy the full SHA 619e5feView commit details -
[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
Configuration menu - View commit details
-
Copy full SHA for 0e736e6 - Browse repository at this point
Copy the full SHA 0e736e6View commit details -
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Configuration menu - View commit details
-
Copy full SHA for cd0a6c9 - Browse repository at this point
Copy the full SHA cd0a6c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 869bc3c - Browse repository at this point
Copy the full SHA 869bc3cView commit details -
[12.0] web_notify: improve popup UI (OCA#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.
Configuration menu - View commit details
-
Copy full SHA for 246bf34 - Browse repository at this point
Copy the full SHA 246bf34View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: web-12.0/web-12.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_notify/
Configuration menu - View commit details
-
Copy full SHA for 55b5d41 - Browse repository at this point
Copy the full SHA 55b5d41View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: web-12.0/web-12.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_notify/
Configuration menu - View commit details
-
Copy full SHA for d10cef9 - Browse repository at this point
Copy the full SHA d10cef9View commit details -
[FIX] web_notify attempt to fix void messages (OCA#1249)
It seems besides the custom channels provided in this addon it also catches messages from other channels. E.g. in this case it seems the void popup is triggered by these activity creation bus messages. **Steps to reproduce** Odoo commit: could reproduce on 5e8b667951 and 4da82776ff OCA/web commit: 2465278 * Install crm and web_notify modules * Create an activity for yourself (tried for admin user) * Empty popup appears **Attempt to solve** It seems the bus handles all messages non exclusively. I've hacked in a conditional to handle only messages from web_notify addon, but its unclear wether this does not break something else.
Configuration menu - View commit details
-
Copy full SHA for ee4ee80 - Browse repository at this point
Copy the full SHA ee4ee80View commit details -
Configuration menu - View commit details
-
Copy full SHA for faf4fda - Browse repository at this point
Copy the full SHA faf4fdaView commit details -
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (18 of 18 strings) Translation: web-12.0/web-12.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_notify/pt_BR/
Configuration menu - View commit details
-
Copy full SHA for dec1235 - Browse repository at this point
Copy the full SHA dec1235View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1de1e41 - Browse repository at this point
Copy the full SHA 1de1e41View commit details -
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (18 of 18 strings) Translation: web-12.0/web-12.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_notify/zh_CN/
Configuration menu - View commit details
-
Copy full SHA for 4f336af - Browse repository at this point
Copy the full SHA 4f336afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cde71a - Browse repository at this point
Copy the full SHA 9cde71aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cf6728 - Browse repository at this point
Copy the full SHA 2cf6728View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: web-13.0/web-13.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_notify/
Configuration menu - View commit details
-
Copy full SHA for f4da78d - Browse repository at this point
Copy the full SHA f4da78dView commit details -
[IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
Configuration menu - View commit details
-
Copy full SHA for 44718dc - Browse repository at this point
Copy the full SHA 44718dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fc51f3 - Browse repository at this point
Copy the full SHA 8fc51f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7306d3a - Browse repository at this point
Copy the full SHA 7306d3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6496afe - Browse repository at this point
Copy the full SHA 6496afeView commit details -
Translated using Weblate (German)
Currently translated at 100.0% (18 of 18 strings) Translation: web-13.0/web-13.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_notify/de/
Configuration menu - View commit details
-
Copy full SHA for a7f57e2 - Browse repository at this point
Copy the full SHA a7f57e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3870973 - Browse repository at this point
Copy the full SHA 3870973View commit details -
Configuration menu - View commit details
-
Copy full SHA for 397241d - Browse repository at this point
Copy the full SHA 397241dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 295eb28 - Browse repository at this point
Copy the full SHA 295eb28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ea425f - Browse repository at this point
Copy the full SHA 4ea425fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bab031 - Browse repository at this point
Copy the full SHA 0bab031View commit details -
Translated using Weblate (Dutch)
Currently translated at 42.8% (9 of 21 strings) Translation: web-14.0/web-14.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_notify/nl/
Configuration menu - View commit details
-
Copy full SHA for abcb9b3 - Browse repository at this point
Copy the full SHA abcb9b3View commit details -
It exists since many version and is actively maintained.
Configuration menu - View commit details
-
Copy full SHA for 4dc7148 - Browse repository at this point
Copy the full SHA 4dc7148View commit details -
Configuration menu - View commit details
-
Copy full SHA for 300ac76 - Browse repository at this point
Copy the full SHA 300ac76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fb3984 - Browse repository at this point
Copy the full SHA 8fb3984View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c6085d - Browse repository at this point
Copy the full SHA 5c6085dView commit details -
[IMP] web_notify: migration improvements
- Use ES6 in js files - Update screenshots - Clean old lint exceptions - New icon TT38350
Configuration menu - View commit details
-
Copy full SHA for 304f519 - Browse repository at this point
Copy the full SHA 304f519View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55a5624 - Browse repository at this point
Copy the full SHA 55a5624View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37e0678 - Browse repository at this point
Copy the full SHA 37e0678View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: web-15.0/web-15.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_notify/
Configuration menu - View commit details
-
Copy full SHA for 48a4ada - Browse repository at this point
Copy the full SHA 48a4adaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43d9c74 - Browse repository at this point
Copy the full SHA 43d9c74View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (18 of 18 strings) Translation: web-15.0/web-15.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_notify/it/
Configuration menu - View commit details
-
Copy full SHA for 3517b85 - Browse repository at this point
Copy the full SHA 3517b85View commit details -
Configuration menu - View commit details
-
Copy full SHA for f306abc - Browse repository at this point
Copy the full SHA f306abcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b231a5 - Browse repository at this point
Copy the full SHA 8b231a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 136c186 - Browse repository at this point
Copy the full SHA 136c186View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9390395 - Browse repository at this point
Copy the full SHA 9390395View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41c2fb1 - Browse repository at this point
Copy the full SHA 41c2fb1View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: web-16.0/web-16.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/
Configuration menu - View commit details
-
Copy full SHA for a4287fa - Browse repository at this point
Copy the full SHA a4287faView commit details -
Translated using Weblate (Italian)
Currently translated at 94.4% (17 of 18 strings) Translation: web-16.0/web-16.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/it/
Configuration menu - View commit details
-
Copy full SHA for b214276 - Browse repository at this point
Copy the full SHA b214276View commit details -
Translated using Weblate (German)
Currently translated at 100.0% (18 of 18 strings) Translation: web-16.0/web-16.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/de/
Configuration menu - View commit details
-
Copy full SHA for aa5d0a6 - Browse repository at this point
Copy the full SHA aa5d0a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b61c8b8 - Browse repository at this point
Copy the full SHA b61c8b8View commit details -
Translated using Weblate (Spanish)
Currently translated at 100.0% (18 of 18 strings) Translation: web-16.0/web-16.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/es/
Configuration menu - View commit details
-
Copy full SHA for f46585e - Browse repository at this point
Copy the full SHA f46585eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f63f786 - Browse repository at this point
Copy the full SHA f63f786View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (18 of 18 strings) Translation: web-16.0/web-16.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/it/
Configuration menu - View commit details
-
Copy full SHA for cb5e526 - Browse repository at this point
Copy the full SHA cb5e526View commit details -
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (18 of 18 strings) Translation: web-16.0/web-16.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/pt_BR/
Configuration menu - View commit details
-
Copy full SHA for 573b591 - Browse repository at this point
Copy the full SHA 573b591View commit details -
When trying to use the notify function that comes from a normal user with sudo flag enabled, it wasn't letting the user access it. Adding the su flag to the check should allow sudo users using this feature.
Configuration menu - View commit details
-
Copy full SHA for 80f755c - Browse repository at this point
Copy the full SHA 80f755cView commit details -
Configuration menu - View commit details
-
Copy full SHA for aeff55a - Browse repository at this point
Copy the full SHA aeff55aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a3c6f9 - Browse repository at this point
Copy the full SHA 2a3c6f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for cad90ef - Browse repository at this point
Copy the full SHA cad90efView commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: web-16.0/web-16.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/
Configuration menu - View commit details
-
Copy full SHA for 7342526 - Browse repository at this point
Copy the full SHA 7342526View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (19 of 19 strings) Translation: web-16.0/web-16.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/it/
Configuration menu - View commit details
-
Copy full SHA for 810ceb7 - Browse repository at this point
Copy the full SHA 810ceb7View commit details -
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (19 of 19 strings) Translation: web-16.0/web-16.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_notify/pt_BR/
Configuration menu - View commit details
-
Copy full SHA for 09d8445 - Browse repository at this point
Copy the full SHA 09d8445View commit details -
[IMP] web_notify: action button name and close
- We can now set a button name to the notification action. - We can set an icon button as well. - After the button is clicked, the notification gets closed.
Configuration menu - View commit details
-
Copy full SHA for 8a0c623 - Browse repository at this point
Copy the full SHA 8a0c623View commit details -
Configuration menu - View commit details
-
Copy full SHA for c77fa3a - Browse repository at this point
Copy the full SHA c77fa3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a7dbf5 - Browse repository at this point
Copy the full SHA 0a7dbf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for decbb91 - Browse repository at this point
Copy the full SHA decbb91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51412c2 - Browse repository at this point
Copy the full SHA 51412c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6997e59 - Browse repository at this point
Copy the full SHA 6997e59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5161619 - Browse repository at this point
Copy the full SHA 5161619View commit details