1. 17 Dec, 2020 1 commit
  2. 16 Dec, 2020 1 commit
    • BlackDex's avatar
      Updated Github Actions, Fixed Dockerfile · feefe690
      BlackDex authored
      - Updated the Github Actions to build just one binary with all DB
        Backends.
      
      - Created a hadolint workflow to check and verify Dockerfiles.
      - Fixed current hadolint errors.
      - Fixed a bug in the Dockerfile.j2 which prevented the correct libraries
        and tools to be installed on the Alpine images.
      
      - Deleted travis.yml since that is not used anymore
      feefe690
  3. 15 Dec, 2020 1 commit
  4. 14 Dec, 2020 6 commits
  5. 10 Dec, 2020 2 commits
  6. 08 Dec, 2020 10 commits
  7. 04 Dec, 2020 1 commit
    • BlackDex's avatar
      Updated dependencies and Dockerfiles · d46a6ac6
      BlackDex authored
      - Updated crates
      - Updated rust-toolchain
      - Updated Dockerfile to use latest rust 1.48 version
      - Updated AMD64 Alpine to use same version as rust-toolchain and support
        PostgreSQL.
      - Updated Rocket to the commit right before they updated hyper.
        Until that update there were some crates updated and some small fixes.
        After that build fails and we probably need to make some changes
      (which is probably something already done in the async branch)
      d46a6ac6
  8. 03 Dec, 2020 1 commit
  9. 02 Dec, 2020 1 commit
    • BlackDex's avatar
      Adding Manager Role support · 7cf8809d
      BlackDex authored
      This has been requested a few times (#1136 & #246 & forum), and there already were two
      (1:1 duplicate) PR's (#1222 & #1223) which needed some changes and no
      followups or further comments unfortunally.
      
      This PR adds two auth headers.
      - ManagerHeaders
        Checks if the user-type is Manager or higher and if the manager is
      part of that collection or not.
      - ManagerHeadersLoose
        Check if the user-type is Manager or higher, but does not check if the
      user is part of the collection, needed for a few features like
      retreiving all the users of an org.
      
      I think this is the safest way to implement this instead of having to
      check this within every function which needs this manually.
      
      Also some extra checks if a manager has access to all collections or
      just a selection.
      
      fixes #1136
      7cf8809d
  10. 30 Nov, 2020 1 commit
  11. 29 Nov, 2020 2 commits
  12. 27 Nov, 2020 1 commit
  13. 21 Nov, 2020 1 commit
  14. 18 Nov, 2020 4 commits
    • Daniel García's avatar
      Merge pull request #1229 from BlackDex/email-fixes · 5379329e
      Daniel García authored
      Email fixes
      5379329e
    • BlackDex's avatar
      Updated email processing. · 6faaeaae
      BlackDex authored
      - Added an option to enable smtp debugging via SMTP_DEBUG. This will
        trigger a trace of the smtp commands sent/received to/from the mail
      server. Useful when troubleshooting.
      - Added two options to ignore invalid certificates which either do not
        match at all, or only doesn't match the hostname.
      - Updated lettre to the latest alpha.4 version.
      6faaeaae
    • BlackDex's avatar
      Fixed plain/text email format · 3fed3233
      BlackDex authored
      plain/text emails should not contain html elements like <p> <a> etc..
      This triggers some spamfilters and increases the spam score.
      
      Also added the github link into the text only emails since this also
      triggers spamfilters to increase the score since the url/link count is
      different between the multipart messages.
      3fed3233
    • BlackDex's avatar
      Updated admin settings page. · 58a92854
      BlackDex authored
      - Added check if settings are changed but not saved when sending test
        email.
      - Added some styling to emphasize some risks settings.
      - Fixed alignment of elements when the label has multiple lines.
      58a92854
  15. 14 Nov, 2020 2 commits
  16. 12 Nov, 2020 1 commit
    • BlackDex's avatar
      Added error handling during dotenv loading · d11d663c
      BlackDex authored
      Some issue people report are because of misconfiguration or bad .env
      files. To mittigate this i added error handling for this.
      
      - Panic/Quit on a LineParse error, which indicates bad .env file format.
      - Emits a info message when there is no .env file found.
      - Emits a warning message when there is a .env file, but not no
        permissions.
      - Emits a warning on every other message not specifically catched.
      d11d663c
  17. 10 Nov, 2020 2 commits
  18. 07 Nov, 2020 2 commits