1. 23 Aug, 2024 3 commits
    • Carlos Ramos Carreño's avatar
      software/cloudooo: Add `enable-scripting` param. · 44f3d5be
      Carlos Ramos Carreño authored
      The `enable-scripting` parameter allows to specify a LibreOffice script
      to be applied before saving the document, as per
      nexedi/cloudooo@a09d87af
      If false (the default), an exception will be raised instead.
      
      This commit also adds two SlapOS integration tests classes to test the
      functionality:
      - TestScripting requests an instance with scripting enabled, and tests
      the scripting functionality.
      - TestScriptingDisabled tests that scripting fails if it is not enabled
      explicitly.
      44f3d5be
    • Carlos Ramos Carreño's avatar
      WIP: Change slapos.cookbook version. · fa41cc66
      Carlos Ramos Carreño authored
      Temporal change to slapos.cookbook version for testing. Do NOT commit
      to master!
      fa41cc66
    • Carlos Ramos Carreño's avatar
      recipe/generic_cloudooo: Allow to set up scripting. · 9852a19e
      Carlos Ramos Carreño authored
      The option "ooo_enable_scripting" can now be set up in the
      generic.cloudooo recipe.
      This option allows the Cloudooo server to execute user scripts to edit
      the documents before they are saved
      (see cloudooo@a09d87af3f8bf222cd7d37d814b94ed7a907e2b4) .
      9852a19e
  2. 12 Aug, 2024 1 commit
  3. 08 Aug, 2024 1 commit
  4. 02 Aug, 2024 1 commit
    • Carlos Ramos Carreño's avatar
      Move Matplotlib versions to slapos.cfg · 5ae99219
      Carlos Ramos Carreño authored
      Move the versions of matplotlib, matplotlib-inline and cycler pinned in
      component/matplotlib/buildout.cfg to slapos.cfg.
      The cycler version for Python 3.7 will be upgraded to 0.11.0 as it is
      compatible.
      
      One reason motivating this change is that the version of `cycler` in
      stack/slapos.cfg is overriding the version specified in
      component/matplotlib/buildout.cfg for the erp5-zope2 software release.
      This is a problem because the former does not take into account the
      Python version, while the later does.
      Thus, attempting to compile erp5-zope2 would give the following error:
      
      ```
      Getting distribution for 'cycler==0.11.0'.
      DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
      ERROR: Package 'cycler' requires a different Python: 2.7.18 not in '>=3.6'
      While:
        Installing matplotlib.
        Base installation request: 'cycler', 'python-dateutil', 'numpy'
        Getting distribution for 'cycler==0.11.0'.
      ```
      
      This adds the right version of `cycler` for Python 2 in `slapos.cfg`, so
      that it does not fail.
      5ae99219
  5. 01 Aug, 2024 2 commits
  6. 30 Jul, 2024 4 commits
  7. 29 Jul, 2024 1 commit
    • Rafael Monnerat's avatar
      kvm/theia: Dont use allOf on resilient to extend properties · 42083eea
      Rafael Monnerat authored
        allOf implies that all (both) schemas should be valid, but
          additionalProperties false wont allow it, since it become multually
          invalid. (You can validate only one or None)
      
        Just use $ref to expand the list, it end up with the expected outcome
         reducing complexity.
      
        Note: kvm wasn't using additionalProperties false but it was changed
         because it makes it future proof, in case we set it (we should set).
      42083eea
  8. 25 Jul, 2024 3 commits
  9. 24 Jul, 2024 1 commit
  10. 22 Jul, 2024 1 commit
  11. 19 Jul, 2024 2 commits
  12. 17 Jul, 2024 1 commit
  13. 16 Jul, 2024 2 commits
  14. 15 Jul, 2024 10 commits
  15. 12 Jul, 2024 5 commits
  16. 11 Jul, 2024 2 commits