David Baker
c0a4574069
For single instance, allow domain present & match
2016-10-04 15:30:46 +01:00
David Baker
de9bf4bb47
Actually use variable
2016-10-04 15:18:07 +01:00
David Baker
304e5b997a
PR Freedback
2016-10-04 11:04:01 +01:00
David Baker
000ca35727
Don't pop up errors when this API fails for guests
2016-10-03 16:30:57 +01:00
David Baker
776fe2ad70
Different way of getting fields for 3p location
...
Try to match protocol insance from 'domain' field and use its
fields for all but the last field. Assume the last takes the user
input.
2016-10-03 13:42:55 +01:00
David Baker
b71b1b5535
Use more variables
2016-09-30 09:39:30 +01:00
David Baker
761600f325
Add native joining of 3p networks to room dir
...
Use the 3rd party location lookup API to accept third-party locations
in their native form and look up the corresponding portal room for
that location.
Also give the network dropdown some placeholder text.
Fixes https://github.com/vector-im/vector-web/issues/2374
2016-09-29 15:30:54 +01:00
David Baker
65f14c7d21
Stop random rooms appearing when switching network
...
in the public room directory
2016-09-28 14:18:40 +01:00
David Baker
5ca391f914
Replace double truth test with something sane
...
Also typo
2016-09-28 11:04:13 +01:00
David Baker
6ff1c30a4b
Fix spurious fill requests when switching networks
...
Ignore responses for old servers too, don't trigger a backfill request
when we re-render before refresh. Also a few more comments.
2016-09-28 10:08:03 +01:00
David Baker
85ea45a64a
Room dir: New filtering & 3rd party networks
...
Changes filtering on 3rd party networks to divide into portal / non portal rooms and not show portal rooms by default. Adds a special '_matrix' network for all rooms that aren't portal rooms.
Also adds ability to query 3rd party directory servers.
2016-09-27 19:39:20 +01:00
David Baker
bf58c340bc
Oops, missed the ref
2016-09-26 15:30:42 +01:00
David Baker
dc0b15bdfa
Remove unused variable / function
2016-09-26 14:17:36 +01:00
David Baker
51a5542446
Make tests pass
2016-09-23 18:20:31 +01:00
David Baker
8e1105b12a
Oops, wrong function
2016-09-23 15:25:13 +01:00
David Baker
2e77b0a3c7
Use directory search box component
2016-09-23 13:48:44 +01:00
David Baker
53fd3f52fa
Oops, onChange doesn't catch the enter key
2016-09-16 20:56:14 +01:00
David Baker
3d97061d78
Check if we need to fetch more rooms after filter
2016-09-16 19:59:06 +01:00
David Baker
50f05db29e
Don't show loading spinner if just paginating
2016-09-16 19:29:56 +01:00
David Baker
2fdec51a5b
Wait a bit before sending filter requests
...
avoid hammering the server with requests for each keystroke
2016-09-16 18:53:18 +01:00
David Baker
6d332256b5
Ignore results of old requests
2016-09-16 18:48:47 +01:00
David Baker
2b6fbb038a
Show headers while loading
...
& show spinner whilst waiting for filter requests
2016-09-16 18:41:29 +01:00
David Baker
a11516a984
Make publicrooms use the new paginating API
...
Also do filtering on the server
WIP: This breaks the network dropdown
2016-09-16 17:33:28 +01:00
David Baker
cd4564d3d3
Make the matrix.org section be everything
...
(ie. every alias on the matrix.org HS, so currently everything, since we don't pull in any other directories)
2016-09-15 18:56:04 +01:00
David Baker
c1e83da35d
Put network list config into config file
2016-09-15 17:20:13 +01:00
David Baker
f3cbb9fe90
Make the network dropdown work
2016-09-15 15:18:12 +01:00
David Baker
43b87e1f82
Add network selector that doesn't do anything yet
2016-09-15 11:29:27 +01:00
Matthew Hodgson
eb108c7866
Merge branch 'develop' into matthew/scalar
2016-08-04 13:41:04 +01:00
Richard van der Hoff
4b33164ab6
Remove relayoutOnUpdate prop on gemini-scrollbar
...
The latest gemini-scrollbar makes relayoutOnUpdate redundant, so update to it
and remove the properties.
2016-07-27 11:41:27 +01:00
David Baker
4bc4292ceb
Rooms may not have aliases
2016-06-23 11:12:25 +01:00
David Baker
5f477b313b
Unused variable
2016-06-23 10:20:11 +01:00
David Baker
d45e44d01c
Fix joining rooms by typing the alias
...
Fixes regression introduced by https://github.com/vector-im/vector-web/pull/1680
2016-06-23 10:11:46 +01:00
David Baker
c35c9f7c3a
PR feedback
2016-06-22 16:20:06 +01:00
David Baker
ff5c7072d7
Mark the room as private (unlisted) too
...
Also clean up RoomDirectory a bit and just pass the room object around rather than the name / alias, so now we don't have to look up the room by ID again.
2016-06-22 14:52:55 +01:00
David Baker
ad2541299f
Add ability to delete an alias from room directory
...
Hidden behind shift-click for now, but we're going to need to do this a lot to moderate the public room list.
2016-06-21 16:47:40 +01:00
Matthew Hodgson
4dfb0e9a90
Merge branch 'develop' into matthew/scalar
2016-06-19 22:40:58 +01:00
David Baker
3547bd8d00
Update for react-sdk dbkr/fix_peeking branch
...
With the react-sdk update, this does nothing functionally since the room ID would just
have been ignored, but update this to correctly supply only one of ID/alias.
2016-06-14 13:02:34 +01:00
David Baker
d7504aeda5
Switch to new view_room
2016-06-10 15:13:41 +01:00
David Baker
a030e46c69
Use join_room_by_alias in RoomDirectory
...
This still doesn't actually cause the room to be joined by alias though, so still need to fix that
2016-06-09 17:13:02 +01:00
David Baker
f61cfbc542
Fix RoomDirectory to join by alias whenever possible.
2016-06-09 16:41:01 +01:00
Matthew Hodgson
e5835d2731
typo
2016-05-18 15:01:36 +01:00
Richard van der Hoff
02f58ef9e3
Don't relayout scrollpanels every time something changes
...
Gemini's habit of reflowing everything everytime anything changes at all makes
for an unresponsive app. Turn it off everywhere we use gemini.
2016-04-20 12:29:32 +01:00
Matthew Hodgson
7cd24e7dbd
commented out fading for RoomDirectory
2016-04-15 18:29:57 +01:00
Matthew Hodgson
50f94eb040
stop guests rom trying to blunder into non-guest rooms
2016-04-13 13:33:23 +01:00
Richard van der Hoff
851b601d2c
Pass SimpleRoomHeader topic in as a named prop
2016-03-29 23:25:26 +01:00
Richard van der Hoff
cf0340c1c7
RoomDirectory: use SimpleRoomHeader instead of RoomHeader
...
SimpleRoomHeader and RoomHeader are now separate things
(https://github.com/matrix-org/matrix-react-sdk/pull/252 ), so update Vector
accordingly.
2016-03-29 16:45:24 +01:00
Matthew Hodgson
27ab79fd38
handle unaliased room naming more sanely
2016-03-23 11:50:38 +00:00
Matthew Hodgson
8cbc8db1cb
oops
2016-03-23 11:38:17 +00:00
Matthew Hodgson
c843ee3157
handle canonical aliases correctly; search on names; support rooms with no aliases
2016-03-23 11:26:18 +00:00
Mark Haines
31915db6f6
Remove trailing whitespace
2016-03-15 18:38:24 +00:00