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
6020688fa3
Use ReDoc instead of Swagger-UI
2018-09-01 20:25:47 +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
227112e84e
Bump all versions
2018-08-20 00:25:38 +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
cc34e01e5e
Add cors
middleware ( #202 )
2017-09-07 21:20:30 +02: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
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
vrom911
8d9d428446
Add loading from PublicDB
2017-08-26 15:00:23 +03:00
Artyom
e207d4a8c6
Move archive.org utils to a separate module
2017-08-20 21:36:02 +03:00
vrom911
11e8e92301
Use fmt-0.4.0 with renewed operators +| |+
2017-08-12 12:56:41 +03:00
Jens Krause
b1d76d194a
Fix Spock.subcomponents
warnings ( #181 )
2017-07-30 11:46:31 +02:00
Artyom
29794ac4ea
[ #124 ] Use Uniplate for finding links
2017-07-23 02:31:54 +03:00
vrom911
16e41e5e39
[ #124 ] Split links into 3 tables
2017-07-21 04:05:27 +03:00
vrom911
df63c7a57f
[ #124 ] Add admin/links with broken links
2017-07-19 23:45:20 +03:00
Juan Bono
abce5536b4
Merge pull request #171 from aelve/referrers
...
Show referrers better
2017-07-09 19:30:48 -03:00
Artyom
0c5e8c874b
Use newer text-all with bytestring encoding/decoding
2017-07-10 01:23:37 +03:00
Artyom
f987c7e6ea
Move safecopy utils to a separate package (safecopy-migrate)
2017-07-02 00:03:50 +03:00
Artyom
1c5512cd68
Add diffing of edits in /admin
2017-06-10 20:45:32 +02:00
Artyom
ffddc9b720
Merge branch 'master' into sessions
2017-05-23 21:30:53 +03:00
Artyom
d9b32e76ef
[ #158 ] Bump LTS version to 8.13
2017-05-22 13:09:39 +03:00
Artyom
4c4ecea2c5
[GD-7] Rename Guide.Server to Guide.Main
2017-05-03 04:28:16 +03:00
Artyom
1e6ae6ec50
Switch to fmt-0.2
2017-04-26 21:56:46 +03:00
Artyom
2dae6df953
Only add http:// in sanitiseUri if it didn't have *any* scheme
2017-04-26 21:33:03 +03:00
Artyom
a1f3bab81b
Improve search
2017-04-05 03:59:03 +02:00
Aaron Friel
917273ab58
Implement client-side JS build, automatic CSRF protection.
2017-03-17 15:02:51 -05:00
Aaron Friel
7a2cfe20a4
Add two modules to exposed-modules
2017-03-17 15:02:51 -05:00
Aaron Friel
65c30a1276
Implement user sessions and type-safe admin routing
2017-03-17 15:02:51 -05:00
Aaron Friel
cdf936b57f
Add session types
2017-03-17 15:02:09 -05:00
Artyom
4ff43808ee
Switch to the fmt library for formatting
2017-03-04 19:57:59 +03:00
Artyom
4530cc6249
Catch Ctrl-C and SIGTERM and shutdown gracefully
...
Fixes #145
2017-02-19 17:30:59 +03:00
Artyom
4511fe68dc
Get rid of Guide.View + create Guide.Views.Category
2017-02-05 14:30:30 +03:00
Artyom
66cdd69033
Remove unused dependencies
2017-02-05 14:07:23 +03:00
Artyom
8f11f49f2b
Remove 'Message' module/type since the chatapp won't be written
2017-02-05 14:01:53 +03:00
Artyom
186d650396
Split item renderers into Guide.Views.Item
2017-02-05 14:00:16 +03:00
Aaron Friel
f08f6cc23c
Initial commit (very prelim) with Views hierarchy, Page renderer
2017-02-02 15:46:04 -06:00
Aaron Friel
d50598ca2d
Add user, message types
2017-02-01 23:55:33 -06:00
Artyom
076feaf37f
Split handlers out of Guide.Server
2017-01-31 00:33:13 +03:00
Artyom
08090b5075
Break Guide.Types into submodules; separate acid methods out
2017-01-30 03:22:34 +03:00
Artyom
ee0610b396
Add “Guide.” to all modules
...
Nowadays lots of libraries don't use hierarchical modules so let's avoid
clashes with them.
2017-01-27 03:18:18 +03:00
Artyom
2772834c12
Add an 'Imports' module
...
Now common imports are all available from one module (which should be
reimported in all other modules). `LANGUAGE NoImplicitPrelude` is a default
extension now and so it's not needed either.
2017-01-23 13:14:23 +03:00
Artyom
e8a6afd7e5
Switch to GHC 8
2016-11-26 03:40:46 +03:00
Artyom
8bd2720a8a
Get rid of some custom dependencies
2016-11-19 19:43:30 +03:00