1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-23 12:52:31 +03:00
Commit Graph

29 Commits

Author SHA1 Message Date
Dmitrij Pavluk
fbc949f3e4 Task/log monad (#264)
* monad DiT

* addition of monad DiT to gaider

* add deriving

* fix of exceptions

* Logger.hs

* logging

* configs

* fix

* cathing of exception

* logger structure

* configs fixes

* log format

* add time format to config

* add logs

* add logs

* add show instances to db actions

* add log to matomo

* add emptyOnExceptyon

* fixing of tests

* add test for logs

* add test for api

* add test for api

* sdd tests to api

* fix of tests

* fix of tests

* fix of errors

* add api tests

* add new tests for log

* add new tests for log

* add new tests for log

* add new tests for log & api

* ordering of API.hs

* add test of traits to api

* fixes to tests

* fixes of test

* add atributes to log

* attributes to logs

* fix to log

* Fix proposals

* Fix error level style

* Try to fix travis tests

* Add comment to servant error log

* Revert openFile to check travis tests

* Abstract withTempFile

* Rework the way handlers are logged

* Fix typos

* Don't use pack

* Add explicit export lists and warn about missing export lists

* Fix comments

* Get rid of useless H.

* Make export lists consistent

* Rewrite config comments

* Log to stderr by default, not to /var/log/guide.log

* Don't use module X

* Rewrite Guider.Logger.Init slightly

* No {- -} comments

* Separate logTests from webspec module

* Swap throwM with Di.Core.throw

* Fix logging

* No more .ghci

* Formatting, etc

* Remove loggers we're not going to use

* Comment

* Typo

* Comments

* searchQuery -> query

It's called "query" in the API

* Rename

* More logging

* Reorder things

* Fix test compilation

* Api -> ApiSpec

* Remove constantly failing footer test

* Rename logTest

* Fix failing log test

* TODO

* We don't do caching anymore

* Increase test time for move item up

* Add haddocked test

* Add uncommented function for test

* Up haddock test

* Add quotes

* Remove ':'

* Add curl stack

* Delete test function

* Up beforeHaddocked to 251

* Increase second threadDelay to 1 million

* Check test fixes

* Remove commented code

* Return bracket function

* Add comment
2019-02-26 10:40:42 +05:00
Vladislav Sabanov
65800eda6a
[WIP] Remove kinds and add hackage as option (#249)
* Split hackage

* WIP

* Migrate to newer safecopy-migrate

* Fix migrate

* Rename description to summary for item

* Fix link to templates

* Frontend tests fix for pr #249

* Change the path back

* WIP. Fix templates

* Update back/src/Guide/Api/Types.hs

* Remove unnecessary stuff from .gitignore

* Revert style changes

* Two spaces

* _itemDescription has been renamed

* Remove the Hackage test

* name_on_hackage -> hackage

* Fix Hackage param' type

* front changes from kind to hackage

* Fix tests

* Try fix templete

* Revert last commit

* Comment front test in travis
2019-01-05 16:08:42 +05:00
Artyom Kazak
c32852ab77
Move the backend to /back/ (#240) 2018-12-09 23:02:03 +01:00
Artyom Kazak
b597877af0
Pin highlighting-kate (#246) 2018-12-09 11:58:07 +01:00
Artyom Kazak
8788244c11 Throw away ReDoc 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
b9796134bd Buildable on Windows 2018-09-04 01:35:01 +02:00
Artyom Kazak
4c3429ab10 Fix commit 2018-09-02 00:32:44 +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
6020688fa3 Use ReDoc instead of Swagger-UI 2018-09-01 20:25:47 +02:00
Artyom Kazak
227112e84e Bump all versions 2018-08-20 00:25:38 +02:00
Jens Krause
4da88af9c1
Add custom shell.nix file 2017-10-09 09:30:41 +02:00
Artyom
0f2d0fa86b
Update to newer cmark-sections 2017-09-10 16:08:03 +03:00
Artyom
76d76974ad
Implement a very simple Servant API 2017-09-01 11:46:37 +03:00
vrom911
11e8e92301 Use fmt-0.4.0 with renewed operators +| |+ 2017-08-12 12:56:41 +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
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
1e6ae6ec50
Switch to fmt-0.2 2017-04-26 21:56:46 +03:00
Aaron Friel
65c30a1276 Implement user sessions and type-safe admin routing 2017-03-17 15:02:51 -05:00
Artyom
4ff43808ee
Switch to the fmt library for formatting 2017-03-04 19:57:59 +03:00
Artyom
f4880ce85d
Update dependencies
* patches-vector with bumped base is available on Hackage now
* stache-plus has tests that don't compile on a system
  with an old GCC, so we have to use a branch with no tests
2017-02-09 12:02:21 +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
Artyom
c54b1ee287 Switch to a newer Stackage snapshot 2016-08-29 19:31:11 +03:00
Artyom
c72815c436 Big switch to Mustache (only half-done)
* Render some elements of some pages with Mustache
* Switch to Stack
* Add a bit of tests
* Turn the project into a library
2016-08-17 11:18:57 +03:00