291 Commits

Author SHA1 Message Date
Stavros Polymenis
c2c1a50da2 Turn repository directory into notes folder 2017-08-26 23:54:54 +01:00
Stavros Polymenis
f0fed31f85 Fix configuration for default stylesheet filename 2017-08-26 10:32:38 +01:00
Stavros Polymenis
8edc08b6e9 Validate configuration and report issues
First iteration of configuration checking
Refactor configuration validating into Config module
Check Archive configuration during webserver startup
Checked notes subdirectory
Validate existense of styles under static directory
2017-08-26 10:18:59 +01:00
Stavros Polymenis
e2b750a3bb Drop unused function in Meta 2017-08-25 20:15:06 +01:00
Stavros Polymenis
43a52f549b Replace config url type from String.t to Uri.t 2017-08-25 09:32:09 +01:00
Stavros Polymenis
aac1a65e4c Change Meta.Email to Uri instead of String
Adapt converters to new Email module
2017-08-25 00:09:33 +01:00
Stavros Polymenis
b6c7388e23 Map note topics to Atom feed categories 2017-08-23 23:27:54 +01:00
Stavros Polymenis
d72a09f66d Drop ocamlfind, oasis and lens dependencies 2017-08-22 22:34:29 +01:00
Stavros Polymenis
3e7b2c28a9 Add opium to dependencies in opam file 2017-08-22 22:29:46 +01:00
Stavros Polymenis
f027a7a465 Insert library dependencies for webserver jbuild 2017-08-13 17:08:27 +01:00
Stavros Polymenis
4005542f2e Increase entries per page, hardcoded for now to 16 2017-08-13 15:29:42 +01:00
Stavros Polymenis
698d1ac9cc Fixes logarion.opam for Jbuilder 2017-08-07 22:29:40 +01:00
Stavros Polymenis
5032c009b3 Switches to building to Jbuilder
Squashed commit of the following:

commit f9c6c81ab1658b578ddd8fddcd6d1e130042c521
Author: Stavros Polymenis <sp@orbitalfox.com>
Date:   Sun Aug 6 22:25:51 2017 +0100

    Changes ignored files

commit 1e3bc2b9dc26bbc386235d7e0b4b04228fd1fc3c
Author: Stavros Polymenis <sp@orbitalfox.com>
Date:   Sat Aug 5 22:29:55 2017 +0100

    Renamed core to Logarion and converts webserver to jbuild

commit c1c773da92f9a1627b09526395c8103298644c69
Author: Stavros Polymenis <sp@orbitalfox.com>
Date:   Sat Aug 5 18:10:21 2017 +0100

    Completes conversion of logarion compilation to jbuild

commit e74c864f6daa95415bc2a17ddd7a1299769dce74
Author: Stavros Polymenis <sp@orbitalfox.com>
Date:   Sat Aug 5 15:39:34 2017 +0100

    wip: switching to jbuilder
2017-08-07 22:12:49 +01:00
Stavros Polymenis
2c2e7a01b6 Updates readme community and support section 2017-07-04 22:14:52 +01:00
Stavros Polymenis
dff3e2362c Updates readme 2017-07-04 22:07:24 +01:00
Stavros Polymenis
818f9daa5a Updates contribution guide 2017-07-04 21:49:27 +01:00
Stavros Polymenis
b981c99b39 Improves front-matter parser; checks for fields 2017-06-04 23:01:22 +01:00
Stavros Polymenis
403d9ebaed Renames slug field to alias 2017-06-04 15:24:50 +01:00
Stavros Polymenis
a39ee71b46 Implements pagination 2017-06-02 23:35:07 +01:00
Stavros Polymenis
32a960bf86 Updates opam pin address in readme 2017-05-17 23:58:04 +01:00
Stavros Polymenis
1962203237 Abstracts store (back-end) using the Archive functor
Introduces Store module type.

Logarion module:

* Removed Entry submodule, it mostly duplicated Meta
* Make functor for creating archives given a Store compatible module
  The output Archive module contains functions for sorting, ordering, selecting
  and accumulating (storing) notes.

Meta module:

* Function Path.basename_of_title has been renamed to Meta.string_of_slug
  This is because slugs are now defined explicitely by 'slug' field or derived from
  'title' field. Counting numbers can't be used anymore.
  Slug has an optional, dedicated field.
  Function Meta.slug should be used on a Meta to get the appropriate slug (title or slug).
* Introduces StringSet type (Set of Strings)
  Topics, keywords and series are now StringSets
