- 26 5月, 2017 5 次提交
-
-
由 Robert Swain 提交于
Clearer that it's a map from mxc URLs to sync.Cond
-
由 Robert Swain 提交于
-
由 Robert Swain 提交于
-
由 Robert Swain 提交于
-
由 Kegsay 提交于
-
- 25 5月, 2017 2 次提交
-
-
由 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
-
由 Kegsay 提交于
-
- 24 5月, 2017 2 次提交
-
-
由 Mark Haines 提交于
-
由 Kegsay 提交于
- Renamed `clientapi/auth/types` to `clientapi/auth/authtypes` for the same horrible namespace clashing reasons as `storage`. - Factored out `makeAPI` to `common`. - Added in `makeAuthAPI`.
-
- 23 5月, 2017 3 次提交
-
-
由 Mark Haines 提交于
-
由 Mark Haines 提交于
-
由 Mark Haines 提交于
-
- 22 5月, 2017 2 次提交
-
-
由 Kegsay 提交于
Previously, all database stuff was under the helpfully named package 'storage'. However, this convention is used throughout all of dendrite, which will clash the moment we want to add auth to all the CS API endpoints. To prevent the package name clash, add sub-directories which represent what is being stored so the final usage ends up being: ``` func doThing(db *storage.SyncServerDatabase, authDB *accounts.Database) { // ... } ```
-
由 Kegsay 提交于
-
- 19 5月, 2017 3 次提交
-
-
由 Mark Haines 提交于
* Start implementing the federation server keys API. * Fix copyright * Fix comments * Comment on the key format * Better explain what the ValidityPeriod is * Return a 200 status code
-
由 Mark Haines 提交于
-
由 Kegsay 提交于
Including the ability to add new accounts with a user/password and select accounts using a user/password. Uses bcrypt to hash passwords.
-
- 18 5月, 2017 5 次提交
-
-
由 Mark Haines 提交于
* Rename "make" to "makeAPI" and factor out some more common code into it Naming a function the same as a go builtin function seems like a bad idea. Also move the call to `NewJSONRequestHander` inside the function rather than calling it everywhere. * Fix typo
-
由 Kegan Dougal 提交于
-
由 Robert Swain 提交于
.travis.yml: Bump golang to 1.8
-
由 Robert Swain 提交于
-
由 Kegsay 提交于
- `s/Server/OutputRoomEvent/` in `consumers` to accurately reflect what is being consumed. - `s/set/userIDSet/` in `notifier.go` for clarity. - Removed lying comments.
-
- 17 5月, 2017 5 次提交
- 16 5月, 2017 1 次提交
-
-
由 Kegsay 提交于
-
- 15 5月, 2017 1 次提交
-
-
由 Kegsay 提交于
The logic required to populate the right bits of `RoomData` tends towards the complete `/sync` response struct, so just use the actual response struct and save the hassle of mapping between the two. It may not make much difference in its current form, but the next PR will make use of this. This PR has no functional changes.
-
- 12 5月, 2017 1 次提交
-
-
由 Kegsay 提交于
This is only 'mostly' correct currently, because what should be no-op dupe joins will actually trigger the entire room state to be re-sent. Bizarrely, it's significantly easier to just do that than work out if we should, and there are no client-visible effects to doing so, so we just do it for now.
-
- 11 5月, 2017 2 次提交
-
-
由 Kegsay 提交于
Fixed exactly the same bug as before, but this time for incremental sync. Yay tests!
-
由 Kegsay 提交于
- Test data for the sync server is now in its own file. - Rejig the sync server tests to support multiple /sync requests and corresponding assertions. - Fixed a minor bug which resulted in state events to appear twice in /sync responses when syncing without a `since` parameter.
-
- 10 5月, 2017 3 次提交
-
-
由 Robert Swain 提交于
Update github.com/matrix-org/util for request context fix for logging
-
由 Robert Swain 提交于
-
由 Kegsay 提交于
* Split out notifying /sync requests and calculating sync responses The logic for notifying /sync requests is about to get really complicated as we optimise when to wake up requests, so split out that code into a separate struct to isolate it and make it easier to unit test.
-
- 09 5月, 2017 2 次提交
- 06 5月, 2017 2 次提交
-
-
由 Kegsay 提交于
-
由 Mark Haines 提交于
-
- 05 5月, 2017 1 次提交
-
-
由 Mark Haines 提交于
-