-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
[16.0][MIG] - rest_log #354
Merged
Merged
Commits on Dec 12, 2023
-
rest_log: add sanitize params hook
Provide a hook to customize stored params. At the same time, assume passwords must be always cleaned up.
Configuration menu - View commit details
-
Copy full SHA for 5a16143 - Browse repository at this point
Copy the full SHA 5a16143View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46979c6 - Browse repository at this point
Copy the full SHA 46979c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 126d60d - Browse repository at this point
Copy the full SHA 126d60dView commit details -
Configuration menu - View commit details
-
Copy full SHA for abda1ab - Browse repository at this point
Copy the full SHA abda1abView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf678f7 - Browse repository at this point
Copy the full SHA cf678f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0d2c2b - Browse repository at this point
Copy the full SHA a0d2c2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb64427 - Browse repository at this point
Copy the full SHA cb64427View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dbfa2f - Browse repository at this point
Copy the full SHA 9dbfa2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17c6ef2 - Browse repository at this point
Copy the full SHA 17c6ef2View commit details -
[IMP] rest_log: handle odoo.http.Response objects in logs
Some endpoints will not return a dict as expected by the ``_dispatch_with_db_logging`` method (and the other methods called within), but an object of type ``odoo.http.Response``. When that happens, the instance fails to handle it while creating logs (ie: tries to call ``json.dumps()`` on such object, which is not allowed). This patch should fix the issue.
Configuration menu - View commit details
-
Copy full SHA for a275c69 - Browse repository at this point
Copy the full SHA a275c69View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2fc4d7 - Browse repository at this point
Copy the full SHA b2fc4d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ddda58 - Browse repository at this point
Copy the full SHA 2ddda58View commit details -
rest_log: postpone serialization of values
This way we can hook an manipulate data w/out having to decode from JSON back and forth.
Configuration menu - View commit details
-
Copy full SHA for 27d62b2 - Browse repository at this point
Copy the full SHA 27d62b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb8e8c5 - Browse repository at this point
Copy the full SHA cb8e8c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for daab30b - Browse repository at this point
Copy the full SHA daab30bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.