* Adds SlugMap and IdMap aliases

Note module:

* Automatically scan for Markdown heading to use as title in the absence of one

File module:

* File has a Store compatible signature
  The implementation has an Lwt hack; Lwt will be fully supported in the future

Web module:

* Uses new Logarion.Configuration, File store and Archive.t

Template module:

* Adapted for new types
* Currently disabled topics substitution, because this framework needs reconsideration

Finally:

* Adapts command line interface to work with new store
* Adapts Atom feed to work with new store

Path module renamed to Lpath to avoid clash with OCaml system module.

(Squashed commits from dev)
2017-05-17 00:16:44 +01:00
Stavros Polymenis
d425e2f78b Revises web module's configuration
Moved template paths' record to template module.
Introduced templates directory parameter in web.toml.
Changed web configuration names to make them shorter.
More renames of text to note, where applicable.
2017-04-22 13:20:18 +01:00
Stavros Polymenis
6a4293649f Removes old makefile 2017-04-21 20:44:20 +01:00
Stavros Polymenis
9f39ab0b0f Removes str from opam dependencies 2017-04-21 00:28:36 +01:00
Stavros Polymenis
2fbf9401ed Updates and elaborates on logarion.toml 2017-04-21 00:24:05 +01:00
Stavros Polymenis
f8370a38c4 Adds loading of configurations from conventional locations 2017-04-21 00:22:42 +01:00
Stavros Polymenis
0c06eed97a Documents alpha state in README & revises configuration 2017-04-19 00:44:12 +01:00
Stavros Polymenis
8069d4da00 Removed summary heading 2017-04-18 23:00:14 +01:00
Stavros Polymenis
a6595499a7 Refactors Logarion module; Path types, File functions, adding notes
Reinvented Path types, now in a new module Path.
Moves file functions to module File, including Lwt implementations.
Experimental Logarion.Archive.delta_of for compounding (adding) notes.
Fixes scope warnings.
Fixes a command's documentation.
2017-04-17 16:45:44 +01:00
Stavros Polymenis
ef25c2f366 Fixes typo in opam 2017-04-17 11:25:32 +01:00
Stavros Polymenis
3b9727f926 Removes submodules from dependencies in opam 2017-04-16 15:23:51 +01:00
Stavros Polymenis
170fddd5f6 Adds dependencies in opam file 2017-04-16 13:52:27 +01:00
Stavros Polymenis
8a4c815230 Fixes oasis dependencies which were not applied to whole package. 2017-04-16 13:35:14 +01:00
Stavros Polymenis
6c78316077 Removes more references to 'ymd' 2017-04-16 12:37:17 +01:00
Stavros Polymenis
5098832171 Adds accidentally forgotten meta.ml 2017-04-16 12:22:40 +01:00
Stavros Polymenis
9318073f63 Renames Ymd to Note 2017-04-16 00:28:48 +01:00
Stavros Polymenis
e138b192bc Refactores Meta submodule into a standalone module 2017-04-16 00:07:33 +01:00
Stavros Polymenis
25ddb8b680 Adds configurable static content directory 2017-04-06 01:18:17 +01:00
Stavros Polymenis
b505f96bba Wraps date & times in <time> 2017-04-03 00:50:56 +01:00
Stavros Polymenis
aee84d20ec Adds Envy Code R 2017-04-01 18:37:41 +01:00
Stavros Polymenis
957c87d70c Corrects feed link placement 2017-04-01 17:56:49 +01:00
Stavros Polymenis
9eb1dd7b3f Modulates with_meta_kv into Meta.with_kv 2017-03-31 00:24:33 +01:00
Stavros Polymenis
56d83d00a1 fix atom feed generator 2017-03-19 12:11:28 +00:00
Stavros Polymenis
2e901cc3f3 url string shouldn't end with / 2017-03-19 12:11:05 +00:00
Stavros Polymenis
250e22caf8 licence notification 2017-03-13 23:21:22 +00:00
Stavros Polymenis
a68a181b0e revised documentation 2017-03-13 23:07:21 +00:00
Stavros Polymenis
21de0ceefb devfiles needed for now 2017-03-13 22:52:00 +00:00
Stavros Polymenis
276c99a138 stop making excess files 2017-03-13 22:48:45 +00:00
Stavros Polymenis
4cb225ba78 formatting 2017-03-04 14:37:57 +00:00
Stavros Polymenis
983d638b8b link date and title incase untitled 2017-03-04 14:37:45 +00:00