- 07 Oct, 2024 1 commit
-
-
Carlos Ramos Carreño authored
- Type hints for testcase module are completed. - Type comments (to be compatible with Python 2) have been added to other parts of slapos.core only when necessary to achieve full type checking in the testcase module, with Pyright in strict mode. - Docstrings added/completed for the testcase module. - Source is formatted with ruff.
-
- 02 Oct, 2024 1 commit
-
-
Carlos Ramos Carreño authored
`Path` objects are immediately converted to a string. This can only be done easily in tests for now, as slapos.core has to still support Python 2 users in other parts of the code, and `os.fspath` was added in Python 3.6. See merge request !686
-
- 27 Sep, 2024 5 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
If failover textarea is rendered, we ensure that at least the software type is set, in case it exists. This prevents bad software.cfg.json break the form while editing some instance.
-
Rafael Monnerat authored
In case maileva is used, accountant needs access to system event module for add maileva exchanges. This role should be removed once Maileva integration be refactored
-
Thomas Gambier authored
-
Thomas Gambier authored
without the option --ignore-installed (even with PIP_BREAK_SYSTEM_PACKAGES=1), pip3 upgrade on Ubuntu 24.04 would report: Requirement already satisfied: pip in /usr/lib/python3/dist-packages (24.0) Collecting pip Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB) Using cached pip-24.2-py3-none-any.whl (1.8 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 24.0 ERROR: Cannot uninstall pip 24.0, RECORD file not found. Hint: The package was installed by debian.
-
- 26 Sep, 2024 1 commit
-
-
Romain Courteaud authored
-
- 25 Sep, 2024 15 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This is for backward compatibility.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Clean up and update script to reflect the current usage Use Object rather newTempBase, so listbox columns are simpler to read
-
Rafael Monnerat authored
Rename Base_getEventList to WebSection_getEventList since we only expect Web Section as context No need specific script to get Titcket Url (merged into WebSection_getEventList) No need Folder_getOpenTicketList features, since the will be a single use case for all tickets Update tests to follow up the changes.
-
Rafael Monnerat authored
We want to unify the feeds, so per compute node/instance tree feeds should are gone.
-
Rafael Monnerat authored
User should use the panel websection instead, so drop all code to request the rss feed for renderjs runner ui. Users should rely on Panel only for rss feeds.
-
Rafael Monnerat authored
- Drop others rss feeds that are not **slapos_master_panel/feed - Keep backward compatibility with **slapos_master_panel/feed/critical, responding same as /feed - Keep backward compatibility with **slapos_master_panel/feed/invoice, responding same as legacy messages - Drop all feeds that were used over renderjs_runner
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
- accountants can see Subscription Request to pay deposit - provide permission to create automated payment transaction
-
- 24 Sep, 2024 3 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 23 Sep, 2024 1 commit
-
-
Rafael Monnerat authored
The hardcoded trade condition dont exist anymore, so create one to ensure it is reseted.
-
- 20 Sep, 2024 4 commits
-
-
Rafael Monnerat authored
ledger cannot be changed otherwise the lines aren't grouped automatically like before.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Otherwise, whenever you run the tests multiple times, it ends up failing by selecting the wrong one on the listbox.
-
- 19 Sep, 2024 2 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Be consistent and also search for a Remote Node, since it can also contain Compute Partitions.
-
- 18 Sep, 2024 7 commits
-
-
Rafael Monnerat authored
The trade condition is only mandatory for automated invoices, if the accountant does things manually, it is not required to create/use one.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
We do expect that all trade conditions be attached to a business process, so for manual accounting the condition changed. Se would like to skip consistency check if the invoice isn't automated (ledger) and has no lines, otherwise this consistency check should still apply as usual.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Only require project when ledger is automated Accept no ledger (1 or 0) on accounting transactions in case manual accounting is used.
-
Rafael Monnerat authored
Let the site administrator configure proper accounting instead.
-