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

875 Commits

Author SHA1 Message Date
zeot
00cd343b41 name in package.json changed 2018-11-23 10:56:53 +03:00
zeot
bc63e3a2d5 rename of project description in package.json 2018-11-21 13:54:54 +03:00
zeot
34e66f7d9e Merge branch 'develop' of https://github.com/aelve/guide into develop 2018-11-21 13:52:58 +03:00
avele
072db0b3df
Chore/typings and refactor category item actions (#243)
* Change semicolon rule in tslint

* tslint rule added

* typings and category item actions refactored
2018-11-21 13:31:31 +03:00
zeot
c7e15c022e Change semicolon rule in tslint 2018-11-20 15:50:51 +03:00
Gigiman
2fdae50c81 Category item add/delete tests (#238)
* TestCafe added to project. First test written

* Search input test added

* Seacth input test changed, travis job for testcafe tests added

* Travis bugfix test

* Travis testcafe bugfix test try 2

* Travis testcafe bugfix test ry 3

* Travis testcafe test sleep increased to 10

* Test adding category added but bug with click occurs - check!!!

* Category test (testing the group where test was creating) added - bug fix

* Article component rewrite

* Article component rewritten

* Big with rendering content.html in v-for

* Collapse bug fix

* MInor category visual changes/fixes

* Description, reactivity bug fix

* merge

* Refactoring after code review

* Conflict in styles resolved

* Item add/delete feature in category

* merge with vue

* minor code fix

* minor merge fix

* add/delete item test v 0.0.1

* add/delete item tests

* add/delete tests merge with develop branch fix

* Tests bug fix

* minor add/delete item test refactoring

* Tests improved

* Package lock
2018-11-20 15:49:45 +03:00
zeot
f0815b9eb0 added tslint rule 2018-11-19 18:05:36 +03:00
zeot
87087afe88 formatting 2018-11-19 18:04:32 +03:00
zeot
d87167012f Added tslint rule 2018-11-19 18:04:23 +03:00
zeot
8178475fda Tests improved 2018-11-19 17:35:11 +03:00
Vladislav Sabanov
c78b18dbb1
Set item's summary, ecosystem and notes (#242)
* Set item's summary, ecosystem and notes

* Update src/Guide/Api/Methods.hs

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

* Update src/Guide/Api/Methods.hs

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

* Update src/Guide/Api/Methods.hs

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

* Update src/Guide/Api/Types.hs

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

* Update src/Guide/Api/Types.hs

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

* Update src/Guide/Api/Types.hs

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

* Update src/Guide/Api/Types.hs

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

* Abstract get and error

* Remove handler argument

* Remove Just

* Refactor more

* Update src/Guide/Api/Methods.hs

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

* Update src/Guide/Api/Methods.hs

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

* Update src/Guide/Api/Methods.hs

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

* Abstract more

* Update src/Guide/Api/Methods.hs

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

* Update src/Guide/Api/Methods.hs

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

* Abstract more

* Update src/Guide/Api/Methods.hs

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>
2018-11-18 21:53:34 +05:00
zeot
e252dc55e7 Added tslint plugin for webpack 2018-11-18 14:37:47 +03:00
zeot
f836c68182 removed screenshots from frontend tests 2018-11-18 14:37:20 +03:00
zeot
c881cef636 Tests improved 2018-11-17 14:46:51 +03:00
zeot
ad964861a4 Tslint 2018-11-16 19:21:06 +03:00
zeot
935ba0883f Tslint and formatting 2018-11-16 18:52:00 +03:00
Vladislav Sabanov
1a80dd804c
Add diff and merge to 'setCategoryNotes' and 'setTrait' (#241)
* Add diff to setCategoryNote

* Add diff to setTrait

* Fix merge conflicts

* Add merged

* Rename fields
2018-11-15 19:18:50 +05:00
zeot
25c8e3ff03 Fix refreshing page after adding item 2018-11-13 23:25:02 +03:00
zeot
9f62400c45 Add new item sign 2018-11-13 22:57:42 +03:00
zeot
0dbdb77d80 refactor and correct types 2018-11-13 19:25:05 +03:00
mixailflash
30f32a560d remove cache (#235)
* remove cache

* fixed bugs

* merge with vue

* Redo renderCategoryList

* Remove 'prerender'
2018-11-09 17:31:13 +01:00
Vladislav Sabanov
2b47740b86
Configure cors and ekg via json (#237)
* Configurate cors via json

* Configure ekg via json

* Fix ports

* Update src/Guide/Api/Server.hs

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

* Update src/Guide/Api/Server.hs

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

* Update src/Guide/Config.hs

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

* Update src/Guide/Config.hs

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

* Update src/Guide/Config.hs

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

* Update src/Guide/Config.hs

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

* Update src/Guide/Main.hs

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

* Fix style

* Fix fogotten
2018-11-09 17:01:12 +05:00
Gigiman
428c17048d
Add new item/delete item from category (#236)
* TestCafe added to project. First test written

* Search input test added

* Seacth input test changed, travis job for testcafe tests added

* Travis bugfix test

* Travis testcafe bugfix test try 2

* Travis testcafe bugfix test ry 3

* Travis testcafe test sleep increased to 10

* Test adding category added but bug with click occurs - check!!!

* Category test (testing the group where test was creating) added - bug fix

* Article component rewrite

* Article component rewritten

* Big with rendering content.html in v-for

* Collapse bug fix

* MInor category visual changes/fixes

* Description, reactivity bug fix

* merge

* Refactoring after code review

* Conflict in styles resolved

* Item add/delete feature in category

* merge with vue

* minor code fix

* Update ArticleContent.vue

* Merge bug fix

* Minor merge bug fix

* Code review fixes
2018-11-08 02:24:18 +05:00
Matt Renaud
e76bfbd1ab Style tweaks for footer. (#234)
Make the footer shorter, use a smaller font, and a dark grey instead of black for the font.
2018-11-06 15:58:24 +05:00
Matt Renaud
229410ae8c Add rounded corners and border to code blocks. (#233)
Screenshots: https://imgur.com/a/HlRvz8P
2018-11-06 15:57:56 +05:00
Vladislav Sabanov
eafe87bd0a
Add setCategoryNote and setCategoryInfo and setItemInfo (#227)
* Add setCategoryNote

* Fix cache function

* Fix style

* Add setCategoryInfo

* Fix instances, add throwErrorand unH

* WIP

* Add setItemHackage on old kind + commented new realisation

* Refactor and fix bug

* Update src/Guide/Api/Methods.hs

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

* Add a comment

* Update src/Guide/Api/Methods.hs

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

* Update src/Guide/Api/Methods.hs

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

* Update src/Guide/Api/Methods.hs

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

* Update src/Guide/Api/Methods.hs

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

* Update src/Guide/Api/Methods.hs

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

* Update src/Guide/Api/Methods.hs

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

* Update src/Guide/Api/Types.hs

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

* Update src/Guide/Api/Utils.hs

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

* Fix FromJSON ItemKind instance

* Update src/Guide/Api/Methods.hs

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>
2018-11-04 00:09:19 +05:00
Matt Renaud
3063a79830 Use different shade of blue for visited links. (#232)
* Use different shade of blue for visited links. 

The current style uses purple visited links which is visually distracting. This updates a:link and a:visited colours throughout to use shades of blue.

* Update admin.css link colours.

* Fix double ## typo.

* Update links colours in css.widget.
2018-11-01 09:51:21 +03:00
Matt Renaud
c9c8b537ae Use rounded corners for item boxes. (#231)
* Use rounded borders for item-info

Set a 10px border radius instead of using square corners.

* Set border radius on item-body.

* Use 5px border radius.
2018-11-01 09:50:25 +03:00
Gigiman
e51268fb7e
Vue category toc (#228)
* TestCafe added to project. First test written

* Search input test added

* Seacth input test changed, travis job for testcafe tests added

* Travis bugfix test

* Travis testcafe bugfix test try 2

* Travis testcafe bugfix test ry 3

* Travis testcafe test sleep increased to 10

* Test adding category added but bug with click occurs - check!!!

* Category test (testing the group where test was creating) added - bug fix

* Article component rewrite

* Article component rewritten

* Big with rendering content.html in v-for

* Collapse bug fix

* MInor category visual changes/fixes

* Description, reactivity bug fix

* merge

* Refactoring after code review

* Conflict in styles resolved
2018-10-31 02:09:40 +05:00
zeot
ca56ceb925 category creation moved to vuex 2018-10-29 21:17:13 +03:00
Vladislav Sabanov
fc4c7efcc7
Merge pull request #230 from m-renaud/patch-2
Make top level headings stand out more.
2018-10-28 21:07:17 +05:00
Vladislav Sabanov
efcb5461e4
Merge pull request #229 from m-renaud/patch-1
Change code background to lighter colour.
2018-10-28 21:06:33 +05:00
zeot
a159424a5c Added search 2018-10-28 18:29:54 +03:00
zeot
d510a06cf2 Logo added 2018-10-28 17:47:23 +03:00
zeot
48d9b28fa0 Removed console.log 2018-10-28 17:47:00 +03:00
Matt Renaud
0c824379aa
Make headers stand out more.
Currently its hard to differentiate between top level sections, this change makes the font a bit bigger and adds a gray line underneath.

Screenshot: https://imgur.com/a/SCVP6WS
2018-10-27 16:59:40 -07:00
Matt Renaud
9324c061bb
Change code background to lighter colour.
This changes the alpha value of the `code` and `pre` background from 0.1 to 0.04. The current background colour is pretty dark and is more distracting and less visually appealing imho.

Screenshots: https://imgur.com/a/hfUAdEY
2018-10-27 16:50:06 -07:00
Artyom Kazak
5eebd34a28 Cut search results in the new search 2018-10-22 21:36:50 +02:00
Vladislav Sabanov
13d41420d6
Merge pull request #226 from aelve/willbasky/Add-createTrait
Add `createTrait` and `setTrait`
2018-10-19 13:13:09 +05:00
Vladislav Sabanov
f50aa836e8 Fix 2018-10-19 00:13:12 +05:00
Vladislav Sabanov
b7d4dd7f7e Fix setTrait, add createTrait 2018-10-18 15:14:29 +05:00
zeot
a62a2b2d7e fix of calling asyncData function on client side 2018-10-18 11:56:56 +03:00
Vladislav Sabanov
715b91f1a6 Return NoContent 2018-10-18 10:38:00 +05:00
Vladislav Sabanov
ec030f58b3 Fix warnings 2018-10-18 10:38:00 +05:00
Vladislav Sabanov
1b2b16f496 Add createTrait 2018-10-18 10:38:00 +05:00
zeot
103c9a605f removed console.log 2018-10-17 10:15:23 +03: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