1. 10 Jun, 2022 1 commit
  2. 09 Jun, 2022 1 commit
  3. 08 Jun, 2022 1 commit
  4. 05 Jun, 2022 1 commit
  5. 04 Jun, 2022 1 commit
  6. 15 May, 2022 1 commit
  7. 10 May, 2022 1 commit
    • 6543's avatar
      Update go deps (#19665) · 65ccff54
      6543 authored
      * update gitea.com/go-chi/binding
      * update github.com/42wim/sshsig
      * update github.com/PuerkitoBio/goquery
      * update github.com/blevesearch/bleve/v2
      * update github.com/caddyserver/certmagic
      * update github.com/duo-labs/webauthn
      * update github.com/editorconfig/editorconfig-core-go/v2
      * update github.com/emirpasic/gods
      * update github.com/gliderlabs/ssh
      * update github.com/go-chi/cors
      * update github.com/go-enry/go-enry/v2
      * update github.com/go-git/go-git/v5
      * update github.com/go-ldap/ldap/v3
      * update github.com/golang-jwt/jwt/v4
      * update github.com/google/pprof
      * update github.com/klauspost/compress
      * update github.com/lib/pq
      * update github.com/markbates/goth
      * update github.com/minio/minio-go/v7
      * update github.com/olivere/elastic/v7
      * update github.com/unrolled/render
      * update github.com/urfave/cli
      * update github.com/xanzy/go-gitlab
      * update github.com/yuin/goldmark
      * adopt breaking changes of certmagic
      65ccff54
  8. 03 Apr, 2022 1 commit
    • wxiaoguang's avatar
      Remove legacy unmaintained packages, refactor to support change default locale (#19308) · d242511e
      wxiaoguang authored
      Remove two unmaintained vendor packages `i18n` and `paginater`. Changes:
      * Rewrite `i18n` package with a more clear fallback mechanism. Fix an unstable `Tr` behavior, add more tests.
      * Refactor the legacy `Paginater` to `Paginator`, test cases are kept unchanged.
      
      Trivial enhancement (no breaking for end users):
      * Use the first locale in LANGS setting option as the default, add a log to prevent from surprising users.
      d242511e
  9. 01 Apr, 2022 2 commits
  10. 31 Mar, 2022 2 commits
    • Kevin Burke's avatar
      go.mod: update kevinburke/ssh_config to v1.2.0 (#19286) · 242d7103
      Kevin Burke authored
      Previously if you tried to read a HostName in a config file that
      looked like this:
      
      ```
      Host github
          HostName github.com        # This is the host for code review
      ```
      
      DefaultUserSettings.Get("HostName") would return "github.com        ",
      which I think is unintuitive and unexpected.
      
      This behavior is fixed in v1.2 which would return "github.com" in the
      above example.
      242d7103
    • zeripath's avatar
      Add Goroutine stack inspector to admin/monitor (#19207) · c88547ce
      zeripath authored
      
      Continues on from #19202.
      
      Following the addition of pprof labels we can now more easily understand the relationship between a goroutine and the requests that spawn them. 
      
      This PR takes advantage of the labels and adds a few others, then provides a mechanism for the monitoring page to query the pprof goroutine profile.
      
      The binary profile that results from this profile is immediately piped in to the google library for parsing this and then stack traces are formed for the goroutines.
      
      If the goroutine is within a context or has been created from a goroutine within a process context it will acquire the process description labels for that process. 
      
      The goroutines are mapped with there associate pids and any that do not have an associated pid are placed in a group at the bottom as unbound.
      
      In this way we should be able to more easily examine goroutines that have been stuck.
      
      A manager command `gitea manager processes` is also provided that can export the processes (with or without stacktraces) to the command line.
      Signed-off-by: default avatarAndrew Thornton <art27@cantab.net>
      c88547ce
  11. 30 Mar, 2022 1 commit
    • Justin Sievenpiper's avatar
      Add Redis Sentinel Authentication Support (#19213) · a2c20a6c
      Justin Sievenpiper authored
      Gitea was not able to supply any authentication parameters to it. So this brings support to do that, along with some light extraction of a couple of bits into some separate functions for easier testing.
      
      I looked at other libraries supporting similar RedisUri-style connection strings (e.g. Lettuce), but it looks like this type of configuration is beyond what would typically be done in a connection string. Since gitea doesn't have configuration options for manually specifying all this redis connection detail, I went ahead and just chose straightforward names for these new parameters.
      a2c20a6c
  12. 24 Mar, 2022 1 commit
  13. 16 Mar, 2022 3 commits
  14. 09 Mar, 2022 1 commit
  15. 08 Mar, 2022 1 commit
    • techknowlogick's avatar
      bump go deps (#19021) · 1546580f
      techknowlogick authored
      * update gitea.com/go-chi/binding
      
      * update gitea.com/go-chi/cache
      
      * update github.com/42wim/sshsig
      
      * update github.com/PuerkitoBio/goquery
      
      * update github.com/blevesearch/bleve/v2
      
      * update github.com/caddyserver/certmagic
      
      * update github.com/denisenkom/go-mssqldb
      
      * update github.com/duo-labs/webauthn
      
      * update github.com/dustin/go-humanize
      
      * update github.com/editorconfig/editorconfig-core-go/v2
      
      * update github.com/ethantkoenig/rupture
      
      * update github.com/go-chi/chi/v5
      
      * update github.com/go-git/go-git/v5
      
      * update github.com/go-ldap/ldap/v3
      
      * update github.com/go-redis/redis/v8
      
      * update github.com/go-swagger/go-swagger
      
      * update github.com/gogs/chardet
      
      * update github.com/golang-jwt/jwt/v4
      
      * update github.com/hashicorp/go-version
      
      * update github.com/jaytaylor/html2text
      
      * update github.com/klauspost/compress
      
      * update github.com/lib/pq
      
      * update github.com/markbates/goth
      
      * update github.com/mattn/go-sqlite3
      
      * update g...
      1546580f
  16. 04 Mar, 2022 1 commit
  17. 27 Feb, 2022 1 commit
    • Gusted's avatar
      Update go-org to v1.6.1 (#18932) · 79c7219b
      Gusted authored
      - v1.6.0 has a inconsistency with the proxy and github's tagged version,
      updating to v1.6.1 should fix this issue.
      - Resolves #18864
      79c7219b
  18. 20 Feb, 2022 1 commit
  19. 06 Feb, 2022 2 commits
  20. 29 Jan, 2022 1 commit
  21. 26 Jan, 2022 2 commits
  22. 22 Jan, 2022 1 commit
  23. 20 Jan, 2022 1 commit
  24. 18 Jan, 2022 1 commit
  25. 14 Jan, 2022 1 commit
  26. 07 Jan, 2022 1 commit
  27. 05 Jan, 2022 1 commit
  28. 01 Jan, 2022 2 commits
  29. 20 Dec, 2021 2 commits
  30. 19 Dec, 2021 1 commit
  31. 02 Dec, 2021 1 commit
  32. 20 Nov, 2021 1 commit