summary refs log tree commit diff
path: root/synapse/handlers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #258 from matrix-org/slowtestsmakemesadDaniel Wagner-Hall2015-08-282-4/+26
|\ | | | | Swap out bcrypt for md5 in tests
| * Remove unused importDaniel Wagner-Hall2015-08-261-1/+0
| |
| * Swap out bcrypt for md5 in testsDaniel Wagner-Hall2015-08-262-3/+26
| | | | | | | | This reduces our ~8 second sequential test time down to ~7 seconds
* | Merge branch 'release-v0.10.0' into developMark Haines2015-08-283-27/+29
|\ \ | |/ |/| | | | | | | | | Conflicts: synapse/handlers/auth.py synapse/python_dependencies.py synapse/rest/client/v1/login.py
| * Remove needless existence checksErik Johnston2015-08-261-7/+3
| |
| * Don't loop over all rooms ever in typing.get_new_events_for_userErik Johnston2015-08-261-2/+2
| |
| * Do auth checks *before* persisting the eventErik Johnston2015-08-241-16/+16
| |
| * Don't make pushers handle presence/typing eventsErik Johnston2015-08-241-2/+8
| |
| * Doc stringErik Johnston2015-08-211-0/+6
| |
| * When logging in fetch user by user_id case insensitively, *unless* there are ↵Erik Johnston2015-08-211-8/+23
| | | | | | | | multiple case insensitive matches, in which case require the exact user_id
| * Don't allow people to register user ids which only differ by case to an ↵Erik Johnston2015-08-211-2/+2
| | | | | | | | existing one
* | Merge erikj/user_dedup to developDaniel Wagner-Hall2015-08-262-10/+33
| |
* | Fix up one more referenceDaniel Wagner-Hall2015-08-251-1/+0
| |
* | Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-252-6/+4
| | | | | | | | | | | | | | | | | | | | Removes device_id and ClientInfo device_id is never actually written, and the matrix.org DB has no non-null entries for it. Right now, it's just cluttering up code. This doesn't remove the columns from the database, because that's fiddly.
* | Merge branch 'release-v0.10.0' of github.com:matrix-org/synapse into developErik Johnston2015-08-211-1/+1
|\|
| * Add missing param in store.get_state_groups invocationErik Johnston2015-08-211-1/+1
| |
* | Fix bad mergeDaniel Wagner-Hall2015-08-201-8/+1
| |
* | Fix indentationDaniel Wagner-Hall2015-08-201-1/+2
| |
* | Fix flake8 warningsDaniel Wagner-Hall2015-08-201-4/+6
| |
* | Merge branch 'auth' into refreshDaniel Wagner-Hall2015-08-201-3/+3
|\ \ | | | | | | | | | | | | Conflicts: synapse/handlers/register.py
| * | Remove incorrect whitespaceDaniel Wagner-Hall2015-08-201-3/+3
| | |
| * | Merge branch 'develop' into authDaniel Wagner-Hall2015-08-206-15/+78
| |\|
* | | Merge branch 'develop' into refreshDaniel Wagner-Hall2015-08-204-3/+46
|\ \ \ | | |/ | |/| | | | | | | Conflicts: synapse/rest/client/v1/login.py
| * | Merge pull request #235 from matrix-org/erikj/room_avatarsErik Johnston2015-08-201-2/+3
| |\ \ | | | | | | | | Add m.room.avatar to default power levels.
| | * | Add m.room.avatar to default power levels. Change default required power ↵Erik Johnston2015-08-201-2/+3
| | | | | | | | | | | | | | | | levels of such events to 50
| * | | Another use of check_password that got missed in the yield fixDavid Baker2015-08-201-1/+1
| |/ /
| * | Merge pull request #233 from matrix-org/erikj/canonical_aliasErik Johnston2015-08-202-1/+18
| |\ \ | | | | | | | | Add server side support for canonical aliases
| | * | Check that the canonical room alias actually points to the roomErik Johnston2015-08-201-1/+17
| | | |
| | * | Add canonical alias to the default power levelsErik Johnston2015-08-191-0/+1
| | | |
| * | | Merge pull request #211 from matrix-org/email_in_useMark Haines2015-08-201-0/+25
| |\ \ \ | | | | | | | | | | Changes for unique emails
| | * | | Add endpoint that proxies ID server request token and errors if the given ↵David Baker2015-08-041-0/+25
| | | | | | | | | | | | | | | | | | | | email is in use on this Home Server.
* | | | | /tokenrefresh POST endpointDaniel Wagner-Hall2015-08-201-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows refresh tokens to be exchanged for (access_token, refresh_token). It also starts issuing them on login, though no clients currently interpret them.
* | | | | Move token generation to auth handlerDaniel Wagner-Hall2015-08-202-24/+31
| | | | | | | | | | | | | | | | | | | | | | | | | I prefer the auth handler to worry about all auth, and register to call into it as needed, than to smatter auth logic between the two.
* | | | | Merge branch 'auth' into refreshDaniel Wagner-Hall2015-08-201-6/+13
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| |
| * | | Merge branch 'develop' into authDaniel Wagner-Hall2015-08-192-4/+3
| |\ \ \ | | | |/ | | |/|
| * | | Re-add whitespace around caveat operatorsDaniel Wagner-Hall2015-08-191-4/+4
| | | |
| * | | Remove padding space around caveat operatorsDaniel Wagner-Hall2015-08-181-4/+4
| | | |
| * | | Fix some formatting to use tuplesDaniel Wagner-Hall2015-08-181-4/+4
| | | |
| * | | Merge branch 'develop' into authDaniel Wagner-Hall2015-08-184-49/+136
| |\ \ \
| * | | | Issue macaroons as opaque auth tokensDaniel Wagner-Hall2015-08-181-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This just replaces random bytes with macaroons. The macaroons are not inspected by the client or server. In particular, they claim to have an expiry time, but nothing verifies that they have not expired. Follow-up commits will actually enforce the expiration, and allow for token refresh. See https://bit.ly/matrix-auth for more information
* | | | | Don't get apservice interested rooms in RoomHandler.get_joined_rooms_for_usersErik Johnston2015-08-193-12/+32
| |_|/ / |/| | |
* | | | Remove an access token log lineErik Johnston2015-08-191-1/+1
| | | |
* | | | Fix regression where we incorrectly responded with a 200 to /loginErik Johnston2015-08-191-1/+2
| | | |
* | | | Merge pull request #227 from matrix-org/erikj/receipts_take2Erik Johnston2015-08-181-2/+0
|\ \ \ \ | |_|/ / |/| | | Re-enable receipts API.
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-08-174-122/+86
| |\ \ \ | | | | | | | | | | | | | | | erikj/receipts_take2
| * \ \ \ Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-08-131-7/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | erikj/receipts_take2
| * | | | | Re-enable receiptsErik Johnston2015-08-131-2/+0
| | | | | |
* | | | | | TypoErik Johnston2015-08-181-1/+1
| | | | | |
* | | | | | None checkErik Johnston2015-08-181-0/+2
| | | | | |
* | | | | | More helpful variable namesErik Johnston2015-08-181-7/+7
| | | | | |
* | | | | | Doc stringsErik Johnston2015-08-181-0/+28
| | | | | |
* | | | | | Remove debug try/catchErik Johnston2015-08-181-47/+43
| | | | | |
* | | | | | Implement a batched presence_handler.get_state and use itErik Johnston2015-08-172-12/+69
| |_|/ / / |/| | | |
* | | | | Merge pull request #221 from matrix-org/authDaniel Wagner-Hall2015-08-144-122/+86
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | Simplify LoginHander and AuthHandler
| * | | Merge password checking implementationsDaniel Wagner-Hall2015-08-121-20/+15
| | | |
| * | | Simplify LoginHander and AuthHandlerDaniel Wagner-Hall2015-08-124-108/+77
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | * Merge LoginHandler -> AuthHandler * Add a bunch of documentation * Improve some naming * Remove unused branches I will start merging the actual logic of the two handlers shortly
* | | Remove pointless mapErik Johnston2015-08-131-7/+3
| |/ |/|
* | Fix _filter_events_for_clientErik Johnston2015-08-122-6/+2
| |
* | Simplify staggered deferred listsErik Johnston2015-08-121-2/+2
| |
* | Use list comprehension instead of filterErik Johnston2015-08-122-20/+6
| |
* | Remove debug loggersErik Johnston2015-08-112-6/+0
| |
* | Fix application of ACLsErik Johnston2015-08-113-14/+30
| |
* | Don't be too enthusiatic with defer.gatherResultsErik Johnston2015-08-071-4/+8
| |
* | Use dictionary cache to do group -> state fetchingErik Johnston2015-08-051-1/+1
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/acl_perfErik Johnston2015-08-041-1/+1
|\|
| * Add vector.im as trusted ID serverDavid Baker2015-08-031-1/+1
| |
* | Speed up event filtering (for ACL) logicErik Johnston2015-08-043-3/+15
|/
* Fix v2_alpha registration. Add unit tests.Kegan Dougal2015-07-281-1/+2
| | | | | | | | V2 Registration forced everyone (including ASes) to create a password for a user, when ASes should be able to omit passwords. Also unbreak AS registration in general which checked too early if the given username was claimed by an AS; it was checked before knowing if the AS was the one doing the registration! Add unit tests for AS reg, user reg and disabled_registration flag.
* Disable receipts for nowMatrix2015-07-221-0/+2
|
* Don't do any database hits in receipt handling if from_key == to_keyMatrix2015-07-181-0/+3
|
* Merge pull request #199 from matrix-org/erikj/receiptsErik Johnston2015-07-165-5/+224
|\ | | | | Implement read receipts.
| * DocsErik Johnston2015-07-141-3/+8
| |
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/receiptsErik Johnston2015-07-135-1/+197
| |\
| * | CommentsErik Johnston2015-07-131-4/+12
| | |
| * | Remove spurious commentErik Johnston2015-07-091-2/+0
| | |
| * | Integer timestampsErik Johnston2015-07-091-1/+1
| | |
| * | Change format of receipts to allow inclusion of dataErik Johnston2015-07-091-8/+16
| | |
| * | Add a cache to fetching of receipt streamsErik Johnston2015-07-081-24/+7
| | |
| * | Split receipt events up into one per roomErik Johnston2015-07-081-30/+21
| | |
| * | Hook up receipts to v1 initialSyncErik Johnston2015-07-082-4/+57
| | |
| * | Wire together receipts and the notifer/federationErik Johnston2015-07-071-21/+60
| | |
| * | Fix various typosErik Johnston2015-07-072-2/+6
| | |
| * | Consolidate duplicate code in notifierErik Johnston2015-07-023-4/+4
| | |
| * | Add basic ReceiptHandlerErik Johnston2015-07-011-0/+130
| | |
* | | Merge pull request #203 from matrix-org/erikj/room_creation_presetsErik Johnston2015-07-161-19/+77
|\ \ \ | | | | | | | | Implement presets at room creation
| * | | Implement specifying custom initial state for /createRoomErik Johnston2015-07-161-40/+60
| | | |
| * | | s/everyone_ops/original_invitees_have_ops/Erik Johnston2015-07-141-3/+3
| | | |
| * | | Capitalize contantsErik Johnston2015-07-141-4/+4
| | | |
| * | | Implement presets at room creationErik Johnston2015-07-131-22/+60
| | |/ | |/|
* | | Add back in support for remembering parameters submitted to a ↵David Baker2015-07-151-2/+4
| | | | | | | | | | | | user-interactive auth call.
* | | Merge pull request #193 from matrix-org/erikj/bulk_persist_eventErik Johnston2015-07-141-106/+121
|\ \ \ | |/ / |/| | Add bulk insert events API
| * | Add bulk insert events APIErik Johnston2015-06-251-106/+121
| |/
* | Merge pull request #196 from matrix-org/erikj/room_historyErik Johnston2015-07-104-1/+168
|\ \ | | | | | | Add ability to restrict room history.
| * | Add commentErik Johnston2015-07-091-0/+4
| | |
| * | Add m.room.history_visibility to newly created rooms' m.room.power_levelsErik Johnston2015-07-061-0/+1
| | |
| * | Rename key and values for m.room.history_visibility. Support 'invited' valueErik Johnston2015-07-063-23/+60
| | |
| * | Filter and redact events that the other server doesn't have permission to ↵Erik Johnston2015-07-031-0/+44
| | | | | | | | | | | | see during backfill
| * | Respect m.room.history_visibility in v2_alpha sync APIErik Johnston2015-07-031-0/+33
| | |
| * | Make v1 initial syncs respect room history ACLErik Johnston2015-07-021-17/+34
| | |
| * | Add basic impl for room history ACL on GET /messages client APIErik Johnston2015-07-021-1/+32
| |/
* | code beautifyMuthu Subramanian2015-07-081-1/+0
| |
* | Integrate SAML2 basic authentication - uses pysaml2Muthu Subramanian2015-07-081-0/+30
|/
* Merge pull request #189 from matrix-org/erikj/room_init_syncErik Johnston2015-06-192-35/+45
|\ | | | | Improve room init sync speed.
| * Use another deferred listErik Johnston2015-06-161-18/+27
| |
| * Use DeferredListErik Johnston2015-06-161-9/+9
| |
| * Don't do unecessary db ops in presence.get_stateErik Johnston2015-06-162-14/+15
| |
* | Fix bug where synapse was sending AS user queries incorrectly.Kegan Dougal2015-06-171-1/+1
|/ | | | | | Bug introduced in 92b20713d7c6346aeb20dc09963081e472752bb5 which reversed the comparison when checking if a user existed in the users table. Added UTs to prevent this happening again.
* Merge pull request #176 from matrix-org/erikj/backfill_authErik Johnston2015-06-031-1/+46
|\ | | | | Improve backfill.
| * Add a timeoutErik Johnston2015-06-021-0/+1
| |
| * Handle the fact we might be missing auth eventsErik Johnston2015-06-021-15/+19
| |
| * Add some loggingErik Johnston2015-06-021-0/+5
| |
| * Correctly look up auth_eventsErik Johnston2015-06-021-9/+12
| |
| * Don't process events we've already processed. Remember to process state eventsErik Johnston2015-06-021-0/+22
| |
| * Correctly pass in auth_eventsErik Johnston2015-06-011-1/+11
| |
* | Merge pull request #180 from matrix-org/erikj/prev_state_contextErik Johnston2015-06-031-1/+3
|\ \ | | | | | | Don't needlessly compute prev_state
| * | Don't needlessly compute prev_stateErik Johnston2015-06-031-1/+3
| |/
* / Don't needlessly compute contextErik Johnston2015-06-031-2/+4
|/
* Merge branch 'develop' into markjh/SYT-8-recaptchaMark Haines2015-05-291-0/+1
|\ | | | | | | | | Conflicts: synapse/handlers/auth.py
| * SYN-395: Fix CAPTCHA, don't double decode jsonErik Johnston2015-05-281-2/+3
| |
* | Add config for setting the recaptcha verify api endpoint, so we can test it ↵Mark Haines2015-05-291-3/+3
|/ | | | in sytest
* Merge pull request #163 from matrix-org/markjh/presence_list_cacheMark Haines2015-05-221-9/+15
|\ | | | | Add a cache for the presence list
| * Add a cache for getting the presence list for a userMark Haines2015-05-221-9/+15
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-223-69/+105
|\| | | | | | | erikj/backfill_fixes
| * Merge pull request #156 from matrix-org/erikj/join_perfMark Haines2015-05-221-22/+56
| |\ | | | | | | Make joining #matrix:matrix.org over federation quicker
| * \ Merge pull request #157 from matrix-org/markjh/presence_performanceMark Haines2015-05-221-61/+102
| |\ \ | | | | | | | | Improve presence performance in loadtest
| | * | Remove spurious TODO commentMark Haines2015-05-221-1/+0
| | | |
| | * | Removed unused 'is_visible' methodMark Haines2015-05-201-27/+0
| | | |
| | * | Clean up the presence_list checking logic a bitMark Haines2015-05-201-12/+9
| | | |
| | * | Speed up the get_pagination_rows as wellMark Haines2015-05-181-3/+17
| | | |
| | * | Cache the most recent serial for each roomMark Haines2015-05-181-6/+22
| | | |
| | * | Move updating the serial and state of the presence cache into a single functionMark Haines2015-05-181-17/+43
| | | |
| | * | Merge branch 'notifier_performance' into markjh/presence_performanceMark Haines2015-05-185-14/+28
| | |\ \
| | * | | Add more doc string, reduce C+P boilerplate for getting room listMark Haines2015-05-181-6/+22
| | | | |
| * | | | Remove unused importMark Haines2015-05-221-1/+1
| | | | |
| * | | | Make the appservice use 'users_in_room' rather than get_room_members since ↵Mark Haines2015-05-221-4/+1
| | | | | | | | | | | | | | | | | | | | it is cached
| * | | | Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-05-221-3/+1
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | Add caches for things requested by the pushersMark Haines2015-05-211-3/+1
| | | | |
* | | | | Actually fetch state for new backwards extremeties when backfilling.Erik Johnston2015-05-201-61/+103
| |_|_|/ |/| | |
* | | | Don't apply new room join hack if depth > 5Erik Johnston2015-05-191-3/+6
| | | |
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-195-14/+28
|\| | |
| * | | Merge branch 'develop' into notifier_performanceMark Haines2015-05-184-49/+233
| |\ \ \ | | | |/ | | |/|
| * | | Merge branch 'notifier_unify' into notifier_performanceMark Haines2015-05-142-20/+8
| |\ \ \
| * | | | Fix v2 sync, update the last_notified_ms only if there was an active listenerMark Haines2015-05-141-1/+1
| | | | |
| * | | | Don't bother checking for updates if the stream token hasn't advanced for a userMark Haines2015-05-134-13/+27
| | | | |
* | | | | Do work in parellel when joining a roomErik Johnston2015-05-181-19/+50
| |_|/ / |/| | |
* | | | More whitespaceMark Haines2015-05-151-0/+1
| | | |
* | | | Add some missed argument types, cleanup the whitespace a bitMark Haines2015-05-141-6/+17
| | | |
* | | | More doc-stringsMark Haines2015-05-141-39/+202
| | | |
* | | | Remove unused arguments and doc PresenceHandler.push_update_to_clientsMark Haines2015-05-141-12/+8
| | | |
* | | | Treat setting your display name to the empty string as removing it (SYN-186).David Baker2015-05-141-0/+3
| | | |
* | | | Disallow whitespace in aliases here tooDavid Baker2015-05-141-0/+5
| | | |
* | | | Throw error when creating room if alias contains whitespace #SYN-335David Baker2015-05-141-0/+5
| |/ / |/| |
* | | Don't talk to yourself when backfillingErik Johnston2015-05-121-0/+2
| | |
* | | Revert "Improvement to performance of presence event stream handling"Mark Haines2015-05-121-20/+6
|/ /
* | Merge pull request #147 from matrix-org/presence-performanceMark Haines2015-05-121-6/+20
|\ \ | | | | | | Improvement to performance of presence event stream handling
| * | Use the presence cachemap ordering to early-abort the iteration loopPaul "LeoNerd" Evans2015-05-071-2/+7
| | |
| * | Store presence cachemap in an ordered dict, so that the newer serials will ↵Paul "LeoNerd" Evans2015-05-071-4/+13
| | | | | | | | | | | | be at the end
* | | Merge pull request #144 from matrix-org/erikj/logging_contextMark Haines2015-05-128-59/+66
|\ \ \ | | | | | | | | Preserving logging contexts
| * | | Unwrap defer.gatherResults failuresErik Johnston2015-05-124-6/+9
| | | |
| * | | Fix up leak. Add warnings.Erik Johnston2015-05-084-21/+33
| | | |
| * | | PEP8Erik Johnston2015-05-081-1/+0
| | | |
| * | | Change the way we do logging contexts so that they survive divergencesErik Johnston2015-05-083-32/+25
| |/ /
* | | s/backfil/backfill/Erik Johnston2015-05-121-4/+4
| | |
* | | Typos everywhereErik Johnston2015-05-121-1/+1
| | |
* | | And another typo.Erik Johnston2015-05-121-3/+3
| | |
* | | Err, gatherResults doesn't take a dict...Erik Johnston2015-05-121-4/+7
| | |
* | | Handle the case where the other side is unreachable when backfillingErik Johnston2015-05-121-14/+42
| | |
* | | Make get_current_token accept a direction parameter, which tells whether the ↵Erik Johnston2015-05-122-3/+5
| | | | | | | | | | | | source whether we want a token for going 'forwards' or 'backwards'
* | | Initial hack at wiring together pagination and backfillErik Johnston2015-05-112-3/+115
|/ /
* | revert accidental bcrypt gensalt round reduction from loadtestingMark Haines2015-05-071-1/+1
| |
* | pynacl-0.3.0 was released so we can finally start using it directly from pypiMark Haines2015-05-071-1/+1
|/
* That wasn't a deferredErik Johnston2015-05-012-4/+2
|
* Remove inlineCallbacks from non-generatorErik Johnston2015-05-011-2/+0
|
* Remove some run_on_reactorsErik Johnston2015-05-011-2/+0
|
* More missed get_user_by_id API changesDavid Baker2015-05-011-1/+1
|
* One too many lensErik Johnston2015-05-011-1/+1
|
* Change public room list to use defer.gatherResultsErik Johnston2015-05-011-5/+13
|
* This api now no longer returns an arrayDavid Baker2015-05-011-1/+1
|
* Make simple query rather than long one and then throw away half the resultsErik Johnston2015-04-301-2/+1
|
* Fix off by one in presence token handlingErik Johnston2015-04-291-1/+1
|
* Accept camelcase + underscores in binding tooDavid Baker2015-04-291-2/+17
|
* Fix includesDavid Baker2015-04-291-1/+2
|
* Accept both camelcase and underscore threepid creds for transitionDavid Baker2015-04-291-4/+19
|
* Ensure we never miss any presence updatesErik Johnston2015-04-281-1/+7
|
* Fix typoErik Johnston2015-04-281-1/+1
|
* Ensure the serial returned by presence is always an integerErik Johnston2015-04-281-3/+3
|
* Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-286-117/+434
|\
| * Merge pull request #126 from matrix-org/csauthMark Haines2015-04-285-116/+432
| |\ | | | | | | Client / Server Auth Refactor
| | * Add commentage.David Baker2015-04-271-0/+4
| | |
| | * Change to https for ID server communicationDavid Baker2015-04-241-3/+2
| | |
| | * Use underscores instead of camelcase for id server stuffDavid Baker2015-04-242-12/+12
| | |
| | * pep8David Baker2015-04-241-2/+2
| | |
| | * Merge branch 'develop' into csauthDavid Baker2015-04-242-11/+48
| | |\ | | | | | | | | | | | | | | | | Conflicts: synapse/http/server.py
| | * | Remove ultimately unused feature of saving params from the first call in the ↵David Baker2015-04-231-2/+10
| | | | | | | | | | | | | | | | session: it's probably too open to abuse.
| | * | Password reset, finally.David Baker2015-04-171-1/+7
| | | |
| | * | pep8David Baker2015-04-173-8/+5
| | | |
| | * | make add3pid servlet workDavid Baker2015-04-171-0/+7
| | | |
| | * | Merge branch 'develop' into csauthDavid Baker2015-04-175-48/+93
| | |\ \
| | * | | Need to yield the username check, otherwise very very weird things happen.David Baker2015-04-171-1/+1
| | | | |
| | * | | Oops, left debugging in.David Baker2015-04-161-6/+0
| | | | |
| | * | | Return user ID in use error straight awayDavid Baker2015-04-163-64/+65
| | | | |
| | * | | Dummy login so we can do the first POST request to get login flows without ↵David Baker2015-04-152-3/+9
| | | | | | | | | | | | | | | | | | | | it just succeeding
| | * | | Regstration with email in v2David Baker2015-04-154-22/+116
| | | | |
| | * | | Completely replace fallback auth for C/S V2:David Baker2015-04-011-21/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Now only the auth part goes to fallback, not the whole operation * Auth fallback is a normal API endpoint, not a static page * Params like the recaptcha pubkey can just live in the config Involves a little engineering on JsonResource so its servlets aren't always forced to return JSON. I should document this more, in fact I'll do that now.
| | * | | pep8David Baker2015-03-311-1/+1
| | | | |
| | * | | New registration for C/S API v2. Only ReCAPTCHA working currently.David Baker2015-03-302-14/+87
| | | | |
| | * | | Delete pushers when changing passwordDavid Baker2015-03-261-0/+3
| | | | |
| | * | | pep8 / pyflakesDavid Baker2015-03-231-5/+1
| | | | |
| | * | | Implement password changing (finally) along with a start on making ↵David Baker2015-03-233-44/+116
| | | | | | | | | | | | | | | | | | | | client/server auth more general.
| * | | | Merge branch 'develop' into invite_power_levelPaul "LeoNerd" Evans2015-04-271-7/+44
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Create an 'invite' powerlevel when making new roomsPaul "LeoNerd" Evans2015-04-211-1/+2
| | | | |
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-272-11/+48
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Remove users from the remote_offline_serials list (and clean up empty ↵Paul "LeoNerd" Evans2015-04-231-1/+11
| | | | | | | | | | | | | | | | | | | | elements) when they go online again
| * | | | Don't let the remote offline serial list grow arbitrarily largePaul "LeoNerd" Evans2015-04-231-0/+5
| | | | |
| * | | | Store a list of the presence serial number at which remote users went ↵Paul "LeoNerd" Evans2015-04-231-0/+21
| | | | | | | | | | | | | | | | | | | | offline, so that when we delete them from the cachemap, we can still synthesize OFFLINE events for them (SYN-261)
| * | | | Generate presence event-stream JSON structures directlyPaul "LeoNerd" Evans2015-04-231-8/+9
| |/ / /
| * | / SYN-350: Don't ratelimit the individual events generated during room creationMark Haines2015-04-211-4/+4
| | |/ | |/|
* | | Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-171-2/+14
|\| |
| * | Filter typing nofication events to only those rooms the requesting user is a ↵Paul "LeoNerd" Evans2015-04-151-2/+14
| | | | | | | | | | | | member of (SYN-328)
| * | Have TypingNotificationEventSource.get_new_events_for_user() return a ↵Paul "LeoNerd" Evans2015-04-151-1/+1
| | | | | | | | | | | | deferred, for consistency and extensibility
* | | PEP8Erik Johnston2015-04-161-1/+0
| | |
* | | Don't wait on federation_handler.handle_new_eventErik Johnston2015-04-151-3/+7
| | |
* | | Remove run_on_reactor()sErik Johnston2015-04-151-4/+0
| | |
* | | Do more parellelization for initialSyncErik Johnston2015-04-151-7/+11
| | |
* | | Parellelize initial syncErik Johnston2015-04-151-2/+8
| | |
* | | Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-04-081-4/+36
|\| |
| * | typoErik Johnston2015-04-081-1/+1
| | |
| * | Don't yield on notifying all listenersErik Johnston2015-04-081-4/+36
| | |
* | | Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-04-073-42/+43
|\| |
| * | Fix more AS sender ID thinkos.Kegan Dougal2015-04-011-1/+8
| | | | | | | | | | | | | | | | | | Specifically, the ASes own user ID wasn't being treated as 'exclusive' so a human could nab it. Also, the HS would needlessly send user queries to the AS for its own user ID.
| * | Remove more reg/unreg methods. Read config not database for cache.Kegan Dougal2015-03-311-37/+0
| | |
| * | Merge branch 'develop' into application-services-txn-reliabilityKegan Dougal2015-03-264-9/+34
| |\ \ | | | | | | | | | | | | | | | | Conflicts: synapse/storage/__init__.py
| | * | Reduce activity timer granularity to avoid too many quick updates (SYN-247)Paul "LeoNerd" Evans2015-03-231-0/+8
| | |/
| * | Set the service ID as soon as it is known.Kegan Dougal2015-03-161-1/+1
| | |
| * | Minor PR comment tweaks.Kegan Dougal2015-03-161-2/+8
| | |
| * | Merge branch 'develop' into application-services-txn-reliabilityKegan Dougal2015-03-165-11/+20
| |\ \ | | | | | | | | | | | | | | | | Conflicts: synapse/storage/appservice.py
| * | | Use seconds; start gluing in the AS scheduler into the AS handler.Kegan Dougal2015-03-092-4/+21
| | | |
* | | | Fix unicode database supportErik Johnston2015-03-251-1/+1
| | | |
* | | | Sanitize RoomMemberStoreErik Johnston2015-03-231-19/+0
| | | |
* | | | Sanitize TransactionStoreErik Johnston2015-03-231-1/+1
| |_|/ |/| |
* | | Merge pull request #109 from matrix-org/default_registrationErik Johnston2015-03-181-0/+8
|\ \ \ | | | | | | | | Disable registration by default. Add script to register new users.
| * | | Factor out user id validation checksErik Johnston2015-03-181-0/+8
| | | |
* | | | Clean out event_forward_extremities table when the server rejoins the roomErik Johnston2015-03-181-0/+2
| | | |
* | | | Merge pull request #110 from matrix-org/fix_banErik Johnston2015-03-162-8/+6
|\ \ \ \ | | | | | | | | | | Fix ban
| * | | | Revert incorrect changes to where we send eventsErik Johnston2015-03-161-3/+4
| | | | |
| * | | | Remove concept of context.auth_events, instead use context.current_stateErik Johnston2015-03-162-8/+6
| | | | |
| * | | | Send all membership events to the remote homeserverErik Johnston2015-03-161-4/+3
| | |/ / | |/| |
* | | | Don't block waiting on waking up all the listeners when sending an event.Erik Johnston2015-03-161-1/+10
| |_|/ |/| |
* | | Appease pep8Paul "LeoNerd" Evans2015-03-121-2/+3
| | |
* | | Use _ instead of . as a metric namespacing separator, for PrometheusPaul "LeoNerd" Evans2015-03-121-1/+1
| | |