summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* When starting to poll for presence, also include members of all shared roomsPaul "LeoNerd" Evans2014-08-151-3/+12
|
* Also include users' presence when responding to /rooms/:room_id/members/listPaul "LeoNerd" Evans2014-08-151-0/+7
|
* 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.
* 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
* 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()
* 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