summary refs log tree commit diff
path: root/webclient/components (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added a captcha config to the HS, to enable registration captcha checking ↵Kegan Dougal2014-09-051-1/+0
| | | | and for the recaptcha private key.
* Modified matrixService.register to specify if captcha results should be sent ↵Kegan Dougal2014-09-051-4/+22
| | | | with the registration request. This is toggleable via useCaptcha in register-controller.
* Created kick & unban methods in matrixService. Made some factorisation.Emmanuel ROHEE2014-09-051-11/+21
|
* BF: Make /unban work againEmmanuel ROHEE2014-09-051-1/+1
|
* Fixed empty display name (content.displayname in a room member can be null)Emmanuel ROHEE2014-09-051-1/+3
|
* Revert "Fixed empty display name (content.displayname in a room member can ↵Emmanuel ROHEE2014-09-051-6/+0
| | | | | | be null)" This reverts commit f286a4fcd46ff6c2c42a8732d004d8188aaa65f8.
* Fixed empty display name (content.displayname in a room member can be null)Emmanuel ROHEE2014-09-051-0/+6
|
* switch IRC-style command parser to use regexps rather than split(" ") so ↵Matthew Hodgson2014-09-041-3/+8
| | | | | | | | that it doesn't choke on consecutive whitespaces yield better errors for invalid commands don't pass invalid commands through as messages support kick reasons
* BF: presence PUT requests stopped to work with old "state" param yesterday ↵Emmanuel ROHEE2014-09-041-1/+1
| | | | evening :( -https://github.com/matrix-org/synapse/commit/cda31fb7553ba3d880de09a464ae3b62ea6632fc?diff=unified
* Added mUserDisplayName, a filter to resolve a user display name from a user_idEmmanuel ROHEE2014-09-041-0/+33
|
* Moved mRoomName filter into matrix-filter.js, a place for all generic ↵Emmanuel ROHEE2014-09-041-0/+100
| | | | filters using Matrix data.
* Merge branch 'develop' of github.com:matrix-org/synapse into developDavid Baker2014-09-039-17/+86
|\ | | | | | | | | Conflicts: synapse/http/client.py
| * Fix ban pathErik Johnston2014-09-031-1/+1
| |
| * Fix a few cases where we used user_id instead of state_keyErik Johnston2014-09-031-1/+1
| |
| * Use /rooms/$room_id/state/m.room.member/$user_id to change the membership of ↵Emmanuel ROHEE2014-09-031-1/+13
| | | | | | | | another user
| * fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-039-9/+9
| | | | | | | | hasn't been incorporated in time for launch.
| * Add support for room namesErik Johnston2014-09-031-1/+14
| |
| * Do not define power level limits in setUserPowerLevel. Update the function ↵Emmanuel ROHEE2014-09-031-34/+2
| | | | | | | | to be used as a resetUserPowerLevel
| * Added /deop $user_idEmmanuel ROHEE2014-09-031-2/+27
| |
| * BF: Do not be polluted by ops events that come when paginating backEmmanuel ROHEE2014-09-031-2/+5
| |
| * Added /op $user_id $powerLevelEmmanuel ROHEE2014-09-032-6/+42
| |
| * Added /ban commandEmmanuel ROHEE2014-09-031-1/+13
| |
* | Make registering and logging in with a threepid work in the webclient.David Baker2014-09-031-4/+10
|/
* Handle "m.room.create" in order to inform controllers about new roomsEmmanuel ROHEE2014-09-021-2/+14
|
* Represent user power level in a room by a red bar at the bottom of his ↵Emmanuel ROHEE2014-09-022-0/+42
| | | | avatar image. The width of this bar depends on the power level.
* change the world: make the default matrix API URL prefix /_matrix rather ↵Matthew Hodgson2014-08-312-7/+7
| | | | | | than /matrix to make it easier for existing websites to mount a HS in their namespace without collisions. perl -pi -e 's#/matrix#/_matrix#g' ./cmdclient/console.py ./docs/client-server/howto.rst ./docs/client-server/specification.rst ./docs/client-server/swagger_matrix/directory ./docs/client-server/swagger_matrix/events ./docs/client-server/swagger_matrix/login ./docs/client-server/swagger_matrix/presence ./docs/client-server/swagger_matrix/profile ./docs/client-server/swagger_matrix/registration ./docs/client-server/swagger_matrix/rooms ./docs/server-server/specification.rst ./graph/graph.py ./jsfiddles/create_room_send_msg/demo.js ./jsfiddles/event_stream/demo.js ./jsfiddles/example_app/demo.js ./jsfiddles/register_login/demo.js ./jsfiddles/room_memberships/demo.js ./synapse/api/urls.py ./tests/federation/test_federation.py ./tests/handlers/test_presence.py ./tests/handlers/test_typing.py ./tests/rest/test_events.py ./tests/rest/test_presence.py ./tests/rest/test_profile.py ./tests/rest/test_rooms.py ./webclient/components/fileUpload/file-upload-service.js ./webclient/components/matrix/matrix-service.js
* nasty big monolithic commit of a whole bunch of UI/UX improvements:Matthew Hodgson2014-08-311-5/+9
| | | | | | | | - add a simple CSS template across the app for navigation & cosmetics - split login into login & register, and totally reskin it - restructure room CSS to play nicely with it - implement basis 1:1 chat from user pages - disable autofocus on iOS to improve UX
* Give basic feedback on the state of VoIP calls in the UI.David Baker2014-08-291-1/+2
|
* better support for call hangupsDavid Baker2014-08-291-16/+16
|
* The away state is unavailable not offlineEmmanuel ROHEE2014-08-291-7/+7
|
* Oops, forgot a s/sendObject/sendEvent/ - make messages work again!David Baker2014-08-291-1/+1
|
* Don't break if the call ends before it connectsDavid Baker2014-08-291-12/+20
|
* Change call signalling messages to be their own types of room events rather ↵David Baker2014-08-294-17/+26
| | | | than room messages with different msgtypes: room messages should be things that the client can display as a unit message to the user.
* Merge branch 'voip' into developDavid Baker2014-08-293-1/+332
|\ | | | | | | | | Conflicts: webclient/room/room-controller.js
| * More basic functionality for voip calls (like hanging up)David Baker2014-08-292-4/+68
| |
| * First basic working VoIP call supportDavid Baker2014-08-282-15/+134
| |
| * WIP voip support on web clientDavid Baker2014-08-273-1/+149
| |
* | Added a timeout(40s) to $http stream requests (/events) in order to be ↵Emmanuel ROHEE2014-08-292-10/+27
| | | | | | | | notified by an error when there is a network issue. Thus, we can retry with a new request.
* | Renamed matrixService.assignRoomAliases into getRoomAliasAndDisplayNameEmmanuel ROHEE2014-08-291-26/+30
| |
* | Added waitForInitialSyncCompletion so that clients can know when they can ↵Emmanuel ROHEE2014-08-282-9/+24
| | | | | | | | access to the data retrieved by the initialSync Request
* | BF: Made member events parsing work (handleEvents expects an array of events)Emmanuel ROHEE2014-08-281-8/+4
|/
* Moved assignRoomAliases into a central piece: matrixService for nowEmmanuel ROHEE2014-08-271-0/+34
|
* Support limit and feedback param of initialSyncEmmanuel ROHEE2014-08-271-2/+11
|
* Renamed /ds to /directoryKegan Dougal2014-08-271-1/+1
|
* Renamed /public/rooms to /publicRoomsKegan Dougal2014-08-271-1/+1
|
* fix joining rooms on webclientDavid Baker2014-08-271-1/+2
|
* Renamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and ↵Kegan Dougal2014-08-271-1/+1
| | | | removed tests which tested that. Updated cmdclient and webclient.
* Removed MessageRestServlet, use RoomSendEventRestServlet instead. Updated ↵Kegan Dougal2014-08-261-6/+5
| | | | cmdclient, tests and webclient. All appears to work.
* Renaming: /im/sync >> /initialSync. /rooms/$roomid/members/list >> ↵Kegan Dougal2014-08-261-3/+3
| | | | /rooms/$roomid/members. /rooms$roomid/messages/list >> /room/$roomid/messages. Updated cmdclient, tests and webclient.
* Determine and send user presence stateEmmanuel ROHEE2014-08-262-0/+130
|
* webclient: Updated to use /rooms/$roomid/[invite|join|leave]Kegan Dougal2014-08-261-7/+11
|
* Adjusted webclient to use new state paths. Updated membership msg template ↵Kegan Dougal2014-08-262-39/+12
| | | | to actually show the person invited. Factored out common membership functions in matrix service.
* Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.0.1Erik Johnston2014-08-221-5/+13
|\
| * Update web client to use new IS API.David Baker2014-08-221-5/+13
| |
* | Keep track of people's presence and query that when we update the members list.Erik Johnston2014-08-221-0/+3
| |
* | Reinitialize room when creating a RoomController so that we start off with a ↵Erik Johnston2014-08-221-1/+11
| | | | | | | | clean slate, as it expects/
* | Make the content repo work with in daemon mode. Return the full url on ↵Erik Johnston2014-08-221-1/+1
| | | | | | | | 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
| |
* | actually display room metadata based on m.room.membe eventsMatthew Hodgson2014-08-211-0/+11
| |
* | Only start event streaming after having set up the controllers.Erik Johnston2014-08-211-0/+10
| |
* | Change webclient to always hit the im sync api before streaming so we get ↵Erik Johnston2014-08-211-6/+35
|/ | | | current presence state
* Generate thumbnail client side and send its URL and info with the image ↵Emmanuel ROHEE2014-08-212-6/+137
| | | | message body
* Made uploadContent compatible for sending Blob objectsEmmanuel ROHEE2014-08-211-4/+22
|
* Added resizeImage()Emmanuel ROHEE2014-08-211-1/+86
|
* Send images with their imageInfo (size, mymetype, width & height)Emmanuel ROHEE2014-08-203-4/+57
|
* Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-191-3/+1
|\
| * Cleaned dead codeEmmanuel ROHEE2014-08-191-3/+1
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-193-19/+44
|\| | | | | | | | | | | | | Conflicts: tests/rest/test_presence.py tests/rest/test_rooms.py tests/utils.py
| * Change mouse cursor to pointer on elements user can click onEmmanuel ROHEE2014-08-191-1/+4
| |
| * Implemented GETs for the ContentRepoResource. It all actually appears to be ↵Kegan Dougal2014-08-181-2/+3
| | | | | | | | working.
| * Auth content uploads. Added a mapping function from request > filename. ↵Kegan Dougal2014-08-182-18/+29
| | | | | | | | 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.
| * Support room alias in rooms URL (ex: ↵Emmanuel ROHEE2014-08-181-0/+10
| | | | | | | | http://127.0.0.1:8000/#/room/#public:localhost:8080)
* | Change the way pagination works to support out of order events.Erik Johnston2014-08-192-3/+2
|/
* 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.
* Do not start the event stream if the user is not logged in (=if he does not ↵Emmanuel ROHEE2014-08-181-5/+14
| | | | | | has an access token yet) Add isUserLoggedIn to check this.
* When new invites come down, update the My Rooms list. Added hacks to make ↵Kegan Dougal2014-08-151-8/+11
| | | | the display name a bit nicer (/im/sync needs to return room aliases / membership events better)
* Remove old polling stuff from RoomController. Added service comments. Do not ↵Kegan Dougal2014-08-152-4/+17
| | | | 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-151-5/+57
| | | | 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-151-2/+24
| | | | controllers without duplicated storage for each. This also gives updates.
* Added event handler service which.. handles events. More specifically, it ↵Kegan Dougal2014-08-152-4/+100
| | | | $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-152-0/+78
| | | | the event stream. This depends on matrix service to do the actual hit. Currently this has exactly the same behaviour as before.
* Create a temporary upload service server side (by hacking ↵Emmanuel ROHEE2014-08-141-0/+47
| | | | 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-141-0/+11
| | | | button to get more (needs to be hooked into infini-scrolling).
* Move the unknown token broadcast to the interceptor. Return the $http ↵Kegan Dougal2014-08-141-20/+1
| | | | promise and not a wrapped one via $q. Everything now needs a level deeper nesting. Fixed registration and login.
* Detect when the user access token is no more valid and log the user out in ↵Emmanuel ROHEE2014-08-141-2/+12
| | | | this case
* Created m-file-input. A directive to open a file selection dialog on ↵Emmanuel ROHEE2014-08-141-0/+43
| | | | whatever HTML element
* Room: Added a text input to type an image URL in order to send an image messageEmmanuel ROHEE2014-08-131-0/+11
|
* add in copyrights to everything, not just the synapse subdir, and add a ↵Matthew Hodgson2014-08-131-0/+16
| | | | copyrighter.pl whilst we're at it
* Fix the 'Go to room' button to use the correct room alias apiErik Johnston2014-08-121-0/+9
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+307