summary refs log tree commit diff
path: root/synapse/api (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add m.login.application_service registration procedure.Kegan Dougal2015-02-051-0/+1
* Fix unit tests.Kegan Dougal2015-02-051-0/+6
* Add CS extension for masquerading as users within the namespaces specified by...Kegan Dougal2015-02-051-0/+23
* Merge branch 'develop' into application-servicesKegan Dougal2015-02-052-9/+13
|\
| * Merge branch 'signature_failures' of github.com:matrix-org/synapse into feder...Erik Johnston2015-02-041-6/+6
| |\
| | * Change context.auth_events to what the auth_events would be bases on context....Erik Johnston2015-02-041-6/+6
| * | Apply sanity to the transport client interface. Convert 'make_join' and 'send...Erik Johnston2015-02-041-1/+7
| |/
| * Keep around the old (buggy) version of the prune_event function so that we ca...Erik Johnston2015-02-031-2/+0
* | Merge branch 'develop' into application-servicesKegan Dougal2015-02-024-20/+297
|\|
| * Merge branch 'develop' of github.com:matrix-org/synapse into rejectionsErik Johnston2015-01-301-0/+229
| |\
| | * Use 'in' to test if the key exists, remove unused _filters_for_userMark Haines2015-01-301-6/+2
| | * Unused importMark Haines2015-01-301-2/+0
| | * Create a separate filter object to do the actual filtering, so that we canMark Haines2015-01-291-112/+108
| | * Merge branch 'develop' into client_v2_filterMark Haines2015-01-291-0/+1
| | |\
| | * | Fix code-styleMark Haines2015-01-291-13/+6
| | * | Merge changes from developMark Haines2015-01-292-3/+38
| | |\ \
| | * | | Add basic filtering public API unit tests. Use defers in the right places.Kegan Dougal2015-01-291-4/+7
| | * | | Implement filter algorithm. Add basic event type unit tests to assert it works.Kegan Dougal2015-01-291-0/+49
| | * | | Add filtering public API; outline filtering algorithm.Kegan Dougal2015-01-291-8/+52
| | * | | Add filtering.filter_events function, with stub passes_filter function.Kegan Dougal2015-01-291-0/+15
| | * | | Add filter JSON sanity checks.Kegan Dougal2015-01-281-4/+105
| | * | | Move storage of user filters into real datastore layer; now have to mock it o...Paul "LeoNerd" Evans2015-01-271-23/+4
| | * | | Have the Filtering API return Deferreds, so we can do the Datastore implement...Paul "LeoNerd" Evans2015-01-271-2/+14
| | * | | Initial trivial implementation of an actual 'Filtering' object; move storage ...Paul "LeoNerd" Evans2015-01-271-0/+41
| * | | | Fix bug where we superfluously asked for current state. Change API of /query_...Erik Johnston2015-01-301-0/+2
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into rejectionsErik Johnston2015-01-303-3/+40
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | Code style fixes.Mark Haines2015-01-291-0/+1
| | | |/ | | |/|
| | * | Merge pull request #36 from matrix-org/device_id_from_access_tokenMark Haines2015-01-281-3/+8
| | |\ \
| | | * | Rename ClientID to ClientInfo since it is a pair of IDs rather than a single ...Mark Haines2015-01-281-2/+2
| | | * | Add a : to the doc string after the type of the return valueMark Haines2015-01-281-1/+1
| | | * | Extract the id token of the token when authing users, include the token and d...Mark Haines2015-01-281-3/+5
| | | * | Return the device_id from get_auth_by_reqMark Haines2015-01-281-2/+5
| | | |/
| | * | Merge branch 'develop' into pushersDavid Baker2015-01-282-4/+6
| | |\|
| | * | Add slightly pedantic trailing slash error.David Baker2015-01-231-1/+6
| | * | right super() paramDavid Baker2015-01-231-1/+1
| | * | As yet fairly untested GET API for push rulesDavid Baker2015-01-221-1/+13
| | * | Oops: second part of commit dc938606David Baker2015-01-221-0/+12
| | * | Merge branch 'develop' into pushersDavid Baker2015-01-136-6/+6
| | |\ \
| | * \ \ Merge branch 'develop' into pushersDavid Baker2014-12-189-632/+73
| | |\ \ \
| | * \ \ \ Merge branch 'develop' into pushersDavid Baker2014-12-022-73/+78
| | |\ \ \ \
| | * \ \ \ \ Merge branch 'develop' into pushersDavid Baker2014-11-204-4/+9
| | |\ \ \ \ \
| | * | | | | | Start creating a module to do generic notifications (just prints them to stdo...David Baker2014-11-191-0/+1
| * | | | | | | Start implementing auth conflict resErik Johnston2015-01-282-17/+27
* | | | | | | | Add stub application services REST API.Kegan Dougal2015-01-271-0/+1
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Add client v2_alpha resource to synapse server resource treeMark Haines2015-01-231-0/+1
|/ / / / / /
* | | | | / Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-4/+5
| |_|_|_|/ |/| | | |
* | | | | SYN-154: Tweak how the m.room.create check is done.Kegan Dougal2015-01-071-10/+1
* | | | | SYN-154: Better error messages when joining an unknown room by ID.Kegan Dougal2015-01-071-1/+10
* | | | | Update copyright noticesMark Haines2015-01-066-6/+6
| |_|_|/ |/| | |
* | | | Kill off synapse.api.events.*Erik Johnston2014-12-166-580/+1
* | | | Make auth module use EventTypes constantsErik Johnston2014-12-121-27/+23
* | | | Validate message, topic and name event contentsErik Johnston2014-12-121-0/+5
* | | | Fix stream test. Make sure we add join to auth_events for invitiationsErik Johnston2014-12-121-0/+6
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactorErik Johnston2014-12-112-0/+2
|\ \ \ \
| * | | | Limit the size of images that are thumbnailed serverside. Limit the size of f...Mark Haines2014-12-111-0/+1
| * | | | Merge branch 'develop' into media_repositoryMark Haines2014-12-102-72/+77
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Get uploads working with new media repoMark Haines2014-12-021-0/+1
* | | | | PEP8Erik Johnston2014-12-091-1/+1
* | | | | Remove unused importErik Johnston2014-12-081-1/+0
* | | | | Various typos and bug fixes.Erik Johnston2014-12-081-7/+9
* | | | | Start making more things use EventContext rather than event.*Erik Johnston2014-12-051-13/+20
* | | | | Begin converting things to use the new Event structureErik Johnston2014-12-041-9/+2
* | | | | WIP for new way of managing events.Erik Johnston2014-12-032-6/+16
* | | | | Change DomainSpecificString so that it doesn't use a HomeServer objectErik Johnston2014-12-021-1/+1
| |/ / / |/| | |
* | | | Fix bugs when joining a remote room that has dodgy event graphs. This should ...Erik Johnston2014-11-271-2/+8
* | | | Fix bugs in invite/join dances.Erik Johnston2014-11-252-70/+69
|/ / /
* | / Add missing None checkErik Johnston2014-11-241-1/+1
| |/ |/|
* | Fix pep8 codestyle warningsMark Haines2014-11-202-2/+2
* | Use module loggers rather than the root logger. Exceptions caused by bad clie...Mark Haines2014-11-202-2/+7
|/
* Only users can set state events which have their own user_idErik Johnston2014-11-191-0/+20
* replace user_id with senderMark Haines2014-11-191-1/+3
* SYN-144: Remove bad keys from pdu json objects, convert age_ts to ageMark Haines2014-11-181-1/+12
* Null check when determining default power levelsMark Haines2014-11-181-1/+2
* Fix auth to correctly handle initial creation of roomsErik Johnston2014-11-181-3/+21
* Merge PDUs and Events into one objectMark Haines2014-11-142-0/+8
* Fix bugs with invites/joins across federatiom.Erik Johnston2014-11-121-3/+16
* Fix typo in validatorErik Johnston2014-11-111-2/+8
* Add EventValidator moduleErik Johnston2014-11-111-0/+81
* Add an EventValidator. Fix bugs in auth ++ storageErik Johnston2014-11-102-66/+11
* PEP8Erik Johnston2014-11-102-2/+2
* Fix backfill to work. Add auth to backfill requestErik Johnston2014-11-101-0/+6
* Notify users about invites.Erik Johnston2014-11-101-7/+9
* Fix invite authErik Johnston2014-11-101-3/+5
* Finish redaction algorithm.Erik Johnston2014-11-102-15/+28
* Add hash of current state to eventsErik Johnston2014-11-071-0/+1
* Fix joining over federationErik Johnston2014-11-072-3/+52
* Start implementing auth chainsErik Johnston2014-11-072-3/+2
* Neaten things up a bitErik Johnston2014-11-071-5/+2
* Amalgamate all power levels.Erik Johnston2014-11-065-190/+86
* Don't send prev_state to clients anymoreErik Johnston2014-11-061-1/+1
* Implement new replace_state and changed prev_stateErik Johnston2014-11-061-0/+1
* Fix auth checks to all use the given old_event_stateErik Johnston2014-11-051-24/+31
* Move FederationError to synapse.api.errorsErik Johnston2014-11-041-0/+34
* Fix bugs in generating event signatures and hashingErik Johnston2014-11-031-0/+1
* Rename PDU fields to match that of events.Erik Johnston2014-11-031-1/+1
* Add 'origin' key to eventsErik Johnston2014-11-031-0/+4
* Fix bug in redaction auth.Erik Johnston2014-10-311-2/+2
* Convert event ids to be of the form :example.comErik Johnston2014-10-301-1/+5
* Merge branch 'develop' of github.com:matrix-org/synapse into federation_autho...Erik Johnston2014-10-303-3/+4
|\
| * Fix pep8 warningsMark Haines2014-10-303-3/+4
* | Begin implementing all the PDU storage stuff in Events landErik Johnston2014-10-281-1/+3
* | Merge branch 'event_signing' of github.com:matrix-org/synapse into federation...Erik Johnston2014-10-272-9/+16
|\ \
| * | Merge branch 'develop' into event_signingMark Haines2014-10-171-2/+2
| |\|
| * | Include hashes of previous pdus when referencing themMark Haines2014-10-161-1/+1
| * | persist hashes and origin signatures for PDUsMark Haines2014-10-151-8/+15
* | | Merge branch 'develop' of github.com:matrix-org/synapse into federation_autho...Erik Johnston2014-10-271-2/+2
|\ \ \ | | |/ | |/|
| * | SPEC-7: Rename 'ts' to 'origin_server_ts'Mark Haines2014-10-171-2/+2
| |/
* | Fix bug where people could join private roomsErik Johnston2014-10-171-39/+47
* | Use state groups to get current state. Make join dance actually work.Erik Johnston2014-10-171-0/+5
* | Finish implementing the new join dance.Erik Johnston2014-10-172-3/+20
* | Start implementing the invite/join dance. Continue moving auth to use event.s...Erik Johnston2014-10-161-10/+6
* | Begin making auth use event.old_state_eventsErik Johnston2014-10-151-43/+70
|/
* Respond with more helpful error messages for unsigned requestsMark Haines2014-10-131-0/+1
* Merge branch 'develop' into server2server_signingMark Haines2014-09-305-14/+150
|\
| * Update docstringErik Johnston2014-09-291-1/+1
| * SYN-48: Implement WHOIS rest servletErik Johnston2014-09-291-9/+19
| * Add auth check to test if a user is an admin or not.Erik Johnston2014-09-291-0/+3
| * SYN-48: Track User-Agents as well as IPs for client devices.Erik Johnston2014-09-291-1/+10
| * Track the IP users connect with. Add an admin column to users table.Erik Johnston2014-09-261-1/+9
| * Merge branch 'deletions' of github.com:matrix-org/synapse into developErik Johnston2014-09-255-6/+112
| |\
| | * Don't strip out null's in serialized events, as that is not need anymore and ...Erik Johnston2014-09-251-1/+2
| | * Don't strip of False values from events when serializingErik Johnston2014-09-251-1/+1
| | * Rename deletions to redactionsErik Johnston2014-09-245-18/+18
| | * Fill out the prune_event method.Erik Johnston2014-09-241-6/+31
| | * Rename 'pruned' to 'pruned_because'Erik Johnston2014-09-231-1/+1
| | * SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops lev...Erik Johnston2014-09-231-3/+31
| | * Add prune_event methodErik Johnston2014-09-231-0/+39
| | * Add m.room.deletion. If an event is deleted it will be returned to clients 'p...Erik Johnston2014-09-233-3/+16
| * | SYN-70: And fix another bug where I can't typeErik Johnston2014-09-241-1/+1
| * | SYN-70: Fix typoErik Johnston2014-09-241-1/+1
| |/
* / Add a _matrix/key/v1 resource with the verification keys of the local serverMark Haines2014-09-231-1/+2
|/
* Merge branch 'develop' into test-sqlite-memoryPaul "LeoNerd" Evans2014-09-172-4/+11
|\
| * 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 t...Erik Johnston2014-09-151-0/+1
| * Merge branch 'develop' of github.com:matrix-org/synapse into registration-api...Kegan Dougal2014-09-152-0/+21
| |\
| * | Added LoginType constants. Created general structure for processing registrat...Kegan Dougal2014-09-151-0/+9
* | | Print expected-vs-actual data types on typecheck failure from check_json()Paul "LeoNerd" Evans2014-09-171-1/+2
| |/ |/|
* | Correctly handle the 'age' key in events and pdusErik Johnston2014-09-152-0/+21
|/
* Added captcha support on both the HS and web client.Kegan Dougal2014-09-051-0/+15
|\
| * Captchas now work on registration. Missing x-forwarded-for config arg support...Kegan Dougal2014-09-051-1/+15
| * Added a captcha config to the HS, to enable registration captcha checking and...Kegan Dougal2014-09-051-0/+1
* | Fix generation of event ids so that they are consistent between local and rem...Erik Johnston2014-09-061-1/+4
* | 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 helpful...Erik Johnston2014-09-051-10/+37
* | 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 has...Matthew Hodgson2014-09-039-9/+9
* 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 send_evnet_level/add_st...Erik Johnston2014-09-013-17/+97
* 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 than...Matthew Hodgson2014-08-311-4/+4
* | 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
|\
| * Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-271-0/+2
| |\
| * \ 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 reflects...Erik Johnston2014-08-263-497/+0
| * | | 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 addition...Kegan Dougal2014-08-271-0/+2
| | |_|_|/ | |/| | |
| * | | | Feedback: Removed FeedbackRestServlet. Modified keys on FeedbackEvent. Expand...Kegan Dougal2014-08-262-9/+11
| | |_|/ | |/| |
* | | | Merge branch 'develop' into storage_transactionsMark Haines2014-08-267-30/+37
|\| | |
| * | | Fix pyflakes errorsMark Haines2014-08-262-5/+1
| | |/ | |/|
| * | Merge branch 'develop' of github.com:matrix-org/synapse into client_server_ur...Kegan Dougal2014-08-261-1/+1
| |\ \
| | * | 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 client_server_ur...Kegan Dougal2014-08-262-1/+7
| |\| |
| | * | 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
| |/
* / 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
|\
| * Added /matrix/content path, HS resource_for_content_repo attribute and FileUp...Kegan Dougal2014-08-181-1/+2
* | 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
|\|
| * Remember to reflect membership LEAVE events to the leaving member so they kno...Paul "LeoNerd" Evans2014-08-151-0/+4
| * Added M_UNKNOWN_TOKEN error code and send it when there is an unrecognised ac...Kegan Dougal2014-08-142-2/+4
| * 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 res...Erik Johnston2014-08-131-3/+7
* Use strings instead of opaque magic-number constants for presence states; ren...Paul "LeoNerd" Evans2014-08-131-4/+4
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-1310-0/+10
* Reference Matrix Home Servermatrix.org2014-08-1210-0/+1164