Commit Graph

87 Commits (40c998336d3562018162bfc14b4dade1139f414c)
 

Author SHA1 Message Date
Kegan Dougal 40c998336d Finish up room controller too. May have missed one or two, but testing didn't pick anything up. 10 years ago
Kegan Dougal 24bd133d9d Added extra nesting .data and rename callback to be response not data 10 years ago
Kegan Dougal db3e1d73c6 Move the unknown token broadcast to the interceptor. Return the $http promise and not a wrapped one via $q. Everything now needs a level deeper nesting. Fixed registration and login. 10 years ago
Kegan Dougal 76005c44f7 Added an access token interceptor to check unknown tokens. 10 years ago
Kegan Dougal 5a5f37ca17 Send forbidden codes when doing login attempts. 10 years ago
Paul "LeoNerd" Evans 0fa05ea331 Round Presence mtime and mtime_age to nearest msec; avoids floats for msec values over the wire 10 years ago
Erik Johnston e4061383b8 Change relative db paths to absolute paths in case we daemonize. 10 years ago
Paul "LeoNerd" Evans e37de2aef3 chmod +x homeserver.py 10 years ago
Emmanuel ROHEE 7143f358f1 Detect when the user access token is no more valid and log the user out in this case 10 years ago
Kegan Dougal 613e468b89 Guess the home server URL on the login screen by inspecting the URL of the web client. 10 years ago
Kegan Dougal 61933f8e52 Added M_UNKNOWN_TOKEN error code and send it when there is an unrecognised access_token 10 years ago
Emmanuel ROHEE d5033849a5 BF: Use ng-src 10 years ago
Kegan Dougal 2a793a6c42 Default error code BAD_PAGINATION for EventStreamErrors 10 years ago
Kegan Dougal d253a35539 Added web client prefix 10 years ago
Kegan Dougal c75add6ec8 Added a urls module for keeping client and federation prefixes. 10 years ago
Kegan Dougal 9fd445eb92 If the web client is enabled, automatically redirect root '/' to the web client path. 10 years ago
Kegan Dougal e543d6a91d Fixed dynamic resource mapping to clobber dummy Resources with the actual desired Resource in the event of a collision (as is the case for '/matrix/client' and '/matrix/client/api/v1') 10 years ago
Emmanuel ROHEE 60b0fca103 Use ng-src 10 years ago
Emmanuel ROHEE 28a49a9eaf Show avatar in profile section and added a button to select a file (not yet wired to upload service) 10 years ago
Emmanuel ROHEE d05ff3e098 Merge remote-tracking branch 'origin/master' 10 years ago
Emmanuel ROHEE 7dc0a28e17 Created m-file-input. A directive to open a file selection dialog on whatever HTML element 10 years ago
Kegan Dougal de65c34fcf Honour the -w flag to enable the web client at /matrix/client 10 years ago
Kegan Dougal 9a1638ed21 Removed http_server from HomeServer. Updated unit tests to use either resource_for_federation or resource_for_client depending on what is being tested. 10 years ago
Kegan Dougal 29aa13f0d4 Make federation use resource_for_federation as well. 10 years ago
Kegan Dougal 9f863d3466 Start phasing out HttpServer: we should be using Resources instead. Added 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. 10 years ago
Matthew Hodgson e7736668ba grammar fix 10 years ago
Matthew Hodgson 9391be0f5d fix emote presentation 10 years ago
Matthew Hodgson a4da962bab fix http client GET parameters; somehow missing named param. how could this have ever worked!? 10 years ago
Matthew Hodgson d7dcef7ff4 config css 10 years ago
Matthew Hodgson 6c2db18be1 completely change the CSS to be an entirely 'position: absolute' layout rather than top-to-bottom. makes the overscroll much more predictable and sane and not dependent on CSS expressions. 10 years ago
Matthew Hodgson aebe5ce08a fix whitespace 10 years ago
Paul "LeoNerd" Evans 4e21bfd2db Consistent capitalisation of 'Matrix' as a proper noun in README; 80 col wrap 10 years ago
Paul "LeoNerd" Evans d05aa651f8 An initial hack at storing presence state-change mtimes in database and presenting age durations to clients/federation events 10 years ago
Paul "LeoNerd" Evans a6a9b71da0 Allow advancing the MockClock's time 10 years ago
Paul "LeoNerd" Evans eef58a299e Don't mock out presence_handler's internal start/stop methods in presencelike unit test; it's rude 10 years ago
Paul "LeoNerd" Evans fc778e2bce Move MockClock into tests.utils so we can reüse it 10 years ago
Paul "LeoNerd" Evans baf04be5cf Set datastore's .hs field in SQLBaseStore rather than in the toplevel DataStore mixed-in result class 10 years ago
Matthew Hodgson 59dfbaba3b when we're talking about backfilling data in federation, call it backfilling - not pagination. 10 years ago
Matthew Hodgson f729f13735 don't hammer after 403 10 years ago
Matthew Hodgson b80b32d1c0 pagination was a terrible name 10 years ago
Paul "LeoNerd" Evans 3a1cfe18cf Implement directory service federation by Federation Queries; avoid local_only hack; add unit tests 10 years ago
Paul "LeoNerd" Evans 7fb93f2a47 Add a HomeServer.parse_roomalias() to avoid having to RoomAlias.from_sring(..., hs=hs) - similar to parse_userid() 10 years ago
Erik Johnston 08ed4ccfdf Update graph.py to use new federation urls 10 years ago
Paul "LeoNerd" Evans 80c056c148 Now that HS->HS Profile lookups use Federation Queries, we don't need the 'local_only' antirecursion hack 10 years ago
Paul "LeoNerd" Evans 505917cb97 Use new Federation Query API to implement HS->HS fetching of remote users' profile information instead of (ab)using the client-side REST API 10 years ago
Paul "LeoNerd" Evans 827de7cee9 Define the concept of a 'federation Query'; creating API for making and handling Queries on the Federation's increasingly-inaccurately-named ReplicationLayer 10 years ago
Paul "LeoNerd" Evans 1ddae5f40b Update get_json()'s documentation to match the actual observed behaviour 10 years ago
Erik Johnston 6df83555cc Handle a potential race in the notifier when calling get_events_for which resulted in an uncaught KeyError 10 years ago
Kegan Dougal 6904952ec4 Store public room id > alias mappings. 10 years ago
Matthew Hodgson 9c3d3c25cc typo 10 years ago