Skip to content
Snippets Groups Projects
  1. Jan 06, 2022
    • Thibault Delavallée's avatar
      [REF] various: remove usage and dependency on html2text library · d79197f1
      Thibault Delavallée authored
      
      We have our own html2plaintext, already used in lot of use cases instead of
      just a few for the html2txt library.
      
      Notably for emails: most emails going through Odoo stack use our simple
      html2plaintext to format the body alternative. When no body alternative
      is given to ``build_email`` an alternative is built using the library to
      remove. Using our own parser allows to have the same results compared to
      using ``MailMail.send()``. Difference lies in spaces and new lines as well
      as markdown. Our html2plaintext is a bit simple and does not try to generate
      Markdown but generates a simple plaintext version.
      
      This also helps solving some issues with depending on that library.
      
      Task-2702034
      
      closes odoo/odoo#82330
      
      X-original-commit: odoo/odoo@9b5f86e8fa5bef341ea7392b86987092d6f6933a
      Related: odoo/enterprise#23292
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      d79197f1
  2. Sep 15, 2021
  3. Feb 25, 2021
  4. Jan 29, 2021
    • Christophe Monniez's avatar
      [FIX] packaging: update rpm packaging for fedora 32 · a8deb1dd
      Christophe Monniez authored
      
      As Fedora 32 was the current release when Odoo 14.0 was released, this
      should be the supported version.
      
      Also, a few  old libs were still in mentioned in the packaging files.
      They flew under the radar because they never broke the packaging.
      This is not the case anymore, those libs disappeared from the Fedora
      repos.
      
      It seems that pyparsing is not used anymore since 5a1c06a1 and thus can
      be safely removed from `requirements.txt` too.
      
      pychart is not used anymore since 3425752e.
      
      While at it, remove mix of tabs and spaces in package.dffedora, also add
      missing packages to avoid installation at test time.
      
      Now that I started down the slippery slope, also removed some `-dev`
      packages in package.dfsrc as wheel's are available.
      
      Finally, the rpm install script now detects the python ABI version in
      order to avoid update this file at each ABI change in Fedora.
      
      Fixes #63719
      
      closes odoo/odoo#65224
      
      Signed-off-by: default avatarChristophe Monniez (moc) <moc@odoo.com>
      a8deb1dd
  5. Jul 10, 2020
  6. May 05, 2020
  7. Feb 05, 2020
  8. Jan 22, 2020
    • Martin Trigaux's avatar
      [FIX] auth_ldap: replace the deprecated library by one up to date · 9aef423d
      Martin Trigaux authored
      At 795c7b0a the external dependencies was changed from trying
      to import 'ldap' to checking than 'pyldap' package was installed.
      The problem is that pyldap is a unmaintained library that should no
      longer be used, as explained on the package page:
      https://pypi.org/project/pyldap/
      
      
      "The pyldap fork was merged back into python-ldap, and released as
       python-ldap 3.0.0."
      
      Having pyldap version >= 3.0 installs python-ldap automatically and
      will not cause any issue.
      
      The Debian control file package name is adapted to use the latest.
      
      The "ldap" externalm dependency defined in __manifest__.py will cause
      pkg_resources.get_distribution() to fail in both case ("python-lap" or
      "pyldap"), but the "import" fallback will succeed. For that reason, the
      log warning is turned into a log info.
      
      closes odoo/odoo#43769
      
      Note: This library should be replaced by the pure python "ldap3" library.
      X-original-commit: 1afd0ccf
      Signed-off-by: default avatarChristophe Monniez (moc) <moc@odoo.com>
      9aef423d
  9. Oct 02, 2019
    • Christophe Monniez's avatar
      [REF] packaging: use docker to build packages · 8c4c4394
      Christophe Monniez authored
      
      Actually, docker is used to test Linux packages once they are built.
      The packaging process is done on the host system where package.py is
      run.
      
      Consequences:
          * difficult to reproduce an exact same build on another host
          * changing a Debian/Ubuntu target version means some upgrade steps
            on the build host (mix that with the fact that the host also
            could build old Odoo versions)
          * Fedora rpm package is built on an Ubuntu system (which is not a
            real problem but it could be)
      
      With this commit, the package.py utility is refactored to use Docker
      containers to build the Gnu/Linux packages.
      
      Also, the Debian package is adapted for Debian Buster, the RPM package
      is built based on Fedora 30.
      
      Some minor changes are also made in the windows packaging system.
      
      closes odoo/odoo#37766
      
      Signed-off-by: default avatarChristophe Monniez (moc) <moc@odoo.com>
      8c4c4394
  10. Jun 05, 2019
  11. Jan 29, 2019
    • Christophe Monniez's avatar
      [FIX] packaging: allow install on fedora29 · 7eec6b36
      Christophe Monniez authored
      Fedora 29 switched to python 3.7. It seems that there is no official
      way to build a RPM package that could works with 3.6 and 3.7.
      Building two different packages for each version could open the pandora
      box of packaging.
      
      With this commit an ugly hack is used: if python3.7 is found, the odoo
      directory is symlinked into its site-packages dir.
      
      fixes #30579
      
      closes odoo/odoo#30618
      7eec6b36
  12. Oct 09, 2018
    • Adrian Torres's avatar
      [REM] packaging: drop PyYAML dependency · a277bfb4
      Adrian Torres authored
      Commit cf853a78 removed all yml tests
      and the yml import engine from Odoo forever, however PyYAML remains a
      dependency even though it's not used anymore.
      
      This commit removes any reference to this lib that could be found.
      
      closes odoo/odoo#27563
      a277bfb4
  13. Jun 08, 2018
  14. Apr 18, 2018
  15. Oct 13, 2017
  16. Oct 12, 2017
  17. Oct 11, 2017
  18. Oct 09, 2017
  19. Oct 03, 2017
  20. Sep 30, 2016
  21. Jun 10, 2016
    • Simon Lejeune's avatar
      [REF] ir_qweb: less webasset: compress output instead of minifying it · 123e51f4
      Simon Lejeune authored
      * Remove dependency on less-plugin-clean-css which distribution
        packages are broken on debian stretch and derivated.
      * Updated documentation.
      * Lessc provides a `--compress` argument that could solve this issue.
        According to the documentation at http://lesscss.org/usage/: "[...]
        Compress using less built-in compression. This does an okay job but
        does not utilise all the tricks of dedicated css compression[...]"
        However, using this argument works on lessc 2.5.3 but not on 1.4.2
        (`--compress` arg is present but seems to be break some rules
        i haven't been able to put my finger on).
      * Finally, use the minification of the StylesheetAsset that takes care
        of removing the spaces, the comments and the sourcemap with regexes.
      
      fixes issue #9113
      123e51f4
  22. May 13, 2016
  23. Sep 28, 2015
  24. Sep 11, 2015
  25. Dec 19, 2014
  26. Nov 28, 2014
    • Simon Lejeune's avatar
      [FIX] Packaging: RedHat: dependencies management · 56b61da1
      Simon Lejeune authored
      PyChart is now in the EPEL repo so we now list it as required in
      setup.cfg. The other mandatory lib not provided by EPEL are
      pyPdf, vatnumber and pydot and are now installed by easy_install
      during the post install.
      56b61da1
    • Simon Lejeune's avatar
      [FIX] Packaging: RedHat: install in /usr and add systemd unit file · be96dd85
      Simon Lejeune authored
      By default, the package was installed in /usr/local/lib/python2.7 in CentOS7.
      It is problematic because most of other python packages are installed in /usr/lib
      and also because /usr/local/lib is not in the default PYTHONPATH. It's fixed by
      overriding the install script and forcing prefix to be /usr.
      
      Added a minimal systemd unitfile.
      Adapted tests accordingly.
      be96dd85
  27. Sep 29, 2014
  28. Sep 02, 2014
  29. Jun 23, 2014
  30. May 30, 2014
  31. May 29, 2014
    • Antony Lesuisse's avatar
      [IMP] repository cleanup · d4624fa8
      Antony Lesuisse authored
      - move packaging stuff to setup
      - remove historical stuff
      - remove oe, odoo-cmd-fme will be merged with the convered commands
      - add an odoo.py script to run odo and boostrap it
      - simplify README
      - prepare to move documentation to the github wiki
      d4624fa8
  32. Oct 06, 2011
  33. Sep 26, 2011
  34. Oct 19, 2010
  35. May 11, 2010
  36. Feb 13, 2009
  37. Feb 09, 2009
Loading