Commit Graph

128 Commits

Author SHA1 Message Date
Travis Ralston
a103f3ca6b Re-use existing sticker picker widgets
There's a potential for a race condition by deleting then recreating the widget. Instead, we'll just re-use the widget and change the properties of it.

Fixes https://github.com/turt2live/matrix-dimension/issues/200

Note that the actual change may not be reflected due to https://github.com/vector-im/riot-web/issues/7547
2018-10-24 00:28:09 -06:00
Travis Ralston
c9bb3aba37 Add a dark theme
Fixes https://github.com/turt2live/matrix-dimension/issues/153
2018-10-22 00:41:35 -06:00
Travis Ralston
52708afa7c Add Spotify widget
Fixes https://github.com/turt2live/matrix-dimension/issues/133
2018-10-21 17:00:10 -06:00
Travis Ralston
ea834d826a Add TradingView widget
Fixes https://github.com/turt2live/matrix-dimension/issues/132
2018-10-21 16:26:57 -06:00
Travis Ralston
9bdba2d474 Add Grafana widget
Fixes https://github.com/turt2live/matrix-dimension/issues/86
2018-10-21 15:17:21 -06:00
Travis Ralston
edbbd3b8c0 Add the frontend for Gitter bridging
Fixes https://github.com/turt2live/matrix-dimension/issues/4
Fixes https://github.com/turt2live/matrix-dimension/issues/7
2018-10-21 14:20:37 -06:00
Travis Ralston
b8a01cc848 Support the webhooks bridge in private rooms 2018-10-20 18:57:54 -06:00
Travis Ralston
3823788cc2 Add the frontend for self-service of webhooks 2018-10-20 18:33:01 -06:00
Travis Ralston
83c06c8591 Warn the user when they try to bridge chats that are already bridged 2018-10-17 21:37:29 -06:00
Travis Ralston
c0936745c0 Frontend interface for basic bridging and unbridging of chats
Requires https://github.com/tulir/mautrix-telegram/pull/235

Puppeting is scheduled to be handled in https://github.com/turt2live/matrix-dimension/issues/214

The TODO comments about asking for unbridge/permission denied will be handled in a later commit.
2018-10-17 21:09:19 -06:00
Travis Ralston
6c4e8f75d4 Add a sticker picker
The useful bit for sending stickers. Implements the rest of #156
2018-05-13 22:32:13 -06:00
Travis Ralston
7a0af05ac4 Sticker pack selection (without widget)
This is the UI where the user can pick which stickers they want. This does not add the widget yet though.

Helps towards #156
2018-05-12 23:51:31 -06:00
Travis Ralston
9a8041ea38 Self-service removal of channel links 2018-03-31 15:48:20 -06:00
Travis Ralston
f33f7e5716 Self-service requests to bridge IRC channels 2018-03-31 14:37:36 -06:00
Travis Ralston
76931819af Add the shell for configuring IRC bridges 2018-03-30 19:22:15 -06:00
Travis Ralston
4365cb0753 Support Travis CI completely
Webhooks are generated eagerly but have lazily set targets so that we can give the user a webhook URL to set in their config. go-neb (upstream & standalone) doesn't give a webhook URL until after the repositories are configured.

Fixes #16
2018-03-30 14:59:25 -06:00
Travis Ralston
606b6d9f56 Front end for travis-ci self-service management
TODO:
* Backend (needs research)
* Webhook URL (probably proxy this)
2018-03-28 22:18:33 -06:00
Travis Ralston
18597db540 Add self-service configuration for the RSS bot
Fixes #14
2018-03-26 21:48:44 -06:00
Travis Ralston
2c1366d9d7 Very early support for configuring complex bots
Using the RSS Bot as an example. Notably missing features:
* Configuration (feeds) not retrieved
* No actual configuration page
2018-03-25 21:02:32 -06:00
Travis Ralston
b5aec06c04 Add a dialog for configuring simple bots 2018-03-25 19:17:09 -06:00
Travis Ralston
d00058cbff Add the configuration screen for Guggy 2018-03-24 21:44:05 -06:00
Travis Ralston
0d520a763f Update webapp to match naming angular naming conventions 2018-03-24 17:16:52 -06:00
Travis Ralston
656d208059 Minor styling improvements for widget configuration pages 2018-03-23 22:13:15 -06:00
Travis Ralston
9a62b34fb7 Fix type parameters coming from parsed URLs 2018-03-22 12:55:50 -06:00
Travis Ralston
0a6c8b7037 Start of support for go-neb via appservices 2017-12-24 02:03:02 -07:00
Travis Ralston
941524f43c Add video widgets 2017-12-23 15:30:57 -07:00
Travis Ralston
2bf7841290 Add twitch livestreams 2017-12-23 15:03:24 -07:00
Travis Ralston
a72177b530 Add jitsi widgets 2017-12-23 14:16:22 -07:00
Travis Ralston
41c887f390 Add google docs configuration 2017-12-23 13:44:19 -07:00
Travis Ralston
2fbd655c46 Add google calendar configuration 2017-12-23 13:32:07 -07:00
Travis Ralston
00b7ddcc1a Fix auto-expanding the edit screen for widgets 2017-12-23 13:17:29 -07:00
Travis Ralston
fce6f2174a Add etherpad widget configuration 2017-12-23 13:16:05 -07:00
Travis Ralston
111423cc7d Move widget configuration template out to its own component 2017-12-22 23:30:42 -07:00
Travis Ralston
1407718999 Upgrade to font awesome 5 (free) 2017-12-22 23:19:30 -07:00
Travis Ralston
faeea3b3a5 Appease the linter some more 2017-12-22 22:17:09 -07:00
Travis Ralston
290e244a4e Actually remove widgets when requested 2017-12-22 22:02:52 -07:00
Travis Ralston
c95ab2bbb2 Use templating for the edit/add views 2017-12-22 21:52:32 -07:00
Travis Ralston
63a3b6b4c2 Fix edit widget button 2017-12-22 21:42:43 -07:00
Travis Ralston
dd02c6df2c Custom widget edit screen 2017-12-22 21:33:37 -07:00
Travis Ralston
6740571183 Prepare UI for editing of integrations 2017-12-22 21:11:27 -07:00
Travis Ralston
4965b61f2d Re-wire the UI to support the new backend
This still doesn't allow editing, but it supports showing the widgets at least.
2017-12-20 21:28:43 -07:00
Travis Ralston
e3a32679c9 Fix circle ci for new project layout 2017-12-15 21:23:57 -07:00
Travis Ralston
da01e93ac6 Merge branch 'master' into travis/ui-refresh 2017-12-15 21:23:02 -07:00
MTRNord
17d6ab8367 Add CircleCI Integration
Signed-off-by: MTRNord <mtrnord1@gmail.com>
2017-12-15 14:13:45 +01:00
Travis Ralston
e8f1167ec2 Organize the shared folder a bit 2017-12-14 23:46:17 -07:00
Travis Ralston
64a841f450 Don't assume we have a title 2017-12-13 22:56:59 -07:00
Travis Ralston
9ff1443878 Refactor how widgets are created/edited in the frontend
Creating and editing widgets is now done against the `dimension` object on a widget. This special object is used to translate the widget between the dirty and persisted states.
2017-12-13 22:44:20 -07:00
Travis Ralston
fd5e367146 Add google calendar widget
Adds #135
Icon source: https://gsuite.google.com/setup/resources/logos/
2017-12-11 17:29:57 -07:00
Travis Ralston
db2dcb459f Add google docs widget
Adds #90
2017-12-11 16:43:50 -07:00
Travis Ralston
84bcc64e30 Use avatars from the integration configurations 2017-12-11 15:42:42 -07:00
Travis Ralston
eb59940907 Also support editing Jitsi widgets 2017-12-10 01:08:32 -07:00
Travis Ralston
993dcdac21 Add Jitsi screensharing support
Self-hosted Jitsi Meet servers are possible for those running Dimension. The default server is Riot.IM's server.

