Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make retrying requests on DNS failures configurable, and turn off retrying ↵ | Kegan Dougal | 2014-09-03 | 1 | -1/+5 |
| | | | | only in directory.get_association | ||||
* | Implement presence state visibilty limiting when polling eventsource for stream | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -9/+57 |
| | |||||
* | Update API docs to use 'presence' key not 'state'. Fixed error messages when ↵ | Kegan Dougal | 2014-09-03 | 1 | -1/+1 |
| | | | | setting presence. | ||||
* | Fixed GET /events/$id to be not broken. | Kegan Dougal | 2014-09-03 | 1 | -1/+3 |
| | |||||
* | Rename the 'do_users_share_a_room' to something slightly less verb-sounding | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -1/+1 |
| | |||||
* | Neater is_presence_visible() code | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -9/+8 |
| | |||||
* | Add copyright notices and fix pyflakes errors | Mark Haines | 2014-09-03 | 1 | -2/+0 |
| | |||||
* | Set status message for ratelimit error responses | Mark Haines | 2014-09-03 | 1 | -1/+1 |
| | |||||
* | Merge branch 'ratelimiting' into develop | Mark Haines | 2014-09-03 | 3 | -0/+18 |
|\ | |||||
| * | Raise LimitExceedError when the ratelimiting is throttling requests | Mark Haines | 2014-09-03 | 1 | -4/+2 |
| | | |||||
| * | rate limiting for message sending | Mark Haines | 2014-09-02 | 3 | -2/+5 |
| | | |||||
| * | Add ratelimiting function to basehandler | Mark Haines | 2014-09-02 | 1 | -0/+17 |
| | | |||||
* | | Safer handling of incoming presence EDUs that may or maynot contain ↵ | Paul "LeoNerd" Evans | 2014-09-02 | 1 | -3/+13 |
| | | | | | | | | 'presence' or 'state' | ||||
* | | 'continue' to go to the next item in a for loop, not 'break' | Paul "LeoNerd" Evans | 2014-09-02 | 1 | -1/+1 |
| | | |||||
* | | By default, only room ops can change the name and topic. | Erik Johnston | 2014-09-02 | 1 | -0/+2 |
|/ | |||||
* | Add message to assertion | Erik Johnston | 2014-09-02 | 1 | -1/+1 |
| | |||||
* | Add support for setting room name and topic when creating rooms | Erik Johnston | 2014-09-02 | 1 | -4/+29 |
| | |||||
* | Reënable presence visibility permission checking now it's not used on ↵ | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -4/+0 |
| | | | | redundant code paths | ||||
* | No need to test is_presence_visible in _start_polling_local because we know ↵ | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -4/+0 |
| | | | | it will be by when it's called | ||||
* | 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 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into room_config | Erik Johnston | 2014-09-01 | 2 | -33/+93 |
|\ | |||||
| * | Bump a user's presence last_active time every time they send a message to a room | Paul "LeoNerd" Evans | 2014-09-01 | 2 | -0/+10 |
| | | |||||
| * | Perform room unit tests with 'local' users actually in the right domain ;) | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -0/+4 |
| | | |||||
| * | Rename API-visible 'mtime' presence field to 'last_active'; slightly ↵ | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -23/+49 |
| | | | | | | | | different semantics | ||||
| * | Rename 'state' presence key to the much more obvious 'presence'; maintain a ↵ | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -11/+31 |
| | | | | | | | | legacy 'state' copy for now | ||||
* | | 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 | 4 | -12/+143 |
|\| | |||||
| * | Bugfixes on presence pushes on user joining: | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -9/+8 |
| | | | | | | | | | | | | | | | | | | * No need to inform clients of status of remote users; as that will arrive in due course anyway. We don't -have- the state currently, so we'd only send an unknown message * Remember to bump the presence serial for the event source, so the notifiers will wake up and report it | ||||
| * | Renamed get_current_token_part to get_current_key | Paul "LeoNerd" Evans | 2014-08-29 | 3 | -4/+4 |
| | | |||||
| * | Have EventSource's get_new_events_for_user() API work only on keys within ↵ | Paul "LeoNerd" Evans | 2014-08-29 | 3 | -17/+9 |
| | | | | | | | | that source, not overall eventstream tokens | ||||
| * | TypingNotificationEventSource has to return proper tokens, not int 0 | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -2/+2 |
| | | |||||
| * | Rename 'events_key' to 'room_key' so it matches the name of the event source | Paul "LeoNerd" Evans | 2014-08-29 | 2 | -8/+8 |
| | | |||||
| * | Define a new event stream data source for typing notifications (currently null) | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -0/+14 |
| | | |||||
| * | Move the *EventSource classes into the handlers they relate to, so it's ↵ | Paul "LeoNerd" Evans | 2014-08-29 | 2 | -0/+126 |
| | | | | | | | | easier to find the code | ||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into room_config | Erik Johnston | 2014-08-29 | 7 | -134/+166 |
|\| | |||||
| * | Get the equalities right. | Erik Johnston | 2014-08-29 | 1 | -2/+5 |
| | | |||||
| * | Merge branch 'presence_logging' into develop | Erik Johnston | 2014-08-29 | 2 | -90/+132 |
| |\ | |||||
| | * | Fix a couple of bugs in presence handler related to pushing updatesto the ↵ | Erik Johnston | 2014-08-29 | 1 | -18/+41 |
| | | | | | | | | | | | | correct user. Fix presence tests. | ||||
| | * | Turn of trace_function logging | Erik Johnston | 2014-08-28 | 1 | -8/+8 |
| | | | |||||
| | * | Only poll remote users if they are in our presence list, rather than in a ↵ | Erik Johnston | 2014-08-28 | 1 | -53/+66 |
| | | | | | | | | | | | | common room | ||||
| | * | Don't query the rooms members table so much by using the new notifier api ↵ | Erik Johnston | 2014-08-28 | 2 | -62/+46 |
| | | | | | | | | | | | | that allows you to specify room_ids to notify. | ||||
| | * | Merge branch 'develop' of github.com:matrix-org/synapse into presence_logging | Erik Johnston | 2014-08-28 | 4 | -40/+34 |
| | |\ | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/presence.py | ||||
| | * | | Up timeout to 10 minutes | Erik Johnston | 2014-08-28 | 1 | -1/+1 |
| | | | | |||||
| | * | | And more logging. | Erik Johnston | 2014-08-28 | 1 | -0/+1 |
| | | | | |||||
| | * | | Add more logging. Up the event stream timer to 10s | Erik Johnston | 2014-08-28 | 2 | -1/+4 |
| | | | | |||||
| | * | | Add logging to try and figure out what is going on with the presence stuff | Erik Johnston | 2014-08-28 | 2 | -2/+12 |
| | | | | |||||
| * | | | Fix FederationHandler to event.origin | Mark Haines | 2014-08-28 | 1 | -1/+1 |
| | |/ | |/| | |||||
| * | | Only send presence "poll"/"unpoll" EDUs when changing from/to zero remotes | Paul "LeoNerd" Evans | 2014-08-28 | 1 | -2/+14 |
| | | | |||||
| * | | Re-enable presence, un-skip presence tests | Paul "LeoNerd" Evans | 2014-08-28 | 1 | -8/+0 |
| | | | |||||
| * | | Remove get_state_for_room function from federation handler | Mark Haines | 2014-08-28 | 1 | -15/+11 |
| | | | |||||
| * | | Fix pyflakes warnings | Mark Haines | 2014-08-28 | 3 | -5/+4 |
| | | | |||||
| * | | Merge backfill_ and backfill in federation handler | Mark Haines | 2014-08-28 | 1 | -18/+5 |
| |/ | |||||
| * | 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 | 3 | -276/+305 |
| | |||||
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: tests/handlers/test_federation.py tests/handlers/test_room.py | ||||
* | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 5 | -145/+76 |
|\| | | | | | | | | | | | 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 | 2 | -13/+8 |
| | | |||||
| * | Turn off presence again. | Erik Johnston | 2014-08-27 | 1 | -2/+2 |
| | | |||||
| * | 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 | 2 | -4/+9 |
| | | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor | Erik Johnston | 2014-08-27 | 3 | -23/+227 |
| |\ | | | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/events.py synapse/rest/events.py synapse/rest/room.py | ||||
| * | | Implement presence event source. Change the way the notifier indexes listeners | Erik Johnston | 2014-08-27 | 3 | -12/+17 |
| | | | |||||
| * | | Enable presence again. Fix up api to match old api. | Erik Johnston | 2014-08-26 | 3 | -7/+14 |
| | | | |||||
| * | | WIP: Completely change how event streaming and pagination work. This ↵ | Erik Johnston | 2014-08-26 | 3 | -158/+44 |
| | | | | | | | | | | | | reflects the change in the underlying storage model. | ||||
* | | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 2 | -0/+148 |
|\ \ \ | | |/ | |/| | |||||
| * | | Initial typing notification support - EDU federation, but no timers, and no ↵ | Paul "LeoNerd" Evans | 2014-08-27 | 2 | -0/+148 |
| | | | | | | | | | | | | actual push to clients | ||||
* | | | add _get_room_member, fix datastore methods | Mark Haines | 2014-08-27 | 2 | -3/+4 |
| | | | |||||
* | | | Start updating state handling to use snapshots | Mark Haines | 2014-08-27 | 1 | -3/+10 |
| | | | |||||
* | | | Fill out prev_events before calling persist_event | Mark Haines | 2014-08-27 | 2 | -59/+13 |
| | | | |||||
* | | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 3 | -2/+33 |
|\| | | |||||
| * | | Added support for GET /events/$eventid with auth checks. | Kegan Dougal | 2014-08-27 | 2 | -1/+28 |
| |/ | |||||
| * | 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 | 3 | -10/+138 |
| | | |||||
* | | Move new event boilerplate in room handlers into a method on a base clase. | Mark Haines | 2014-08-26 | 2 | -52/+33 |
| | | |||||
* | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-26 | 1 | -1/+1 |
|\| | |||||
| * | Use state_key rather than target_user_id | Mark Haines | 2014-08-26 | 1 | -1/+1 |
| | | |||||
* | | 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 | 4 | -23/+79 |
|\| | | | | | | | | | | | | | Conflicts: synapse/api/auth.py synapse/handlers/room.py synapse/storage/__init__.py | ||||
| * | Fix pyflakes errors | Mark Haines | 2014-08-26 | 3 | -7/+3 |
| | | |||||
| * | Add a do_users_share_a_room method and use that in the presence handler. | Erik Johnston | 2014-08-26 | 1 | -5/+4 |
| | | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Kegan Dougal | 2014-08-26 | 4 | -6/+65 |
| |\ | | | | | | | | | | client_server_url_rename | ||||
| | * | Oops, we need to use defer.returnValue. | Erik Johnston | 2014-08-22 | 1 | -1/+2 |
| | | | |||||
| | * | Make is_presence_visible always return true as it was thrashing the database. | Erik Johnston | 2014-08-22 | 1 | -0/+3 |
| | | | |||||
| | * | Turn off more spammy logging. | Erik Johnston | 2014-08-22 | 1 | -1/+1 |
| | | | |||||
| | * | Add indices to schema | Erik Johnston | 2014-08-22 | 1 | -0/+4 |
| | | | |||||
| | * | 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 |
| | | | |||||
| | * | Wait for getting a Join in response to an invite/join dance. | Erik Johnston | 2014-08-21 | 2 | -2/+28 |
| | | | |||||
| * | | Removed member list servlet: now using generic state paths. | Kegan Dougal | 2014-08-26 | 2 | -8/+10 |
| |/ | |||||
* | | 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 | 2 | -37/+88 |
| | |||||
* | Don't generate room membership messages. Include previous state of in ↵ | Erik Johnston | 2014-08-20 | 1 | -7/+10 |
| | | | | membership messages. | ||||
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-19 | 1 | -3/+0 |
|\ | |||||
| * | Don't delete OFFLINE users from the presence cache, so we can report on ↵ | Paul "LeoNerd" Evans | 2014-08-19 | 1 | -3/+0 |
| | | | | | | | | their offline mtime | ||||
* | | PresenceStreamData was expecting *_key to be ints | Erik Johnston | 2014-08-19 | 1 | -0/+3 |
| | | |||||
* | | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-19 | 1 | -3/+7 |
|\| | | | | | | | | | | | | | Conflicts: tests/rest/test_presence.py tests/rest/test_rooms.py tests/utils.py | ||||
| * | Perform the 'REST'-level tests of Presence against the real Presence handler ↵ | Paul "LeoNerd" Evans | 2014-08-19 | 1 | -1/+1 |
| | | | | | | | | as well, mocking out the datastore beneath it | ||||
| * | Implement and test presence dropping of remote users | Paul "LeoNerd" Evans | 2014-08-19 | 1 | -2/+6 |
| | | |||||
* | | Print out stacktrace when we failed to persist event. | Erik Johnston | 2014-08-19 | 1 | -1/+1 |
| | | |||||
* | | Add a 'backfill room' button | Erik Johnston | 2014-08-19 | 1 | -3/+18 |
| | | |||||
* | | Change the way pagination works to support out of order events. | Erik Johnston | 2014-08-19 | 2 | -2/+3 |
| | | |||||
* | | 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. | ||||
* | | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-18 | 1 | -7/+5 |
|\| | |||||
| * | Allow room presence visibility between users who share a room | Paul "LeoNerd" Evans | 2014-08-18 | 1 | -7/+5 |
| | | |||||
* | | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-18 | 1 | -2/+7 |
|\| | |||||
| * | improve comment | Matthew Hodgson | 2014-08-16 | 1 | -1/+1 |
| | | |||||
| * | emergency bodges to turn off presence ACLs in order to make | Matthew Hodgson | 2014-08-16 | 1 | -2/+7 |
| | | | | | | | | matrix.org:8080 actually work | ||||
* | | 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. | ||||
* | | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-15 | 1 | -3/+12 |
|\| | |||||
| * | When starting to poll for presence, also include members of all shared rooms | Paul "LeoNerd" Evans | 2014-08-15 | 1 | -3/+12 |
| | | |||||
* | | 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 | 2 | -42/+45 |
| | | |||||
* | | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-15 | 4 | -16/+20 |
|\| | | | | | | | | | Conflicts: synapse/storage/stream.py | ||||
| * | Pass back the user_id in the response to /login in case it has changed. ↵ | Kegan Dougal | 2014-08-14 | 1 | -5/+1 |
| | | | | | | | | Store and use that on the webclient rather than the input field. | ||||
| * | hs: Make /login accept full user IDs or just local parts. webclient: Only ↵ | Kegan Dougal | 2014-08-14 | 1 | -1/+5 |
| | | | | | | | | enable Register button when both password fields match. | ||||
| * | 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 | ||||
| * | Send forbidden codes when doing login attempts. | Kegan Dougal | 2014-08-14 | 1 | -3/+3 |
| | | |||||
| * | Round Presence mtime and mtime_age to nearest msec; avoids floats for msec ↵ | Paul "LeoNerd" Evans | 2014-08-14 | 1 | -5/+15 |
| | | | | | | | | values over the wire | ||||
| * | Added a urls module for keeping client and federation prefixes. | Kegan Dougal | 2014-08-14 | 1 | -6/+0 |
| | | |||||
* | | 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 |
|/ | |||||
* | An initial hack at storing presence state-change mtimes in database and ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -7/+34 |
| | | | | presenting age durations to clients/federation events | ||||
* | Implement directory service federation by Federation Queries; avoid ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -20/+28 |
| | | | | local_only hack; add unit tests | ||||
* | Now that HS->HS Profile lookups use Federation Queries, we don't need the ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -8/+4 |
| | | | | 'local_only' antirecursion hack | ||||
* | Use new Federation Query API to implement HS->HS fetching of remote users' ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -25/+41 |
| | | | | profile information instead of (ab)using the client-side REST API | ||||
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 10 | -0/+10 |
| | |||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 10 | -0/+2233 |