Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PEP8 and pyflakes warnings | Kegan Dougal | 2015-01-07 | 1 | -1/+3 |
| | |||||
* | SYN-154: Tweak how the m.room.create check is done. | Kegan Dougal | 2015-01-07 | 1 | -2/+11 |
| | | | | | Don't perform the check in auth.is_host_in_room but instead do it in _do_join and also assert that there are no m.room.members in the room before doing so. | ||||
* | SYN-154: Better error messages when joining an unknown room by ID. | Kegan Dougal | 2015-01-07 | 1 | -3/+5 |
| | | | | | | The simple fix doesn't work here because room creation also involves unknown room IDs. The check relies on the presence of m.room.create for rooms being created, whereas bogus room IDs have no state events at all. | ||||
* | Merge pull request #28 from matrix-org/erikj-perf | Mark Haines | 2015-01-06 | 1 | -8/+5 |
|\ | | | | | Database performance improvements. | ||||
| * | Add RoomMemberStore.get_users_in_room, so that we can get the list of joined ↵ | Erik Johnston | 2015-01-06 | 1 | -8/+5 |
| | | | | | | | | users without having to retrieve the full events | ||||
* | | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
|/ | |||||
* | Set a state_key for the topic and room name, otherwise they won't be treated ↵ | Mark Haines | 2014-12-19 | 1 | -0/+2 |
| | | | | as room state | ||||
* | Set display name when joining via alias | Mark Haines | 2014-12-19 | 1 | -0/+5 |
| | |||||
* | s/user_id/sender/ | Mark Haines | 2014-12-19 | 1 | -1/+1 |
| | |||||
* | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 1 | -16/+12 |
| | |||||
* | Rename MessageHandler.handle_event. Add a few comments. | Erik Johnston | 2014-12-15 | 1 | -4/+4 |
| | |||||
* | Get current member state from current_state snapshot. Fix leave test. | Erik Johnston | 2014-12-15 | 1 | -3/+3 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-15 | 1 | -0/+7 |
|\ | | | | | | | | | Conflicts: tests/handlers/test_room.py | ||||
| * | Add a 'user_left_room' distributor signal analogous to 'user_joined_room' | Paul "LeoNerd" Evans | 2014-12-11 | 1 | -0/+7 |
| | | |||||
* | | .from_string() no longer takes a HS | Erik Johnston | 2014-12-10 | 1 | -2/+2 |
| | | |||||
* | | Try and figure out how and why signatures are being changed. | Erik Johnston | 2014-12-10 | 1 | -5/+2 |
| | | |||||
* | | PEP8 | Erik Johnston | 2014-12-09 | 1 | -1/+1 |
| | | |||||
* | | Fix joining from an invite | Erik Johnston | 2014-12-09 | 1 | -13/+3 |
| | | |||||
* | | More bug fixes | Erik Johnston | 2014-12-08 | 1 | -3/+8 |
| | | |||||
* | | More bug fixes | Erik Johnston | 2014-12-08 | 1 | -6/+1 |
| | | |||||
* | | More bug fixes | Erik Johnston | 2014-12-08 | 1 | -2/+2 |
| | | |||||
* | | Convert rest and handlers to use new event structure | Erik Johnston | 2014-12-04 | 1 | -77/+53 |
| | | |||||
* | | Begin converting things to use the new Event structure | Erik Johnston | 2014-12-04 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-03 | 1 | -1/+5 |
|\| | |||||
| * | Squash room_ids list to a set() to remove duplicates - with TODO marker as I ↵ | Paul "LeoNerd" Evans | 2014-12-02 | 1 | -1/+5 |
| | | | | | | | | have no idea /why/ the dups are happening in the first place | ||||
* | | Change DomainSpecificString so that it doesn't use a HomeServer object | Erik Johnston | 2014-12-02 | 1 | -8/+11 |
|/ | |||||
* | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 1 | -2/+3 |
| | |||||
* | Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵ | Mark Haines | 2014-11-20 | 1 | -2/+2 |
| | | | | because they don't interact well with the logging contexts | ||||
* | Don't add a 'prev' key to m.room.member messages | Erik Johnston | 2014-11-19 | 1 | -3/+0 |
| | |||||
* | SYN-149: Enable auth for events added during room creation since they should ↵ | Mark Haines | 2014-11-18 | 1 | -1/+1 |
| | | | | pass auth checks | ||||
* | SYN-149: Send join event immediately after the room create event | Mark Haines | 2014-11-18 | 1 | -24/+26 |
| | |||||
* | Split out sending the room alias events from creating the alias so that we ↵ | Mark Haines | 2014-11-18 | 1 | -7/+10 |
| | | | | can do them in the right point when creating a room | ||||
* | SYN-148: Add the alias after creating the room | Mark Haines | 2014-11-17 | 1 | -9/+9 |
| | |||||
* | Fix bugs with invites/joins across federatiom. | Erik Johnston | 2014-11-12 | 1 | -2/+8 |
| | | | | | Both in terms of auth and not trying to fetch missing PDUs for invites, joins etc. | ||||
* | Implement invite part of invite join dance | Erik Johnston | 2014-11-07 | 1 | -20/+12 |
| | |||||
* | Amalgamate all power levels. | Erik Johnston | 2014-11-06 | 1 | -36/+16 |
| | | | | | Remove concept of reqired power levels, something similiar can be done using the new power level event. | ||||
* | Implement new replace_state and changed prev_state | Erik Johnston | 2014-11-06 | 1 | -12/+4 |
| | | | | | `prev_state` is now a list of previous state ids, similiar to prev_events. `replace_state` now points to what we think was replaced. | ||||
* | Fix room handler tests | Erik Johnston | 2014-11-04 | 1 | -1/+0 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-30 | 1 | -20/+6 |
|\ | | | | | | | federation_authorization | ||||
| * | Construct a source-specific 'SourcePaginationConfig' to pass into ↵ | Paul "LeoNerd" Evans | 2014-10-29 | 1 | -15/+6 |
| | | | | | | | | get_pagination_rows; meaning each source doesn't have to care about its own name any more | ||||
| * | Remove duplicate join_event from create_room | Mark Haines | 2014-10-27 | 1 | -5/+0 |
| | | |||||
* | | Begin making auth use event.old_state_events | Erik Johnston | 2014-10-15 | 1 | -10/+9 |
|/ | |||||
* | Merge branch 'deletions' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-09-25 | 1 | -0/+1 |
|\ | |||||
| * | Rename deletions to redactions | Erik Johnston | 2014-09-24 | 1 | -1/+1 |
| | | |||||
| * | SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops ↵ | Erik Johnston | 2014-09-23 | 1 | -0/+1 |
| | | | | | | | | | | | | levels event SYN-12 # comment Auth has been added. | ||||
* | | Don't set the room name to be the room alias on room creation if the client ↵ | Erik Johnston | 2014-09-24 | 1 | -11/+0 |
|/ | | | | didn't supply a name | ||||
* | Correctly handle the 'age' key in events and pdus | Erik Johnston | 2014-09-15 | 1 | -1/+1 |
| | |||||
* | Added num_joined_users key to /publicRooms for each room. Show this ↵ | Kegan Dougal | 2014-09-08 | 1 | -0/+6 |
| | | | | information in the webclient. | ||||
* | Add support for inviting people when you create a room | Erik Johnston | 2014-09-06 | 1 | -0/+26 |
| | |||||
* | Generate m.room.aliases event when the HS creates a room alias | Erik Johnston | 2014-09-05 | 1 | -5/+7 |
| | |||||
* | Change the default power levels to be 0, 50 and 100 | Erik Johnston | 2014-09-05 | 1 | -8/+8 |
| | |||||
* | When creating a room and a user supplies a room_alias but no name, use the ↵ | Erik Johnston | 2014-09-03 | 1 | -0/+11 |
| | | | | room_alias as the name. | ||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Add copyright notices and fix pyflakes errors | Mark Haines | 2014-09-03 | 1 | -2/+0 |
| | |||||
* | Merge branch 'ratelimiting' into develop | Mark Haines | 2014-09-03 | 1 | -0/+1 |
|\ | |||||
| * | rate limiting for message sending | Mark Haines | 2014-09-02 | 1 | -0/+1 |
| | | |||||
* | | By default, only room ops can change the name and topic. | Erik Johnston | 2014-09-02 | 1 | -0/+2 |
|/ | |||||
* | Add support for setting room name and topic when creating rooms | Erik Johnston | 2014-09-02 | 1 | -4/+29 |
| | |||||
* | Don't set a 'default' key in the creation event | Erik Johnston | 2014-09-01 | 1 | -1/+0 |
| | |||||
* | Don't put required power levels on permission state events | Erik Johnston | 2014-09-01 | 1 | -2/+4 |
| | |||||
* | Add all the necessary checks to make banning work. | Erik Johnston | 2014-09-01 | 1 | -1/+11 |
| | |||||
* | Add beginnings of ban support. | Erik Johnston | 2014-09-01 | 1 | -20/+29 |
| | |||||
* | Implement power level lists, default power levels and ↵ | Erik Johnston | 2014-09-01 | 1 | -9/+22 |
| | | | | send_evnet_level/add_state_level events. | ||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into room_config | Erik Johnston | 2014-09-01 | 1 | -0/+46 |
|\ | |||||
| * | Renamed get_current_token_part to get_current_key | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -2/+2 |
| | | |||||
| * | Have EventSource's get_new_events_for_user() API work only on keys within ↵ | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -5/+3 |
| | | | | | | | | that source, not overall eventstream tokens | ||||
| * | Rename 'events_key' to 'room_key' so it matches the name of the event source | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -5/+5 |
| | | |||||
| * | Move the *EventSource classes into the handlers they relate to, so it's ↵ | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -0/+48 |
| | | | | | | | | easier to find the code | ||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into room_config | Erik Johnston | 2014-08-29 | 1 | -1/+2 |
|\| | |||||
| * | Fix bug where we used UserID objects instead of strigns | Erik Johnston | 2014-08-28 | 1 | -1/+2 |
| | | |||||
* | | Create the correct events with the right configuration when creating a new room. | Erik Johnston | 2014-08-28 | 1 | -19/+54 |
|/ | |||||
* | Split out MessageHandler | Erik Johnston | 2014-08-27 | 1 | -275/+2 |
| | |||||
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 1 | -28/+41 |
|\ | | | | | | | | | | | Conflicts: synapse/handlers/room.py synapse/storage/stream.py | ||||
| * | Remove stale FIXMEs | Erik Johnston | 2014-08-27 | 1 | -2/+0 |
| | | |||||
| * | Remove store_id from notifier.on_new_room_event calls. | Erik Johnston | 2014-08-27 | 1 | -12/+7 |
| | | |||||
| * | Index sources in a nicer fashion. | Erik Johnston | 2014-08-27 | 1 | -2/+2 |
| | | |||||
| * | Convert get_paginat_rows to use PaginationConfig. This allows people to ↵ | Erik Johnston | 2014-08-27 | 1 | -8/+7 |
| | | | | | | | | supply directions. | ||||
| * | PEP8 tweaks. | Erik Johnston | 2014-08-27 | 1 | -3/+9 |
| | | |||||
| * | Implement presence event source. Change the way the notifier indexes listeners | Erik Johnston | 2014-08-27 | 1 | -5/+10 |
| | | |||||
| * | Enable presence again. Fix up api to match old api. | Erik Johnston | 2014-08-26 | 1 | -2/+2 |
| | | |||||
| * | WIP: Completely change how event streaming and pagination work. This ↵ | Erik Johnston | 2014-08-26 | 1 | -21/+25 |
| | | | | | | | | reflects the change in the underlying storage model. | ||||
* | | add _get_room_member, fix datastore methods | Mark Haines | 2014-08-27 | 1 | -1/+1 |
| | | |||||
* | | Start updating state handling to use snapshots | Mark Haines | 2014-08-27 | 1 | -3/+10 |
| | | |||||
* | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 1 | -1/+5 |
|\| | |||||
| * | Respect 'limit' param in initialSync api | Erik Johnston | 2014-08-26 | 1 | -1/+5 |
| | | |||||
* | | Fold federation/handler into handlers/federation | Mark Haines | 2014-08-26 | 1 | -1/+2 |
| | | |||||
* | | Move new event boilerplate in room handlers into a method on a base clase. | Mark Haines | 2014-08-26 | 1 | -51/+14 |
| | | |||||
* | | Use state_key rather than target_user_id | Mark Haines | 2014-08-26 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-26 | 1 | -13/+36 |
|\| | | | | | | | | | | | | | Conflicts: synapse/api/auth.py synapse/handlers/room.py synapse/storage/__init__.py | ||||
| * | Fix pyflakes errors | Mark Haines | 2014-08-26 | 1 | -5/+1 |
| | | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Kegan Dougal | 2014-08-26 | 1 | -4/+29 |
| |\ | | | | | | | | | | client_server_url_rename | ||||
| | * | Turn off more spammy logging. | Erik Johnston | 2014-08-22 | 1 | -1/+1 |
| | | | |||||
| | * | Change IM sync api to also return the current presence list. | Erik Johnston | 2014-08-21 | 1 | -3/+21 |
| | | | |||||
| | * | In the initial sync api, return the inviter for rooms in the 'invited' state | Erik Johnston | 2014-08-21 | 1 | -0/+4 |
| | | | |||||
| | * | Return the current state in the initial sync api. | Erik Johnston | 2014-08-21 | 1 | -0/+3 |
| | | | |||||
| * | | Removed member list servlet: now using generic state paths. | Kegan Dougal | 2014-08-26 | 1 | -7/+9 |
| |/ | |||||
* | | fix a few pyflakes errors | Mark Haines | 2014-08-26 | 1 | -4/+3 |
| | | |||||
* | | Take a snapshot of the state of the room before performing updates | Mark Haines | 2014-08-22 | 1 | -42/+55 |
|/ | |||||
* | Use the "collect_presencelike_data" distributor signal instead of ↵ | Paul "LeoNerd" Evans | 2014-08-20 | 1 | -30/+2 |
| | | | | re-implementing its behaviour | ||||
* | Fix exception name in _fill_out_join_content() exception | Paul "LeoNerd" Evans | 2014-08-20 | 1 | -1/+3 |
| | |||||
* | Kill the "_homeserver_" injected messages for room membership changes | Paul "LeoNerd" Evans | 2014-08-20 | 1 | -56/+4 |
| | |||||
* | Better handle the edge cases of trying to remote join rooms | Erik Johnston | 2014-08-20 | 1 | -37/+10 |
| | |||||
* | Don't generate room membership messages. Include previous state of in ↵ | Erik Johnston | 2014-08-20 | 1 | -7/+10 |
| | | | | membership messages. | ||||
* | Change the way pagination works to support out of order events. | Erik Johnston | 2014-08-19 | 1 | -1/+2 |
| | |||||
* | Fix typos in SQL and where we still had rowid's (which no longer exist) | Erik Johnston | 2014-08-18 | 1 | -1/+1 |
| | |||||
* | Make snapshot_all_rooms return results in the correct form, including start ↵ | Erik Johnston | 2014-08-18 | 1 | -2/+7 |
| | | | | and end tokens. | ||||
* | Disable the ability to GET individualy messages. We need to think about the ↵ | Erik Johnston | 2014-08-18 | 1 | -5/+7 |
| | | | | correct API to do this, as the current one doesn't make much sense. | ||||
* | Fix typo of key name | Erik Johnston | 2014-08-15 | 1 | -1/+1 |
| | |||||
* | PEP8 cleanups | Erik Johnston | 2014-08-15 | 1 | -7/+10 |
| | |||||
* | Fix pagination to work with new db schema | Erik Johnston | 2014-08-15 | 1 | -24/+24 |
| | |||||
* | Correctly return new token when returning events. Serialize events correctly. | Erik Johnston | 2014-08-15 | 1 | -1/+4 |
| | |||||
* | Start chagning the events stream to work with the new DB schema | Erik Johnston | 2014-08-15 | 1 | -36/+43 |
| | |||||
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-15 | 1 | -2/+2 |
|\ | | | | | | | | | Conflicts: synapse/storage/stream.py | ||||
| * | Reflect user's messages up to themselves before pushing it to federatoin; ↵ | Paul "LeoNerd" Evans | 2014-08-14 | 1 | -2/+2 |
| | | | | | | | | also release roomlock before touching federation so we don't halt progress on the world | ||||
* | | Reimplement the get public rooms api to work with new DB schema | Erik Johnston | 2014-08-15 | 1 | -1/+1 |
| | | |||||
* | | Fix up typos and correct sql queries | Erik Johnston | 2014-08-14 | 1 | -8/+2 |
| | | |||||
* | | Start fixing places that use the data store. | Erik Johnston | 2014-08-14 | 1 | -13/+4 |
|/ | |||||
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 1 | -0/+1 |
| | |||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+808 |