1
1
mirror of https://github.com/srid/ema.git synced 2024-11-29 09:25:14 +03:00
Commit Graph

126 Commits

Author SHA1 Message Date
Sridhar Ratnakumar
e7bf0333da
Wikilink helper (#27) 2021-05-09 22:49:24 -04:00
Sridhar Ratnakumar
5f10887eaf
URI encoding for slugs (#25)
* Add encodeSlug, decodeSlug

* Decode URL into slug properly. Thus support whitespace in slugs

* refactor
2021-05-09 11:42:41 -04:00
Sridhar Ratnakumar
a5ba4ce6fb Add tree helpers 2021-05-08 08:57:20 -04:00
Sridhar Ratnakumar
7363c3f059 Unicode normalize slugs
Ref: https://github.com/srid/neuron/issues/611
2021-05-06 17:58:52 -04:00
Sridhar Ratnakumar
1c2d30351d
Add markdown parsing helper (#24)
add helpers to parse markdown; `parseMarkdownWithFrontMatter` and `parseMarkdown`
2021-05-06 15:44:53 -04:00
Sridhar Ratnakumar
1cdd072f86 Rename mount function 2021-05-06 10:33:17 -04:00
Sridhar Ratnakumar
0448f0b4ed Update nixpkgs (lvar is in nixpkgs now) 2021-05-06 09:10:27 -04:00
Sridhar Ratnakumar
7aeb55c4b4
Update README.md 2021-05-05 11:38:40 -04:00
Sridhar Ratnakumar
6c28042ee7 Fix logging source 2021-05-01 12:24:05 -04:00
Sridhar Ratnakumar
5386bf7ca9 Add mountFileSystemOnLVar 2021-05-01 12:07:58 -04:00
Sridhar Ratnakumar
2f0bb39b6a tailwind: appHead before twind 2021-04-29 14:50:33 -04:00
Sridhar Ratnakumar
fe8a5c0a65
Update README.md 2021-04-28 00:07:35 -04:00
Sridhar Ratnakumar
6af3405718
Add video demo 2021-04-27 21:43:31 -04:00
Sridhar Ratnakumar
db68f1532d Add default implementation for staticRoutes 2021-04-27 14:50:26 -04:00
Sridhar Ratnakumar
c0bc0da02a Add basic example 2021-04-27 12:59:19 -04:00
Sridhar Ratnakumar
7ce9eead08 Add overflow-y-scroll to body 2021-04-27 12:36:02 -04:00
Sridhar Ratnakumar
5e087cfda1 Add Ord instance to Slug 2021-04-27 11:32:53 -04:00
Sridhar Ratnakumar
a6a46f9430 Fix accidentaly paste in ex02, etc. 2021-04-26 23:20:43 -04:00
Sridhar Ratnakumar
8d2a237141 Fix logo url 2021-04-26 18:10:11 -04:00
Sridhar Ratnakumar
29f0c4d33c Move docs to separate repo 2021-04-26 17:42:00 -04:00
Sridhar Ratnakumar
8ec177db16 Fix cabal file for sdist 2021-04-26 14:28:05 -04:00
Sridhar Ratnakumar
e5d77e1e92 Prep for hackage release 2021-04-26 14:22:49 -04:00
Sridhar Ratnakumar
0f1ceb464f Relax more constraints 2021-04-26 14:08:20 -04:00
Sridhar Ratnakumar
767b9b471b Relax constraint 2021-04-26 14:01:33 -04:00
Sridhar Ratnakumar
48c92c3204 Move Data.LVar to separate repo 2021-04-26 13:36:34 -04:00
Sridhar Ratnakumar
c86aad162a Log app exceptions 2021-04-26 13:16:08 -04:00
Sridhar Ratnakumar
81662e5ece Clarify LVar listen behaviour 2021-04-26 13:08:35 -04:00
Sridhar Ratnakumar
bb9c95a4b9
Add logging support (#17)
* Prototype logging using monad-logger-extras

* Use logging in Server.hs

* Add logging to generate

* Cleanup websocket logging

* Cleanups
2021-04-26 12:46:35 -04:00
Sridhar Ratnakumar
b0354babcd Revert "Allow decodeRoute to take the model"
This reverts commit 55b7a34c94.
2021-04-25 16:27:07 -04:00
Sridhar Ratnakumar
6fc9b7b640 Refactor doc example 2021-04-25 16:26:24 -04:00
Sridhar Ratnakumar
55b7a34c94 Allow decodeRoute to take the model 2021-04-25 15:15:18 -04:00
Sridhar Ratnakumar
bb59a31e27 Fix broken links 2021-04-25 14:51:06 -04:00
Sridhar Ratnakumar
267c12b533 docs: add webapp manifest 2021-04-25 14:14:48 -04:00
Sridhar Ratnakumar
91e72edfa8 Fix static asset serving 2021-04-25 14:14:17 -04:00
Sridhar Ratnakumar
f6438774f9 Fix broken links checking 2021-04-25 14:14:08 -04:00
Sridhar Ratnakumar
b80a9327a6 docs: fix logo url 2021-04-25 13:24:33 -04:00
Sridhar Ratnakumar
f222fa13db
Merge pull request #16 from srid/static-assets
Support for static assets
2021-04-25 13:23:38 -04:00
Sridhar Ratnakumar
c747ec450a Remove unnecessary fundep 2021-04-25 13:23:18 -04:00
Sridhar Ratnakumar
d0984ad9fe Update documentation 2021-04-25 13:18:25 -04:00
Sridhar Ratnakumar
9d517b8755 Implement static assert serving/generating
Also make ema.svg a static file
2021-04-25 13:15:30 -04:00
Sridhar Ratnakumar
d691b8785a runEmaPure: shoud behave the same 2021-04-25 12:44:08 -04:00
Sridhar Ratnakumar
c5f475e5a2 Add staticAssets for paths to static assets; add -C to change CWD 2021-04-25 12:40:50 -04:00
Sridhar Ratnakumar
a661aa5848 Handle and display errors in browser (w/ hot reload)
Resolves #7
2021-04-24 23:25:04 -04:00
Sridhar Ratnakumar
39d327b1d9 docs: stop generating on broken links 2021-04-24 22:58:48 -04:00
Sridhar Ratnakumar
d037975653 doc: rename to concepts 2021-04-24 21:53:37 -04:00
Sridhar Ratnakumar
6e7c9f2dde doc: misc... 2021-04-24 21:42:17 -04:00
Sridhar Ratnakumar
c822580111 advanced route example 2021-04-24 21:16:33 -04:00
Sridhar Ratnakumar
6ef8e3c62f Docs reorg 2021-04-24 20:55:31 -04:00
Sridhar Ratnakumar
55cf7b3bcb Reorg docs 2021-04-24 20:36:29 -04:00
Sridhar Ratnakumar
02a3c7613e Style non-internal links differently 2021-04-24 20:25:51 -04:00