1. Nov 16, 2023
  2. Nov 09, 2023
  3. Nov 08, 2023
    • Yuri Volkov's avatar
      Fixing gitspiegel trigger workflow (#1232) · 724e2384
      Yuri Volkov authored
      The first attept to use a workflow to protect GitLab CI from untrusted contributors failed, because GitHub doesn't pass secrets to workflows for PRs that originate from forks. 
       
      This uses a different approach: instead of triggerring gitspiegel API directly from the workflow, we're just spawning an empty workflow with a specific path, and gitspiegel listens for `workflow_run` event to start mirroring.  
      
      The idea is the same: for the first-time contributors, running workflows would require manual aciton and that would block mirroring. But this time, we don't need any secrets to make it work.
      724e2384
  4. Nov 06, 2023
  5. Nov 03, 2023
    • Niklas Adolfsson's avatar
      feat(server): JSON-RPC specific middleware (#1215) · 8a24e245
      Niklas Adolfsson authored
      
      
      * refactor new jsonrpc middleware
      
      * add jsonrpsee specific service trait
      
      * use tower::ServiceBuilder for composable middleware
      
      * revert changelog
      
      * fix nits
      
      * types: impl Clone
      
      * clarify examples
      
      * Update server/src/middleware/mod.rs
      
      * Update server/src/transport/http.rs
      
      * remove some boiler plate
      
      * add back logging
      
      * remove needless Arc
      
      * remove clone bounds for Middleware
      
      * add wrapper for tower::ServiceBuilder
      
      * fix docs
      
      * add modify request example
      
      * add rate limit example
      
      * fix some nits in rate limiting middleware example
      
      * Meta -> Context
      
      * restruct middleware module
      
      * fix broken links
      
      * grumbles: remove `Context`
      
      * fix tests
      
      * Update examples/examples/rpc_middleware_modify_request.rs
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * fix grumbles
      
      * grumbles: adjust docs for method response
      
      * grumbles: MethodKind::Unknown -> NotFound
      
      * Update examples/examples/http_middleware.rs
      
      * fix some nits in examples
      
      ---------
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      8a24e245
  6. Oct 31, 2023
  7. Oct 23, 2023
  8. Oct 19, 2023
  9. Oct 18, 2023
  10. Oct 16, 2023
  11. Oct 11, 2023
  12. Oct 04, 2023
  13. Oct 02, 2023
  14. Sep 28, 2023
    • Niklas Adolfsson's avatar
      fix(server): remove `bounded channel` check (#1209) · 08d6a186
      Niklas Adolfsson authored
      This was intended to propogate the backpressure all the way down the
      underlying socket but it's weird and doesn't work very well.
      
      For subscriptions the backpressure will be handled by
      implementation itself and just rely on that now.
      08d6a186
  15. Sep 27, 2023
  16. Sep 25, 2023
  17. Sep 15, 2023
  18. Sep 14, 2023
  19. Sep 08, 2023
  20. Sep 05, 2023
  21. Aug 30, 2023
  22. Aug 28, 2023
  23. Aug 25, 2023
  24. Aug 21, 2023
  25. Aug 18, 2023
  26. Aug 17, 2023
  27. Aug 15, 2023
  28. Aug 14, 2023
  29. Aug 11, 2023
    • Niklas Adolfsson's avatar
      chore: release v0.20.0 (#1180) · f3295400
      Niklas Adolfsson authored
      * chore: release v0.20.0
      
      * Update CHANGELOG.md
      
      * Update CHANGELOG.md
      
      * add links to github profiles in changelog
      v0.20.0
      f3295400
    • Niklas Adolfsson's avatar
      refactor(server): move host filtering to tower middleware (#1179) · 119d3ae1
      Niklas Adolfsson authored
      * refactor: move host filtering to tower middleware
      
      * fix tests
      
      * commit missing file
      
      * fix match on authority
      
      * add some tests for authority
      
      * grumbles: Arc<WhitelistedHosts>
      
      * grumbles: split host filter code
      
      * add example for host filter middleware
      
      * Update examples/examples/host_filter_middleware.rs
      
      * url.rs -> middleware/authority.rs
      119d3ae1
  30. Aug 10, 2023