-
-
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
[MIG][15.0] web_notify #2176
[MIG][15.0] web_notify #2176
Commits on Apr 28, 2022
-
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 9994a82 - Browse repository at this point
Copy the full SHA 9994a82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a8172f - Browse repository at this point
Copy the full SHA 0a8172fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d7bdf8 - Browse repository at this point
Copy the full SHA 2d7bdf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0721e9 - Browse repository at this point
Copy the full SHA d0721e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for edbdda9 - Browse repository at this point
Copy the full SHA edbdda9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dadd89 - Browse repository at this point
Copy the full SHA 2dadd89View 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 ae266fc - Browse repository at this point
Copy the full SHA ae266fcView 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 54ee4eb - Browse repository at this point
Copy the full SHA 54ee4ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5081c47 - Browse repository at this point
Copy the full SHA 5081c47View 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 8e3dd99 - Browse repository at this point
Copy the full SHA 8e3dd99View 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 9a26cff - Browse repository at this point
Copy the full SHA 9a26cffView 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 716a8a5 - Browse repository at this point
Copy the full SHA 716a8a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ee79f7 - Browse repository at this point
Copy the full SHA 8ee79f7View 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 cbadea0 - Browse repository at this point
Copy the full SHA cbadea0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f388b62 - Browse repository at this point
Copy the full SHA f388b62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 888651a - Browse repository at this point
Copy the full SHA 888651aView commit details -
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Configuration menu - View commit details
-
Copy full SHA for f3c60bb - Browse repository at this point
Copy the full SHA f3c60bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c2e494 - Browse repository at this point
Copy the full SHA 3c2e494View 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 f5f55ab - Browse repository at this point
Copy the full SHA f5f55abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c81581 - Browse repository at this point
Copy the full SHA 6c81581View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccd94c4 - Browse repository at this point
Copy the full SHA ccd94c4View 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 21c4915 - Browse repository at this point
Copy the full SHA 21c4915View 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 90c9d1d - Browse repository at this point
Copy the full SHA 90c9d1dView 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 f316ade - Browse repository at this point
Copy the full SHA f316adeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 683d742 - Browse repository at this point
Copy the full SHA 683d742View 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 b9f5d4c - Browse repository at this point
Copy the full SHA b9f5d4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ce37f5 - Browse repository at this point
Copy the full SHA 1ce37f5View 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 124c5db - Browse repository at this point
Copy the full SHA 124c5dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d229fb0 - Browse repository at this point
Copy the full SHA d229fb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbb0e14 - Browse repository at this point
Copy the full SHA bbb0e14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46fc984 - Browse repository at this point
Copy the full SHA 46fc984View commit details -
Configuration menu - View commit details
-
Copy full SHA for af82393 - Browse repository at this point
Copy the full SHA af82393View 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 c607e6b - Browse repository at this point
Copy the full SHA c607e6bView 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 8a8d4df - Browse repository at this point
Copy the full SHA 8a8d4dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6716468 - Browse repository at this point
Copy the full SHA 6716468View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89b66d5 - Browse repository at this point
Copy the full SHA 89b66d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b03307 - Browse repository at this point
Copy the full SHA 9b03307View 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 31fcd00 - Browse repository at this point
Copy the full SHA 31fcd00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e63d76 - Browse repository at this point
Copy the full SHA 7e63d76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36098d8 - Browse repository at this point
Copy the full SHA 36098d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e30f19d - Browse repository at this point
Copy the full SHA e30f19dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d59d67 - Browse repository at this point
Copy the full SHA 7d59d67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bc8cf6 - Browse repository at this point
Copy the full SHA 0bc8cf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce595b2 - Browse repository at this point
Copy the full SHA ce595b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 402334a - Browse repository at this point
Copy the full SHA 402334aView 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 ee74ba1 - Browse repository at this point
Copy the full SHA ee74ba1View commit details -
It exists since many version and is actively maintained.
Configuration menu - View commit details
-
Copy full SHA for 505d401 - Browse repository at this point
Copy the full SHA 505d401View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d1fd63 - Browse repository at this point
Copy the full SHA 7d1fd63View commit details -
Configuration menu - View commit details
-
Copy full SHA for d84f6fd - Browse repository at this point
Copy the full SHA d84f6fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86af31d - Browse repository at this point
Copy the full SHA 86af31dView commit details -
[MIG] web_notify: Migration to 15.0
Porting notes: 1. Removed notify_default, since it does not pass validation in [1] 2. Modifications to notificaation widgets are removed in prefer of original widget implementation 3. Odoo improved notification usage in [2], so no need to add extra channels that depend on user's id [1] https://github.com/odoo/odoo/blob/21be7ca0c9eef18184d06755ff83337be1e4752e/addons/web/static/src/core/notifications/notification.js#L49 [2] odoo/odoo@543af27
Configuration menu - View commit details
-
Copy full SHA for d4d1ffc - Browse repository at this point
Copy the full SHA d4d1ffcView commit details