summary refs log tree commit diff
path: root/webclient/login (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-15Event streaming now happens on an app level, rather than a per-room level. ↵Kegan Dougal5-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.
2014-08-15Store messages in $rootScope so they can be accessed from multiple ↵Kegan Dougal3-12/+29
controllers without duplicated storage for each. This also gives updates.
2014-08-15Added event handler service which.. handles events. More specifically, it ↵Kegan Dougal5-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.
2014-08-15Added event stream service which neatly blobs together requests / state for ↵Kegan Dougal5-14/+91
the event stream. This depends on matrix service to do the actual hit. Currently this has exactly the same behaviour as before.
2014-08-15Add a check to make sure that during state conflict res we only request a ↵Erik Johnston2-2/+13
PDU we don't have.
2014-08-15Fix pontenial bug in state resolution handler that compared dicts rather ↵Erik Johnston1-1/+4
than their id's
2014-08-15Remember to reflect membership LEAVE events to the leaving member so they ↵Paul "LeoNerd" Evans1-0/+4
know it happened
2014-08-15Updated README about -w in all the places.Kegan Dougal1-3/+3
2014-08-14s/Synapse/Matrix/Matthew Hodgson1-3/+3
2014-08-14It's called Matrix :)Matthew Hodgson1-11/+11
2014-08-14manual syutilMatthew Hodgson1-0/+4
2014-08-14Update README to mention -w and remove SimpleHTTPServerKegan Dougal1-9/+3
2014-08-14Add documentation about Federation Queries and EDUsPaul "LeoNerd" Evans1-9/+59
2014-08-14fix linewrapMatthew Hodgson1-1/+2
2014-08-14More helpful display when the event stream fails, wiping it when the ↵Kegan Dougal2-5/+10
connection is regained.
2014-08-14We can now upload avatar image somewhereEmmanuel ROHEE1-4/+13
2014-08-14Create a temporary upload service server side (by hacking ↵Emmanuel ROHEE1-0/+1
demos/webserver.py) and client side with an angularjs service component.
2014-08-14Create a temporary upload service server side (by hacking ↵Emmanuel ROHEE2-1/+71
demos/webserver.py) and client side with an angularjs service component.
2014-08-14webclient: You can now paginate in rooms. Defaults to 10 messages, with a ↵Kegan Dougal4-21/+74
button to get more (needs to be hooked into infini-scrolling).
2014-08-14Pass back the user_id in the response to /login in case it has changed. ↵Kegan Dougal4-7/+9
Store and use that on the webclient rather than the input field.
2014-08-14hs: Make /login accept full user IDs or just local parts. webclient: Only ↵Kegan Dougal3-8/+6
enable Register button when both password fields match.
2014-08-14Reflect user's messages up to themselves before pushing it to federatoin; ↵Paul "LeoNerd" Evans1-2/+2
also release roomlock before touching federation so we don't halt progress on the world
2014-08-14We really don't need debug logging of all the SQL statements we execute; ↵Paul "LeoNerd" Evans1-4/+0
we're quite happy these all work now
2014-08-14Auto-correct the username when logging in if there isn't an @Kegan Dougal1-0/+6
2014-08-14Put some DEBUG logging in lockutils.py so we can debug roomlocksPaul "LeoNerd" Evans1-3/+9
2014-08-14Be more helpful when failing to register/login, stating why (communication ↵Kegan Dougal2-6/+18
error, user in user, wrong credentials, etc). Make the HS send M_USER_IN_USE.
2014-08-14Finish up room controller too. May have missed one or two, but testing ↵Kegan Dougal1-14/+14
didn't pick anything up.
2014-08-14Added extra nesting .data and rename callback to be response not dataKegan Dougal2-31/+31
2014-08-14Move the unknown token broadcast to the interceptor. Return the $http ↵Kegan Dougal4-30/+16
promise and not a wrapped one via $q. Everything now needs a level deeper nesting. Fixed registration and login.
2014-08-14Added an access token interceptor to check unknown tokens.Kegan Dougal1-3/+19
2014-08-14Send forbidden codes when doing login attempts.Kegan Dougal1-3/+3
2014-08-14Round Presence mtime and mtime_age to nearest msec; avoids floats for msec ↵Paul "LeoNerd" Evans1-5/+15
values over the wire
2014-08-14Change relative db paths to absolute paths in case we daemonize.Erik Johnston1-2/+9
2014-08-14chmod +x homeserver.pyPaul "LeoNerd" Evans1-0/+0
2014-08-14Detect when the user access token is no more valid and log the user out in ↵Emmanuel ROHEE2-4/+20
this case
2014-08-14Guess the home server URL on the login screen by inspecting the URL of the ↵Kegan Dougal1-1/+9
web client.
2014-08-14Added M_UNKNOWN_TOKEN error code and send it when there is an unrecognised ↵Kegan Dougal3-3/+8
access_token
2014-08-14BF: Use ng-srcEmmanuel ROHEE1-1/+1
2014-08-14Default error code BAD_PAGINATION for EventStreamErrorsKegan Dougal1-1/+4
2014-08-14Added web client prefixKegan Dougal2-4/+5
2014-08-14Added a urls module for keeping client and federation prefixes.Kegan Dougal5-14/+23
2014-08-14If the web client is enabled, automatically redirect root '/' to the web ↵Kegan Dougal2-4/+30
client path.
2014-08-14Fixed dynamic resource mapping to clobber dummy Resources with the actual ↵Kegan Dougal1-5/+27
desired Resource in the event of a collision (as is the case for '/matrix/client' and '/matrix/client/api/v1')
2014-08-14Use ng-srcEmmanuel ROHEE1-1/+1
2014-08-14Show avatar in profile section and added a button to select a file (not yet ↵Emmanuel ROHEE3-6/+45
wired to upload service)
2014-08-14Created m-file-input. A directive to open a file selection dialog on ↵Emmanuel ROHEE2-0/+44
whatever HTML element
2014-08-14Honour the -w flag to enable the web client at /matrix/clientKegan Dougal1-5/+8
2014-08-14Removed http_server from HomeServer. Updated unit tests to use either ↵Kegan Dougal12-30/+21
resource_for_federation or resource_for_client depending on what is being tested.
2014-08-14Make federation use resource_for_federation as well.Kegan Dougal4-49/+5
2014-08-14Start phasing out HttpServer: we should be using Resources instead. Added ↵Kegan Dougal7-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.
2014-08-14grammar fix v0.0.0 alphaMatthew Hodgson1-2/+2
2014-08-14fix emote presentationMatthew Hodgson1-1/+1
2014-08-14fix http client GET parameters; somehow missing named param. how could this ↵Matthew Hodgson1-2/+2
have ever worked!?
2014-08-14config cssMatthew Hodgson1-0/+12
2014-08-14completely change the CSS to be an entirely 'position: absolute' layout ↵Matthew Hodgson6-29/+46
rather than top-to-bottom. makes the overscroll much more predictable and sane and not dependent on CSS expressions.
2014-08-14fix whitespaceMatthew Hodgson1-0/+1
2014-08-13Consistent capitalisation of 'Matrix' as a proper noun in README; 80 col wrapPaul "LeoNerd" Evans1-4/+5
2014-08-13An initial hack at storing presence state-change mtimes in database and ↵Paul "LeoNerd" Evans7-29/+101
presenting age durations to clients/federation events
2014-08-13Allow advancing the MockClock's timePaul "LeoNerd" Evans1-0/+4
2014-08-13Don't mock out presence_handler's internal start/stop methods in ↵Paul "LeoNerd" Evans1-9/+5
presencelike unit test; it's rude
2014-08-13Move MockClock into tests.utils so we can reüse itPaul "LeoNerd" Evans2-11/+11
2014-08-13Set datastore's .hs field in SQLBaseStore rather than in the toplevel ↵Paul "LeoNerd" Evans2-1/+1
DataStore mixed-in result class
2014-08-13when we're talking about backfilling data in federation, call it backfilling ↵Matthew Hodgson9-54/+54
- not pagination.
2014-08-13don't hammer after 403Matthew Hodgson1-1/+4
2014-08-13pagination was a terrible nameMatthew Hodgson1-5/+5
2014-08-13Implement directory service federation by Federation Queries; avoid ↵Paul "LeoNerd" Evans3-27/+141
local_only hack; add unit tests
2014-08-13Add a HomeServer.parse_roomalias() to avoid having to ↵Paul "LeoNerd" Evans4-14/+18
RoomAlias.from_sring(..., hs=hs) - similar to parse_userid()
2014-08-13Update graph.py to use new federation urlsErik Johnston1-1/+1
2014-08-13Now that HS->HS Profile lookups use Federation Queries, we don't need the ↵Paul "LeoNerd" Evans2-10/+4
'local_only' antirecursion hack
2014-08-13Use new Federation Query API to implement HS->HS fetching of remote users' ↵Paul "LeoNerd" Evans3-33/+71
profile information instead of (ab)using the client-side REST API
2014-08-13Define the concept of a 'federation Query'; creating API for making and ↵Paul "LeoNerd" Evans3-0/+113
handling Queries on the Federation's increasingly-inaccurately-named ReplicationLayer
2014-08-13Update get_json()'s documentation to match the actual observed behaviourPaul "LeoNerd" Evans1-4/+3
2014-08-13Handle a potential race in the notifier when calling get_events_for which ↵Erik Johnston1-3/+7
resulted in an uncaught KeyError
2014-08-13Store public room id > alias mappings.Kegan Dougal1-0/+6
2014-08-13typoMatthew Hodgson1-1/+1
2014-08-13timestampsMatthew Hodgson1-1/+1
2014-08-13Don't pass host_web_client flag to register_servlets, it needs to be a ↵Kegan Dougal2-4/+2
Resource not a RestServlet.
2014-08-13more quickstart fixesMatthew Hodgson1-4/+9
2014-08-13refactor the README a load more to make the quickstart more visibleMatthew Hodgson2-84/+83
2014-08-13Fix logging verbosity parsing codePaul "LeoNerd" Evans1-3/+2
2014-08-13Namespace all the Federation HTTP URLs to /matrix/federation/v1/...Paul "LeoNerd" Evans3-27/+35
2014-08-13Add troubleshooting section to help with PyNaCl bug.David Baker1-0/+6
2014-08-13Use strings instead of opaque magic-number constants for presence states; ↵Paul "LeoNerd" Evans7-37/+34
rename AWAY to UNAVAILABLE
2014-08-13Added a -w flag which will host the web client if specified. Currently this ↵Kegan Dougal5-48/+65
just delegates to the webclient RestServlet.
2014-08-13verbose by default pleaseMatthew Hodgson1-3/+3
2014-08-13Return the room_alias when GETing public rooms.Kegan Dougal1-2/+5
2014-08-13fix footnotes a bitMatthew Hodgson1-3/+5
2014-08-13Room: Added a text input to type an image URL in order to send an image messageEmmanuel ROHEE4-3/+37
2014-08-13Display image messages from the streamEmmanuel ROHEE2-1/+10
2014-08-13add in copyrights to everything, not just the synapse subdir, and add a ↵Matthew Hodgson35-1/+523
copyrighter.pl whilst we're at it
2014-08-13add in whitespace after copyright statements to improve legibilityMatthew Hodgson76-1/+76
2014-08-13remove remaining TODOs and fill in lots more infoMatthew Hodgson1-29/+108
2014-08-13actually register the login servlet (uncommitted code thinko?)Matthew Hodgson1-3/+2
2014-08-12and tweak some more...Matthew Hodgson1-4/+5
2014-08-12fix rst issues correctly...Matthew Hodgson1-4/+5
2014-08-12fix rst issuesMatthew Hodgson2-534/+0
2014-08-12make README a bit more comprehensive and rename example/ as experiments/Matthew Hodgson3-16/+640
2014-08-12remove the png profile image for nowMatthew Hodgson1-0/+0
2014-08-12Fix dependency_link urlErik Johnston1-1/+1
2014-08-12Change syutil dependency link to point at github.Erik Johnston1-1/+1
2014-08-12Fix the 'Go to room' button to use the correct room alias apiErik Johnston3-2/+31
2014-08-12Just say yes to OPTIONS requests, since we want to turn on CORS headers for ↵Erik Johnston1-0</