Artyom Kazak
d3093bf062
Fix the docs for 'CSearchResult'
2018-09-22 18:53:07 +02:00
Artyom Kazak
0a309bbff4
Fix errors in the API
2018-09-22 18:53:07 +02:00
Artyom Kazak
a1058bcd2f
Add the search endpoint to the API
2018-09-22 18:53:07 +02:00
Artyom Kazak
8133724f1f
Really buildable on Windows
2018-09-04 02:41:22 +02:00
Artyom Kazak
b9796134bd
Buildable on Windows
2018-09-04 01:35:01 +02:00
Artyom Kazak
9e90e8ea74
Work around sorting
2018-09-02 01:01:47 +02:00
Artyom Kazak
a68e1f1506
Serve both swaggers
2018-09-02 00:30:11 +02:00
Artyom Kazak
cdc4bd74fe
Migrate to GHC 8.4
2018-09-02 00:03:48 +02:00
Artyom Kazak
07b381567f
More methods
2018-09-01 22:48:28 +02:00
Artyom Kazak
dae3b09d4e
Document ItemKind, sort of
2018-09-01 21:06:10 +02:00
Artyom Kazak
fd9e954533
Descriptions for the remaining fields
2018-09-01 20:59:31 +02:00
Artyom Kazak
c7d747478a
Fix <?>
2018-09-01 20:51:41 +02:00
Artyom Kazak
f976a6a2a4
Add name and version
2018-09-01 20:44:30 +02:00
Artyom Kazak
6020688fa3
Use ReDoc instead of Swagger-UI
2018-09-01 20:25:47 +02:00
Artyom Kazak
e75fca62b7
Add some descriptions
2018-09-01 20:16:27 +02:00
Artyom Kazak
e44ca9a165
Fix the ToJSON Uid instance
2018-09-01 19:37:40 +02:00
Artyom Kazak
188fd65fff
Sane schema names
2018-09-01 19:33:44 +02:00
Artyom Kazak
6c88fe6a1a
Put errors in swagger
2018-09-01 18:44:46 +02:00
Artyom Kazak
95cb9ab676
Remove the PureScript frontend
2018-09-01 16:05:27 +02:00
Artyom Kazak
798cb364aa
Serve some kind of docs
2018-09-01 16:00:59 +02:00
Artyom Kazak
b0d2a5e071
Use Vue for (some) text editors
2018-09-01 14:29:32 +02:00
Artyom Kazak
227112e84e
Bump all versions
2018-08-20 00:25:38 +02:00
Artyom
d6010dfcd5
Don't use unsafe T.head (and don't fail on empty links)
2017-11-02 03:28:24 +03:00
Jens Krause
55b3dd7725
Revert forcing to encode UTF-8
2017-10-09 09:28:43 +02:00
Jens Krause
f7b978de17
Force use of UTF8
2017-10-08 17:59:48 +02:00
Jens Krause
9f4d6469f7
Merge branch 'master'
...
into sectore/bridge-uid-more-type-safety
2017-10-08 17:58:58 +02:00
vrom911
00cbb3ed36
[ #208 ] Rename mdText to mdSource
2017-10-07 18:45:09 +03:00
Jens Krause
0e74164fc9
Bridge Uid
more type safety
...
and get rid of `CUid` for using `Uid` on PureScript side only
2017-10-06 20:16:23 +02: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
0f2d0fa86b
Update to newer cmark-sections
2017-09-10 16:08:03 +03:00
Jens Krause
7d6aa64d4b
Fix decoding ItemKind
issue ( #204 )
2017-09-10 10:10:39 +02:00
Jens Krause
72d53a7ce0
Merge branch 'master'
...
into sectore/202-api-endpoints
2017-09-09 11:30:54 +02:00
Artyom
433a9b67d2
[api] Make all handlers return Either ApiError (for consistency)
2017-09-08 22:36:07 +03: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
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
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 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
vrom911
b2bf41b2e4
[ #196 ] Add item list of deleted category at /admin
2017-08-27 00:28:33 +03:00
vrom911
8d9d428446
Add loading from PublicDB
2017-08-26 15:00:23 +03: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
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