Commit graph

421 commits

Author SHA1 Message Date
Travis Ralston c89bb6df5e
Only declare NodeJS 8 as the supported version
Related: https://github.com/turt2live/matrix-dimension/issues/194
2018-06-08 08:41:40 -06:00
Travis Ralston 31c565abc9 Make sure the auth error message is shown 2018-05-20 18:25:37 -06:00
Travis Ralston a249d6dd68 Revert "Change the authorization flow for the sticker picker"
This reverts commit f28f817ca2.
2018-05-20 18:24:24 -06:00
Travis Ralston 11772f54e7 Make the app blend in less with the Riot light theme
Fixes #188.
2018-05-20 18:16:13 -06:00
Travis Ralston f468226148 Add target=_blank to licenses in the sticker picker
Fixes #187
2018-05-20 17:44:20 -06:00
Travis Ralston d750530a2e Add a temporary notice that there's no sticker packs
This obviously needs improving, and CSS. This will work for now though. Part of #186
2018-05-20 17:43:09 -06:00
Travis Ralston f28f817ca2 Change the authorization flow for the sticker picker
This probably still needs to be reviewed though.
2018-05-20 17:41:06 -06:00
Travis Ralston ad3c0d7f11 Appease the linter 2018-05-13 22:41:19 -06:00
Travis Ralston 8fa56de2bb Reset the user's cached sticker packs when they (de)select packs
Otherwise we'll display stale packs and the user won't see updates. Part of #156
2018-05-13 22:35:54 -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 d2c672cf00 Add a hint as to how to get to your sticker packs from the landing page
Part of #156
2018-05-12 23:51:58 -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 e8274c9d87 Sticker pack administration
The first step towards #156
2018-05-12 21:55:02 -06:00
Travis Ralston e2ed9a8839 Move capabilities to their own class 2018-05-12 16:46:08 -06:00
Travis Ralston afd9d6f6c1 Send the raw payload over postMessage
Blobs don't covert to JSON very nicely.
2018-05-12 15:58:23 -06:00
Travis Ralston 17656e8cf7 Implement basic postMessage widget API components
This implements a 'screenshot' button on the generic widget wrapper, although there's several bugs with the current Riot implementation that prevent it from working and that is why it is commented out.

Fixes #155. Even if it doesn't work.
2018-05-11 21:58:10 -06:00
Travis Ralston d6b4645cb9 Catch errors from the IRC bridge being down
Fixes #184
2018-05-11 17:48:57 -06:00
Travis Ralston 8f98716217 Use the correct hostname when calling federated servers
Fixes #175
2018-05-06 12:21:40 -06:00
Travis Ralston 39365fd00e Don't crash if widgets are not embeddable 2018-04-01 11:23:55 -06:00
Travis Ralston 981e026f8d Static content is defined in the configure() method 2018-04-01 11:14:59 -06:00
Travis Ralston 25716ac54f Improve wording on the home page 2018-04-01 10:22:22 -06:00
Travis Ralston 43460eef7f Validate that we have a rooms array when modifying feeds 2018-03-31 22:21:06 -06:00
Travis Ralston b47693561f Fix the colspan for go-neb and the IRC bridge tables 2018-03-31 22:10:28 -06:00
Travis Ralston a1210761eb Clear the token cache when creating upstreams
Otherwise we'll flood ourselves with token errors in the backend
2018-03-31 22:10:13 -06:00
Travis Ralston e490007cec Update the profile for self-hosted go-neb instances
Fixes #166
2018-03-31 22:01:23 -06:00
Travis Ralston 766700ffd9 Fix a potential error related to some DNS records 2018-03-31 18:11:34 -06:00
Travis Ralston 84f3977fd4 Serve static content correctly 2018-03-31 18:11:15 -06:00
Travis Ralston f6ec58e9d2 Fix the webpack config to include assets in the build 2018-03-31 17:46:33 -06:00
Travis Ralston d34bc05f60 Merge branch 'travis/ui-refresh' 2018-03-31 16:51:57 -06:00
Travis Ralston ca8c6b1d95 Prevent unauthorized people from editing integrations 2018-03-31 16:47:30 -06:00
Travis Ralston a6dae219a5 Add the missing "embed-ability" api for widgets 2018-03-31 16:38:55 -06:00
Travis Ralston a73fb53dcb Update documentation and remove extra files 2018-03-31 16:07:19 -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 1e437a2f8b Add ability to add self-hosted IRC bridges 2018-03-31 11:45:19 -06:00
Travis Ralston aa8ec0ed58 API and UI for toggling IRC networks 2018-03-31 11:26:00 -06:00
Travis Ralston 61ca805b19 Initial admin APIs for managing IRC bridges
Missing functionality:
* Toggle networks
* Add self-hosted
2018-03-30 23:12:31 -06:00
Travis Ralston 76931819af Add the shell for configuring IRC bridges 2018-03-30 19:22:15 -06:00
Travis Ralston bd03db7674 Parse upstream travis-ci configurations correctly 2018-03-30 16:51:10 -06:00
Travis Ralston ff088e3e49 Add a whole lot more logging to the backend 2018-03-30 16:34:39 -06:00
Travis Ralston 39a71429f3 Add documentation for the backend APIs 2018-03-30 15:17:39 -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 6f238fc13f Appease the linter
by actually making the code better
2018-03-29 20:56:08 -06:00
Travis Ralston 3a8167a57a Support saving of travis-ci configuration
For both upstream and self-hosted. What's left is:
* Webhooks (magic proxy through Dimension)
* More instructions on the frontend.
2018-03-29 20:51:49 -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 71de7987c6 Appease the linter 2018-03-26 21:50:19 -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 1233be85e9 Add a health endpoint
For monitoring
2018-03-26 18:46:08 -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