1. Nov 09, 2023
  2. 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
  3. Nov 06, 2023
  4. 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
  5. Oct 31, 2023
  6. Oct 23, 2023
  7. Oct 19, 2023
  8. Oct 18, 2023
  9. Oct 16, 2023
  10. Oct 11, 2023
  11. Oct 04, 2023
  12. Oct 02, 2023
  13. 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
  14. Sep 27, 2023
  15. Sep 25, 2023
  16. Sep 15, 2023
  17. Sep 14, 2023
  18. Sep 08, 2023
  19. Sep 05, 2023
  20. Aug 30, 2023
  21. Aug 28, 2023
  22. Aug 25, 2023
  23. Aug 21, 2023
  24. Aug 18, 2023
  25. Aug 17, 2023
  26. Aug 15, 2023
  27. Aug 14, 2023