summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.0.1Erik Johnston2014-08-224-49/+95
|\
| * Updater command line client to new IS APIDavid Baker2014-08-221-25/+37
| |
| * Update web client to use new IS API.David Baker2014-08-223-24/+58
| |
* | Move the 'Upgrade' section to just below the 'Installation' sectionErik Johnston2014-08-221-6/+8
| |
* | Update the README.rst to refer people to UPGRADE.rstErik Johnston2014-08-221-0/+6
| |
* | Rename files to .rst for consistency.Erik Johnston2014-08-222-0/+0
| |
* | Add a missing '='Erik Johnston2014-08-221-1/+2
| |
* | Add CHANGES and UPGRADE files.Erik Johnston2014-08-222-0/+43
| |
* | Don't return state event outlier's when paginating.Erik Johnston2014-08-223-2/+9
| |
* | Add a database-prepare-for-0.0.1.shErik Johnston2014-08-221-0/+2
| |
* | Add database-prepare-for-0.0.1.sh that should be run before starting a ↵Erik Johnston2014-08-221-0/+19
| | | | | | | | v0.0.1 homeserver.
* | Bump versions to 0.0.1Erik Johnston2014-08-223-1/+4
| |
* | Allow people to specify database location in database-save.shErik Johnston2014-08-221-1/+1
| |
* | Check if the membership message was for the room we were in before updating ↵Erik Johnston2014-08-221-0/+2
| | | | | | | | the membership list
* | Keep track of people's presence and query that when we update the members list.Erik Johnston2014-08-222-3/+10
| |
* | Reinitialize room when creating a RoomController so that we start off with a ↵Erik Johnston2014-08-222-1/+13
| | | | | | | | clean slate, as it expects/
* | Use $location.url instead of $location.path to get clean page URL without ↵Emmanuel ROHEE2014-08-224-10/+10
| | | | | | | | | | | | hash arguments of the previous page. This happpens with room URL like http://127.0.0.1:8080/matrix/client/#/room/#public:localhost. The second hash part is transferred to the next page when using $location.path.
* | Make the content repo work with in daemon mode. Return the full url on ↵Erik Johnston2014-08-223-9/+24
| | | | | | | | upload. Update the webclient to use new content repo api.
* | resizeImage: generate an image in the format of the original image. (Tested ↵Emmanuel ROHEE2014-08-221-1/+3
| | | | | | | | with tranparent PNG, transparent GIF, BMP, JPEG)
* | Safari needs the img.onload event before actually working on the imgEmmanuel ROHEE2014-08-222-27/+39
| |
* | homeserver runs webclient by default nowMatthew Hodgson2014-08-221-8/+3
| |
* | improve leftBlock cssMatthew Hodgson2014-08-221-1/+6
| |
* | -w is no moreMatthew Hodgson2014-08-221-2/+1
| |
* | fix mainInput retaining focus between sending consecutive messages by ↵Matthew Hodgson2014-08-222-4/+4
| | | | | | | | disabling commit 955662d6
* | fix weird fontsizes on iOSMatthew Hodgson2014-08-221-0/+1
| |
* | sacrifice a goat or two to make wordwrap actually work properlyMatthew Hodgson2014-08-222-28/+21
| |
* | rename autoComplete directive as tabComplete to avoid confusion with the ↵Matthew Hodgson2014-08-221-15/+15
| | | | | | | | autocomplete html attribute
* | add fixme pointing out name disambiguation is a bit flakeyMatthew Hodgson2014-08-221-1/+4
| |
* | host a webclient by defaultMatthew Hodgson2014-08-211-2/+2
| |
* | actually display room metadata based on m.room.membe eventsMatthew Hodgson2014-08-213-2/+23
| |
* | Add a var.Erik Johnston2014-08-211-1/+1
| |
* | Only start event streaming after having set up the controllers.Erik Johnston2014-08-216-5/+19
| |
* | Add ts field to all events.Erik Johnston2014-08-212-2/+7
| |
* | Change webclient to always hit the im sync api before streaming so we get ↵Erik Johnston2014-08-212-7/+41
| | | | | | | | current presence state
* | Change IM sync api to also return the current presence list.Erik Johnston2014-08-212-6/+23
| |
* | stop hammering the HS for displayname and avatar URLsMatthew Hodgson2014-08-211-3/+5
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.0.1Erik Johnston2014-08-216-38/+294
|\|
| * Show image fullscreen when clicking on the thumbnailEmmanuel ROHEE2014-08-212-3/+31
| |
| * If there are available, show image thumbnails in the messages listEmmanuel ROHEE2014-08-211-3/+7
| |
| * Generate thumbnail client side and send its URL and info with the image ↵Emmanuel ROHEE2014-08-213-28/+149
| | | | | | | | message body
| * Made uploadContent compatible for sending Blob objectsEmmanuel ROHEE2014-08-211-4/+22
| |
| * Added resizeImage()Emmanuel ROHEE2014-08-211-1/+86
| |
* | Use the new 'inviter' key from im sync for room display names.Erik Johnston2014-08-212-3/+8
| |
* | Fixed first pagination detectionEmmanuel ROHEE2014-08-211-2/+3
| |
* | cheer up erik and remove the double-horizontal-border between adjacent text ↵Matthew Hodgson2014-08-211-0/+1
| | | | | | | | plinths
* | In the initial sync api, return the inviter for rooms in the 'invited' stateErik Johnston2014-08-211-0/+4
| |
* | Return the current state in the initial sync api.Erik Johnston2014-08-211-0/+3
| |
* | Stop internal keys from getting into SynapseEventsErik Johnston2014-08-212-0/+6
| |
* | Wait for getting a Join in response to an invite/join dance.Erik Johnston2014-08-212-2/+28
|/
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2014-08-214-0/+415
|\
| * Added final jsfiddle: an example app demonstrating most of the c2s api.Kegan Dougal2014-08-204-0/+415
| |
* | Make event stream storage return all membership events about the user, ↵Erik Johnston2014-08-201-4/+6
| | | | | | | | regardless of if they were in the room or not.
* | Quick fix to support array of room aliasesEmmanuel ROHEE2014-08-201-2/+3
| |
* | BF: Apply image place holder only if the image message has the height ↵Emmanuel ROHEE2014-08-201-1/+1
| | | | | | | | information
* | BF: Wait for the room_id being resolved before starting paginationEmmanuel ROHEE2014-08-201-2/+2
| |
* | Use the "collect_presencelike_data" distributor signal instead of ↵Paul "LeoNerd" Evans2014-08-202-30/+4
| | | | | | | | re-implementing its behaviour
* | Fix exception name in _fill_out_join_content() exceptionPaul "LeoNerd" Evans2014-08-201-1/+3
| |
* | Define __copy__ and __deepcopy__ as identity functions on ↵Paul "LeoNerd" Evans2014-08-201-0/+8
| | | | | | | | DomainSpecificString, so that copy.deepcopy() will work on them
* | Kill the "_homeserver_" injected messages for room membership changesPaul "LeoNerd" Evans2014-08-202-58/+6
| |
* | Create a placeholder for each image of the chat thread. The height of this ↵Emmanuel ROHEE2014-08-201-1/+4
| | | | | | | | placeholder is the height of the image so that the scroller position will not be disrupted when the image will be actually loaded and displayed in its full height
* | Send images with their imageInfo (size, mymetype, width & height)Emmanuel ROHEE2014-08-205-17/+89
| |
* | Sanitize message text content only if the type of current message in the ↵Emmanuel ROHEE2014-08-201-2/+2
| | | | | | | | | | | | ng-repeat loop is "text" In case of image message, the body can be a JSON object (ImageInfo) and ngSanitize does not like that (ie it generates exception in the console)
* | Give the event_id of the failed eventErik Johnston2014-08-201-1/+4
| |
* | Fix test. get_joined_hosts_for_room get's called multiple timesErik Johnston2014-08-201-3/+5
| |
* | Fix federation test, since we now hit store.get_roomErik Johnston2014-08-201-1/+2
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2014-08-206-0/+375
|\|
| * Added more jsfiddles.Kegan Dougal2014-08-206-0/+375
| |
* | Better handle the edge cases of trying to remote join roomsErik Johnston2014-08-202-37/+88
| |
* | Replaced the image URL text input by a file selector button: "Send Image"Emmanuel ROHEE2014-08-202-18/+5
| |
* | Disabled sending buttons while a message is being sent. Useful on bad ↵Emmanuel ROHEE2014-08-202-6/+18
| | | | | | | | Internet connection.
* | Don't generate room membership messages. Include previous state of in ↵Erik Johnston2014-08-202-8/+16
| | | | | | | | membership messages.
* | Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2014-08-2010-171/+415
|\|
| * File organisation sanity: put directives and filters into dedicated filesEmmanuel ROHEE2014-08-206-197/+254
| |
| * Add some static fiddles for now (will migrate to github paths eventually)Kegan Dougal2014-08-191-1/+5
| |
| * More fiddles, more fun!Kegan Dougal2014-08-193-0/+156
| |
| * keepScroll: a directive to anchor the scroller position at the bottom when ↵Emmanuel ROHEE2014-08-191-0/+27
| | | | | | | | the browser is resizing
* | Only hit get_room_events_stream if we have a valid user_idErik Johnston2014-08-191-0/+3
| |
* | Fix token to correct formatErik Johnston2014-08-191-1/+1
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-197-8/+100
|\|
| * Added registration/login jsfiddle, formatted so it can be loaded directly ↵Kegan Dougal2014-08-194-1/+98
| | | | | | | | from jsfiddle. Requires jQuery 1.8.3
| * BF: The enter key in the image URL box called sendImage() with no argumentEmmanuel ROHEE2014-08-191-1/+1
| |
| * Cleaned dead codeEmmanuel ROHEE2014-08-191-3/+1
| |
| * Don't delete OFFLINE users from the presence cache, so we can report on ↵Paul "LeoNerd" Evans2014-08-191-3/+0
| | | | | | | | their offline mtime
* | Remove debug logging from token parsing funcs.Erik Johnston2014-08-191-2/+0
| |
* | Add comment about what strorage.stream doesErik Johnston2014-08-191-0/+20
| |
* | Don't expect a reflection from events streamErik Johnston2014-08-191-3/+1
| |
* | Update testsErik Johnston2014-08-192-12/+5
| |
* | Default from param to 'END'Erik Johnston2014-08-191-0/+1
| |
* | PresenceStreamData was expecting *_key to be intsErik Johnston2014-08-191-0/+3
| |
* | Fix typo in merge conflictErik Johnston2014-08-191-2/+0
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-1929-391/+1256
|\| | | | | | | | | | | | | Conflicts: tests/rest/test_presence.py tests/rest/test_rooms.py tests/utils.py
| * ProofingKegan Dougal2014-08-191-19/+20
| |
| * Rewrite of PresenceHandler test to ensure it covers the interaction with ↵Paul "LeoNerd" Evans2014-08-191-149/+279
| | | | | | | | Federation as well
| * Ensure that federation's .send_edu() returns a DeferredPaul "LeoNerd" Evans2014-08-191-0/+1
| |
| * Add a DeferredMockCallable; like mock's MockCallable but allows awaitingPaul "LeoNerd" Evans2014-08-191-0/+41
| | | | | | | | on method calls to be made later
| * More formatting, more clarity.Kegan Dougal2014-08-191-23/+38
| |
| * rst formatting, section heading intro blurbs.Kegan Dougal2014-08-191-18/+35
| |
| * Added top level TODO and a bit more info on storing the 'end' token.Kegan Dougal2014-08-191-1/+9
| |
| * Added a first cut for a 'how to' on the client-server API.Kegan Dougal2014-08-191-0/+244
| |
| * More unquotes. Also, don't return the room_id on membership state changes, ↵Kegan Dougal2014-08-191-6/+8
| | | | | | | | they already know it.
| * Unquote sender IDs.Kegan Dougal2014-08-191-2/+2
| |
| * Perform the 'REST'-level tests of Presence against the real Presence handler ↵Paul "LeoNerd" Evans2014-08-192-41/+93
| | | | | | | | as well, mocking out the datastore beneath it
| * Implement and test presence dropping of remote usersPaul "LeoNerd" Evans2014-08-192-2/+14
| |
| * Deny __iter__ on UserID/RoomID/RoomName instances as it's a subtle bug that ↵Paul "LeoNerd" Evans2014-08-191-0/+6
| | | | | | | | will bite you
| * Rename MockHttpServer to MockHttpResource as it stands for one server ↵Paul "LeoNerd" Evans2014-08-197-146/+147
| | | | | | | | resource rather than an entire server
| * Reduce the amount of incredibly spammy stack traces. Expected errors (e.g. ↵Kegan Dougal2014-08-191-1/+13
| | | | | | | | SynapseErrors) shouldn't have their full trace logged every time. Don't send responses to disconnected requests.
| * Change mouse cursor to pointer on elements user can click onEmmanuel ROHEE2014-08-192-1/+5
| |
| * Merge remote-tracking branch 'origin/master' into user_pageEmmanuel ROHEE2014-08-197-25/+188
| |\
| | * show private room_ids rather than nulls in notifs if there is no room_aliasMatthew Hodgson2014-08-181-1/+1
| | |
| | * Small amounts of cleanup and bonus round comments.Kegan Dougal2014-08-181-4/+8
| | |
| | * Implemented GETs for the ContentRepoResource. It all actually appears to be ↵Kegan Dougal2014-08-183-15/+65
| | | | | | | | | | | | working.
| | * hs: Make the uploads directory if it doesn't exist. Namespace uploads by the ↵Kegan Dougal2014-08-181-5/+46
| | | | | | | | | | | | base64 encoded user id of the uploader. Make a reasonable attempt to retry clashing upload paths. Try to guess a sensible file extension depending on the content type.
| | * Auth content uploads. Added a mapping function from request > filename. ↵Kegan Dougal2014-08-184-31/+62
| | | | | | | | | | | | Added exception handling for content uploads. webclient: Only prefix the client API path on doRequest, not doBaseRequest (this would've broken the identity server auth too). Added matrixService.uploadContent. May not require mFileUpload anymore.
| | * Added /matrix/content path, HS resource_for_content_repo attribute and ↵Kegan Dougal2014-08-184-4/+41
| | | | | | | | | | | | FileUploadResource. Added stub methods.
| * | Fill user page with avatar, display name and matrix idEmmanuel ROHEE2014-08-193-5/+44
| | |
| * | Made small avatar image centerEmmanuel ROHEE2014-08-191-0/+1
| | |
| * | Use $location.url to open the user profile page. The user page URL is then ↵Emmanuel ROHEE2014-08-191-1/+1
| | | | | | | | | | | | | | | | | | the one expected: http://127.0.0.1:8000/#/user/@Manu:localhost:8080 insteaf of http://127.0.0.1:8000/#/user/@Manu:localhost:8080#public:localhost:8080
| * | Added link to user profile pagesEmmanuel ROHEE2014-08-192-1/+6
| | |
| * | Created boilerplate for user profile pageEmmanuel ROHEE2014-08-184-0/+43
| |/
| * In members list, on avatar mouseover, show a tooltip with the user matrix idEmmanuel ROHEE2014-08-181-2/+6
| |
| * Join room: open the room URL with the room alias in itEmmanuel ROHEE2014-08-181-6/+2
| |
| * Support urlencoded room aliases in room URLEmmanuel ROHEE2014-08-182-17/+29
| |
| * If possible, use href with room alias in rooms listEmmanuel ROHEE2014-08-181-2/+2
| |
| * Support room alias in rooms URL (ex: ↵Emmanuel ROHEE2014-08-183-1/+58
| | | | | | | | http://127.0.0.1:8000/#/room/#public:localhost:8080)
* | Fix bug where we sometimes set min_token to None.Erik Johnston2014-08-191-1/+2
| |
* | Print out stacktrace when we failed to persist event.Erik Johnston2014-08-191-1/+1
| |
* | Add a 'backfill room' buttonErik Johnston2014-08-196-25/+81
| |
* | Change the way pagination works to support out of order events.Erik Johnston2014-08-198-82/+227
| |
* | Fix typos in SQL and where we still had rowid's (which no longer exist)Erik Johnston2014-08-182-7/+7
| |
* | Make snapshot_all_rooms return results in the correct form, including start ↵Erik Johnston2014-08-182-6/+28
| | | | | | | | and end tokens.
* | SQL doesn't allow AUTOINCREMENT on non PRIMARY KEY columns.Erik Johnston2014-08-184-3/+23
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-185-18/+55
|\|
| * Update the default longpoll timeout time.Kegan Dougal2014-08-181-1/+1
| |
| * Increase /events timeout to 30 secs. We don't need it so low anymore to get ↵Kegan Dougal2014-08-181-1/+1
| | | | | | | | around request suppression when changing rooms, since there is just a single event stream now.
| * Allow room presence visibility between users who share a roomPaul "LeoNerd" Evans2014-08-182-12/+45
| |
| * Precent lack of presence visiblity from causing room /members/list to failPaul "LeoNerd" Evans2014-08-181-4/+8
| |
* | 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
| |