1. 29 Jan, 2020 3 commits
  2. 28 Jan, 2020 1 commit
    • Jérome Perrin's avatar
      calendar: More fixes with exceptions when not repeating · e9130ca7
      Jérome Perrin authored
      The fixes from !630
      were not enough, exceptions set on days were calendar did not repeat
      were also confusing other exceptions after this.
      
      Simplify implementation a lot, instead of keeping track of the next
      exception date, start by building a set of all exceptions dates and
      use membership of this set as a criterion to skip exceptions.
      
      /reviewed-on !1030
      e9130ca7
  3. 24 Jan, 2020 4 commits
    • Jérome Perrin's avatar
      CSPRNG in restricted python · 1764c526
      Jérome Perrin authored
      Allow python's cryptographically secure pseudorandom number generator for usage in restricted python and use it where it makes sense.
      
      This also change the API of `Person_generatePassword` which no longer allow to control the number of letters and numbers.
      
      /reviewed-on !847
      1764c526
    • Jérome Perrin's avatar
      credential: follow Person_generatePassword API change · f25ef810
      Jérome Perrin authored
      This script no longer allow to control the number of letters and digit
      f25ef810
    • Jérome Perrin's avatar
      access_token: use os.urandom to generate token · 201a596c
      Jérome Perrin authored
      Using same method as python 3.6's secrets module and a bit longer token
      that what python currently recommends, since we were using very very
      long tokens until now (so that it does not look like a "regression")
      201a596c
    • Jérome Perrin's avatar
      base: generate a stronger passwords in Person_generatePassword · 758fc366
      Jérome Perrin authored
      - use system random
      - generate longer password with a larger space
      
      API change in an incompatible way, it's no longer possible to control
      the number of alpha and numeric. This was reducing a lot the number of
      combinations, so it's better to break so that callers stop generating
      too weak passwords.
      758fc366
  4. 23 Jan, 2020 2 commits
  5. 22 Jan, 2020 2 commits
  6. 20 Jan, 2020 4 commits
  7. 17 Jan, 2020 3 commits
  8. 16 Jan, 2020 2 commits
  9. 15 Jan, 2020 6 commits
  10. 14 Jan, 2020 12 commits
  11. 13 Jan, 2020 1 commit