1. 10 Jul, 2015 4 commits
    • Vincent Pelletier's avatar
      EP5Type.Utils: Update SQL escaping rules. · 39c4873a
      Vincent Pelletier authored
      Sadly, we still implement our own escaping, as places escaping strings do
      not know which connector will be used (proper escaping is
      connector-dependent, because database-dependent).
      Move this method in ZSQLCatalog to factorise code.
      39c4873a
    • Vincent Pelletier's avatar
      erp5_core: Merge erp5_auto_logout. · 63c3da2b
      Vincent Pelletier authored
      Disabled by default (configurable by user preference).
      
      Also, reorganise erp5_auto_logout code:
      - logout: Do not duplicate original code.
      - twiddleAuthCookie: Simplify & factorise.
      - setAuthCookie: Resync features with Cookie Crumbler's, and set http_only flag.
      - ERP5Site_getMaxUserInactivityDuration: Cached access takes the same time as actual access (and access is surprisingly slow, actually), so do not cache.
      - Base_getAutoLogoutSessionKey: New script, to factorise session key generation.
      63c3da2b
    • Vincent Pelletier's avatar
      erp5_km: Change message_widget field type. · 7a14683b
      Vincent Pelletier authored
      Editor Field does not escapes value, String Field does.
      7a14683b
    • Xiaowu Zhang's avatar
      erp5_web_renderjs_ui: Update jIO 3.2.1 · c0b41983
      Xiaowu Zhang authored
      c0b41983
  2. 09 Jul, 2015 1 commit
  3. 08 Jul, 2015 7 commits
  4. 07 Jul, 2015 1 commit
  5. 06 Jul, 2015 2 commits
  6. 03 Jul, 2015 7 commits
  7. 02 Jul, 2015 7 commits
  8. 01 Jul, 2015 5 commits
  9. 30 Jun, 2015 2 commits
    • Sebastien Robin's avatar
      mrp: auto_planned state should not be considered as draft · d4d2d65f
      Sebastien Robin authored
      Auto planned movements are not only draft, it could be very useful to take such
      movement into account when doing stock optimisations
      d4d2d65f
    • Sebastien Robin's avatar
      simulation: review generated delivery builder (update existing deliveries, date precision) · 15f08b29
      Sebastien Robin authored
      Up to know, order builders were mostly used having in mind the idea of
      deleting all previously created automated orders.
      
      This way was mostly requesting to run generated delivery builder only
      once per night, assuming there is no users working at that time.
      
      So to allows running very often (many times a day) generated delivery
      builders, allow them to update existing deliveries. This way :
      - automated deliveries could be much more up to date
      - there is no need to delete everything
      - this generate few activities, there is no need of a long calculation
        to update everything
      
      Also, the stock optimization was using dates with a precision of one
      full day. Generic code must support much better precision.
      15f08b29
  10. 29 Jun, 2015 4 commits