- 11 Jul, 2024 40 commits
-
-
Jérome Perrin authored
Raise an exception instead of casting to string unhandled search values, because it's more likely that caller accidentally passed a wrong value.
-
Roque authored
-
Roque authored
- site web section changes - update app router - update app panel - adapt monitoring jio gadget and jio storage - add form views configuration - add new portal types, views and actions - migration_version check - update precache manifest - sync checks and redirection - refactor dispatch page according to new monitor urls - add opml redirects to front page - slapos portal types - drop obsolete files - drop auto-sync on add OPML page - parameters gadget field for instance tree view - custom views for software instance resources and processes - options header gadget (custom header options) - custom submit gadgets - graph gadget field
-
Roque authored
- allow custom app configurator - render listbox form field extra configuration - fix date format rendering - allow configuration form fields to have extra js code - allow to customize listbox column styles - allow to customize listbox jio_alldocs - fix custom view handling - fix gadget field rendering - allow dev user to set custom header options - truncate long string fields - add custom submit gadget option - improve renderjs_extra - update graph gadget
-
Roque authored
-
Jérome Perrin authored
This prevents one failing test to make all subsequent tests to fail
-
Jérome Perrin authored
this is removed from python3, it was not so useful here either
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
-
Jérome Perrin authored
use sys.maxsize, see discussion on nexedi/erp5!1751 (comment 203735)
-
Jérome Perrin authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
assertCountEqual is the new python3 name. Implement this in backportUnittest.py and also move the existing similar patches (assertRaisesRegex and assertRegex).
-
Jérome Perrin authored
this happens with new ghostscript, but this does not seem a critical problem.
-
Jérome Perrin authored
The test was only testing with empty cache
-
Jérome Perrin authored
This should not happens, but if this happens we should not just return in the middle of the loop, because this returned value is not used, so we would just silently edit partially.
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
so that Tester methods will have some __roles__ as Getter.
-
Kazuhiko Shiozaki authored
-
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.
-
Jérome Perrin authored
-
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
-
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.
-
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.
-
Jérome Perrin authored
-
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.
-