kb
11 months agoAdding missing std.path import to WUI main
Mira Ayre [Tue, 14 Jan 2020 14:30:19 +0000 (14:30 +0000)]
Adding missing std.path import to WUI

11 months agoFixed typo in usage for CLI
Mira Ayre [Tue, 14 Jan 2020 14:27:04 +0000 (14:27 +0000)]
Fixed typo in usage for CLI

11 months agoAdded "static-dir" option to WUI
Mira Ayre [Mon, 13 Jan 2020 11:48:22 +0000 (11:48 +0000)]
Added "static-dir" option to WUI

This points to the directory containing the static content (CSS).

11 months agoAdded usage info to readme
Mira Ayre [Mon, 13 Jan 2020 11:48:11 +0000 (11:48 +0000)]
Added usage info to readme

11 months agoFinished WUI
Mira Ayre [Mon, 13 Jan 2020 11:35:33 +0000 (11:35 +0000)]
Finished WUI

Can now delete posts. Also finished off light theme with some adjusted
colours.

11 months agoConfig for API
Mira Ayre [Mon, 13 Jan 2020 11:34:20 +0000 (11:34 +0000)]
Config for API

Now points at a different default path. The example config now contains
every option too.

11 months agoNow handles 304s after editing
Mira Ayre [Mon, 13 Jan 2020 10:40:47 +0000 (10:40 +0000)]
Now handles 304s after editing

11 months agoFixed bug that made PATCH requests fail
Mira Ayre [Mon, 13 Jan 2020 10:39:41 +0000 (10:39 +0000)]
Fixed bug that made PATCH requests fail

Due to use of `make` method rather than `makepart` method that was
failing upon trying to build full history when there wasn't any in the
request.

11 months agoWeb UI is now feature complete
Mira Ayre [Mon, 13 Jan 2020 10:39:00 +0000 (10:39 +0000)]
Web UI is now feature complete

Now has the ability to edit and patch entries.

11 months agoWrote most of web UI
Mira Ayre [Sun, 12 Jan 2020 17:34:23 +0000 (17:34 +0000)]
Wrote most of web UI

The Web UI can now show an index of entries either by ID or time. It can
open an entry to view in detail. It can create new entries and even
perform searches for entries, displaying results in relevance order
based on the heuristic values returned by the API. Remaining features
are deleting and editing entries.

Also wrote a small declarative HTML library to accompany the web UI.
Created example config. Moved styling out to a proper CSS file as well
as adding light and dark theme files - the dark theme of which is the
only properly tested one. The light theme will be tested once the UI
itself is done.

11 months agoFixed some small bugs in the CLI
Mira Ayre [Sun, 12 Jan 2020 17:34:03 +0000 (17:34 +0000)]
Fixed some small bugs in the CLI

11 months agoFixed a variety of small issues
Mira Ayre [Sun, 12 Jan 2020 17:32:05 +0000 (17:32 +0000)]
Fixed a variety of small issues

discovered whilst writing the web UI and CLI programs.

11 months agoRenamed folders for better naming scheme
Mira Ayre [Sun, 12 Jan 2020 17:31:08 +0000 (17:31 +0000)]
Renamed folders for better naming scheme

11 months agoStarted web project
Mira Ayre [Wed, 8 Jan 2020 16:51:19 +0000 (16:51 +0000)]
Started web project

Unfortunately though, code.dlang.org went down when I was doing this, so
I can't actually build or test the project.

If you're reading this commit message, then I forgot to rebase before
pushing...

11 months agoAdded tag information to entry formatting
Mira Ayre [Wed, 8 Jan 2020 16:50:55 +0000 (16:50 +0000)]
Added tag information to entry formatting

11 months agoWrote CLI
Mira Ayre [Wed, 8 Jan 2020 14:44:39 +0000 (14:44 +0000)]
Wrote CLI

And removed previous partial attempt in bash that ran painfully slowly.

11 months agoFixed API urls and added title searching
Mira Ayre [Wed, 8 Jan 2020 10:14:15 +0000 (10:14 +0000)]
Fixed API urls and added title searching

Also updated readme with usage information for CLI to be written.

11 months agoRenamed executable output of dub
Mira Ayre [Tue, 7 Jan 2020 15:18:08 +0000 (15:18 +0000)]
Renamed executable output of dub

11 months agoAdded additional files to gitignore
Mira Ayre [Tue, 7 Jan 2020 15:16:26 +0000 (15:16 +0000)]
Added additional files to gitignore

11 months agoWrote API server
Mira Ayre [Tue, 7 Jan 2020 15:16:08 +0000 (15:16 +0000)]
Wrote API server

11 months agoAdded gitignore
Mira Ayre [Tue, 7 Jan 2020 09:45:49 +0000 (09:45 +0000)]
Added gitignore

11 months agoAdded licence and readme
Mira Ayre [Tue, 7 Jan 2020 09:44:46 +0000 (09:44 +0000)]
Added licence and readme