Adds #87
2017-12-10 01:00:31 -07:00
Travis Ralston
99bc1eb660 Unwrap URL after saving 2017-12-09 16:35:40 -07:00
Travis Ralston
e9aecabab4 Reformat code 2017-12-09 16:34:59 -07:00
Travis Ralston
a45232998a Support custom Etherpad servers 2017-12-09 16:31:48 -07:00
MTRNord
2915f6df0a rework etherpad wrapUrl() hack 2017-11-19 11:34:41 +00:00
MTRNord
e9f6543d2e prefix etherpad name with roomID 2017-11-18 22:23:43 +00:00
MTRNord
43e16f047b fix etherpad widget editing 2017-11-18 22:05:15 +00:00
MTRNord
95e658e0b9 add initial etherpad Widget logic 2017-11-18 21:33:47 +00:00
MTRNord
1322b12cf6 Add Twitch Widget 2017-11-10 17:31:46 +00:00
Travis Ralston
2d3c140b26 Don't set the data object unless we have data to set.
Fixes #121
2017-10-10 22:32:08 -06:00
Travis Ralston
3eddf325b5 Remove debugging that was left behind 2017-10-10 22:26:35 -06:00
Travis Ralston
c200020e55 Support video widgets (youtube, vimeo, dailymotion)
Adds #89
2017-10-10 20:44:09 -06:00
Travis Ralston
38ac6ec4e9 Linting 2017-10-09 22:00:29 -06:00
Travis Ralston
27abf3ec1d Support the edit widget button
Adds #120
2017-10-09 21:55:45 -06:00
Travis Ralston
c5146d84ff Make the wrapper more generic in the event we support other wrappers 2017-10-09 20:58:56 -06:00
Travis Ralston
751e1b9c8c Add widget wrapper; Check to ensure content is embeddable
Adds #119
2017-10-09 20:26:46 -06:00
turt2live
c9571576fe Support custom widgets in the frontend
Adds #91
2017-08-28 22:09:00 -06:00
turt2live
91f6bfa7f9 Make tslint happy 2017-08-27 19:12:47 -06:00
turt2live
3f360cb4ab Add Travis CI integration (scalar)
Adds #15
2017-08-27 19:05:38 -06:00
turt2live
2f41826fd5 Make the build happy again 2017-08-26 23:26:00 -06:00
turt2live
3426429105 Automatic refresh of IRC links 2017-06-10 19:09:51 -06:00
turt2live
76ebdf043c IRC channel linking and unlinking 2017-06-10 18:58:05 -06:00
turt2live
30cfe080ce Start of the IRC bridge config: Pull networks and channels
TODO: 
* Provisioning support (IRC API)
* Deprovisioning support (IRC API)
* Ops query (IRC API)
* State update interval
2017-06-09 20:21:06 -06:00
turt2live
a22175ef7a Actually clear the feed url after adding 2017-05-28 23:02:44 -06:00
turt2live
80c62b6eb3 Add missing return 2017-05-28 22:58:14 -06:00
turt2live
e6fed9af5c Clear feed url after adding successfully 2017-05-28 22:57:40 -06:00
turt2live
58feb07119 Support vector's RSS bot. Adds #13
This has a side effect of adding #23 as well. A more performant caching method is probably needed (as this doesn't cache at all).
2017-05-28 22:51:04 -06:00