1. 02 May, 2021 1 commit
    • Brian Hartvigsen's avatar
      FIX: Synology sets "default" on wrong certificate · 1a4a180e
      Brian Hartvigsen authored
      For some DSM installs, it appears that setting the "default" flag to the
      string "false" actually sets it to true.  This causes Synology to set
      the last updated certificate to be the default certificate.  Using an
      empty string appears to still be accepted as a false-y value for DSMs
      where this isn't happening and corrects the behavior in the cases that
      it was.
      
      Credit to @Run-King for identifying the fix and @buxm for reporting.
      1a4a180e
  2. 10 Dec, 2020 4 commits
    • Brian Hartvigsen's avatar
      Shellcheck linting · 2635dfef
      Brian Hartvigsen authored
      Also removed unused code
      2635dfef
    • Brian Hartvigsen's avatar
      Support DSM 6 and 7 · 7d7789ae
      Brian Hartvigsen authored
      Small changes for DSM 6:
      
      All fields (except enable_syno_token as explained below) must either be in the GET params or the POST params, you can't mix GET and POST params
      enable_syno_token=yes must be in both the GET and POST params.
      If enable_syno_token=yes is only in the POST fields, then DSM6 returns a synotoken of --------. If enable_syno_token=yes is only in the GET params, then it returns no synotoken at all. It must be in both to work.
      Need to use /webapi/auth.cgi instead of /webapi/entry.cgi
      Verified with DSM 6.2.3-25426 Update 2 and DSM 7.0-40850
      7d7789ae
    • Thijn's avatar
      Fix synology_dsm deployhook for DSM 7 · cc692854
      Thijn authored
      cc692854
    • Brian Hartvigsen's avatar
      Use POST for login · 99d3a283
      Brian Hartvigsen authored
      This allows us to get the cookie and the token (as it appears to be only in the body in DSM 7.)  HTTP_HEADERS is only guarenteed to be output with POST for both wget and curl.
      99d3a283
  3. 26 Jul, 2020 1 commit
  4. 19 May, 2020 1 commit
  5. 16 May, 2020 6 commits
  6. 08 Mar, 2020 2 commits
  7. 11 Feb, 2020 1 commit
  8. 09 Feb, 2020 12 commits