Sridhar Ratnakumar
a81be336ac
docs: cleanup 0.6 docs no longer necessary
2022-06-11 16:17:24 -04:00
Sridhar Ratnakumar
92fc401d5e
routeUrl: use direct by default
2022-06-11 12:01:42 -04:00
Sridhar Ratnakumar
1e46e85cdf
Expand changelog
2022-06-08 12:01:51 -04:00
Sridhar Ratnakumar
01a275fda4
Update changelog
2022-05-16 20:29:59 -04:00
Sridhar Ratnakumar
6ffa27b3f8
Changelog and cabal ver
2022-04-07 12:36:09 -04:00
Sridhar Ratnakumar
b47fddd2cf
Handle switching local anchors
2022-03-24 14:58:35 -04:00
Sridhar Ratnakumar
87c73bed50
Merge remote-tracking branch 'origin/master' into multisite
2022-02-15 22:03:11 -05:00
Sridhar Ratnakumar
89c9f9234c
Version and changelog
2022-02-15 22:02:37 -05:00
Sridhar Ratnakumar
be8c9deac4
iso check: check for all candidates
2022-02-13 16:50:55 -05:00
Sridhar Ratnakumar
0666e02d02
Create multi site example, and refactor a bit
2022-02-13 12:23:54 -05:00
Sridhar Ratnakumar
40ef7f0e15
Ema r
& ModelFor r
(#82 )
...
* Change typeclass to be `Ema r`.
* Error out when allRoutes returns empty, in gen.
Fixes #73
* Fix runEmaPure and Ema instance for ()
* Update nixpkgs, and add bin/repl
2022-02-12 11:16:47 -05:00
Sridhar Ratnakumar
e7458816be
Fix a static site generation bug in Ex02_Basic.hs
2022-02-08 11:15:45 -05:00
Sridhar Ratnakumar
1dbae61429
Release 0.6; and unexpose examples
2022-02-05 12:05:54 -05:00
Sridhar Ratnakumar
bd0d1ba8fd
Ema.Route.Slug moved to hackage
2022-02-05 11:55:40 -05:00
Sridhar Ratnakumar
01c93d07d7
Disable examples by default
...
This, in addition previous commits, resolves #68
2022-02-05 11:08:11 -05:00
Sridhar Ratnakumar
14a069027e
Remove Blaze helper; all helpers now gone.
2022-02-04 19:56:21 -05:00
Sridhar Ratnakumar
f65e2b1b73
markdown helper gone
2022-02-04 19:33:00 -05:00
Sridhar Ratnakumar
cabae54a23
FileSystem -> unionmount
2022-02-04 19:13:00 -05:00
Sridhar Ratnakumar
32b51222d6
Remove Ema.Helpers.PathTree (see *pathtree* on Hackage)
2022-02-04 18:56:49 -05:00
Sridhar Ratnakumar
674005845b
js: Add ema.switchRoute
2022-01-29 13:46:24 -05:00
Sridhar Ratnakumar
b6dc7a72ea
Release 0.4.0.0
2022-01-19 22:03:11 -05:00
Sridhar Ratnakumar
dd34524fbc
Revamp Tailwind module
2022-01-09 18:05:20 -05:00
Sridhar Ratnakumar
8e6a660cb3
Add run command taking --host and --port
2022-01-09 13:40:33 -05:00
Sridhar Ratnakumar
b1a0100636
runEma: return dependently typed action result
2022-01-08 20:01:45 -05:00
Sridhar Ratnakumar
2ad9036293
Return generated files
2022-01-08 16:06:07 -05:00
Sridhar Ratnakumar
9d3a985f95
runEma: return runModel's return
2022-01-07 15:37:17 -05:00
Sridhar Ratnakumar
0b536ea4d2
Have runEma return Cli
2022-01-06 20:10:51 -05:00
Sridhar Ratnakumar
0d1c4a2774
layoutWith: Don't hardcode body attrs
2022-01-02 12:09:13 -05:00
Sridhar Ratnakumar
9e2743c0a3
Advance nixpkgs
2021-12-19 11:23:06 -05:00
Sridhar Ratnakumar
cf511420d1
Unbreak after Tailwind 3.x release
2021-12-09 18:37:28 -05:00
Sridhar Ratnakumar
93d8450c53
Publish 0.2
2021-11-21 18:16:03 -05:00
Sridhar Ratnakumar
ee4b93eeda
Move filesystem code to separate library
2021-11-21 17:47:24 -05:00
Sridhar Ratnakumar
e2444a4c24
websocket: don't handle target=_blank links
...
For https://github.com/srid/emanote/issues/129
2021-09-26 11:52:37 -04:00
Sridhar Ratnakumar
95efd456aa
More thorough FileAction type delineation
2021-09-12 11:42:58 -04:00
Sridhar Ratnakumar
97aca66a3b
Bind to loopback by default
...
Can be overriden using $HOST
Also advance nixpkgs
2021-09-06 16:40:38 -04:00
Sridhar Ratnakumar
80f692995f
Move Emanote's union mount to Ema
2021-08-22 12:52:59 -04:00
Sridhar Ratnakumar
52f47d4b19
Use secure websocket on HTTPS ( #46 )
2021-07-10 09:13:13 -04:00
Sridhar Ratnakumar
6684300f7c
Write .nojekyll
2021-07-01 10:38:42 -04:00
Sridhar Ratnakumar
ae113f5246
Remove -C option
2021-06-28 11:05:48 -04:00
Sridhar Ratnakumar
d5096e0529
Add routeUrlWith ( #49 )
...
* Add routeUrlWith
* Add FromJSON instance
* docs
2021-06-27 19:11:34 -04:00
Sridhar Ratnakumar
780decdcf9
Don't scroll to top when hot reloading current page
...
Fixes #43
2021-06-17 18:05:08 -04:00
Sridhar Ratnakumar
052d3206bc
Avoid unnecessary DOM patch on initial page load
2021-06-17 18:04:48 -04:00
Sridhar Ratnakumar
deb531557d
Use latest version of tailwind CDN
2021-06-17 17:37:49 -04:00
Sridhar Ratnakumar
66a679700a
Re-evaluate script tags on reload ( #45 )
2021-06-09 21:57:30 -04:00
Sridhar Ratnakumar
9714d12a84
Prevent logging from slowing down static generation
2021-06-09 17:13:47 -04:00
Sridhar Ratnakumar
04b773eb5e
Gracefully handle 404s
2021-06-06 21:51:10 -04:00
Sridhar Ratnakumar
d366c83fc9
Allow encodeRoute (thus routeUrl) take model
as argument
2021-06-02 20:01:24 -04:00
Sridhar Ratnakumar
09b00a8eb4
Fix routeUrl bug in non-HTML paths encoding
2021-05-27 16:25:43 -04:00
Sridhar Ratnakumar
e8c720aaad
Remove wikilink parser
...
This is now available in commonmark-hs package.
2021-05-27 14:29:27 -04:00
Sridhar Ratnakumar
feb58f5129
Support static files outside source directory ( #39 )
...
* Try to fix it, WIP
* docsx
2021-05-25 22:50:05 -04:00