1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-25 05:43:32 +03:00
Commit Graph

9 Commits

Author SHA1 Message Date
Dmitrij Pavluk
9147ad47f0
API for requesting a single category/item/trait (#262)
* addition of metode for request of 1 item

* add traversal version of lebses "getById"

* add getTraitById

* fix to tests
2019-01-23 16:30:43 +03:00
Vladislav Sabanov
846003d037
Post edit log to matomo (#259)
* Post edit log to matomo

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

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

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

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

* Make postMatomo async

* Fix async, manager and link

* Update comments

* Categorize

* Update back/src/Guide/Matomo.hs

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

* Fix proposals
2019-01-23 17:36:40 +05:00
Artyom Kazak
9f0e7cdd6a
Add HLint rules and fix some suggestions (#261) 2019-01-23 09:29:39 +01:00
Dmitrij Pavluk
19241c46ad Renami "uid" to "id" everywhere 2019-01-22 09:04:30 +03:00
Vladislav Sabanov
a59f01c83e
Hide db and requestDetails in Guider context (#258)
* Hide db and request in guider

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

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

* Hide more in context

* Drop the "h"
2019-01-13 08:02:51 +05:00
Vladislav Sabanov
bb83966631
Make json fields optional for item info (#256)
* Make json fields optional for item info

* Add second Maybe

* Fix ToJSON CItemInfo

* Resurrect CItemInfo

* Don't break model refs

* Parse null correctly

* frontend updated according to api changes
2019-01-10 22:56:14 +05:00
Vladislav Sabanov
67beea7d6f
Move item or trait (#254)
* Move item or trait

* Make body request

* Create trait as body with type and text

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

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

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

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

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

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

* Fix style

* Remove spaces
2019-01-07 02:29:59 +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