1. 10 Jan, 2017 4 commits
    • Jérome Perrin's avatar
      test: fix some test isolation problems in testAuthenticationPolicy · 0868b311
      Jérome Perrin authored
      Tests should not depend on the state left by the previous test run.
      
      This was achieved by:
      
      * use a different preference in each method to reset the state of preferences configuration.
      * clear cache after setting preferences, so that the new preference setting is used
      * change password after setting the max preferred password lifetime duration, otherwise password event are not created and password is not detected as expired.
      * rename test methods not to include number, we should not force test ordering, since we want tests to be independant.
      * Also add one case of password actually expired
      0868b311
    • Jérome Perrin's avatar
      authentication_event: fix password expiration · 943cda95
      Jérome Perrin authored
      Before this change, password event were only recorded when
      preferred_number_of_last_password_to_check was set.
      
      We also need to record password events to check for password lifetime,
      so also record password events when preferred_max_lifetime_duration is
      is set (also when set to 0h, but this only makes sense in tests).
      
      testAuthenticationPolicy was not showing this problem, because tests were not properly
      isolated and test_02_PasswordHistory was enabling
      preferred_number_of_last_password_to_check for all other tests.
      943cda95
    • Jérome Perrin's avatar
      system_event: fix form group of validation state fields · f1c335aa
      Jérome Perrin authored
      https://www.erp5.com/bt5-Module.Creation.Guidelines
      
      > Rule: In view mode, simulation_state or validation_state fields should be in the bottom of “right” group
      f1c335aa
    • Jérome Perrin's avatar
      base: fix login listbox title · c0f513ad
      Jérome Perrin authored
      according to https://www.erp5.com/bt5-Module.Creation.Guidelines *3.3 Listbox rules*
      
      > If a listbox is configured so that only objects from one portal type can be displayed, then the title of the listbox should be set to the plural of the given portal type title (ex : Sale Orders should be the title of a listbox displaying "Sale Order" objects).
      c0f513ad
  2. 09 Jan, 2017 2 commits
  3. 06 Jan, 2017 4 commits
  4. 05 Jan, 2017 1 commit
  5. 04 Jan, 2017 1 commit
  6. 03 Jan, 2017 4 commits
  7. 29 Dec, 2016 8 commits
  8. 28 Dec, 2016 3 commits
  9. 27 Dec, 2016 5 commits
  10. 26 Dec, 2016 8 commits