Commit Graph

274 Commits

Author SHA1 Message Date
Travis Ralston
050c872a5f Add some documentation around the widgets structure 2017-12-14 21:45:04 -07:00
Travis Ralston
6657d5dbf5 Start of a new UI for Dimension
Integrations need styling and the breadcrumbs don't work. Further, you can't actually add/edit anything.
2017-12-14 21:25:15 -07:00
Travis Ralston
618d6f44ee Use the scalar-defined widget types instead of our custom ones 2017-12-13 22:57:58 -07:00
Travis Ralston
983a2784c5 Use the new confId parameter 2017-12-13 22:57:39 -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
ff1653b392 Add google docs icon
Usage is in line with Google's current branding
2017-12-11 16:43:33 -07:00
Travis Ralston
3cf06845a3 Update youtube icon
Source: https://www.youtube.com/yt/about/brand-resources/
2017-12-11 16:19:41 -07:00
Travis Ralston
dcba48d8b7 Update wikipedia icon
Usage is in line with Wikipedia's current branding
2017-12-11 16:16:44 -07:00
Travis Ralston
a9ee14d534 Update twitch icon
Source: https://www.twitch.tv/p/brand/
2017-12-11 16:14:13 -07:00
Travis Ralston
407454b983 Update travis ci icon
Source: https://travis-ci.com/logo
2017-12-11 16:13:16 -07:00
Travis Ralston
e136055120 Update rss icon
Source: http://www.iconarchive.com/show/simple-icons-by-danleech/rss-icon.html
2017-12-11 16:10:38 -07:00
Travis Ralston
24f01bd41a Update pollbot icon
It's the same icon that @pollbot:t2bot.io uses as an avatar
2017-12-11 16:06:39 -07:00
Travis Ralston
f548199ca0 Update jitsi icon
Usage is in line with Jitsi's current branding
2017-12-11 16:02:04 -07:00
Travis Ralston
ff6c87fdc5 Update IRC icon
Made specifically for Dimension, under the same license as the project.
2017-12-11 16:00:45 -07:00
Travis Ralston
ce5b44b484 Update imgur icon
Usage is in line with Imgur's current branding.
2017-12-11 15:53:07 -07:00
Travis Ralston
dc3379c53b Update guggy icon
Guggy's updated brand is now a fish.
2017-12-11 15:51:56 -07:00
Travis Ralston
c118bbada2 Update google icon
Usage is in line with Google's current branding.
2017-12-11 15:47:47 -07:00
Travis Ralston
df727cca4c Update giphy icon
Usage is in line with giphy's current branding.
2017-12-11 15:46:12 -07:00
Travis Ralston
71ec746ac5 Update etherpad icon
Source: etherpad.org
2017-12-11 15:42:50 -07:00
Travis Ralston
3e6a2752e5 Update github logo
Source: https://github.com/logos
2017-12-11 15:42:47 -07:00
Travis Ralston
84bcc64e30 Use avatars from the integration configurations 2017-12-11 15:42:42 -07:00
Travis Ralston
9bcf6ee877 Clarify license information in readme 2017-12-11 15:42:38 -07:00
Travis Ralston
bae890f6bb Redact tokens in logs
Adds #105
2017-12-11 13:30:17 -07:00
Travis Ralston
c0336f65ca Add widget title API
Adds #130

This is backed by a homeserver's media repository.
2017-12-11 13:17:54 -07:00
Travis Ralston
41e6dd078d Check for positive response for can_send_event earlier 2017-12-10 03:21:05 -07:00
Travis Ralston
914315ca1d Check if rooms are encrypted to warn users about adding widgets 2017-12-10 03:17:33 -07:00
Travis Ralston
51344656b2 Prevent people from adding widgets in rooms where they have no permission 2017-12-10 02:35:24 -07:00
Travis Ralston
cbcee69b57 Document the Riot widget API 2017-12-10 01:53:16 -07:00
Travis Ralston
74b1c4d797 Document get_room_enc_status 2017-12-10 01:35:33 -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
Travis Ralston
1be87b51b4 Merge remote-tracking branch 'MTRNord/etherpad_widget' 2017-12-09 15:52:34 -07:00
Travis Ralston
57527c2d20 Update packages 2017-12-09 15:51:52 -07:00
Travis Ralston
e37a587d99
Remove sponsor now that they are shutting down 2017-11-24 21:52:25 -07:00
MTRNord
2915f6df0a rework etherpad wrapUrl() hack 2017-11-19 11:34:41 +00:00
MTRNord
6e342f1075 fix etherpad avatar 2017-11-19 09:32:58 +00:00
Marcel
e58d52d6ad
Add etherpad.png avatar 2017-11-18 23:49:26 +01: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
Travis Ralston
3171e0fb20
Merge pull request #125 from MTRNord/twitch_widget
Add Twitch Widget
2017-11-10 23:42:17 -07:00
MTRNord
a2316cd2c9 fix typo s/Youtube/Twitch/ 2017-11-10 17:55:17 +00:00
MTRNord
6fe4ed88cb Add missing space 2017-11-10 17:49:59 +00:00
Marcel
89c22b31ca
Add twitch.png avatar 2017-11-10 18:42:39 +01:00