Jens Krause
acfc81e79f
Force use of UTF8
2017-10-08 17:51:38 +02:00
Veronika Romashkina
5e44a4a3ac
Merge pull request #210 from aelve/rename-mdText
...
[#208 ] Rename mdText to mdSource
2017-10-07 19:06:38 +03:00
vrom911
00cbb3ed36
[ #208 ] Rename mdText to mdSource
2017-10-07 18:45:09 +03:00
Artyom Kazak
7661a0edc3
Merge pull request #205 from aelve/neongreen/sections
...
Update to newer cmark-sections
2017-09-10 16:24:12 +03:00
Artyom Kazak
75c08fd87d
Merge pull request #203 from aelve/sectore/202-api-endpoints
...
#202 Add API endpoints
2017-09-10 16:12:27 +03:00
Artyom
0f2d0fa86b
Update to newer cmark-sections
2017-09-10 16:08:03 +03:00
Jens Krause
132e6c89de
Update template ( #204 )
...
to fix tests
2017-09-10 14:37:48 +02:00
Jens Krause
7d6aa64d4b
Fix decoding ItemKind
issue ( #204 )
2017-09-10 10:10:39 +02:00
Jens Krause
bb510a9f1d
Introduce EndpointError
( #202 )
...
to improve error handling
2017-09-09 20:37:00 +02:00
Jens Krause
ac6ad91d34
Read server-side state of CategoryDetail
( #202 )
...
from client-side
2017-09-09 20:29:10 +02:00
Jens Krause
72d53a7ce0
Merge branch 'master'
...
into sectore/202-api-endpoints
2017-09-09 11:30:54 +02:00
Artyom
e76eb5a819
[travis] Update chromedriver
2017-09-09 11:32:30 +03:00
Artyom
433a9b67d2
[api] Make all handlers return Either ApiError (for consistency)
2017-09-08 22:36:07 +03:00
Jens Krause
f676248a49
Display data of fetching a category ( #202 )
2017-09-08 18:09:23 +02:00
Jens Krause
4fdc91b1f5
Add category/{id}
endpoint
...
and handle its data
2017-09-08 17:53:33 +02:00
Jens Krause
3c8f552597
Extract routes- / url-helper into *.Common.*
2017-09-08 17:26:25 +02:00
Jens Krause
2968979823
Add endpoint categories
+ read state ( #202 )
...
+ handle data
+ view data
+ read state on client side
2017-09-07 22:09:32 +02:00
Jens Krause
1c963e30f8
Guide.Types
-> Guide.Common.Types
2017-09-07 22:03:20 +02:00
Jens Krause
cc34e01e5e
Add cors
middleware ( #202 )
2017-09-07 21:20:30 +02:00
Artyom Kazak
37cde2cef0
Merge pull request #201 from aelve/sectore/199-use-purescript-bridge
...
Generate PS types of API endpoints (#199 )
2017-09-02 11:48:50 +03:00
Jens Krause
f1fed71b13
Fix imports ( #199 )
2017-09-01 22:43:55 +02:00
Jens Krause
28eb2ee6f2
Generate PS types of API endpoints ( #199 )
...
by using `purescript-bridge`.
- Extract content of `Guide.Api` into `Guide.Api.*` modules.
- Add custom client types to simplify bridging types from HS to PS.
2017-09-01 22:13:16 +02:00
Jens Krause
7582add684
Fix: Remove purescript-smolder
from resolutions
2017-09-01 22:11:10 +02:00
Artyom
c13b429853
Remove duplicated record fields from ItemKind
...
This is apparently needed for purescript-bridge to work
2017-09-01 22:07:35 +02:00
Artyom Kazak
2f7ab3b505
Merge pull request #197 from aelve/deleted-category
...
Show deleted category items at admin page
2017-09-01 18:44:18 +03:00
Artyom Kazak
b364f2fe6c
Merge pull request #198 from aelve/neongreen/api
...
Implement a very simple Servant API
2017-09-01 12:45:20 +03:00
Artyom
62c91eb45d
[api] Provide more information at the /categories endpoint
2017-09-01 12:31:03 +03:00
Artyom
76d76974ad
Implement a very simple Servant API
2017-09-01 11:46:37 +03:00
Artyom
ee9502d300
Move purescript-smolder to “resolutions”
2017-08-31 20:30:41 +03:00
Artyom
404a8e400d
Record the purescript-smolder version we use
2017-08-31 17:59:06 +03:00
Artyom Kazak
068e6c7fdd
Merge pull request #194 from aelve/front-ps-next
...
`Express` server + multi-pages Pux apps (#193 )
2017-08-31 17:22:52 +03:00
Artyom Kazak
62b721773b
Update building instructions
2017-08-31 17:22:22 +03:00
Artyom Kazak
2e104623cc
Merge pull request #192 from aelve/public-db
...
Add PublicDB type
2017-08-29 01:16:40 +03:00
Artyom
5f42eef59d
Don't use acid-state for PublicDB
2017-08-29 01:03:21 +03:00
Jens Krause
b7921a00d2
Add Pux
example app for cat-overview ( #193 )
...
+ add routes on client-side
2017-08-27 22:22:13 +02:00
Jens Krause
afc326c30c
Extract pulp
scripts, which might be deprecated
...
in any future ...
2017-08-27 22:20:55 +02:00
Jens Krause
9115a574a5
Remove ejs
templates ( #193 )
...
All HTML will be rendered by PS (Smolder)
2017-08-27 21:30:28 +02:00
Jens Krause
4367331565
Build server-side by webpack
( #193 )
...
+ make `webpack` configs DRY
2017-08-27 21:28:38 +02:00
Jens Krause
de167957da
Server-side rendering of category-detail
( #193 )
2017-08-27 21:27:00 +02:00
Jens Krause
5d5fd84b47
Add npm
commands ( #193 )
2017-08-27 19:29:37 +02:00
vrom911
b2bf41b2e4
[ #196 ] Add item list of deleted category at /admin
2017-08-27 00:28:33 +03:00
Jens Krause
6a49d7b6ad
Add server|client|common
folders ( #193 )
...
+ add an example `Pux` app for `category-detail` page (still in progress)
2017-08-26 22:38:49 +02:00
vrom911
8d9d428446
Add loading from PublicDB
2017-08-26 15:00:23 +03:00
Jens Krause
ef5d835c2a
Provide Express
server ( #193 )
2017-08-25 21:54:24 +02:00
vrom911
ef74f81092
Add argument --from-publicDB
2017-08-24 19:39:16 +03:00
vrom911
513399ec32
Add PublicDB type
2017-08-24 19:38:17 +03:00
Artyom Kazak
5cb54f4a55
Merge pull request #189 from aelve/archive-links
...
Add archive.org data to links page
2017-08-20 21:56:44 +03:00
Artyom
e207d4a8c6
Move archive.org utils to a separate module
2017-08-20 21:36:02 +03:00
Artyom
2038d47229
Delete the admin user that came with the official database
2017-08-20 21:33:07 +03:00
Artyom
c9fe5866e7
Show login errors
2017-08-20 21:33:07 +03:00