1. 06 Apr, 2018 5 commits
  2. 05 Apr, 2018 2 commits
  3. 04 Apr, 2018 3 commits
  4. 30 Mar, 2018 3 commits
  5. 29 Mar, 2018 3 commits
  6. 28 Mar, 2018 1 commit
  7. 27 Mar, 2018 3 commits
  8. 26 Mar, 2018 4 commits
  9. 25 Mar, 2018 5 commits
  10. 24 Mar, 2018 1 commit
  11. 23 Mar, 2018 1 commit
  12. 21 Mar, 2018 2 commits
  13. 20 Mar, 2018 1 commit
    • Sheogorath's avatar
      Refactoring imageRouter to modularity · 1756e76d
      Sheogorath authored
      
      
      This should make the imageRouter more modular and easier to extent. Also
      a lot of code duplication was removed which should simplify maintenance
      in future.
      
      In the new setup we only need to provide a new module file which exports
      a function called `uploadImage` and takes a filePath and a callback as
      argument. The callback itself takes an error and an url as parameter.
      This eliminates the need of a try-catch-block around the statement and
      re-enabled the optimization in NodeJS.
      Signed-off-by: default avatarSheogorath <sheogorath@shivering-isles.com>
      1756e76d
  14. 18 Mar, 2018 5 commits
  15. 17 Mar, 2018 1 commit
    • Sheogorath's avatar
      Add check for undefined UUID · 638eae0d
      Sheogorath authored
      
      
      This check is needed at there are tons of LDAP implementations out there
      and none has at least one guaranteed unique field. As we currently check
      three fields and added an option to select one yourself, it's still not
      said that any of these fields is set. This will now create an error
      and fail the authentication instead of letting people may get access to
      other people's notes which are stored under a this way deterministic
      wrong userid named `LDAP-undefined`.
      Signed-off-by: default avatarSheogorath <sheogorath@shivering-isles.com>
      638eae0d