- 20 Dec, 2024 1 commit
-
-
Jérome Perrin authored
-
- 19 Dec, 2024 2 commits
-
-
Roque authored
- 18 Dec, 2024 4 commits
-
-
Rafael Monnerat authored
-
Roque authored
-
Roque authored
-
- 17 Dec, 2024 2 commits
-
-
Rafael Monnerat authored
-
Jérome Perrin authored
-
- 14 Dec, 2024 5 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
- follow Zope4 ZMI style guide - remove the confusing "Upgrade" button and the associated method `manage_refresh` doing nothing - use `form-control` and `code` CSS classes for better looking fields
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 13 Dec, 2024 7 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
When refresh_token is still valid google's endpoint does not include the current refresh token in the response when refreshing the token, we need to keep the current one. This fixes user logout every one hour.
-
Jérome Perrin authored
-
Jérome Perrin authored
So that version view works as expected, see b415abbb (dms: add version view on notification messages, 2024-06-19)
-
Jérome Perrin authored
See merge request !2011
-
Vincent Pelletier authored
Fix bugs: - Fix an acquisition context bug: the user found here would be wrapped in the acquisition context of self, and as a result SecurityManager.validate may consider the user to be outside of the acquisition path of the document being checked (ex: when accessing a module while publishing a web section). - While unusual, there may be multiple users matching a given request, which is handled by ZPublisher but was skipped here. Also: Document: - Why this method is needed. - assumptions made to get simpler code. Improve performance: - portal_membership._huntUser looks the user up twice, which is expensive. Stop using this method. - When the request is a fake request (from restrictedTraverse) nothing can nor should be done, so bypass the entire logic that case. - Assorted tiny improvements: do not retrieve security manager twice, avoid extraneous local assignments, ... Improve coding style: - Stop accessing portal_membership's underware. - Stop accessing PluggableAuthenticationService's underware. - Simplify disabled cache support: this is exceedingly rare, optimise for when it is enabled. - Do not hardcode log level, also increase the severity: this really is a warning. - Do not try to decode Basic-auth, this is the job of the user folder. This removes duplicated code.
-
Yusei Tahara authored
Set table:number-columns-spanned to each cell outside listbox/matrixbox.
-
- 06 Dec, 2024 1 commit
-
-
Rafael Monnerat authored
Like it is done for option, remove default from schema after append the value into decription.
-
- 02 Dec, 2024 4 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Jérome Perrin authored
And workaround safeimage impacted by this round2 patch.
-
Jérome Perrin authored
See https://zope.readthedocs.io/en/latest/migrations/zope4/zodb.html The approach here is to have a ZODB patch to apply zodbupdate on object load, decoding with UTF-8 encoding because it will be correct most of the time with ERP5
-
- 21 Nov, 2024 1 commit
-
-
Léo-Paul Géneau authored
See merge request !2004
-
- 20 Nov, 2024 2 commits
-
-
Léo-Paul Géneau authored
-
Léo-Paul Géneau authored
-
- 18 Nov, 2024 2 commits
-
-
Léo-Paul Géneau authored
-
Léo-Paul Géneau authored
Limit printed decimals in flight log file for readability.
-
- 15 Nov, 2024 1 commit
-
-
Nicolas Wavrant authored
See merge request !2017
-
- 14 Nov, 2024 1 commit
-
-
Nicolas Wavrant authored
By pre-fetching some catalog entries to retrieve objects UIDs that can directly be used in the inventory query, to avoid needless (costly) joins and hinting the catalog to use the resource_section_node_uid index of the stock table.
-
- 12 Nov, 2024 7 commits
-
-
Xiaowu Zhang authored
See merge request !2012
-
Roque authored
-
Jérome Perrin authored
The test from 6316d9bb (Formulator: test form serialization with non ascii elements, 2024-10-24) revealed that form with an encoding other than UTF-8 are not supported.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
DB.query accepts either bytes or str on python3. We need to decode the query here to display it in traceback and we must not fail when we have bytes with non UTF-8 characters, which can happen with binary columns
-