An error occurred fetching the project authors.
  1. 03 Jan, 2019 1 commit
  2. 30 Mar, 2017 1 commit
  3. 16 Mar, 2017 1 commit
  4. 21 Feb, 2017 1 commit
  5. 23 Dec, 2016 2 commits
  6. 09 Aug, 2016 1 commit
  7. 26 Apr, 2016 1 commit
  8. 21 Apr, 2016 1 commit
  9. 17 Mar, 2016 1 commit
  10. 25 Feb, 2016 1 commit
  11. 14 Jan, 2016 1 commit
    • Romain Courteaud's avatar
      ERP5Site: stop displaying Basic auth popup in the browser · 419abc03
      Romain Courteaud authored
      When a user is already authenticated (by any method) and an Unauthorized error occurs, ZPublisher returns the WWW-Authenticate HTTP header which leads to a blocking popup authentication window in user browser.
      
      This patch just desactivate the HTTP header. Except this, error is handled as previously.
      419abc03
  12. 12 Jan, 2016 1 commit
  13. 08 Oct, 2015 1 commit
    • Julien Muchembled's avatar
      Fix memory leak and DoS in ERP5Site.log() and Base.log() · be2bf77b
      Julien Muchembled authored
      ERP5Site.log and Base.log are wrappers to the 'log' function from
      Product.ERP5Type.Log, but parameters were forwarded in a wrong way
      when called with a single argument:
      
        self.log(message) # Base method
      
      This was equivalent to:
      
        log(message, '')  # function from Product.ERP5Type.Log
      
      And the whole message was later part of subsystem in:
      
        logger = logging.getLogger(subsystem)
      
      But because loggers are never freed, it is important that 'subsystem' does not
      vary too often, to avoid a memory leak.
      
      The fix is to simply forwarding parameters with catchall arguments, instead of
      duplicating the signature from Product.ERP5Type.Log.
      
      Of course, it remains important to call these methods correctly, otherwise
      memory leaks can happen again. For this reason, catchall arguments also
      prevents ERP5Site.log and Base.log to be called by ZPublisher.
      Reported-by: Kirill Smelkov's avatarKirill Smelkov <kirr@nexedi.com>
      Reviewed-by: Kirill Smelkov's avatarKirill Smelkov <kirr@nexedi.com>
      be2bf77b
  14. 19 Aug, 2015 1 commit
  15. 17 Aug, 2015 1 commit
    • Vincent Pelletier's avatar
      ERP5Site: Improve getDefaultModule*. · 0d9c6e7c
      Vincent Pelletier authored
      Add support for visibility checking.
      Use portal_type accessors, not properties.
      Also, original implementation of getDefaultModuleId would get the object,
      then its id. getDefaultModuleValue using it, it was getting the object,
      then its id, then the object again...
      Also, follow naming convention: getters returning documents are named
      getXxxValue, not getXxx.
      0d9c6e7c
  16. 27 Mar, 2015 1 commit
    • Julien Muchembled's avatar
      CMFActivity: automatic migration of queues and removal of button to recreate tables · 3d644bde
      Julien Muchembled authored
      The action to recreate activity tables while preserving existing messages
      was unsafe for 2 reasons:
      - if any error happened, messages could be lost
      - it relied on Message.reactivate
      
      Which this patch, any instance created after commit d881edd1 (Aug 2010) will
      upgrade successfully. For older instances, make sure you have no activity left.
      
      For cases where 'ALTER TABLE' would not work, a better way to implement repair
      functionality would be:
      - one action to backup all messages in ZODB
      - and another to restore them
      And maybe a security so that during the backup-clear-restore sequence,
      activities can't be created nor processed.
      
      If any column is added in the future, it would still be possible to write code
      that fills them by inspecting messages.
      3d644bde
  17. 17 Feb, 2015 1 commit
    • Julien Muchembled's avatar
      Reimplement MRP for new simulation · a39bcc3e
      Julien Muchembled authored
      MRP was broken and unused for a long time, since legacy simulation was dropped.
      This commits resuscitates MRP, at least:
      - expanding, for both operation and sourcing
      - building of production reports & production packing lists
      
      Business Processes replaces Supply Chains.
      trade_phase replaces industrial_phase
      industrial_phase is now used to variate partially produced resources.
      a39bcc3e
  18. 30 Jan, 2015 1 commit
  19. 16 Oct, 2014 1 commit
  20. 04 Sep, 2014 1 commit
  21. 28 Apr, 2014 1 commit
  22. 19 Mar, 2014 1 commit
  23. 19 Feb, 2014 1 commit
  24. 31 Oct, 2013 1 commit
    • Arnaud Fontaine's avatar
      Portal Type as Classes, ZODB Property Sheets: Ensure that they are reset on · 2e16e170
      Arnaud Fontaine authored
      other ZEO clients even if ZODB Components are not.
      
      Steps to reproduce:
      
        1/ On zope1, view and edit a person to make sure class is fully loaded.
        2/ On zope2 add an interaction in person_interaction_workflow and add a script raising an exception.
        3/ Edit a person on zope2. The exception is raised, confirming that the interaction is called.
      
        When editing a person on zope1, the exception is not raised.
      2e16e170
  25. 10 Sep, 2013 2 commits
  26. 09 Sep, 2013 1 commit
  27. 09 Jul, 2013 1 commit
  28. 05 Jun, 2013 1 commit
    • Arnaud Fontaine's avatar
      Avoid regeneration of classes when starting a node within a cluster with already started nodes. · 20362ede
      Arnaud Fontaine authored
      When starting a node, ERP5Site.__of__ calls ComponentTool.reset(), which was
      never synchronised so it returned True (without generating a new cookie at its
      level) and causing synchronizeDynamicModules to be called with
      force=True. This generated a new cookie and leading to dynamic classes being
      meaninglessly regenerated on all nodes.
      
      Instead, modify ComponentTool.reset() behavior so it *always* reset Portal
      Type classes when Components are reset (as it should have always been as the
      class inheritance may have been modified) and force regeneration of Portal
      Type classes in this method if reset is True.
      Signed-off-by: Vincent Pelletier's avatarVincent Pelletier <vincent@nexedi.com>
      20362ede
  29. 02 May, 2013 1 commit
  30. 15 Apr, 2013 2 commits
  31. 20 Mar, 2013 1 commit
    • Aurel's avatar
      New ERP5 SyncML implementation · 291fafc5
      Aurel authored
      Complete rewrite of the syncml core engine to make it scallable
      Remaining work :
      - review of conflict management
      - re-implement splitting of big object
      - generic unit test for AsynchronousEngine
      - complete review of default conduit
      - lot of TODO and XXX in the code to check
      291fafc5
  32. 21 Feb, 2013 1 commit
  33. 18 Feb, 2013 1 commit
  34. 28 Sep, 2012 1 commit
  35. 23 Aug, 2012 3 commits