Commit graph

251 commits

Author SHA1 Message Date
Travis Ralston 8cdae3359d Support explicit setting of the federation/client URLs
The client/server URL is needed for go-neb to work correctly, and to remove our complete dependence on federation.

The federation URL is also configurable so servers that don't wish to federate can specify a local address.
2018-03-24 17:09:34 -06:00
Travis Ralston cc921779ae Appease the linter 2018-03-24 15:05:26 -06:00
Travis Ralston bc4319da7d Remove unused APIs 2018-03-24 14:54:20 -06:00
Travis Ralston 58f8ca8335 Support provisioning bots in go-neb
This is so far only possible for the bots that don't require additional configuration in go-neb.
2018-03-24 14:54:12 -06:00
Travis Ralston bebcfa1bba Fix appservice transactions throwing errors
We weren't awaiting the appservice, so the truthy check passes and we get "cannot read property id of undefined" in the REST handler.
2018-03-24 12:20:20 -06:00
Travis Ralston 51810cce8f Fix not being able to edit go-neb instances
The linter required us to use === later on, but this breaks the navigation. We now cast the parameter.
2018-03-24 12:19:29 -06:00
Travis Ralston 62d81ed842 Show the appservice configuration after saving; Make the show config button work
Includes the ability to 'test' the appservice. This doesn't bother checking if the URL is set up correctly because we don't actually care about the transactions.
2018-03-24 12:18:38 -06:00
Travis Ralston 656d208059 Minor styling improvements for widget configuration pages 2018-03-23 22:13:15 -06:00
Travis Ralston fa7fb651c0 Bring the ibox chevron in a little bit, and always display it as a down arrow 2018-03-23 22:12:59 -06:00
Travis Ralston 2e5530179b Add some animation to the iboxes 2018-03-23 22:12:34 -06:00
Travis Ralston 7a2627ad76 Move admin routes to their own API namespace 2018-03-23 21:36:43 -06:00
Travis Ralston 73acbb586f Update linting to include the web project as well 2018-03-23 21:29:48 -06:00
Travis Ralston 7c757a79e6 Use async/await throughout the backend 2018-03-23 21:26:14 -06:00
Travis Ralston 8d6c2dfa00 Convert the frontend to the async/await pattern
We have to drop bluebird to be able to do this.
2018-03-23 21:01:56 -06:00
Travis Ralston 51740308a2 Fix a bug where all bots are considered handled 2018-03-23 20:15:59 -06:00
Travis Ralston 42315de8df List the enabled bots on the go-neb page 2018-03-23 20:15:51 -06:00
Travis Ralston 51ea270fba Adjust the widget configuration button alignment to be better aligned
Using `top` was really just a hack
2018-03-23 20:15:29 -06:00
Travis Ralston b8591b51e4 Fix the edit button alignment on the self-hosted bot configuration 2018-03-23 20:15:03 -06:00
Travis Ralston b0de14eb57 Change the Dimension startup to make use of async/await 2018-03-23 20:14:43 -06:00
Travis Ralston 9a62b34fb7 Fix type parameters coming from parsed URLs 2018-03-22 12:55:50 -06:00
Travis Ralston cee2e72a46 Appease the linter 2018-03-21 20:41:39 -06:00
Travis Ralston 1e52617df1 Package upgrades and change linting rules 2018-03-21 20:40:03 -06:00
Travis Ralston 74054c3962 Add ability to create self-hosted go-neb instances
They can't be provisioned or configured correctly yet, but they exist.
2018-01-31 16:30:08 -07:00
Travis Ralston 1ae69bc563 Remove old files 2017-12-28 18:25:40 -07:00
Travis Ralston 8b3f6e37ce Support configuring the upstream go-neb bots 2017-12-28 18:22:50 -07:00
Travis Ralston 5314bea52d Database structure for NEB 2017-12-24 14:16:39 -07:00
Travis Ralston c5b803343e Move app from src-ts to src 2017-12-24 02:28:48 -07:00
Travis Ralston 70d1d23352 Appease the linter 2017-12-24 02:13:25 -07:00
Travis Ralston 0a6c8b7037 Start of support for go-neb via appservices 2017-12-24 02:03:02 -07:00
Travis Ralston 3f694c2b28 Admin section for enabling, disabling, and configuring widgets 2017-12-23 21:44:04 -07:00
Travis Ralston 441bef5606 Add a landing page of sorts to the admin section 2017-12-23 19:46:07 -07:00
Travis Ralston 3f0f816007 Start of an admin section 2017-12-23 18:47:41 -07:00
Travis Ralston ffdb09d028 Update homepage and branding 2017-12-23 16:20:59 -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 7fd674a8ff Remove legacy configurations for now 2017-12-23 13:15:54 -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 7956f03f0e Use nodejs 8 in travis; Update web start script 2017-12-22 22:11:47 -07:00
Travis Ralston f37a70b7d8 Appease the linter 2017-12-22 22:07:18 -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 0b63c8eb85 Make the whole box title clickable 2017-12-22 21:44:21 -07:00
Travis Ralston 63a3b6b4c2 Fix edit widget button 2017-12-22 21:42:43 -07:00