1
0

Commit Graph

  • a81ec21762 Remove the local AV stream from ourselves when handing it off to a new call or we'll close it when we hang up. David Baker 2014-09-12 11:51:57 +01:00
  • 9819b3619e CSS m.room.topic and m.room.name events in the history Emmanuel ROHEE 2014-09-12 11:56:08 +02:00
  • 311dc61803 Handle NAME_EVENT to get room name update event (TODO: recents needs to be directly plugged to $rootScope.events.rooms) Emmanuel ROHEE 2014-09-12 10:51:05 +02:00
  • d934328904 Added edition of room name Emmanuel ROHEE 2014-09-12 10:48:06 +02:00
  • 6ea20f3503 Show room name updates in room history and recents. Update it with the latest value Emmanuel ROHEE 2014-09-12 10:12:56 +02:00
  • 8b3ce85183 BF: temp workaround while /initialSync on a particular room is not available initRoom on a new room is not called. Call it for any received events Emmanuel ROHEE 2014-09-12 08:54:18 +02:00
  • a059ca6915 few fixes for errors in glare conditions. still seem to end up with no audio if both calls are placed at the same time. David Baker 2014-09-11 19:16:57 +01:00
  • 1e05e30472 Put back the line that adds the stream to the invite, otherwise caller->callee audio won't work... David Baker 2014-09-11 18:59:22 +01:00
  • 249e8f2277 Add a better _store_room_member_txn() method that takes separated fields instead of an event object; also add FIXME comment about a big bug in the logic Paul "LeoNerd" Evans 2014-09-11 18:52:35 +01:00
  • aaf9ab68c6 Rename _store_room_member_txn to _store_room_member_from_event_txn so we can create another, more sensible function of that name Paul "LeoNerd" Evans 2014-09-11 18:44:04 +01:00
  • 3d6aee079e Unit-test for RegistrationStore using SQLiteMemoryDbPool Paul "LeoNerd" Evans 2014-09-11 17:44:00 +01:00
  • 81d061e74e Fix bug where web client wold break trying to add the earliest token without having initialised the room if your first page of history contained only events which didn't call initRoom. Just call initRoom in handleMessages since we use it there rather than leaving it to the individual event handling methods. David Baker 2014-09-11 17:40:38 +01:00
  • fb93a4a9e3 Perform PresenceInvitesTestCase against real SQLiteMemoryDbPool Paul "LeoNerd" Evans 2014-09-11 16:22:44 +01:00
  • ceec607e7f Clearly show when an user cannot join a room. In realtime show who kicked or banned him. Emmanuel ROHEE 2014-09-11 16:54:51 +02:00
  • fb082cf50f start towards glare support (currently not much better but no worse than before) including fixing a lot of self/var self/this fails that caused chaos when we started to have more than one call in play. David Baker 2014-09-11 15:23:06 +01:00
  • 493b1e6d3c Need to prepare() the SQLiteMemoryDbPool before passing it to HomeServer constructor, as DataStore's constructor will want it ready Paul "LeoNerd" Evans 2014-09-11 15:21:15 +01:00
  • 806c49a690 Added support of copy/paste of multi lines content Emmanuel ROHEE 2014-09-11 15:46:24 +02:00
  • aa347b52ba Use autofill-event.js to workaround browsers issue: Form model doesn't update on autocomplete https://github.com/angular/angular.js/issues/1460 Emmanuel ROHEE 2014-09-11 15:07:44 +02:00
  • 4385eadc28 Start of converting PresenceHandler unit tests to use SQLiteMemoryDbPool - just the 'State' test case for now Paul "LeoNerd" Evans 2014-09-11 13:57:17 +01:00
  • 6b20fef52a Invite: reset the input when the invitation has been done Emmanuel ROHEE 2014-09-11 13:52:07 +02:00
  • c92740e8a9 Enable enter key in the invite input Emmanuel ROHEE 2014-09-11 13:43:55 +02:00
  • d13d0bba51 Unit-test DirectoryHandler against (real) SQLite memory store, not mocked storage layer Paul "LeoNerd" Evans 2014-09-11 11:59:48 +01:00
  • d83202b938 Added unit tests of DirectoryStore Paul "LeoNerd" Evans 2014-09-11 11:32:46 +01:00
  • cc049851d0 On member avatar mouseover, show user_id and power level Emmanuel ROHEE 2014-09-11 12:01:44 +02:00
  • 14a9652324 Room topic: if the request fails, show the error in the feedback Emmanuel ROHEE 2014-09-11 11:53:37 +02:00
  • af44e9556d BF: made input autofocus work when opening the room topic input Emmanuel ROHEE 2014-09-11 11:49:59 +02:00
  • 7e7eb0efc1 Show room topic change in the chat history and in the recents Emmanuel ROHEE 2014-09-11 11:31:24 +02:00
  • 8dcb6f24b5 getRoomEventIndex: improved speed for what it is used Emmanuel ROHEE 2014-09-11 09:11:24 +02:00
  • 79fe6083eb Test ProfileHandler against the real datastore layer using SQLite :memory: Paul "LeoNerd" Evans 2014-09-10 18:11:32 +01:00
  • dd1a9100c5 Added unit tests for PresenceDataStore too Paul "LeoNerd" Evans 2014-09-10 17:51:05 +01:00
  • 44998ca450 Merge remote-tracking branch 'origin/develop' into webclient_initialSync Emmanuel ROHEE 2014-09-10 18:35:05 +02:00
  • 7a153b5c94 Show echoed emote with transparency Emmanuel ROHEE 2014-09-10 18:29:52 +02:00
  • 5a06f5c5fc Reenabled transparent echo message. It turns to opaque without flickering now. Emmanuel ROHEE 2014-09-10 18:24:03 +02:00
  • dc7f39677f Remember to kill now-dead import in test_profile.py Paul "LeoNerd" Evans 2014-09-10 16:56:52 +01:00
  • 08f5c48fc8 Move SQLiteMemoryDbPool implementation into tests.utils Paul "LeoNerd" Evans 2014-09-10 16:56:02 +01:00
  • 9774949cc9 It's considered polite to actually wait for DB prepare before running tests Paul "LeoNerd" Evans 2014-09-10 16:50:09 +01:00
  • 53d0f69dc3 Also test avatar_url profile field Paul "LeoNerd" Evans 2014-09-10 16:49:34 +01:00
  • 6081f4947e Tiny trivial PoC unit-test using SQLite in :memory: mode Paul "LeoNerd" Evans 2014-09-10 16:42:31 +01:00
  • 6d18b52931 Clean previous request feedback when doing a new request Emmanuel ROHEE 2014-09-10 17:40:34 +02:00
  • 81ecaf945d BF: Made /op work when providing no power value. 50 is used as default in this case Emmanuel ROHEE 2014-09-10 17:37:51 +02:00
  • 55397f6347 prepare_database() on db_conn, not plain name, so we can pass in the connection from outside Paul "LeoNerd" Evans 2014-09-10 16:23:58 +01:00
  • 2faffc52ee Make sure not to open our TCP ports until /after/ the DB is nicely prepared ready for use Paul "LeoNerd" Evans 2014-09-10 16:16:24 +01:00
  • 6c1f0055dc No need for a tiny run() function any more, just use reactor.run() directly Paul "LeoNerd" Evans 2014-09-10 16:07:44 +01:00
  • 811716592c Made users count auto updating. Do show it if the info is not available (ex:user has not joined the room yet) Emmanuel ROHEE 2014-09-10 16:46:06 +02:00
  • e2d2d63bcd Animation on call end icon. David Baker 2014-09-10 15:45:09 +01:00
  • dde7ec8e64 Upgrade angularjs to 1.3.0-rc1 since this is new development David Baker 2014-09-10 15:43:27 +01:00
  • ce55a8cc4b Move database preparing code out of homserver.py into storage where it belongs Paul "LeoNerd" Evans 2014-09-10 15:42:15 +01:00
  • 30bfa911fc Member event: store use the the latest one Emmanuel ROHEE 2014-09-10 16:26:11 +02:00
  • da3f842b8c Removed wrong comments about recents-controller.js: it uses $rootScope.rooms not $rootScope.events.rooms managed by event-handler-service.js and used by other controllers Emmanuel ROHEE 2014-09-10 14:53:03 +02:00
  • 130cbdd7af dedup events: state events conflict with messages events. Do not consider them in deduplication Emmanuel ROHEE 2014-09-10 14:45:32 +02:00
  • b099634ba1 Reenabled handle of room states events in initialSync but do not add them to the displayed messages in the room page. Show the m.room.member events only when they come from room.messages (from initialSync of pagination) not from room.state. Emmanuel ROHEE 2014-09-10 14:36:30 +02:00
  • c2afc6cd0a Presence events do not have event id. Do not discard them Emmanuel ROHEE 2014-09-10 13:48:33 +02:00
  • 80b5470663 Add text for incoming calls David Baker 2014-09-10 11:35:14 +01:00
  • 7411794fa1 Show mxid in call bar for users with no displayname David Baker 2014-09-10 11:21:20 +01:00
  • 55fe0d8adc Less buggy rejection of calls when busy David Baker 2014-09-10 11:12:02 +01:00
  • b63dd9506e Improved requests: pagination is done from the data received in initialSync Emmanuel ROHEE 2014-09-10 12:01:00 +02:00
  • 6f256e6380 reject calls if there's already a call in progress David Baker 2014-09-10 10:32:05 +01:00
  • 2bd4346075 More rst formatting. Kegan Dougal 2014-09-09 15:13:50 -07:00
  • f23e5b17b6 Extra restrictions to make parsing easier. Kegan Dougal 2014-09-09 15:11:06 -07:00
  • 56a358481e Tyops Kegan Dougal 2014-09-09 15:00:48 -07:00
  • d5704cf2a3 Added initial draft for human-readable ID rules. Kegan Dougal 2014-09-09 14:53:35 -07:00
  • 550e8f32ac Move model to client-server for now. Kegan Dougal 2014-09-09 13:51:03 -07:00
  • f90ce04a83 Hangup call if user denies media access. David Baker 2014-09-09 18:21:03 +01:00
  • ccfb42e4ff Don't try setting up the call if the user has canceled it before allowing permission. David Baker 2014-09-09 17:58:26 +01:00
  • 25e96f82db Don't break if you press the hangup button before allowing media permission. David Baker 2014-09-09 17:52:01 +01:00
  • 253c327252 Don't play an engaged tone if we hang up locally. David Baker 2014-09-09 17:37:50 +01:00
  • a75f8686ba Fix bug where we used an unbound local variable if we ended up rolling back the persist_event transaction Erik Johnston 2014-09-09 16:27:59 +01:00
  • 1ef51e7939 Improved room page loading flow: do pagination only when the members list is available. Killed an unexpected pagination trigger when the page load: paginateMore Emmanuel ROHEE 2014-09-09 16:46:30 +02:00
  • 746ed57c0e When the user has been kicked or banned from a room, remove the room from his recents list Emmanuel ROHEE 2014-09-09 16:31:50 +02:00
  • 5132fcdb8b Made recents list display something when joining a room which we do not have state data yet Emmanuel ROHEE 2014-09-09 16:10:07 +02:00
  • 332986ba43 BF: prevent joined messages to be displayed twice when joining a room. Do this by synchronizing the m.room.member joined event from the events stream and the start of the pagination Emmanuel ROHEE 2014-09-09 14:18:08 +02:00
  • 472b4fe48c make calls work in Firefox David Baker 2014-09-09 14:53:47 +01:00
  • fd2d3fcfd7 Removed historical code: recents does not need to manage presences. It is already done by initialSync in eventStreamService Emmanuel ROHEE 2014-09-09 11:51:41 +02:00
  • 967ac65586 BF: Made the grey background of the current room cover all the cell width Emmanuel ROHEE 2014-09-09 10:46:15 +02:00
  • 16b40cbede Show call invites in the message table David Baker 2014-09-09 11:45:36 +01:00
  • 75890d7bdd CSS tweakage Kegan Dougal 2014-09-08 19:02:23 -07:00
  • e8f19b4c0d Display a 'Set Topic' button if there is no topic or it's a 0-len string. Kegan Dougal 2014-09-08 18:59:26 -07:00
  • 6bdb23449a Add ability to set topic by double-clicking on the topic text then hitting enter. Kegan Dougal 2014-09-08 18:40:34 -07:00
  • f64cc237fc Fixed bug which displayed an older room topic because it was being returned from /initialSync messages key. Check the ts of the event before clobbering state. Kegan Dougal 2014-09-08 17:27:51 -07:00
  • ef2111099a long topic is long. CSS support it Kegan Dougal 2014-09-08 17:19:04 -07:00
  • df50a6823f Display public room topics if they exist on the public room list. Kegan Dougal 2014-09-08 17:14:58 -07:00
  • 324020d5fe Display the room topic in the room, underneath the name of the room. Kegan Dougal 2014-09-08 15:36:52 -07:00
  • 544691ab05 Update jsfiddles to have more helpful error messages when there is no connection when logging in. Kegan Dougal 2014-09-08 14:53:58 -07:00
  • 5236de5b03 Add slightly helpful advice on how to generate config if you don'y already have one Erik Johnston 2014-09-08 22:52:50 +01:00
  • 91b370650a Don't autogen config in synctl for the same reasons we don't turn of --generate-config by default on the homeserver - it is liable to confuse people who have moved the config file or have chosen a non standard location. Erik Johnston 2014-09-08 22:48:40 +01:00
  • e062f2dfa8 Apparently we can't do txn.rollback(), so raise and catch an exception instead. Erik Johnston 2014-09-08 22:36:51 +01:00
  • c1a25756c2 Added demo.details Kegan Dougal 2014-09-08 14:24:28 -07:00
  • d692994ea4 Updated jsfiddle links to point to github Kegan Dougal 2014-09-08 14:16:22 -07:00
  • a3590dfa26 Bodge to default to '1 users' when you create a room, which is better than blindly assuming a recents controller is writing to rootScope.rooms and setting numUsersInRoom there. Kegan Dougal 2014-09-08 14:01:34 -07:00
  • da9b7b0368 Added big massive TODOs on a huge design problem with initial sync Kegan Dougal 2014-09-08 13:54:09 -07:00
  • 054fad5360 Float right the num users, apply room highlight to user count. Kegan Dougal 2014-09-08 13:28:55 -07:00
  • e0954f3b36 Better checks are better. Kegan Dougal 2014-09-08 12:15:20 -07:00
  • 76fe7d4eba Added num_joined_users key to /publicRooms for each room. Show this information in the webclient. Kegan Dougal 2014-09-08 12:11:36 -07:00
  • 942d8412c4 Handle the case where we don't have a common ancestor Erik Johnston 2014-09-08 20:13:27 +01:00
  • 2eaa199e6a Added number of users in recent rooms. Kegan Dougal 2014-09-08 11:55:19 -07:00
  • 83ce57302d Fix bug in state handling where we incorrectly identified a missing pdu. Update tests to catch this case. Erik Johnston 2014-09-08 19:50:46 +01:00
  • de727f854a Make #matrix public rooms bold to make them stand out from the other public rooms. Ideally this would be metadata in /publicRooms to say something like 'featured channel', but for now, just make it a client side check. Kegan Dougal 2014-09-08 11:33:12 -07:00
  • 0627366b2f Sort the public room list by display name. Kegan Dougal 2014-09-08 11:17:44 -07:00
  • 586e0df62d Updated spec and api docs to desired new format. Kegan Dougal 2014-09-08 11:07:52 -07:00
  • c0577ea87a Rollback if we try and insert duplicate events Erik Johnston 2014-09-08 18:34:18 +01:00