1. 22 May, 2021 4 commits
  2. 21 May, 2021 4 commits
  3. 20 May, 2021 4 commits
  4. 19 May, 2021 5 commits
  5. 18 May, 2021 2 commits
  6. 17 May, 2021 4 commits
  7. 16 May, 2021 7 commits
  8. 15 May, 2021 8 commits
    • 6543's avatar
      GitHub: migrate draft releases too (#15884) · e0c93fed
      6543 authored
      * GitHub: migrate draft releases too
      
      * refactor
      e0c93fed
    • zeripath's avatar
      Hold the event source when there are no listeners (#15725) · 8e32eeb5
      zeripath authored
      
      * Hold the event source when there are no listeners
      
      The event source does not need to run when there are no listeners. Therefore
      pause it when there are none.
      
      * add some more logging
      Signed-off-by: default avatarAndrew Thornton <art27@cantab.net>
      8e32eeb5
    • zeripath's avatar
      Create a session on ReverseProxy and ensure that ReverseProxy users cannot change username (#15304) · f582ec4e
      zeripath authored
      
      * Create a session on ReverseProxy and ensure that ReverseProxy users cannot change username
      
      ReverseProxy users should generate a session on reverse proxy username change.
      
      Also prevent ReverseProxy users from changing their username.
      
      Fix #2407
      
      * add testcase
      Signed-off-by: default avatarAndrew Thornton <art27@cantab.net>
      f582ec4e
    • zeripath's avatar
      Prevent double-login for Git HTTP and LFS and simplify login (#15303) · 17c5c654
      zeripath authored
      
      * Prevent double-login for Git HTTP and LFS and simplify login
      
      There are a number of inconsistencies with our current methods for
      logging in for git and lfs. The first is that there is a double login
      process. This is particularly evident in 1.13 where there are no less
      than 4 hash checks for basic authentication due to the previous
      IsPasswordSet behaviour.
      
      This duplicated code had individual inconsistencies that were not
      helpful and caused confusion.
      
      This PR does the following:
      
      * Remove the specific login code from the git and lfs handlers except
      for the lfs special bearer token
      * Simplify the meaning of DisableBasicAuthentication to allow Token and
      Oauth2 sign-in.
      * The removal of the specific code from git and lfs means that these
      both now have the same login semantics and can - if not
      DisableBasicAuthentication - login from external services. Further it
      allows Oauth2 token authentication as per our standard mechanisms.
      * The change in the recovery handler prevents the service from
      re-attempting to login - primarily because this could easily cause a
      further panic and it is wasteful.
      
      * add test
      Signed-off-by: default avatarAndrew Thornton <art27@cantab.net>
      Co-authored-by: default avatarAndrew Thornton <art27@cantab.net>
      17c5c654
    • zeripath's avatar
      Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow... · ba526cef
      zeripath authored
      Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693)
      
      * move shutdownfns, terminatefns and hammerfns out of separate goroutines
      
      Coalesce the shutdownfns etc into a list of functions that get run at shutdown
      rather then have them run at goroutines blocked on selects.
      
      This may help reduce the background select/poll load in certain
      configurations.
      
      * The LevelDB queues can actually wait on empty instead of polling
      
      Slight refactor to cause leveldb queues to wait on empty instead of polling.
      
      * Shutdown the shadow level queue once it is empty
      
      * Remove bytefifo additional goroutine for readToChan as it can just be run in run
      
      * Remove additional removeWorkers goroutine for workers
      
      * Simplify the AtShutdown and AtTerminate functions and add Channel Flusher
      
      * Add shutdown flusher to CUQ
      
      * move persistable channel shutdown stuff to Shutdown Fn
      
      * Ensure that UPCQ has the correct config
      
      * handle shutdown during the flushing
      
      * reduce risk of race between zeroBoost and addWorkers
      
      * prevent double shutdown
      Signed-off-by: default avatarAndrew Thornton <art27@cantab.net>
      ba526cef
    • Naohisa Murakami's avatar
    • Norwin's avatar
      Fix blame row height alignment (#15863) · b6b8b194
      Norwin authored
      
      * fix blame row alignment on firefox
      
      * fix blame row alignment in chrome
      
      * fix blame row alignment in safari
      
      as per @silverwind
      Co-authored-by: default avatartechknowlogick <techknowlogick@gitea.io>
      b6b8b194
    • GiteaBot's avatar
      [skip ci] Updated translations via Crowdin · f3febeb5
      GiteaBot authored
      f3febeb5
  9. 14 May, 2021 2 commits