Vladislav Sabanov
1b2b16f496
Add createTrait
2018-10-18 10:38:00 +05:00
Artyom Kazak
d6eb20dae2
Invalidate cache in new handlers ( #225 )
2018-10-16 22:01:25 +02:00
Artyom Kazak
bfca5dcf99
Fix Haddock
2018-10-14 13:19:57 +02:00
Artyom Kazak
76aabd25c2
Fix schemas for CMarkdown and CHeading ( #224 )
2018-10-07 10:12:22 +02:00
Veronika Romashkina
075a53541e
Expose ToC for notes in Items ( #221 )
...
* Expose ToC for notes in Items
* Change type of the ToC
* Losslessly acquire sources of headings
* Expose ToC headings nicely
* Fix ToC tests
2018-10-07 01:05:15 +08:00
Dmitrii Kovanikov
c6b1ac17c7
Apply stylish-haskell and format imports section ( #222 )
2018-10-03 17:56:13 +08:00
Artyom Kazak
5b3600d7b4
Update footer ( #217 )
...
* Remove the "donate" page
* Remove the "rules" page
* Made by Aelve
* Remove "issue tracker"
* Fix the footer test
2018-09-22 23:05:32 +03:00
Artyom Kazak
4b0f6407ca
Don't mark fields with (?) as "always required"
2018-09-22 21:51:21 +02:00
Artyom Kazak
ffca86a9ff
Add categories to the right groups ( #218 )
...
* Add categories to the right groups
2018-09-22 22:12:21 +03:00
Artyom Kazak
8788244c11
Throw away ReDoc
2018-09-22 18:53:07 +02:00
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