- 24 Aug, 2023 4 commits
-
-
Levin Zimmermann authored
When using the public API of pandas (which is partially allowed in restricted python), it can happen that this public API raises the error 'pytz.NonExistentTimeError' [1]. Users should be allowed to import and therefore catch this exception. Before this patch we could only do: >>> try: ... ts.tz_localize(tz) ... except Exception: ... ... After this patch we can do; >>> try: ... ts.tz_localize(tz) ... except pytz.NonExistentTimeError: ... ... pytz delivers more exceptions which are all equally harmless. We can therefore in the same patch also allow them, as they may be useful for similar cases. This patch also comes with tests which ensure that the allowed exceptions can be imported into restricted python and also a test to ensure no other objects in the pytz namespace can be used. --- [1] https://pandas.pydata.org/pandas-docs/version/2.0.3/reference/api/pandas.Series.tz_localize.html /reviewed-by @jerome /reviewed-on !1802
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Vincent Pelletier authored
When an activity failure happens, the SQL row is updated: - date is set to a future value, so the activity does not get retried immediately, in the expectation that what caused the failure may have cleared by that point. - retry is incremented, to allow limiting the total number of retries - priority is incremented This last point seems harder to justify, and seems redundant with the date increase. In the context of processing node families and with a steady influx of similar activities at a base priority level, such priority increment can postpone the victim activity execution to an arbitrarily large amount of time, which is undesirable. So, remove this increment.
-
- 23 Aug, 2023 2 commits
-
-
Roque authored
See merge request nexedi/erp5!1809
-
Léo-Paul Géneau authored
-
- 21 Aug, 2023 1 commit
-
-
Jérome Perrin authored
See merge request nexedi/erp5!1796
-
- 18 Aug, 2023 2 commits
-
-
Roque authored
See merge request nexedi/erp5!1810
-
Roque authored
- drop console logs - update api doc - refine init map coordinates - crash drone if logic is empty - jslint
-
- 16 Aug, 2023 1 commit
-
-
Yusei Tahara authored
sqlvar type="nb" was broken by sqlvar patch without being noticed, thus test is required. See commit ebdc34d4.
-
- 15 Aug, 2023 3 commits
-
-
Roque authored
-
Rafael Monnerat authored
See merge request nexedi/erp5!1811
-
Rafael Monnerat authored
See merge request nexedi/erp5!1812
-
- 11 Aug, 2023 1 commit
-
-
Rafael Monnerat authored
Redirect with error level, to display the notification properly displayed as error
-
- 10 Aug, 2023 8 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
rather them use person directly to Manage it. It might allow an user use more them one certificate to authenticate. An Unique reference is set whenever issue a certificate, this prevents conflicts if the transaction is restarted/retry after getNewCertificate is already called, since we cannot rollback the call to openssl. Include and improve test coverage
-
Rafael Monnerat authored
if a duplicated certificate (with same CN) is eventually generated by a bug or external tool (for whatever reason), revoke should revoke them all.
-
Roque authored
-
Roque authored
- drop map reduction - fix random seed issue (drop relation with #drones) - use min-max lat-lon map parameters for init
-
Roque authored
-
- 03 Aug, 2023 4 commits
-
-
Léo-Paul Géneau authored
Fix position update regarding the drone speed
-
Yusei Tahara authored
-
Kazuhiko Shiozaki authored
These workflows on Person are useful for Japanese usecase only where we use content translation for 'furigana' (pronunciation).
- 02 Aug, 2023 2 commits
-
-
Roque authored
See merge request nexedi/erp5!1808
-
Roque authored
- capture flag - drone simulator
-
- 01 Aug, 2023 2 commits
- 28 Jul, 2023 7 commits
-
-
Roque authored
See merge request nexedi/erp5!1775
-
Roque authored
-
Roque authored
-
Roque authored
- add back the drone collision logic - check drone out with map limits - randomize seed library - use seed to randomize values - terrain texture change - adapt default configuration - refactor to allow map_size as parameter (instead of min-max lat-lon) - new map function - camera and size limits - enemy team - enemy AI script - add flags and obstacles - obstacle and flag collision - allow dronemanager to take cartesian coordinates - game finish rulls - user score and result message - refactor AI default script (drone dodges obstacles) - new drone implementation for enemy drone (API) - add getDroneViewInfo to API(s) - restore drone color dot trace (improve color pick) - allow random seed as url parameter - handle fullscreen - flag weight as parameter - show default seed value, and make input mandatory - do not show enemy drone logs on UI - flag collision crashes the drone - update score calculation - drop flag weight (model and parameter) - use geo coordinates in general - refactor enemy drone to use cartesian - add debug mode for test using console logs - async obstacle detection (API changes)
-
Roque authored
- based on drone simulator
-
Roque authored
- babylon gadget msg htm - babylonjs gadget fullscreen (includes mobile fix) - bug fix in offscreen canvas - scroll focus for usability
-
Roque authored
-
- 27 Jul, 2023 3 commits
-
-
Roque authored
See merge request nexedi/erp5!1805
-
Roque authored
-
Roque authored
See merge request nexedi/erp5!1804
-