Kegan Dougal
ac2a177070
Add notification-service.js to handle binging/notifications. Shift logic to this service.
2014-10-31 11:20:07 +00:00
Kegan Dougal
188de756be
SYWEB-45: Display the user_id of a user when hovering over their avatar next to their messages.
2014-10-31 10:06:28 +00:00
Kegan Dougal
864de6a7a4
SYWEB-12: Minor layout tweaks.
2014-10-30 17:23:11 +00:00
Kegan Dougal
ea6bec96d3
SYWEB-12: UX tweaks.
2014-10-30 17:16:16 +00:00
Kegan Dougal
f618f99ece
SYWEB-12: Add ability to add new state events.
2014-10-30 17:01:17 +00:00
Kegan Dougal
0985bfb775
SYWEB-12: Allow edited state events to be submitted.
2014-10-30 16:31:47 +00:00
Kegan Dougal
9de9661baa
SYWEB-12: More formatting and tweaking of state event JSON.
...
Use a proper elastic directive to make the <textarea> resize dynamically.
Use an 'asjson' directive to turn an ngModel of a JSON object into a
formatted JSON string so it can be displayed on the textarea. Also, deep
copy the state events being displayed, else it actually alters the underlying
data structures when playing around with the JSON in the textarea!
2014-10-30 16:21:27 +00:00
Kegan Dougal
6f3f631fd1
SYWEB-12: More formatting.
2014-10-30 13:24:40 +00:00
Kegan Dougal
40342af459
SYWEB-12: Format room info dialog better.
2014-10-30 11:53:28 +00:00
Kegan Dougal
d5aa965522
SYWEB-12: Add a 'Room Info' button which displays all state content.
...
Content displayed in a modal dialog. Currently only read-only.
2014-10-30 11:15:44 +00:00
Kegan Dougal
0d278f5da8
SYWEB-127: Open event info modal dialog when the bubble is clicked.
...
This allows images to be clicked by clicking on the edge with the bubble.
This is important since Redactions are only visible on the event info
screen.
2014-10-29 16:35:33 +00:00
Kegan Dougal
6d4617960d
SYWEB-98: Add redactEvent matrix API call.
2014-10-29 15:31:50 +00:00
Kegan Dougal
70137409ed
SYWEB-98: Add a 'Redact' button to the event info modal dialog.
...
I think this is better than overriding the right-click contextual menu.
Currently clicking this button does nothing.
2014-10-29 15:02:30 +00:00
Kegan Dougal
2a44558fbd
Fix SYWEB-128 : Auto-scroll broken if not exactly at bottom of list.
...
Added a small 10px buffer so if the list isn't quite at the bottom it
still actually scrolls.
2014-10-29 11:05:05 +00:00
Kegan Dougal
fc121f9785
Fix SYWEB-114 : Error message when trying to invite a user already in the room.
2014-10-27 16:48:43 +00:00
Kegan Dougal
da87990bd6
Implement SYWEB-121 : Display JSON when clicking messages.
...
JSON is displayed as a modal dialog via AngularJS' bootstrap module,
"ui.bootstrap".
2014-10-27 16:30:07 +00:00
Matthew Hodgson
1342bcedaf
switch from the deprecated msg.content.prev to msg.prev_content.membership, and fix the bug where kicks of unjoined users aren't displayed sensibly in the history
2014-10-24 16:14:47 +01:00
Matthew Hodgson
514e0fd4b6
fix webclient to know about right timestamps
2014-10-17 23:11:55 +01:00
Kegan Dougal
da19fd0d1a
Add unsanitizedLinky filter to fix links in formatted messages.
...
This filter is identical to ngSanitize's linky but instead of
sanitizing text which isn't linkified in the addText function,
it doesn't.
2014-10-15 14:42:14 +01:00
Kegan Dougal
07890b43ca
Remove org.matrix.custom.text.html event type and replace it with 'format' and 'formatted_body' keys on m.text messages
2014-10-15 13:57:19 +01:00
Kegan Dougal
f4667f86af
Add support for org.matrix.custom.text.html
...
This format will remain undocumented as it is not yet suitable for
introduction into the specification.
2014-10-15 09:32:02 +01:00
Emmanuel ROHEE
d170fbdb9f
BF: Do a pagination when opening a room from an invitation
2014-09-25 14:46:11 +02:00
Emmanuel ROHEE
9d3246ed12
Fixed SYWEB-36: use getUserDisplayName for disambiguating display name in member list and message sender name. This method is robust when disambiguation is no more required
2014-09-25 11:49:43 +02:00
Emmanuel ROHEE
6f5970a2e1
Added hasOwnProperty tests when required to be robust to random properties added to he Object prototype
2014-09-24 12:22:40 +02:00
Matthew Hodgson
7b8e24a588
close buttons on recents (SYWEB-68)
2014-09-24 01:12:59 +01:00
Matthew Hodgson
b08112f936
on safari at least keypress's event.which returns ASCII rather than keycodes, so 38 & 40 was swallowing ( and & rather than up-arrow and down-arrow(!)
2014-09-23 23:35:17 +01:00
Matthew Hodgson
53ae5bce13
comment-convo with kegan
2014-09-23 23:25:56 +01:00
Matthew Hodgson
0e848d73f9
oops, stupid bug on room/$room/state
2014-09-23 20:01:32 +01:00
Matthew Hodgson
437969eac9
use all new /rooms/<room id>/state to actually gather the state for rooms whenever join them. a bit ugly, as we don't currently have a nice place to gather housekeeping after joining a room, so horrible code duplication...
2014-09-23 18:50:39 +01:00
Kegan Dougal
a7420ff2b5
Fix SYWEB-72 : Improve performance when typing.
...
Swapped ng-keydown to a directive, which does the same thing (check if up/down
arrow then call history.goUp/goDown). This has *dramatically* improved
performance when typing in rooms which have lots (>100) of messages loaded.
2014-09-23 16:56:54 +01:00
Kegan Dougal
512f2cc9c4
Fix SYWEB-8 : Buggy tab-complete.
...
The first red blink was caused by an uninitialised search index. There is no
caching of entries, since this then wouldn't update if someone joined/left
during the tab. Instead, set to search index to MAX_VALUE then fix it to a
valid index AFTER the search is complete. Also ditched trailing space on ": ".
2014-09-23 12:22:14 +01:00
Kegan Dougal
b5c9d99424
Show display name changes in the message list.
2014-09-22 17:46:53 +01:00
Matthew Hodgson
9fda37158a
remove the ng-model attribute from mainInput textarea to stop the digest being run every time you press a key (SYWEB-4)
2014-09-20 00:49:45 +01:00
David Baker
648fd2a622
Notify a callee that their browser doesn't support VoIP too.
...
SYWEB-14 #resolved
2014-09-19 18:22:14 +01:00
David Baker
29686f63ac
Fix the "is webrtc supported" titles on buttons and make the video / voice call buttons appear in multi-user rooms but be greyed out with approriate titles.
2014-09-19 16:52:45 +01:00
David Baker
03ac0c91ae
Merge branch 'videocalls' into develop
...
Conflicts:
webclient/room/room.html
2014-09-19 16:26:46 +01:00
Emmanuel ROHEE
709b8ac2b7
SYWEB-13 SYWEB-14: disabled "Call" button if the browser does not support all required WebRTC features
2014-09-19 17:20:33 +02:00
Matthew Hodgson
2ab7e23790
fix SYWEB-41 (hopefully)
2014-09-18 18:18:30 +01:00
Emmanuel ROHEE
0dac2f7a8d
Fixed missing component dependency which created a crash
2014-09-18 19:12:21 +02:00
David Baker
1fb2c831e8
Video calling (in a tiny box at the moment)
2014-09-17 16:26:35 +01:00
Emmanuel ROHEE
246f5d2e20
SYWEB-30: BF: When switching between rooms, pagination flickered between the top of the room before jumping to the bottom of the page
2014-09-17 17:13:07 +02:00
Emmanuel ROHEE
fe7af80198
BF: edit the actual room name not the displayed room name (which has been computed)
2014-09-17 15:46:12 +02:00
Emmanuel ROHEE
b3a0961c6c
SYWEB-7: Use sessionStorage to make per-room history survives when the user navigates through rooms
2014-09-17 14:38:33 +02:00
Emmanuel ROHEE
d9a9a47075
SYWEB-7: Up & down keys let user step through the history as per readline or xchat
2014-09-17 14:18:39 +02:00
Emmanuel ROHEE
f9bb000ccf
WEB-35: joins/parts should trigger desktop notifications
2014-09-17 09:41:21 +02:00
Kegan Dougal
95e171e19a
Don't bing for sent messages. Handle cases where the member is unknown rather than erroring out.
2014-09-16 16:23:20 +01:00
Kegan Dougal
b36a0c71d1
Added utility function containsBingWord and hook up some css to it.
2014-09-16 15:35:23 +01:00
Kegan Dougal
a402e0c5e6
Added bing detection logic. Persist the display name of the user in localstorage for use when binging.
2014-09-16 15:35:23 +01:00
Kegan Dougal
660364d6a7
Move the notification logic out of an individual room controller and into the general event handler, so we can notify for >1 room.
2014-09-16 15:35:23 +01:00
Kegan Dougal
b170fe921e
Added a section on bing words if you enable desktop notifications.
2014-09-16 15:35:23 +01:00