- 17 May, 2024 4 commits
-
-
Jérome Perrin authored
for same reason as the xhtml_style version, there is no problem with having more than one listbox, see d2dedca3 (core: remove useless log in Base_callDialogMethod, 2020-07-03)
-
Jérome Perrin authored
-
Jérome Perrin authored
If preferences are not set, this causes a non existant style to be used
-
Jérome Perrin authored
If a transaction is selected but instead of having accounts as source/destination on lines it acquires the organisation set as source/destination on the transaction, this causes an AttributeError getGapList when trying to use this organisation as an account. To fix this, adjust the getMovementHistoryList parameters to select only lines using accounts, by passing node_uid, which is O(n) on the number of accounts, but the number of accounts is not supposed to be too large and other reports also do this assumption.
-
- 16 May, 2024 1 commit
-
-
Jérome Perrin authored
-
- 15 May, 2024 3 commits
-
-
Romain Courteaud authored
-
Jérome Perrin authored
- move the logic of uploading to WebDAV server here instead of the generated bin/runUnitTest wrapper - run a new `coverage_report` which will - download all coverage data from WebDAV server - combine the data - run html report, saved in log folder - print text output in the text output. This `coverage_report` test waits for other tests to finish uploading data, we could extend test node distributor to distribute this test at the end.
-
Jérome Perrin authored
See merge request nexedi/erp5!1933
-
- 14 May, 2024 8 commits
-
-
Léo-Paul Géneau authored
See merge request nexedi/erp5!1903
-
Léo-Paul Géneau authored
Move `spawnDrone` function (where user code is evaluated) and rename used variables to avoid conflicts with the variables used by the user. Previously if an user would have assign a value to `i` without declaring the variable first, it would not have thrown any error as `i` was already existing in the execution scope.
-
Léo-Paul Géneau authored
Even if null speed only makes sense for VTOL vehicules, it is a required testing feature as long as there is no dedicated API.
-
Léo-Paul Géneau authored
Loop interval is the time in milliseconds between 2 executions of the onUpdate function of the user script as well as the periodicity to send messages to the swarm (which means updating telemetry values). As this is something we can set in SlapOS mostly to handle bandwith usage, this must not be linked to the time delta used to update drone position in the simulation.
-
Léo-Paul Géneau authored
-
Léo-Paul Géneau authored
-
Léo-Paul Géneau authored
Introduce `_callSetTargetCommand` function to regroup contraints on command calls. Commands like `takeOff` and `land` should have such constraints and therefore use `_internal_setTargetCoordinates` directly.
-
Léo-Paul Géneau authored
Timeout feature was broken by 2f7689d1 . Add timeout check in tests.
-
- 13 May, 2024 1 commit
-
-
Jérome Perrin authored
-
- 12 May, 2024 2 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
- str() because in ERP5JS the duration are directly serialized to json, which is not allowed. - int() to have a second level precision, which is more readable.
-
- 10 May, 2024 1 commit
-
-
Jérome Perrin authored
-
- 09 May, 2024 6 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
this is not used and cause a SyntaxWarning
-
Jérome Perrin authored
This was based on libraries that were never ported to python3. If this is still needed, it would have to be reimplemented with other newer technologies.
-
- 08 May, 2024 2 commits
-
-
Rafael Monnerat authored
See merge request nexedi/erp5!1932
-
Jérome Perrin authored
Use same label as the action, "Preview"
-
- 07 May, 2024 2 commits
-
-
Thomas Gambier authored
-
Thomas Gambier authored
-
- 30 Apr, 2024 1 commit
-
-
Vincent Pelletier authored
These scripts take time to run, so restrict them to Manager users.
-
- 29 Apr, 2024 1 commit
-
-
Rafael Monnerat authored
See merge request nexedi/erp5!1928
-
- 24 Apr, 2024 1 commit
-
-
Carlos Ramos Carreño authored
See merge request !1915
-
- 22 Apr, 2024 1 commit
-
-
Rafael Monnerat authored
The render is useful to preview content after edit while doing a gadget or on other contexts. Since corportate identity has erp5_web as dependency, it cause no harm to move.
-
- 16 Apr, 2024 5 commits
-
-
Rafael Monnerat authored
See merge request nexedi/erp5!1919
-
Rafael Monnerat authored
-
Rafael Monnerat authored
* const is handled as enum with a single value automatically * patch ensureArraySize to not modify the user input, let the user safely slice by himself. * Reorganise patches so it is grouped by prototype
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Improvements compared to the previous implementation: - avoid looking up the user document again, when the PAS plugin already did that job - make it possible to call a single script when multiple sources of groups are based on the same documents, avoiding iterating unnecessarily on those same documents multiple times - avoid repeating the same membership value (ex: when a user has multiple assignments with a common membership subset) - avoid resolving the same relation more than once - do not go from document value to relative URL only to go from relative URL back to document value at the next step - move security group id extraction to unrestricted python, as the security overhead was taking a large amount of time In a security setup with 8 scripts (all Assignment-based), 6 base categories, and 4 Assignments (all valid), this implementation is 10 times faster at producing the same group id set as the previous one.
-
- 15 Apr, 2024 1 commit
-
-
Rafael Monnerat authored
See merge request nexedi/erp5!1918
-