1. 06 Oct, 2016 1 commit
  2. 30 Sep, 2016 1 commit
    • Sylvain Thénault's avatar
      flake8 and all · 432f87a63057
      Sylvain Thénault authored
      * update some copyright
      * drop most __docformat__ declaration
      * fix some flake8 warnings / errors
      432f87a63057
  3. 05 Oct, 2016 1 commit
  4. 01 Oct, 2016 1 commit
  5. 06 Oct, 2016 1 commit
  6. 30 Sep, 2016 3 commits
  7. 29 Sep, 2016 1 commit
    • Sylvain Thénault's avatar
      Drop deprecated LDAP related script · efb8250e37fb
      Sylvain Thénault authored
      both are relying on the 'entities.source' column which has been dropped in 3.19.
      They have been written with the old ldapsource in mind, which has been dropped at
      that time.
      efb8250e37fb
  8. 30 Sep, 2016 1 commit
    • Sylvain Thénault's avatar
      [entity] Stop linking to external site for external entities · 7b7108eb8178
      Sylvain Thénault authored
      This behaviour was ok when we had "true" multi-sources but its rather painful
      with datafeed sources. Also, it makes absolute_url() costlier than what it
      should. Besides, it relies on cw_metainformation()['source'] that is pending for
      removal.
      
      Instead, add a link to the original object in the metadata view (the one that
      displays eid and source at the bottom right corner of the primary view).
      
      Related to #15538288.
      7b7108eb8178
  9. 29 Sep, 2016 2 commits
  10. 30 Sep, 2016 2 commits
    • Sylvain Thénault's avatar
      [repository] Drop deprecated extid2eid API and friends · 60fed6272771
      Sylvain Thénault authored
      This will break cwxmlparser based sources. They should be rewritten using a
      specific parser, based on xml representation or on rqlio. This is harsh but
      allows a so big cleanup of the code base.
      
      Furthermore, it's necessary for asource/extid handling in the entities table
      which is costly for most app that don't care at all about that...
      
      In this cset, delete:
      
      * all extid2eid methods
      * repo._extid_cache handling
      * [before/after]_entity_insertion source callback
      * the cwxmlparser
      
      and update related tests, notably unittest_datafeed where 'repull' testing has
      been removed, since it's now handled by the dataimport API and should not be
      retested there.
      
      Related to #15538288
      
      Closes #15538383
      60fed6272771
    • Sylvain Thénault's avatar
      [ldap] Stop using entities table in ldap source authentication and parser · 96ced95e4002
      Sylvain Thénault authored
      We may used cwuri for the same purpose, and do one more step towards deletion of
      entities.extid column.
      
      Related to #15538288
      96ced95e4002
  11. 26 Oct, 2016 1 commit
  12. 03 Nov, 2016 1 commit
    • Denis Laxalde's avatar
      [tox] Require ldap3 < 2 for server tests · cf24ccbc7b83
      Denis Laxalde authored
      Apparently we are using some constants that got dropped/moved in ldap3 >=
      2.0.0 (which came out last week). So stay with version 1.4 until this gets
      sorted out.
      cf24ccbc7b83
  13. 02 Nov, 2016 1 commit
  14. 26 Oct, 2016 1 commit
  15. 28 Sep, 2016 1 commit
  16. 30 Sep, 2016 2 commits
  17. 24 Oct, 2016 6 commits
  18. 16 Aug, 2016 1 commit
    • Denis Laxalde's avatar
      [web] Clear "pending_others" session key after all relations got processed · 8f264d98d6fd
      Denis Laxalde authored
      The RelationField appends data to "pending_others" key while processing its
      posted information, but this key may already have been removed by the edit
      controller. So remove the key from session data only when all "others"
      relations have been processed using a while loop.
      
      A test case would be nice, but I could not build one easily unfortunately.
      
      Closes #4354551.
      8f264d98d6fd
  19. 28 Sep, 2016 1 commit
    • Denis Laxalde's avatar
      [datafeed] Complete the import log even if parser could not be found · dabbb2a4a493
      Denis Laxalde authored
      It happens that if the parser could not be found, _pull_data() would just
      return an empty dict without taking care to close the import log which it just
      opened. This leads to misleading information in the user interface where
      CWDataImport entities kept accumulating in the "imports" tab of CWSource
      primary view without anything else happening.
      
      So:
      
      * log an error message when parser cannot be found
      * always close (write logs and set "end_timestamp" attribute) import log when
        leaving _pull_data().
      
      Closes #15505460.
      dabbb2a4a493
  20. 21 Oct, 2016 1 commit
  21. 12 Oct, 2016 1 commit
  22. 21 Oct, 2016 3 commits
  23. 27 Sep, 2016 1 commit
  24. 22 Sep, 2016 1 commit
  25. 01 Jun, 2016 1 commit
  26. 12 Oct, 2016 1 commit
  27. 19 Oct, 2016 2 commits