1. 15 11月, 2017 1 次提交
    • R
      Update gometalinter config (#331) · 8fff0e88
      Richard van der Hoff 提交于
      * Update gometalinter config
      
      gometalinter now uses `maligned` instead of `aligncheck`
      (https://github.com/alecthomas/gometalinter/pull/367), so we need to update our
      config accordingly.
      
      * Update gometalinter
      
      * Disable gotype linter
      
      gotype does not seem to play nicely with the gb vendor directory. In
      particular, it wants each of our dependencies to be built and installed (see
      https://github.com/golang/go/issues/10969), but (empirically) it will not
      accept them being installed in `pkg` but insists on them being in `vendor/pkg`.
      
      This presents a problem because `gb build` builds the packages into `pkg`
      (which doesn't seem entirely unreasonable since `.` comes before `vendor` in
      `$GOPATH`). `go install github.com/x/y` does install in `vendor/pkg` but
      requires us to know the name of each package.
      
      The general conclusion of https://github.com/alecthomas/gometalinter/issues/91
      seems to have been that the easiest thing to do is to disable `gotype` for now.
      
      * Fix `unparam` lint
      
      * Fix goshadow lint
      8fff0e88
  2. 13 10月, 2017 2 次提交
  3. 03 10月, 2017 1 次提交
  4. 02 10月, 2017 1 次提交
    • R
      gb vendor updates · 831a76ae
      Richard van der Hoff 提交于
      gb vendor update github.com/matrix-org/gomatrixserverlib
      gb vendor update github.com/matrix-org/util
      831a76ae
  5. 29 9月, 2017 1 次提交
  6. 28 9月, 2017 2 次提交
  7. 26 9月, 2017 1 次提交
  8. 22 9月, 2017 1 次提交
  9. 21 9月, 2017 1 次提交
  10. 19 9月, 2017 2 次提交
  11. 13 9月, 2017 2 次提交
  12. 12 9月, 2017 1 次提交
  13. 08 9月, 2017 1 次提交
    • B
      Processing of pending invites on 3PID binding (#218) · 4d1d503d
      Brendan Abolivier 提交于
      * Add missing file headers
      
      * Move the ID server's signatures verification to common
      
      * Allow verification without specifying a server name
      
      * Add third-party structs to membership events content
      
      * Add processing of 3PID onbind requests
      
      * Use reference for third party invite data
      
      * Fix return arguments order
      
      * Revert "Move the ID server's signatures verification to common"
      
      This reverts commit 93442010316ce71a77ac58ffd3613754ce8fe969.
      
      * Revert "Allow verification without specifying a server name"
      
      This reverts commit fd27afbf82eac50fe9f7b83b26cfce3c66d530d2.
      
      * Remove checks that are already occurring in gomatrixserverlib
      
      * Change return type of createInviteFrom3PIDInvite
      
      * Add doc, add checks in fillDisplayName
      
      * Use MakeFedAPI
      
      * Invert condition
      
      * Use AuthEvents to retrieve the 3PID invite
      
      * Update comment
      
      * Remove unused parameter
      
      * gb vendor update github.com/matrix-org/gomatrixserverlib
      4d1d503d
  14. 06 9月, 2017 1 次提交
  15. 15 8月, 2017 1 次提交
  16. 24 7月, 2017 1 次提交
  17. 07 7月, 2017 1 次提交
  18. 10 6月, 2017 1 次提交
  19. 07 6月, 2017 1 次提交
    • R
      mediaapi: Add thumbnail support (#132) · 2d202cec
      Robert Swain 提交于
      * vendor: Add bimg image processing library
      
      bimg is MIT licensed. It depends on the C library libvips which is LGPL
      v2.1+ licensed. libvips must be installed separately.
      
      * mediaapi: Add YAML config file support
      
      * mediaapi: Add thumbnail support
      
      * mediaapi: Add missing thumbnail files
      
      * travis: Add ppa and install libvips-dev
      
      * travis: Another ppa and install libvips-dev attempt
      
      * travis: Add sudo: required for sudo apt* usage
      
      * mediaapi/thumbnailer: Make comparison code more readable
      
      * mediaapi: Simplify logging of thumbnail properties
      
      * mediaapi/thumbnailer: Rename metrics to fitness
      
      Metrics is used in the context of monitoring with Prometheus so renaming
      to avoid confusion.
      
      * mediaapi/thumbnailer: Use math.Inf() for max aspect and size
      
      * mediaapi/thumbnailer: Limit number of parallel generators
      
      Fall back to selecting from already-/pre-generated thumbnails or serving
      the original.
      
      * mediaapi/thumbnailer: Split bimg code into separate file
      
      * vendor: Add github.com/nfnt/resize pure go image scaler
      
      * mediaapi/thumbnailer: Add nfnt/resize thumbnailer
      
      * travis: Don't install libvips-dev via ppa
      
      * mediaapi: Add notes to README about resizers
      
      * mediaapi: Elaborate on scaling libs in README
      2d202cec
  20. 01 6月, 2017 1 次提交
  21. 25 5月, 2017 1 次提交
    • M
      Start implementing /join for room aliases for rooms the server is not in. (#115) · 84ad4ff9
      Mark Haines 提交于
      * Start implementing the join room API
      
      * Hacks to get join room working
      
      * Make the TLS fingerprint configurable
      
      * Fix the client API proxy to handle '#' correctly
      
      * Return a 200 OK response
      
      * Write the join event along with current state to the room server
      
      * Comment on the error handling
      
      * Fix typos
      
      * Fix tab
      
      * Add TODO for moving authEventIDs to gomatrixserverlib
      
      * Comment on why we ignore the key ID argument for local keys
      
      * Avoid 'preceeded'
      
      * Neaten the control flow
      
      * Neaten the control flow even more
      
      * Return pointers
      
      * Rename err to lastErr for the loop
      84ad4ff9
  22. 24 5月, 2017 1 次提交
  23. 23 5月, 2017 1 次提交
  24. 19 5月, 2017 2 次提交
  25. 10 5月, 2017 1 次提交
  26. 06 5月, 2017 1 次提交
  27. 05 5月, 2017 1 次提交
  28. 21 4月, 2017 1 次提交
  29. 13 4月, 2017 1 次提交
  30. 27 3月, 2017 1 次提交
  31. 18 3月, 2017 1 次提交
  32. 17 3月, 2017 1 次提交
  33. 11 3月, 2017 1 次提交
  34. 10 3月, 2017 1 次提交
  35. 09 3月, 2017 1 次提交