summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Add two different columns for ordering the events table, one which can be ↵Erik Johnston2014-08-184-19/+33
| | | | used for pagination and one which can be as tokens for notifying clients. Also add a 'processed' field which is currently always set to True
* Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-1817-131/+1232
|\
| * webclient: Tweak namespace of auto-complete directive. ng- should really ↵Kegan Dougal2014-08-182-2/+2
| | | | | | | | only be used for official ng directives.
| * Disabled image upload UIsEmmanuel ROHEE2014-08-182-2/+6
| |
| * Do not start the event stream if the user is not logged in (=if he does not ↵Emmanuel ROHEE2014-08-183-9/+17
| | | | | | | | | | | | has an access token yet) Add isUserLoggedIn to check this.
| * Added another button to upload and send an image.Emmanuel ROHEE2014-08-182-2/+20
| | | | | | | | The text input and its send button for sending an image URL will be removed once we have a true upload image service
| * make my emotes white againMatthew Hodgson2014-08-181-0/+4
| |
| * make text font sizes consistentMatthew Hodgson2014-08-172-13/+26
| | | | | | | | | | | | | | add a gap between bubble-blocks from different users make sent-text lighter than received-text wrap the memberslist text more sensibly fix height of bubbles to match that of avatars (32px)
| * implement html5 notifications. (have to be explicitly requested under Config)Matthew Hodgson2014-08-174-3/+37
| |
| * unbreak login sequence (which spuriously required a sydent server to be ↵Matthew Hodgson2014-08-171-2/+2
| | | | | | | | specified, which login.html was no longer doing...)
| * oops, debugging crept inMatthew Hodgson2014-08-171-1/+0
| |
| * dial down loggingMatthew Hodgson2014-08-171-5/+5
| |
| * - use css3 to make avatars always the right aspect ratioMatthew Hodgson2014-08-173-4/+105
| | | | | | | | - implement slightly overengineered tab/shift-tab autocomplete function
| * autohyperlink messages using linkyMatthew Hodgson2014-08-164-3/+581
| |
| * use minified angular by defaultMatthew Hodgson2014-08-161-2/+2
| |
| * minified angularjs stuff to speed things upMatthew Hodgson2014-08-164-0/+249
| |
| * improve infinite scrolling so it keeps paginating until you have a scrollbar ↵Matthew Hodgson2014-08-161-17/+28
| | | | | | | | (if it can)
| * remove log spamMatthew Hodgson2014-08-161-2/+2
| |
| * disambiguate identical displaynamesMatthew Hodgson2014-08-161-1/+23
| |
| * make presence timestamps less verboseMatthew Hodgson2014-08-161-3/+3
| |
| * roll back b602834 as it made a bizarre subset of avatars go awolMatthew Hodgson2014-08-161-6/+5
| |
| * order the members list by most recently activeMatthew Hodgson2014-08-162-7/+19
| |
| * don't hammer a new hit for every displayname and avatar_url when we already ↵Matthew Hodgson2014-08-161-1/+14
| | | | | | | | have them in the members list...
| * improve commentMatthew Hodgson2014-08-161-1/+1
| |
| * merge weirdnessMatthew Hodgson2014-08-161-1/+1
| |
| * emergency bodges to turn off presence ACLs in order to makeMatthew Hodgson2014-08-161-2/+7
| | | | | | | | matrix.org:8080 actually work
| * retcols is mandatory. i have no idea how this could ever have worked?Matthew Hodgson2014-08-161-0/+1
| |
| * display mtime_age in webclientMatthew Hodgson2014-08-163-10/+33
| |
| * slightly hacky but more functional infinite scrollingMatthew Hodgson2014-08-161-30/+36
| |
| * switch some elements from being styled by class to styled by idMatthew Hodgson2014-08-155-36/+36
| |
| * FormattingKegan Dougal2014-08-152-21/+22
| |
* | Change the MemoryDataStore to implement new storage apiErik Johnston2014-08-181-99/+50
| |
* | Not all event streams returns SynapseEventsErik Johnston2014-08-181-1/+5
| |
* | We don't need to do a json.loads hereErik Johnston2014-08-181-2/+2
| |
* | Ensure we have a 'membership' key in RoomMemberEventsErik Johnston2014-08-181-0/+2
| |
* | Don't bother generating png'sErik Johnston2014-08-181-1/+1
| |
* | Disable the ability to GET individualy messages. We need to think about the ↵Erik Johnston2014-08-182-41/+43
| | | | | | | | 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_refactorErik Johnston2014-08-1511-28/+173
|\|
| * Get presence for members when you enter a room (it was coming down but ↵Kegan Dougal2014-08-151-0/+4
| | | | | | | | wasn't being stored in the right place)
| * Added infinite scrolling. It's sliiiightly buggy in that it jumps down the ↵Kegan Dougal2014-08-157-9/+115
| | | | | | | | list a bit, but it is overall working pretty well. Added ng-infinite-scroll-matrix.js and jquery-1.8.3 as deps.
| * When new invites come down, update the My Rooms list. Added hacks to make ↵Kegan Dougal2014-08-153-16/+32
| | | | | | | | the display name a bit nicer (/im/sync needs to return room aliases / membership events better)
| * Document that /rooms/:room_id/members/list yields profile and presence ↵Paul "LeoNerd" Evans2014-08-151-0/+10
| | | | | | | | information about room members
| * When starting to poll for presence, also include members of all shared roomsPaul "LeoNerd" Evans2014-08-151-3/+12
| |
* | Fix some of the tests to reflect changes in the storage layer.Erik Johnston2014-08-153-39/+11
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-151-0/+7
|\|
| * Also include users' presence when responding to /rooms/:room_id/members/listPaul "LeoNerd" Evans2014-08-151-0/+7
| |
* | Rename method name to not clash with other ones in storage.Erik Johnston2014-08-152-4/+4
| |
* | Fix typo of key nameErik Johnston2014-08-151-1/+1
| |
* | We no longer need to special case room config events.Erik Johnston2014-08-151-2/+2
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-1510-88/+330
|\| | | | | | | | | Conflicts: synapse/storage/roommember.py
| * Fix imsync's SELECT query to only find the rooms I'm actually joined in, not ↵Paul "LeoNerd" Evans2014-08-151-2/+5
| | | | | | | | every room I have ever joined
| * Create a room-nuking script as it's useful for emergency debuggingPaul "LeoNerd" Evans2014-08-151-0/+24
| |
| * Remove old polling stuff from RoomController. Added service comments. Do not ↵Kegan Dougal2014-08-154-45/+20
| | | | | | | | start the event stream on startup unless you have credentials.
| * Event streaming now happens on an app level, rather than a per-room level. ↵Kegan Dougal2014-08-155-19/+76
| | | | | | | | Make eventStreamService manage it's own repolling provided no one calls stop() on it. Couple the stream with eventHandlerService so any controller can just blithely call eventStreamService.resume() and expect to 'get stuff' without having to handle promises (though resume() still returns a promise for that request and proxies it through $q). Kill and reset the stream if you logout.
| * Store messages in $rootScope so they can be accessed from multiple ↵Kegan Dougal2014-08-153-12/+29
| | | | | | | | controllers without duplicated storage for each. This also gives updates.
| * Added event handler service which.. handles events. More specifically, it ↵Kegan Dougal2014-08-155-32/+124
| | | | | | | | $broadcasts events depending on their type, and does processing on events (shuffling keys, adding events to $rootScope so displays will automatically update, sending delivery receipts, and so on). Some of this logic was previously contained in the RoomController, which fails the moment you add >1 room into the mix, hence requiring a Service to handle events, rather than having each individual controller maintain their part of the world.
| * Added event stream service which neatly blobs together requests / state for ↵Kegan Dougal2014-08-155-14/+91
| | | | | | | | the event stream. This depends on matrix service to do the actual hit. Currently this has exactly the same behaviour as before.
* | PEP8 cleanupsErik Johnston2014-08-157-16/+29
| |
* | Comment.Erik Johnston2014-08-151-0/+1
| |
* | Support generic events.Erik Johnston2014-08-152-5/+8
| |
* | Fix bug when generating a key when get_room_events_stream returned zero rowsErik Johnston2014-08-151-3/+7
| |
* | Actually use MAX_STREAM_SIZE constant.Erik Johnston2014-08-151-1/+1
| |
* | Fix pagination to work with new db schemaErik Johnston2014-08-152-31/+48
| |
* | Correctly return new token when returning events. Serialize events correctly.Erik Johnston2014-08-155-9/+25
| |
* | Start chagning the events stream to work with the new DB schemaErik Johnston2014-08-158-118/+102
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-1547-270/+714
|\| | | | | | | | | Conflicts: synapse/storage/stream.py
| * Add a check to make sure that during state conflict res we only request a ↵Erik Johnston2014-08-152-2/+13
| | | | | | | | PDU we don't have.
| * Fix pontenial bug in state resolution handler that compared dicts rather ↵Erik Johnston2014-08-151-1/+4
| | | | | | | | than their id's
| * Remember to reflect membership LEAVE events to the leaving member so they ↵Paul "LeoNerd" Evans2014-08-151-0/+4
| | | | | | | | know it happened
| * Updated README about -w in all the places.Kegan Dougal2014-08-151-3/+3
| |
| * s/Synapse/Matrix/Matthew Hodgson2014-08-141-3/+3
| |
| * It's called Matrix :)Matthew Hodgson2014-08-141-11/+11
| |
| * manual syutilMatthew Hodgson2014-08-141-0/+4
| |
| * Update README to mention -w and remove SimpleHTTPServerKegan Dougal2014-08-141-9/+3
| |
| * Add documentation about Federation Queries and EDUsPaul "LeoNerd" Evans2014-08-141-9/+59
| |
| * fix linewrapMatthew Hodgson2014-08-141-1/+2
| |
| * More helpful display when the event stream fails, wiping it when the ↵Kegan Dougal2014-08-142-5/+10
| | | | | | | | connection is regained.
| * We can now upload avatar image somewhereEmmanuel ROHEE2014-08-141-4/+13
| |
| * Create a temporary upload service server side (by hacking ↵Emmanuel ROHEE2014-08-141-0/+1
| | | | | | | | demos/webserver.py) and client side with an angularjs service component.
| * Create a temporary upload service server side (by hacking ↵Emmanuel ROHEE2014-08-142-1/+71
| | | | | | | | demos/webserver.py) and client side with an angularjs service component.
| * webclient: You can now paginate in rooms. Defaults to 10 messages, with a ↵Kegan Dougal2014-08-144-21/+74
| | | | | | | | button to get more (needs to be hooked into infini-scrolling).
| * Pass back the user_id in the response to /login in case it has changed. ↵Kegan Dougal2014-08-144-7/+9
| | | | | | | | 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 Dougal2014-08-143-8/+6
| | | | | | | | enable Register button when both password fields match.
| * Reflect user's messages up to themselves before pushing it to federatoin; ↵Paul "LeoNerd" Evans2014-08-141-2/+2
| | | | | | | | also release roomlock before touching federation so we don't halt progress on the world
| * We really don't need debug logging of all the SQL statements we execute; ↵Paul "LeoNerd" Evans2014-08-141-4/+0
| | | | | | | | we're quite happy these all work now
| * Auto-correct the username when logging in if there isn't an @Kegan Dougal2014-08-141-0/+6
| |
| * Put some DEBUG logging in lockutils.py so we can debug roomlocksPaul "LeoNerd" Evans2014-08-141-3/+9
| |
| * Be more helpful when failing to register/login, stating why (communication ↵Kegan Dougal2014-08-142-6/+18
| | | | | | | | error, user in user, wrong credentials, etc). Make the HS send M_USER_IN_USE.
| * Finish up room controller too. May have missed one or two, but testing ↵Kegan Dougal2014-08-141-14/+14
| | | | | | | | didn't pick anything up.
| * Added extra nesting .data and rename callback to be response not dataKegan Dougal2014-08-142-31/+31
| |
| * Move the unknown token broadcast to the interceptor. Return the $http ↵Kegan Dougal2014-08-144-30/+16
| | | | | | | | promise and not a wrapped one via $q. Everything now needs a level deeper nesting. Fixed registration and login.
| * Added an access token interceptor to check unknown tokens.Kegan Dougal2014-08-141-3/+19
| |
| * Send forbidden codes when doing login attempts.Kegan Dougal2014-08-141-3/+3
| |
| * Round Presence mtime and mtime_age to nearest msec; avoids floats for msec ↵Paul "LeoNerd" Evans2014-08-141-5/+15
| | | | | | | | values over the wire
| * Change relative db paths to absolute paths in case we daemonize.Erik Johnston2014-08-141-2/+9
| |
| * chmod +x homeserver.pyPaul "LeoNerd" Evans2014-08-141-0/+0
| |
| * Detect when the user access token is no more valid and log the user out in ↵Emmanuel ROHEE2014-08-142-4/+20
| | | | | | | | this case
| * Guess the home server URL on the login screen by inspecting the URL of the ↵Kegan Dougal2014-08-141-1/+9
| | | | | | | | web client.
| * Added M_UNKNOWN_TOKEN error code and send it when there is an unrecognised ↵Kegan Dougal2014-08-143-3/+8
| | | | | | | | access_token
| * BF: Use ng-srcEmmanuel ROHEE2014-08-141-1/+1
| |
| * Default error code BAD_PAGINATION for EventStreamErrorsKegan Dougal2014-08-141-1/+4
| |
| * Added web client prefixKegan Dougal2014-08-142-4/+5
| |
| * Added a urls module for keeping client and federation prefixes.Kegan Dougal2014-08-145-14/+23
| |
| * If the web client is enabled, automatically redirect root '/' to the web ↵Kegan Dougal2014-08-142-4/+30
| | | | | | | | client path.
| * Fixed dynamic resource mapping to clobber dummy Resources with the actual ↵Kegan Dougal2014-08-141-5/+27
| | | | | | | | desired Resource in the event of a collision (as is the case for '/matrix/client' and '/matrix/client/api/v1')
| * Use ng-srcEmmanuel ROHEE2014-08-141-1/+1
| |
| * Show avatar in profile section and added a button to select a file (not yet ↵Emmanuel ROHEE2014-08-143-6/+45
| | | | | | | | wired to upload service)
| * Merge remote-tracking branch 'origin/master'Emmanuel ROHEE2014-08-1416-93/+123
| |\
| | * Honour the -w flag to enable the web client at /matrix/clientKegan Dougal2014-08-141-5/+8
| | |
| | * Removed http_server from HomeServer. Updated unit tests to use either ↵Kegan Dougal2014-08-1412-30/+21
| | | | | | | | | | | | resource_for_federation or resource_for_client depending on what is being tested.
| | * Make federation use resource_for_federation as well.Kegan Dougal2014-08-144-49/+5
| | |
| | * Start phasing out HttpServer: we should be using Resources instead. Added ↵Kegan Dougal2014-08-147-21/+101
| | | | | | | | | | | | resource_for_client/federation/web_client to the HomeServer and hooked the C-S servlets to operate on resource_for_client. Dynamically construct the Resource tree.
| * | Created m-file-input. A directive to open a file selection dialog on ↵Emmanuel ROHEE2014-08-142-0/+44
| |/ | | | | | | whatever HTML element
* | Reimplement the get public rooms api to work with new DB schemaErik Johnston2014-08-157-37/+101
| |
* | Fix up typos and correct sql queriesErik Johnston2014-08-146-44/+36
| |
* | Update StreamStoreErik Johnston2014-08-141-245/+36
| |
* | Start fixing places that use the data store.Erik Johnston2014-08-146-39/+33
| |
* | Fix typoErik Johnston2014-08-141-1/+1
| |
* | Rename _execute_queryErik Johnston2014-08-144-4/+4
| |
* | Fix up RoomMemberStore to work with the new schema.Erik Johnston2014-08-143-97/+79
| |
* | Actually encode dicts as json in the DBErik Johnston2014-08-142-3/+4
| |
* | Change relative db paths to absolute paths in case we daemonize.Erik Johnston2014-08-141-2/+9
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-1435-188/+412
|\| | | | | | | | | Conflicts: synapse/storage/_base.py
| * grammar fix v0.0.0 alphaMatthew Hodgson2014-08-141-2/+2
| |
| * fix emote presentationMatthew Hodgson2014-08-141-1/+1
| |
| * fix http client GET parameters; somehow missing named param. how could this ↵Matthew Hodgson2014-08-141-2/+2
| | | | | | | | have ever worked!?
| * config cssMatthew Hodgson2014-08-141-0/+12
| |
| * completely change the CSS to be an entirely 'position: absolute' layout ↵Matthew Hodgson2014-08-146-29/+46
| | | | | | | | rather than top-to-bottom. makes the overscroll much more predictable and sane and not dependent on CSS expressions.
| * fix whitespaceMatthew Hodgson2014-08-141-0/+1
| |
| * Consistent capitalisation of 'Matrix' as a proper noun in README; 80 col wrapPaul "LeoNerd" Evans2014-08-131-4/+5
| |
| * An initial hack at storing presence state-change mtimes in database and ↵Paul "LeoNerd" Evans2014-08-137-29/+101
| | | | | | | | presenting age durations to clients/federation events
| * Allow advancing the MockClock's timePaul "LeoNerd" Evans2014-08-131-0/+4
| |
| * Don't mock out presence_handler's internal start/stop methods in ↵Paul "LeoNerd" Evans2014-08-131-9/+5
| | | | | | | | presencelike unit test; it's rude
| * Move MockClock into tests.utils so we can reüse itPaul "LeoNerd" Evans2014-08-132-11/+11
| |
| * Set datastore's .hs field in SQLBaseStore rather than in the toplevel ↵Paul "LeoNerd" Evans2014-08-132-1/+1
| | | | | | | | DataStore mixed-in result class
| * when we're talking about backfilling data in federation, call it backfilling ↵Matthew Hodgson2014-08-139-54/+54
| | | | | | | | - not pagination.
| * don't hammer after 403Matthew Hodgson2014-08-131-1/+4
| |
| * pagination was a terrible nameMatthew Hodgson2014-08-131-5/+5
| |
| * Implement directory service federation by Federation Queries; avoid ↵Paul "LeoNerd" Evans2014-08-133-27/+141
| | | | | | | | local_only hack; add unit tests
| * Add a HomeServer.parse_roomalias() to avoid having to ↵Paul "LeoNerd" Evans2014-08-134-14/+18
| | | | | | | | RoomAlias.from_sring(..., hs=hs) - similar to parse_userid()
* | Make feedback table also store sender.Erik Johnston2014-08-132-1/+3
| |
* | Initial stab at refactoring the SQL tables, including rejigging some of the ↵Erik Johnston2014-08-136-261/+115
| | | | | | | | storage layer.
* | Convert im schema to a 'one' table structureErik Johnston2014-08-131-26/+31
|/
* Update graph.py to use new federation urlsErik Johnston2014-08-131-1/+1
|
* Now that HS->HS Profile lookups use Federation Queries, we don't need the ↵Paul "LeoNerd" Evans2014-08-132-10/+4
| | | | 'local_only' antirecursion hack
* Use new Federation Query API to implement HS->HS fetching of remote users' ↵Paul "LeoNerd" Evans2014-08-133-33/+71
| | | | profile information instead of (ab)using the client-side REST API
* Define the concept of a 'federation Query'; creating API for making and ↵Paul "LeoNerd" Evans2014-08-133-0/+113
| | | | handling Queries on the Federation's increasingly-inaccurately-named ReplicationLayer
* Update get_json()'s documentation to match the actual observed behaviourPaul "LeoNerd" Evans2014-08-131-4/+3
|
* Handle a potential race in the notifier when calling get_events_for which ↵Erik Johnston2014-08-131-3/+7
| | | | resulted in an uncaught KeyError
* Store public room id > alias mappings.Kegan Dougal2014-08-131-0/+6
|
* typoMatthew Hodgson2014-08-131-1/+1
|
* Merge branch 'master' of git+ssh://github.com/matrix-org/synapseMatthew Hodgson2014-08-13116-188/+940
|\
| * Don't pass host_web_client flag to register_servlets, it needs to be a ↵Kegan Dougal2014-08-132-4/+2
| | | | | | | | Resource not a RestServlet.
| * Merge branch 'master' of github.com:matrix-org/synapseKegan Dougal2014-08-1313-146/+160
| |\
| | * more quickstart fixesMatthew Hodgson2014-08-131-4/+9
| | |
| | * Merge branch 'master' of git+ssh://github.com/matrix-org/synapseMatthew Hodgson2014-08-131-3/+2
| | |\
| | | * Fix logging verbosity parsing codePaul "LeoNerd" Evans2014-08-131-3/+2
| | | |
| | * | refactor the README a load more to make the quickstart more visibleMatthew Hodgson2014-08-132-84/+83
| | |/
| | * Namespace all the Federation HTTP URLs to /matrix/federation/v1/...Paul "LeoNerd" Evans2014-08-133-27/+35
| | |
| | * Add troubleshooting section to help with PyNaCl bug.David Baker2014-08-131-0/+6
| | |
| | * Use strings instead of opaque magic-number constants for presence states; ↵Paul "LeoNerd" Evans2014-08-137-37/+34
| | | | | | | | | | | | rename AWAY to UNAVAILABLE
| * | Merge branch 'master' of github.com:matrix-org/synapseKegan Dougal2014-08-131-3/+3
| |\|
| | * verbose by default pleaseMatthew Hodgson2014-08-131-3/+3
| | |
| * | Added a -w flag which will host the web client if specified. Currently this ↵Kegan Dougal2014-08-135-48/+65
| |/ | | | | | | just delegates to the webclient RestServlet.
| * Merge branch 'master' of github.com:matrix-org/synapseKegan Dougal2014-08-131-3/+5
| |\
| | * fix footnotes a bitMatthew Hodgson2014-08-131-3/+5
| | |
| * | Return the room_alias when GETing public rooms.Kegan Dougal2014-08-131-2/+5
| |/
| * Room: Added a text input to type an image URL in order to send an image messageEmmanuel ROHEE2014-08-134-3/+37
| |
| * Display image messages from the streamEmmanuel ROHEE2014-08-132-1/+10
| |
| * add in copyrights to everything, not just the synapse subdir, and add a ↵Matthew Hodgson2014-08-1335-1/+523
| | | | | | | | copyrighter.pl whilst we're at it
| * add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-1376-1/+76
| |
| * Merge branch 'master' of git+ssh://github.com/matrix-org/synapseMatthew Hodgson2014-08-131-3/+2
| |\
| | * actually register the login servlet (uncommitted code thinko?)Matthew Hodgson2014-08-131-3/+2
| | |
| * | remove remaining TODOs and fill in lots more infoMatthew Hodgson2014-08-131-29/+108
| |/
* / timestampsMatthew Hodgson2014-08-131-1/+1
|/
* and tweak some more...Matthew Hodgson2014-08-121-4/+5
|
* fix rst issues correctly...Matthew Hodgson2014-08-121-4/+5
|
* fix rst issuesMatthew Hodgson2014-08-122-534/+0
|
* make README a bit more comprehensive and rename example/ as experiments/Matthew Hodgson2014-08-123-16/+640
|
* remove the png profile image for nowMatthew Hodgson2014-08-121-0/+0
|
* Fix dependency_link urlErik Johnston2014-08-121-1/+1
|
* Change syutil dependency link to point at github.Erik Johnston2014-08-121-1/+1
|
* Fix the 'Go to room' button to use the correct room alias apiErik Johnston2014-08-123-2/+31
|
* Just say yes to OPTIONS requests, since we want to turn on CORS headers for ↵Erik Johnston2014-08-121-0/+5
| | | | all paths
* Make messages list and room users list scroll-overflowEmmanuel ROHEE2014-08-123-13/+32
|
* Capture the .gitignore filePaul "LeoNerd" Evans2014-08-121-0/+19
|
* Add .rst suffix to documentation files so that github auto-formats themMark Haines2014-08-1216-0/+0
|
* Reference Matrix Home Servermatrix.org2014-08-12217-0/+48447