summary refs log tree commit diff
path: root/synapse/api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug where we didn't always get 'prev_content' keyErik Johnston2014-09-151-4/+1
|
* Fix bug where we incorrectly calculated 'age_ts' from 'age' key rather than ↵Erik Johnston2014-09-151-0/+1
| | | | the reverse. Don't transmit age_ts to clients for now.
* Merge branch 'develop' of github.com:matrix-org/synapse into ↵Kegan Dougal2014-09-152-0/+21
|\ | | | | | | registration-api-changes in preparation for re-merge to develop.
| * Correctly handle the 'age' key in events and pdusErik Johnston2014-09-152-0/+21
| |
* | Added LoginType constants. Created general structure for processing ↵Kegan Dougal2014-09-151-0/+9
|/ | | | registrations.
* Added captcha support on both the HS and web client.Kegan Dougal2014-09-051-0/+15
|\ | | | | | | Merge branch 'captcha' of github.com:matrix-org/synapse into develop
| * Captchas now work on registration. Missing x-forwarded-for config arg ↵Kegan Dougal2014-09-051-1/+15
| | | | | | | | support. Missing reloading a new captcha on the web client / displaying a sensible error message.
| * Added a captcha config to the HS, to enable registration captcha checking ↵Kegan Dougal2014-09-051-0/+1
| | | | | | | | and for the recaptcha private key.
* | Fix generation of event ids so that they are consistent between local and ↵Erik Johnston2014-09-061-1/+4
| | | | | | | | remote ids
* | When getting a state event also include the previous contentErik Johnston2014-09-061-1/+6
| |
* | Validate power levels event changes. Change error messages to be more ↵Erik Johnston2014-09-051-10/+37
| | | | | | | | helpful. Fix bug where we checked the wrong power levels
* | Generate m.room.aliases event when the HS creates a room aliasErik Johnston2014-09-052-1/+13
|/
* AUth the contents of power level eventsErik Johnston2014-09-051-1/+72
|
* Change the default power levels to be 0, 50 and 100Erik Johnston2014-09-051-2/+2
|
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-039-9/+9
| | | | hasn't been incorporated in time for launch.
* Updated feedback api docs and fixed feedback content template bugKegan Dougal2014-09-031-2/+1
|
* Add copyright notices and fix pyflakes errorsMark Haines2014-09-031-1/+15
|
* Set status message for ratelimit error responsesMark Haines2014-09-031-0/+2
|
* Merge branch 'ratelimiting' into developMark Haines2014-09-032-7/+93
|\
| * Raise LimitExceedError when the ratelimiting is throttling requestsMark Haines2014-09-031-7/+27
| |
| * Add ratelimiting function to basehandlerMark Haines2014-09-021-0/+1
| |
| * Test ratelimiterMark Haines2014-09-021-19/+48
| |
| * Ratelimiter objectMark Haines2014-09-021-0/+36
| |
* | Fix bug where we didn't correctly store the ops power levels event.Erik Johnston2014-09-021-0/+5
|/
* Implement auth for kicking.Erik Johnston2014-09-021-3/+10
|
* Add all the necessary checks to make banning work.Erik Johnston2014-09-012-2/+40
|
* Add beginnings of ban support.Erik Johnston2014-09-014-2/+30
|
* Implement power level lists, default power levels and ↵Erik Johnston2014-09-013-17/+97
| | | | send_evnet_level/add_state_level events.
* Merge branch 'develop' of github.com:matrix-org/synapse into room_configErik Johnston2014-09-011-4/+4
|\
| * change the world: make the default matrix API URL prefix /_matrix rather ↵Matthew Hodgson2014-08-311-4/+4
| | | | | | | | | | | | than /matrix to make it easier for existing websites to mount a HS in their namespace without collisions. perl -pi -e 's#/matrix#/_matrix#g' ./cmdclient/console.py ./docs/client-server/howto.rst ./docs/client-server/specification.rst ./docs/client-server/swagger_matrix/directory ./docs/client-server/swagger_matrix/events ./docs/client-server/swagger_matrix/login ./docs/client-server/swagger_matrix/presence ./docs/client-server/swagger_matrix/profile ./docs/client-server/swagger_matrix/registration ./docs/client-server/swagger_matrix/rooms ./docs/server-server/specification.rst ./graph/graph.py ./jsfiddles/create_room_send_msg/demo.js ./jsfiddles/event_stream/demo.js ./jsfiddles/example_app/demo.js ./jsfiddles/register_login/demo.js ./jsfiddles/room_memberships/demo.js ./synapse/api/urls.py ./tests/federation/test_federation.py ./tests/handlers/test_presence.py ./tests/handlers/test_typing.py ./tests/rest/test_events.py ./tests/rest/test_presence.py ./tests/rest/test_profile.py ./tests/rest/test_rooms.py ./webclient/components/fileUpload/file-upload-service.js ./webclient/components/matrix/matrix-service.js
* | Create the correct events with the right configuration when creating a new room.Erik Johnston2014-08-284-2/+50
|/
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-273-493/+0
|\ | | | | | | | | | | Conflicts: synapse/handlers/room.py synapse/storage/stream.py
| * Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-271-0/+2
| |\ | | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/events.py synapse/rest/events.py synapse/rest/room.py
| * \ Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-262-9/+11
| |\ \
| * | | WIP: Completely change how event streaming and pagination work. This ↵Erik Johnston2014-08-263-497/+0
| | | | | | | | | | | | | | | | reflects the change in the underlying storage model.
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-262-5/+1
| |\ \ \
| * \ \ \ Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-266-21/+32
| |\ \ \ \
| * | | | | Use new StreamToken in pagination configErik Johnston2014-08-211-5/+9
| | | | | |
* | | | | | add _get_room_member, fix datastore methodsMark Haines2014-08-271-1/+3
| | | | | |
* | | | | | Merge branch 'develop' into storage_transactionsMark Haines2014-08-273-9/+13
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Modified /join/$identifier to support $identifier being a room ID in ↵Kegan Dougal2014-08-271-0/+2
| | |_|_|/ | |/| | | | | | | | | | | | | addition to a room alias.
| * | | | Feedback: Removed FeedbackRestServlet. Modified keys on FeedbackEvent. ↵Kegan Dougal2014-08-262-9/+11
| | |_|/ | |/| | | | | | | | | | Expanded the feedback constants to fully explain what type of feedback they are.
* | | | Merge branch 'develop' into storage_transactionsMark Haines2014-08-267-30/+37
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/api/auth.py synapse/handlers/room.py synapse/storage/__init__.py
| * | | Fix pyflakes errorsMark Haines2014-08-262-5/+1
| | |/ | |/|
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Kegan Dougal2014-08-261-1/+1
| |\ \ | | | | | | | | | | | | client_server_url_rename
| | * | Add 'state_key' to valid_keysErik Johnston2014-08-261-0/+1
| | | |
| | * | Send down state_key to clientsErik Johnston2014-08-261-1/+0
| | | |
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Kegan Dougal2014-08-262-1/+7
| |\| | | | | | | | | | | | | | client_server_url_rename
| | * | Add ts field to all events.Erik Johnston2014-08-211-1/+6
| | | |
| | * | Stop internal keys from getting into SynapseEventsErik Johnston2014-08-211-0/+1
| | |/
| * | Removed member list servlet: now using generic state paths.Kegan Dougal2014-08-264-11/+16
| | |
| * | Impl: /rooms/roomid/state/eventtype/state_key - Renamed RoomTopicRestServlet ↵Kegan Dougal2014-08-221-8/+8
| |/ | | | | | | to RoomStateEventRestServlet. Support generic state event sending.
* / Take a snapshot of the state of the room before performing updatesMark Haines2014-08-221-5/+11
|/
* Default from param to 'END'Erik Johnston2014-08-191-0/+1
|
* Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-191-1/+2
|\ | | | | | | | | | | | | Conflicts: tests/rest/test_presence.py tests/rest/test_rooms.py tests/utils.py
| * Added /matrix/content path, HS resource_for_content_repo attribute and ↵Kegan Dougal2014-08-181-1/+2
| | | | | | | | FileUploadResource. Added stub methods.
* | Change the way pagination works to support out of order events.Erik Johnston2014-08-192-47/+64
| |
* | Not all event streams returns SynapseEventsErik Johnston2014-08-181-1/+5
| |
* | Ensure we have a 'membership' key in RoomMemberEventsErik Johnston2014-08-181-0/+2
| |
* | PEP8 cleanupsErik Johnston2014-08-151-0/+1
| |
* | Support generic events.Erik Johnston2014-08-152-5/+8
| |
* | Correctly return new token when returning events. Serialize events correctly.Erik Johnston2014-08-152-2/+3
| |
* | Start chagning the events stream to work with the new DB schemaErik Johnston2014-08-151-72/+5
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-154-3/+32
|\| | | | | | | | | Conflicts: synapse/storage/stream.py
| * Remember to reflect membership LEAVE events to the leaving member so they ↵Paul "LeoNerd" Evans2014-08-151-0/+4
| | | | | | | | know it happened
| * Added M_UNKNOWN_TOKEN error code and send it when there is an unrecognised ↵Kegan Dougal2014-08-142-2/+4
| | | | | | | | access_token
| * Default error code BAD_PAGINATION for EventStreamErrorsKegan Dougal2014-08-141-1/+4
| |
| * Added web client prefixKegan Dougal2014-08-141-1/+2
| |
| * Added a urls module for keeping client and federation prefixes.Kegan Dougal2014-08-141-0/+19
| |
* | Reimplement the get public rooms api to work with new DB schemaErik Johnston2014-08-152-1/+25
|/
* fix whitespaceMatthew Hodgson2014-08-141-0/+1
|
* Handle a potential race in the notifier when calling get_events_for which ↵Erik Johnston2014-08-131-3/+7
| | | | resulted in an uncaught KeyError
* Use strings instead of opaque magic-number constants for presence states; ↵Paul "LeoNerd" Evans2014-08-131-4/+4
| | | | rename AWAY to UNAVAILABLE
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-1310-0/+10
|
* Reference Matrix Home Servermatrix.org2014-08-1210-0/+1164