1. 27 Aug, 2020 3 commits
    • Arnaud Fontaine's avatar
      WIP: ZODB Components: Migrate SelectionTool from filesystem. · 03a1712f
      Arnaud Fontaine authored
      TODO:
        + Cannot be merged as Upgrader requires UI access and without Selections
          it is not really useable...
        + Monkey patch FolderMixIn wrapping its method with Selections:
          Products.ERP5Form.SelectionTool.candidate_method_id_list:
           foldDomain
           setFlatListMode
           nextLanePage
           callSelectionFor
           setListboxDisplayMode
           viewPrevious
           setPage
           getSelectionParams
           getSelectionNameList
           checkAll
           setSelectionFor
           setDomainRoot
           getListboxDisplayMode
           setReportRoot
           getSelectionDomainDictFor
           selectionHasChanged
           setSelectionColumns
           getSelectionSortOrder
           setSelectionToAll
           getSelectionCheckedValueList
           getSelectionUidList
           setDomainDictFromParam
           setLanePath
           getSelectionInvertModeUidListFor
           unfoldDomain
           getSelectionIndexFor
           lastPage
           unfoldReport
           getSelectionChecksum
           setReportTreeMode
           setSelectionQuickSortOrder
           foldReport
           getSelectionFor
           previousPage
           setSelectionInvertModeFor
           getSelectionParamsFor
           setSelectionSortOrder
           setSelectionParamsFor
           setDomainRootFromParam
           getSelectionCheckedUidsFor
           getSelectionInvertModeFor
           nextPage
           setDomainTreeMode
           setSelectionToIds
           setSelectionCheckedUidsFor
           getSelectionValueList
           getSelectionListUrlFor
           viewNext
           getSelectionReportDictFor
           uncheckAll
           getSelectionNames
           getSelectionStats
           getSelectionColumns
           previousLanePage
           getSelectionSelectedValueList
           viewFirst
           setSelectionStats
           firstPage
           updateSelectionCheckedUidList
           viewLast
           clearCachedContainer
          => Should perhaps be moved to Folder.py (implemented in SelectionTool to
             avoid ERP5Type depending on ERP5Form: it probably makes no sense anymore
             though...).
        + makeTreeList() and createFolderMixInPageSelectionMethod() used in
          ERP5Form.{PlanningBox,ListBox} but these cannot be migrated (non-ERP5 objects).
        + Products.ERP5Type.tests.testFunctionalAnonymousSelection => erp5_ui_test? What about monkey patch?
        + Fix pylint warnings.
      03a1712f
    • Arnaud Fontaine's avatar
      WIP: ZODB Components: Migrate MemcachedTool (portal_memcached) from filesystem. · 330f26f7
      Arnaud Fontaine authored
      All {Unit,CodingStyle} Tests pass but SelectionTool may used portal_memcached
      so this commit depends on migrating SelectionTool too.
      330f26f7
    • Arnaud Fontaine's avatar
  2. 26 Aug, 2020 1 commit
  3. 25 Aug, 2020 3 commits
  4. 24 Aug, 2020 4 commits
  5. 21 Aug, 2020 5 commits
  6. 19 Aug, 2020 8 commits
  7. 18 Aug, 2020 2 commits
  8. 17 Aug, 2020 4 commits
    • Jérome Perrin's avatar
      *: check type based methods are not None · 05fe5e19
      Jérome Perrin authored
      should be same for cases where type based method is a python script, but
      is a bit more explicit/safe and consistent with other usages.
      05fe5e19
    • Jérome Perrin's avatar
      base: rename tests for person property acqusition · c9d1489c
      Jérome Perrin authored
      In 93e30e5e (Person: Store user id in new user_id property., 2016-12-09)
      we adapted this test to the new behavior: title fallback to user_id or
      id, but since persons always have a user_id by default, this test was
      changed to check that title fallbacks to user_id, but the name of the
      test still mention "fallback to id" which became a bit different from
      what was tested here.
      
      Revert testEmptyTitleFallbackOnId to check that title fallbacks on id,
      using persons without user id and introduce new
      testEmptyTitleFallbackOnUserId to describe the new behaviour with user
      id.
      c9d1489c
    • Jérome Perrin's avatar
      l10n_fr: fix typo · cfc9ef81
      Jérome Perrin authored
      cfc9ef81
    • Jérome Perrin's avatar
      accounting: fix typo · 768ec0d6
      Jérome Perrin authored
      768ec0d6
  9. 14 Aug, 2020 4 commits
  10. 13 Aug, 2020 1 commit
  11. 12 Aug, 2020 5 commits