1. 20 Oct, 2016 6 commits
  2. 19 Oct, 2016 9 commits
    • Kazuhiko Shiozaki's avatar
      ERP5Security: Use a dedicated Login document to handle authentication. · 3e20240b
      Kazuhiko Shiozaki authored
      This commit is the squashed result of the following commits :
      
        commit cf26c55ab3bb8b97d690e45c800d17341150024e
        Author: Gabriel Monnerat <gabriel@tiolive.com>
        Date:   Thu Oct 13 04:25:12 2016 +0000
      
            erp5_crendential: Clean up XML because were migrated to the new format in 76ecef89
      
        commit 7f16068be004222d7d239948dd3a2633ecf9e06d
        Author: Gabriel Monnerat <gabriel@tiolive.com>
        Date:   Thu Oct 13 03:08:38 2016 +0000
      
            erp5_base: Move document Login.py to portal_components
      
        commit e1618e091279dd803a5777ea701afb310d2aa31d
        Author: Gabriel Monnerat <gabriel@tiolive.com>
        Date:   Mon Oct 10 13:40:11 2016 +0000
      
            testERP5Securiy: install erp5_administration because is requried to testSimpleLocalRole
      
        commit 3fa7360568968c4a011d2403be0c0346b3ca35bb
        Author: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
        Date:   Wed Oct 5 13:18:12 2016 +0000
      
            test: display Base_viewSecurity body in case of assertion failure.
      
        commit d0b88687c139eec4bb07d2c328ca86379e9f9335
        Author: Gabriel Monnerat <gabriel@tiolive.com>
        Date:   Mon Oct 3 19:18:37 2016 +0000
      
            ERP5UserManager: store relative_url instead of object in _person_cache because is always expected an url in this cache
      
        commit 3993fadae344aaa4dfa0e6bd73683485c289f976
        Author: Gabriel Monnerat <gabriel@tiolive.com>
        Date:   Mon Oct 3 17:22:51 2016 +0000
      
            erp5_authentication_policy: Migrate scripts to new format
      
        commit 7ad5407d0fd40f849d1142be9ae43ac0dd42445b
        Author: Gabriel Monnerat <gabriel@tiolive.com>
        Date:   Mon Oct 3 15:52:47 2016 +0000
      
            erp5_base: Fix workflow transitions that are not guarded
      
            ======================================================================
            FAIL: test_workflow_transition_protection (testSecurity.TestSecurity)
            ----------------------------------------------------------------------
            Traceback (most recent call last):
            File "/srv/slapgrid/slappart75/srv/runner/software/7b5ffcc34442ea1842e916493cae988d/parts/erp5/Products/ERP5/tests/testSecurity.py", line 131, in test_workflow_transition_protection
            self.fail(message)
            AssertionError:
            The following 3 workflow transitions are not guarded.
            login_validation_workflow/transitions/delete
            login_validation_workflow/transitions/invalidate
            login_validation_workflow/transitions/validate
      
        commit 4f6fc71eac8417092144ce5aedb9aa41cd1c26da
        Author: Gabriel Monnerat <gabriel@tiolive.com>
        Date:   Wed Aug 17 15:46:55 2016 +0000
      
            erp5_core: migrate scripts to new format
      
        commit 158ad0110463075be89f56c0d6e020e7ccb82345
        Author: Gabriel Monnerat <gabriel@tiolive.com>
        Date:   Wed Aug 17 13:48:40 2016 +0000
      
            erp5_base: migrate scripts to new format
      
        commit 99d5d568d61169c51ec8586f1acf254f4bffc2e3
        Author: Cédric Le Ninivin <cedric.leninivin@tiolive.com>
        Date:   Thu Jun 30 11:22:44 2016 +0200
      
            ERP5UserManager: Move to transactional cache for getPersonByReference method
      
        commit 0ea8f91666549a9783e7f4fb3ed7cfcb1fcfabab
        Author: Cédric Le Ninivin <cedric.leninivin@tiolive.com>
        Date:   Wed Jan 20 17:32:17 2016 +0100
      
            ERP5SecurityManager: Use _person_cache in request to store path of user
      
        commit 5df794ed9fcfa4a61ee78c87aed1ac63c74c7d83
        Author: Cédric Le Ninivin <cedric.leninivin@tiolive.com>
        Date:   Wed Jan 20 09:19:51 2016 +0000
      
            erp5_base: ERP5 Login reference can be edited. Login cannot be edited in validated state
      
        commit 4975b98e8c45fac2c526a6168ee7779decf29285
        Author: Cédric Le Ninivin <cedric.leninivin@tiolive.com>
        Date:   Tue Jan 19 09:04:51 2016 +0000
      
            erp5_credential: Fix Update Credential Cookie on Credential Update for ERP5 Login
      
        commit 4022a8dfd8230eb1d6beebdda615238e39dd7412
        Author: Cédric Le Ninivin <cedric.leninivin@tiolive.com>
        Date:   Mon Jan 18 16:59:53 2016 +0000
      
            erp5_credential: Do not accept Credential Update Synchronously when password is included
      
            The presence of the password in the Credential Update should not change the processing workflow
            of the Credential Update. For Now we just update the password and leave to rest to normal process
      
        commit 5320c5410a85e78c5449beeaed0912d53c42c36d
        Author: Cédric Le Ninivin <cedric.leninivin@tiolive.com>
        Date:   Mon Jan 18 17:48:50 2016 +0100
      
            ERP5Security: fix getUserByLogin to work with ERP5 Login
      
        commit 999971e363a40af865ea31fe68278713e7e3714e
        Author: Cédric Le Ninivin <cedric.leninivin@tiolive.com>
        Date:   Mon Jan 18 16:44:45 2016 +0000
      
            erp5_credential: fix ERP5Site_newCredentialRecovery to use ERP5 Login
      
        commit cdc7d88a0f7d586cb46be6643a4f537ead0cb9fa
        Author: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
        Date:   Fri Dec 4 16:34:24 2015 +0100
      
            test: check if assignment change is effective immediately.
      
        commit 0851c138e6f91237a9c0653dba3f56eb92ff89dc
        Author: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
        Date:   Tue Dec 1 12:54:02 2015 +0000
      
            erp5_credential: support ERP5 Login.
      
        commit 823da06fa9312775deef59dbbed895fed061c4ed
        Author: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
        Date:   Wed Dec 2 15:24:26 2015 +0000
      
            erp5_core, erp5_base : move change password action and form from erp5_core to erp5_base.
      
        commit 9dc7ecbbca0a98b35adb559b7e6de42e530e2dc6
        Author: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
        Date:   Wed Nov 4 17:12:03 2015 +0100
      
            ERP5Security: Use a dedicated Login document to handle authentication.
      3e20240b
    • Tristan Cavelier's avatar
      erp5_payroll: update PaySheetLine_viewCells/matrixbox · 59f66814
      Tristan Cavelier authored
      removing lines, columns and tabs but improving PaySheetLine_asCellRange
      59f66814
    • Tristan Cavelier's avatar
    • Tristan Cavelier's avatar
    • Tristan Cavelier's avatar
    • Yusei Tahara's avatar
    • Yusei Tahara's avatar
      1a049135
    • Yusei Tahara's avatar
      60c9d673
    • Arnaud Fontaine's avatar
      ListBox: Navigation methods should not be created when rendering ListBox (#20161014-741678). · 6fd21826
      Arnaud Fontaine authored
      These methods were generated when rendering the ListBox and with the id
      of the ListBox in their name. However, a customer reported the following
      problem on Accounting Periods ListBox:
      
        1. Display Accounting Period ListBox on ZEO-1.
             => The ListBox will be rendered and 'listbox_period_list_*' methods will be generated on ZEO-1.
        2.  Click on 'Next Page' button and the user is redirect to ZEO-2 where the ListBox has never been generated.
             => The method does not exist yet and thus a 404 error is raised.
      
      Instead of having one method per ListBox ID, only one is now created (eg
      listbox_setPage() for SelectionTool.setPage()) at Zope startup and the
      ListBox ID previously defined in the method name is now defined in the
      value attributes of the buttons.
      6fd21826
  3. 18 Oct, 2016 1 commit
  4. 16 Oct, 2016 2 commits
  5. 14 Oct, 2016 6 commits
  6. 11 Oct, 2016 1 commit
  7. 07 Oct, 2016 2 commits
  8. 06 Oct, 2016 2 commits
    • Cédric Le Ninivin's avatar
      erp5_officejs: Fix test · 022bf140
      Cédric Le Ninivin authored
      by adding  timeout in order to prevent an error from changing page before
      finishing loading the iframed setting gadget
      022bf140
    • Jérome Perrin's avatar
      Fix timezone problems with formprintout · 544c68e0
      Jérome Perrin authored
      When pusing to for_testrunner_1 branch, we often have this failure on testFormPrintoutAsODT:
      
      ```
      ======================================================================
      FAIL: test_field_replacement_with_variable (testFormPrintoutAsODT.TestFormPrintoutAsODT)
      test variables replacement in ODT documents.
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/srv/slapgrid/slappart9/srv/testnode/zl/soft/4a13de8a0fdf926ddebab0387de0dc5e/parts/erp5/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 1252, in test_field_replacement_with_variable
          self.assertEqual(node.text, value.strftime('%d/%m/%Y %H:%M:%S'))
      AssertionError: '06/12/2010 11:33:15' != '06/12/2010 11:24:15'
      ```
      
      After some investigation, turned out that:
      * tests where always failing when running by `COMP-2544-3Nodes-ERP5PROJECT2` testnode
      * This machine uses `SystemV/CST6CDT` as timezone
      * the test fails in the same way when running locally with `TZ=SystemV/CST6CDT`
      
      I belive this fixes, I tried running under `SystemV/CST6CDT`, `UTC` and `Europe/Paris`  TZ and it passes for all cases. 
      
      /reviewed-on nexedi/erp5!174
      544c68e0
  9. 05 Oct, 2016 11 commits