Jens Krause
acfc81e79f
Force use of UTF8
2017-10-08 17:51:38 +02: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
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
Artyom
a8090e8cc6
Minor
2017-08-20 21:33:07 +03:00
Artyom
fe01b1be38
[ #124 ] Refactor
2017-08-20 21:33:07 +03:00
Artyom
1e19a6a948
Add JSON utils
2017-08-20 21:32:51 +03:00
vrom911
ae026a8470
[ #124 ] Replace tuples with data types in admin/links
2017-08-20 21:32:51 +03:00
vrom911
fee7a6d1bd
[ #124 ] Add button 'Save to Archive.org'
2017-08-20 21:32:51 +03:00
vrom911
554dce8a83
[ #124 ] Add links' date of the latest capture at archive.org
2017-08-20 21:32:51 +03:00
Artyom Kazak
30f0c24e40
Merge pull request #188 from aelve/new-fmt-version
...
Use fmt-0.4.0 with renewed operators +| |+
2017-08-13 21:13:05 +03:00
Artyom
a98c3eb757
Roll back some overzealous route fixing
...
Not all routes need /haskell/
2017-08-13 20:10:51 +03:00
Artyom
4b070105b4
Fix all routes because they all were broken
2017-08-13 15:40:32 +03:00
vrom911
fba73d6531
Fix auth page
2017-08-12 18:09:17 +03:00
vrom911
11e8e92301
Use fmt-0.4.0 with renewed operators +| |+
2017-08-12 12:56:41 +03:00
Jens Krause
7f8ebb4cad
Fix warnings about shadowed variables ( #181 )
2017-07-30 12:31:35 +02:00
Jens Krause
b1d76d194a
Fix Spock.subcomponents
warnings ( #181 )
2017-07-30 11:46:31 +02:00
Artyom
b894850b10
Remove the subtitle
...
No reason to prohibit posting on Reddit, really.
2017-07-30 03:49:45 +03:00
vrom911
8ad08996d4
[ #178 ] Replace fmt operators
2017-07-29 14:42:29 +03:00
Artyom
29794ac4ea
[ #124 ] Use Uniplate for finding links
2017-07-23 02:31:54 +03:00
Artyom
b02ffe3dde
[ #124 ] Show link statuses more concisely
2017-07-23 01:37:32 +03:00
Artyom
3b829ce447
[ #124 ] Don't check duplicate links
2017-07-23 01:36:58 +03:00
Artyom
bf287005f5
[ #124 ] Minor changes
2017-07-23 01:36:26 +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
929befb081
Make life easier by treating no referrer keyword as empty keyword
2017-07-10 01:23:38 +03:00
Artyom
5956158a73
Make code that shows visitors a bit better
2017-07-10 01:23:38 +03:00
Artyom
2998f9def8
Don't use 'fromJust' in 'toReferrerView'
...
There's no reason not to keep on the safer side here
2017-07-10 01:23:38 +03:00
Artyom
ba8b772b22
Fix 'extractKeyword' to not concatenate keywords
...
Before:
> extractKeyword "https://google.com?q=foo&p=bar "
Just "foobar"
After:
> extractKeyword "https://google.com?q=foo&p=bar "
Just "foo"
2017-07-10 01:23:38 +03:00