Chris Smith
332d9b86b2
Migrate to new @GlobalConfig annotation.
7 anni fa
Chris Smith
56b4634c44
Support for core changes.
7 anni fa
Chris Smith
3e072877be
Use EventBus interface.
This is just an IntelliJ refactor, using EventBus in place of
DMDircMBassador whenever possible.
7 anni fa
Chris Smith
06f4c1ff6b
Make the WebSocketController subscribe to events.
8 anni fa
Chris Smith
e53a8bf922
Host DMDirc resources at /res.
8 anni fa
Chris Smith
5de188319c
Improve initial state.
- Pass in ID
- Don't burst the full backbuffer
8 anni fa
Chris Smith
f2598af651
Switch to using Jetty directly.
Spark doesn't work with recent versions, old versions of Jetty
have nasty bugs, and spark doesn't really give us much benefit.
8 anni fa
Chris Smith
a55aa85f2e
Restructure to standard maven/gradle layout.
Stop swimming against the tide and accept what most of the rest of
the world does.
While it adds an annoying depth to the actual source code, it makes
the root directory nicer (no more 'test-res' dirs), means we don't
have to override the gradle config, and makes it nicer to work in
IDEA 2016.1.
8 anni fa
Chris Smith
e579fda440
Remove input methods from WindowModel.
Migrate all users to using the InputModel.
8 anni fa
Chris Smith
b35d87089b
Remove usages of FrameContainer window methods.
These will be going away shortly.
8 anni fa
Chris Smith
0816ba56bd
Pass initial window state to new clients.
This adds an 'initial state producer' to create the burst of
state clients will receive on connect, and serialisers for
WindowModels and BackBuffers.
8 anni fa
Chris Smith
3298500395
Add a controller for websockets.
The handler can't be dependency injected (as it's created by the
framework) so, in order to minimise the amount of static
horribleness, pass in a controller which can do the actual work
and have proper dependencies.
8 anni fa
Chris Smith
8aaef9f2b8
Add basic websocket handler.
8 anni fa
Chris Smith
7df1723c57
Add library=true to dagger module.
8 anni fa
Chris Smith
0549085d84
web2: Add dagger module, make port configurable.
8 anni fa
Chris Smith
456b540c77
Skeleton web UI plugin.
Now with working dependencies and webserver.
8 anni fa