Commit Graph

  • 8bf3994c2e Added event stream service which neatly blobs together requests / state for the event stream. This depends on matrix service to do the actual hit. Currently this has exactly the same behaviour as before. Kegan Dougal 2014-08-15 10:20:14 +0100
  • 114984a236 Start chagning the events stream to work with the new DB schema Erik Johnston 2014-08-15 13:58:28 +0100
  • d72f897f07 Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor Erik Johnston 2014-08-15 11:50:14 +0100
  • c5f2da5875 Add a check to make sure that during state conflict res we only request a PDU we don't have. Erik Johnston 2014-08-15 11:47:01 +0100
  • 1a26905cc9 Fix pontenial bug in state resolution handler that compared dicts rather than their id's Erik Johnston 2014-08-15 11:41:11 +0100
  • 33d62c2c66 Remember to reflect membership LEAVE events to the leaving member so they know it happened Paul "LeoNerd" Evans 2014-08-15 11:40:58 +0100
  • 5002efa31b Reimplement the get public rooms api to work with new DB schema Erik Johnston 2014-08-15 10:26:35 +0100
  • 286e90e58f Updated README about -w in all the places. Kegan Dougal 2014-08-15 09:29:39 +0100
  • 0b179db36d s/Synapse/Matrix/ Matthew Hodgson 2014-08-14 18:58:40 +0100
  • 7a025d6368 It's called Matrix :) Matthew Hodgson 2014-08-14 18:58:01 +0100
  • 2c46bb6208 Fix up typos and correct sql queries Erik Johnston 2014-08-14 18:40:50 +0100
  • 7e681ad778 Update StreamStore Erik Johnston 2014-08-14 18:01:39 +0100
  • 3ddfc949dc manual syutil Matthew Hodgson 2014-08-14 17:54:40 +0100
  • 24dfdb4a7d Update README to mention -w and remove SimpleHTTPServer Kegan Dougal 2014-08-14 17:51:12 +0100
  • 94eb2560f4 Add documentation about Federation Queries and EDUs Paul "LeoNerd" Evans 2014-08-14 17:50:43 +0100
  • 856f29c03c fix linewrap Matthew Hodgson 2014-08-14 17:44:21 +0100
  • 5de086b736 More helpful display when the event stream fails, wiping it when the connection is regained. Kegan Dougal 2014-08-14 17:40:27 +0100
  • e6c62d5d7f We can now upload avatar image somewhere Emmanuel ROHEE 2014-08-14 18:40:20 +0200
  • deae7f4f5d Create a temporary upload service server side (by hacking demos/webserver.py) and client side with an angularjs service component. Emmanuel ROHEE 2014-08-14 18:39:23 +0200
  • f5973d8ddb Create a temporary upload service server side (by hacking demos/webserver.py) and client side with an angularjs service component. Emmanuel ROHEE 2014-08-14 18:38:42 +0200
  • 661c711765 Start fixing places that use the data store. Erik Johnston 2014-08-14 17:34:37 +0100
  • 30da8c81c7 webclient: You can now paginate in rooms. Defaults to 10 messages, with a button to get more (needs to be hooked into infini-scrolling). Kegan Dougal 2014-08-14 17:23:47 +0100
  • 78b501eba6 Fix typo Erik Johnston 2014-08-14 17:09:28 +0100
  • 2529f2bc01 Rename _execute_query Erik Johnston 2014-08-14 16:58:51 +0100
  • fef3183461 Pass back the user_id in the response to /login in case it has changed. Store and use that on the webclient rather than the input field. Kegan Dougal 2014-08-14 16:40:15 +0100
  • ca3747fb2f hs: Make /login accept full user IDs or just local parts. webclient: Only enable Register button when both password fields match. Kegan Dougal 2014-08-14 16:29:24 +0100
  • 53147e5ae4 Reflect user's messages up to themselves before pushing it to federatoin; also release roomlock before touching federation so we don't halt progress on the world Paul "LeoNerd" Evans 2014-08-14 16:22:08 +0100
  • 93a8be7bef We really don't need debug logging of all the SQL statements we execute; we're quite happy these all work now Paul "LeoNerd" Evans 2014-08-14 16:15:53 +0100
  • 6f925f61ff Auto-correct the username when logging in if there isn't an @ Kegan Dougal 2014-08-14 16:08:14 +0100
  • 657ab9ba9d Put some DEBUG logging in lockutils.py so we can debug roomlocks Paul "LeoNerd" Evans 2014-08-14 16:06:02 +0100
  • fb93e14e53 Be more helpful when failing to register/login, stating why (communication error, user in user, wrong credentials, etc). Make the HS send M_USER_IN_USE. Kegan Dougal 2014-08-14 16:03:04 +0100
  • 937c175029 Fix up RoomMemberStore to work with the new schema. Erik Johnston 2014-08-14 16:02:10 +0100
  • 40c998336d Finish up room controller too. May have missed one or two, but testing didn't pick anything up. Kegan Dougal 2014-08-14 15:47:38 +0100
  • 24bd133d9d Added extra nesting .data and rename callback to be response not data Kegan Dougal 2014-08-14 15:43:16 +0100
  • 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. Kegan Dougal 2014-08-14 15:36:40 +0100
  • 76005c44f7 Added an access token interceptor to check unknown tokens. Kegan Dougal 2014-08-14 15:21:39 +0100
  • 6d6a1c3454 Actually encode dicts as json in the DB Erik Johnston 2014-08-14 14:30:25 +0100
  • 5a5f37ca17 Send forbidden codes when doing login attempts. Kegan Dougal 2014-08-14 14:29:01 +0100
  • 0fa05ea331 Round Presence mtime and mtime_age to nearest msec; avoids floats for msec values over the wire Paul "LeoNerd" Evans 2014-08-14 14:15:54 +0100
  • cbd5d55222 Change relative db paths to absolute paths in case we daemonize. Erik Johnston 2014-08-14 14:08:57 +0100
  • e4061383b8 Change relative db paths to absolute paths in case we daemonize. Erik Johnston 2014-08-14 14:07:14 +0100
  • e37de2aef3 chmod +x homeserver.py Paul "LeoNerd" Evans 2014-08-14 14:05:05 +0100
  • 7143f358f1 Detect when the user access token is no more valid and log the user out in this case Emmanuel ROHEE 2014-08-14 14:59:33 +0200
  • 613e468b89 Guess the home server URL on the login screen by inspecting the URL of the web client. Kegan Dougal 2014-08-14 13:57:55 +0100
  • 61933f8e52 Added M_UNKNOWN_TOKEN error code and send it when there is an unrecognised access_token Kegan Dougal 2014-08-14 13:47:39 +0100
  • d5033849a5 BF: Use ng-src Emmanuel ROHEE 2014-08-14 13:51:35 +0200
  • 2a793a6c42 Default error code BAD_PAGINATION for EventStreamErrors Kegan Dougal 2014-08-14 11:57:25 +0100
  • d253a35539 Added web client prefix Kegan Dougal 2014-08-14 11:54:37 +0100
  • c75add6ec8 Added a urls module for keeping client and federation prefixes. Kegan Dougal 2014-08-14 11:52:56 +0100
  • 9fd445eb92 If the web client is enabled, automatically redirect root '/' to the web client path. Kegan Dougal 2014-08-14 11:37:13 +0100
  • 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') Kegan Dougal 2014-08-14 11:17:58 +0100
  • 60b0fca103 Use ng-src Emmanuel ROHEE 2014-08-14 11:51:31 +0200
  • 28a49a9eaf Show avatar in profile section and added a button to select a file (not yet wired to upload service) Emmanuel ROHEE 2014-08-14 11:39:03 +0200
  • d05ff3e098 Merge remote-tracking branch 'origin/master' Emmanuel ROHEE 2014-08-14 11:36:50 +0200
  • 7dc0a28e17 Created m-file-input. A directive to open a file selection dialog on whatever HTML element Emmanuel ROHEE 2014-08-14 11:36:11 +0200
  • de65c34fcf Honour the -w flag to enable the web client at /matrix/client Kegan Dougal 2014-08-14 10:24:17 +0100
  • 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. Kegan Dougal 2014-08-14 10:18:54 +0100
  • 29aa13f0d4 Make federation use resource_for_federation as well. Kegan Dougal 2014-08-14 10:05:06 +0100
  • 10294b6082 Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor Erik Johnston 2014-08-14 10:01:04 +0100
  • 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. Kegan Dougal 2014-08-14 09:52:20 +0100
  • e7736668ba grammar fix v0.0.0 alpha Matthew Hodgson 2014-08-14 03:36:03 +0100
  • 9391be0f5d fix emote presentation Matthew Hodgson 2014-08-14 03:35:09 +0100
  • a4da962bab fix http client GET parameters; somehow missing named param. how could this have ever worked!? Matthew Hodgson 2014-08-14 02:59:54 +0100
  • d7dcef7ff4 config css Matthew Hodgson 2014-08-14 02:21:49 +0100
  • 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. Matthew Hodgson 2014-08-14 02:13:14 +0100
  • aebe5ce08a fix whitespace Matthew Hodgson 2014-08-13 20:53:38 +0100
  • 4e21bfd2db Consistent capitalisation of 'Matrix' as a proper noun in README; 80 col wrap Paul "LeoNerd" Evans 2014-08-13 21:19:21 +0100
  • d05aa651f8 An initial hack at storing presence state-change mtimes in database and presenting age durations to clients/federation events Paul "LeoNerd" Evans 2014-08-13 19:18:55 +0100
  • a6a9b71da0 Allow advancing the MockClock's time Paul "LeoNerd" Evans 2014-08-13 19:17:30 +0100
  • eef58a299e Don't mock out presence_handler's internal start/stop methods in presencelike unit test; it's rude Paul "LeoNerd" Evans 2014-08-13 19:07:22 +0100
  • fc778e2bce Move MockClock into tests.utils so we can reüse it Paul "LeoNerd" Evans 2014-08-13 18:26:42 +0100
  • baf04be5cf Set datastore's .hs field in SQLBaseStore rather than in the toplevel DataStore mixed-in result class Paul "LeoNerd" Evans 2014-08-13 18:15:23 +0100
  • 59dfbaba3b when we're talking about backfilling data in federation, call it backfilling - not pagination. Matthew Hodgson 2014-08-13 18:14:37 +0100
  • f729f13735 don't hammer after 403 Matthew Hodgson 2014-08-13 17:39:08 +0100
  • b80b32d1c0 pagination was a terrible name Matthew Hodgson 2014-08-13 17:14:42 +0100
  • beaf4384d9 Make feedback table also store sender. Erik Johnston 2014-08-13 17:43:34 +0100
  • 3a1cfe18cf Implement directory service federation by Federation Queries; avoid local_only hack; add unit tests Paul "LeoNerd" Evans 2014-08-13 18:03:37 +0100
  • 336987bb8d Initial stab at refactoring the SQL tables, including rejigging some of the storage layer. Erik Johnston 2014-08-13 16:27:14 +0100
  • 7fb93f2a47 Add a HomeServer.parse_roomalias() to avoid having to RoomAlias.from_sring(..., hs=hs) - similar to parse_userid() Paul "LeoNerd" Evans 2014-08-13 17:43:10 +0100
  • 3dfa84bec8 Convert im schema to a 'one' table structure Erik Johnston 2014-08-13 12:52:39 +0100
  • 08ed4ccfdf Update graph.py to use new federation urls Erik Johnston 2014-08-13 18:02:34 +0100
  • 80c056c148 Now that HS->HS Profile lookups use Federation Queries, we don't need the 'local_only' antirecursion hack Paul "LeoNerd" Evans 2014-08-13 17:14:42 +0100
  • 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 Paul "LeoNerd" Evans 2014-08-13 17:12:50 +0100
  • 827de7cee9 Define the concept of a 'federation Query'; creating API for making and handling Queries on the Federation's increasingly-inaccurately-named ReplicationLayer Paul "LeoNerd" Evans 2014-08-13 16:55:53 +0100
  • 1ddae5f40b Update get_json()'s documentation to match the actual observed behaviour Paul "LeoNerd" Evans 2014-08-13 15:52:47 +0100
  • 6df83555cc Handle a potential race in the notifier when calling get_events_for which resulted in an uncaught KeyError Erik Johnston 2014-08-13 17:13:26 +0100
  • 6904952ec4 Store public room id > alias mappings. Kegan Dougal 2014-08-13 16:29:37 +0100
  • 9c3d3c25cc typo Matthew Hodgson 2014-08-13 16:20:41 +0100
  • 2ec5f6c2f2 Merge branch 'master' of git+ssh://github.com/matrix-org/synapse Matthew Hodgson 2014-08-13 16:14:30 +0100
  • 9d388cd35e timestamps Matthew Hodgson 2014-08-13 16:14:17 +0100
  • 2da1e1526e Don't pass host_web_client flag to register_servlets, it needs to be a Resource not a RestServlet. Kegan Dougal 2014-08-13 15:57:58 +0100
  • 38c7e92331 Merge branch 'master' of github.com:matrix-org/synapse Kegan Dougal 2014-08-13 15:53:44 +0100
  • ecc299d458 more quickstart fixes Matthew Hodgson 2014-08-13 15:37:57 +0100
  • 6967e93f9c Merge branch 'master' of git+ssh://github.com/matrix-org/synapse Matthew Hodgson 2014-08-13 15:24:45 +0100
  • 31f2ec252c refactor the README a load more to make the quickstart more visible Matthew Hodgson 2014-08-13 15:23:06 +0100
  • b370f9903c Fix logging verbosity parsing code Paul "LeoNerd" Evans 2014-08-13 15:14:22 +0100
  • 820ed34abe Namespace all the Federation HTTP URLs to /matrix/federation/v1/... Paul "LeoNerd" Evans 2014-08-13 15:07:49 +0100
  • cf965af3c5 Add troubleshooting section to help with PyNaCl bug. David Baker 2014-08-13 14:40:47 +0100
  • 55944ccf72 Use strings instead of opaque magic-number constants for presence states; rename AWAY to UNAVAILABLE Paul "LeoNerd" Evans 2014-08-13 14:31:48 +0100
  • 5a59da8a94 Merge branch 'master' of github.com:matrix-org/synapse Kegan Dougal 2014-08-13 13:50:05 +0100