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

227 Commits

Author SHA1 Message Date
avele
8337776345
Category item info update fix (#295) 2019-05-21 23:44:27 +04:00
avele
d2a6db2423
404 page (#293) 2019-05-20 23:19:38 +04:00
avele
d3c2eaa7fe
Whitespace configured (#292) 2019-05-18 19:54:39 +04:00
Gigiman
eaa967cec6 Category info edit refactoring (#275)
* separately import vue, vue-class-component

* changed categoryStatus declaration, refactored imports
2019-05-18 17:47:58 +04:00
avele
164a93e6b4
Fixed toc getting corresponding to new API format (#289) 2019-05-17 19:49:02 +04:00
Vladislav Sabanov
e85eca1b66
Fix dockerfile and readme (#282)
* Fix dockerfile and readme

* Fix up
2019-04-27 01:41:12 +05:00
Avele
43da382888 Front: corrected api requests on client 2019-04-26 17:04:56 +04:00
Vladislav Sabanov
7d9d8ec84e
Make docker and upload (#279)
* Make docker and upload

* Try to allow failures

* Allow failures npm

* Or True

* Or true

* Remove or true

* Fix config files

* Test cp

* Find dist

* Fix stage

* where is make

* Fix cd

* Remove checkers

* Fix dockerfile

* Add env to dockerfile

* Comment envs

* Set api=localhost

* Fix dockerfile and win

* Trigger on push
2019-04-24 20:25:12 +05:00
Avele
b81773092d Front: dev build optimized 2019-04-23 00:48:21 +04:00
Avele
64d63f72ea Front axios defaults moved to server build only 2019-04-20 14:35:43 +04:00
Avele
734cf3512f Front build errors resolved 2019-04-20 14:34:46 +04:00
Avele
0030f788e1 Front readme formatting 2019-04-20 14:33:26 +04:00
Avele
7ea7618c82 Front: config api url can be set through enviroment variable 2019-04-19 15:44:46 +04:00
Avele
5ad730606d Front added misssing dev dependencies 2019-04-19 15:11:28 +04:00
Avele
8724c91f73 Front fixed readme 2019-04-19 15:11:10 +04:00
avele
469b5b5790
Front/structure refactor and building reconfigure (#277)
* DefferedPromise refactor

* Moved defferedPromise to utils folder

* Base url moved to app file

* Store modules states rewrittten according to vue doc recommendations

* Deffered promise usage moved

* removed unused packages in entries

* Structure refactor, easier building, prod building configured, tsconfig reconfigure removed useless packages

* Update front/index.html

Co-Authored-By: avele <34437766+avele@users.noreply.github.com>

* Update front/postcss.config.js

Co-Authored-By: avele <34437766+avele@users.noreply.github.com>

* Comment rewritten
2019-04-18 01:52:43 +04:00
Gigiman
3c74057616 Rss icon and link added (#274)
* rss link added

* separate file for categroy information

* removed lodash functions from CategroyInfoEdit component

* RSS tooltip added

* move category info logic to the separate component

* Rss refactored

* minor bug fix
2019-04-04 09:13:53 +04:00
Giyos
48bb8ee882 remove lodash from CategoryInfoEdit component 2019-03-19 13:54:32 +05:00
Gigiman
c14cd70474
Category info edit (#268)
* category info editing dialog added

* square icon bug fix

* added service for updating category info

* added action to update category info

* update category info functionality added

* category info edit functionality finished

* small change

* small change

* small changes

* if else to switch refactor

* refactor checkbox to array to v-model with array

* minor checkbox fix

* changed: validation rule renamed

* refactoring

* parsing selected sections from api
2019-03-18 14:48:07 +05:00
avele
b46f97055f
vuetify update (#271) 2019-03-10 19:37:47 +04:00
avele
c710727a24
Update README.md 2019-02-27 16:54:27 +04:00
Giyos
1a70400678 small change 2019-02-27 16:39:08 +05:00
Giyos
d8af6068f9 Merge branch 'develop' of https://github.com/aelve/guide into develop 2019-02-27 16:35:30 +05:00
Giyos
3f5cb3c8cb changed: Remove shaking animation from the label 2019-02-27 16:35:21 +05:00
zeot
cfcd3e78d4 front: npm packages vulnerabilities fixed 2019-02-20 16:26:18 +04:00
avele
b248b75a49
updating-vue-and-babel (#267)
* Vue updated, got rid of vue fork, babel updated

* update vue-class-component

* Vue-class-component updated

* Vue-class-component update and usage
2019-02-20 00:24:07 +04:00
zeot
9e0f915d75 Not as attention grabbing inline <code> blocks 2019-02-18 14:32:31 +04:00
zeot
9b66ec7162 Category item traits excess margin removed 2019-02-18 14:08:45 +04:00
zeot
be9f93e8aa Category description headers margins changed 2019-02-18 14:06:33 +04:00
zeot
cdd38b1b79 front: added scroll to created item 2019-02-16 16:15:28 +04:00
zeot
6b09d34897 Make esc work for category creation dialog 2019-02-16 13:05:47 +04:00
zeot
670b68267d Less css margins for code blocks 2019-02-16 11:17:19 +04:00
zeot
cede9b19f0 front: delete category button 2019-02-16 11:16:37 +04:00
zeot
ffa63c82a2 Added comment for vue-router issue 2019-02-15 15:52:49 +04:00
zeot
c2dd7f23dc Added anchors for category items 2019-02-15 15:52:31 +04:00
zeot
c5c9629ecb Trait creation request changed according to new API 2019-02-15 14:06:20 +04:00
zeot
5be82d6dbf Redirect to the new frontend, not the old frontend on category create 2019-02-14 20:55:28 +04:00
zeot
56aaf3c1a3 front: conflict dialogs for every case, new interface of conflict catching 2019-02-14 20:00:04 +04:00
avele
da9031a6ba
Feat/preload pages on client and progress bar (#266)
* progress bar

* Using saved scroll when going forward/back  in browser

* router intance added to context of client side asyncData functions
2019-02-10 16:00:50 +04:00
zeot
ad5f12ee36 Merge branch 'develop' of https://github.com/aelve/guide into develop 2019-02-07 20:15:11 +04:00
zeot
ced09a124f front: imports refactor 2019-02-07 20:02:46 +04:00
Gigiman
3d8fee8c5c
Category description add edit (#251)
* Migrate routing from prod to new front v 0.5

* migrate category link to new fron v 0.5.5

* migrate category link to new fron v 0.0.8

* migrate category link to new-front caching issue

* window bug fix

* Category description v 0.0.1

* formatting and unnecessary quote marks deleted

* fix originalDescription assignment

* Added category description edit/add

* Added 409 error handling (need to add functionaly to buttons)

* changed: added emit for conflict popup

* changed: added api request to conflict handlng

* rename Article -> Category, ArticleContent -> CategoryItem

* minor rename fix

* changed: moved all description changes to a single function, emit call fixes, minor style fixes

* changed: category description conflict data sent to api fixes

* refactoring bug fix

* fix: if description exists no description shown in textarea

* fix: empty field in the Dialog

* changed: emit event from conflict-dialog refactoring and fix

* changed: 400 api error fix

* changed: old summary blink bug six

* minor fix

* hotfix: textare bug fix

* api change fix

* minor fix

* changed: fixed several time description saves failing

* Merge with develop - many bugs

* merge with develop - critical bug fix

* merge with develop bug-fixes

* refactoring

* bug fixes

* changed: replace textarea to markdown in category description. Need to do same with conflict dialog

* changed: resolved linter warnings, added markdown to merged window in conflicts dialog

* minor fix

* cancel, text-wrap fix

* minor fix

* minor fix

* minor fix and uid -> id in addDescription

* changed: minor fix 2

* small changes

* small refactoring

* part of refactoring, btn text bug fix

* move no-category description stub to same div where category description is being loaded

* move category to own component

* minor fixes, enable mobile layout

* small change

* small changes

* slot removed

* small changes

* throw err moved to else statement

* small changes

* minor fix

* small changes

* description button text and icon refactoring

* add description btn icon/text small refactoring
2019-02-04 12:57:28 +05:00
Gigiman
37b9067ef2
Delete/item/ id escape should work (#263)
* esc keyup added

* added closing on esc press

* api url changed to localhost
2019-02-04 12:49:16 +05:00
zeot
db2caaa7bf excess config file deleted 2019-02-04 04:56:53 +04:00
Giyos
564646a20e allow mobile resize in html 2019-01-31 22:17:48 +06:00
Giyos
0f2e520e31 Move the space out of the link in the footer 2019-01-31 11:40:13 +06:00
Giyos
acd9109c76 apiUrl back to localhost 2019-01-30 16:26:22 +06:00
Giyos
beed8491b2 Minor visual fixes 2019-01-30 16:24:59 +06:00
zeot
6ac2de73ab Unused global styles removed 2019-01-26 03:11:56 +04:00
Dmitrij Pavluk
19241c46ad Renami "uid" to "id" everywhere 2019-01-22 09:04:30 +03:00
Artyom Kazak
a86e2f0c82 https only in package-lock.json 2019-01-17 00:13:26 +11:00
zeot
c57012c977 changed links color for better contrast ratio 2019-01-14 15:57:02 +04:00
zeot
a82af59927 Login button removed 2019-01-14 13:34:18 +04:00
zeot
ffa4fc9390 Hamburger menu removed 2019-01-14 13:33:38 +04:00
zeot
5e3c129400 removed unused pug loader 2019-01-14 12:47:46 +04: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
avele
5f0724eba8
confirmation decorator and confir for trait delete (#257)
* added helper promise

* confirmation decorator and confir for trait delete
2019-01-10 19:49:01 +04:00
Artyom Kazak
273b1325b6 Fix vue-server-renderer commit 2019-01-09 23:57:25 +11:00
zeot
5d0a2a63ef removed unused css 2019-01-09 14:50:55 +04:00
avele
edeb06aa09
Feat/edit category item sections (#255)
* Added basic item desciption edit without handling of conflicts

* improved MarkdownEditor props and loading

* Added helpful global css class

* Edit category item sections

* got rid of useless wrapper component

* deleted css rule for headings in category item body

* normalizing url when category item link on edit

* updated api of item summary

* item and traits move

* fixed category item info update

* config restored

* config restored
2019-01-09 14:26:27 +04:00
zeot
63ddde5ea0 icons changed to svg 2019-01-07 18:22:56 +04:00
zeot
9c4b7eb687 removed useless stats in html 2019-01-05 16:36:57 +04:00
zeot
7d53a04290 css and stylus loaders moved to base webpack confing 2019-01-05 16:36:34 +04:00
zeot
5532e5c1f1 Using new api of category item description 2019-01-05 16:36:10 +04: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
zeot
79a4b816a7 deleted comments in html tag 2019-01-04 22:35:42 +04:00
zeot
053e9731ab got rid of useless constants 2019-01-04 22:34:16 +04:00
zeot
e61142c0b0 correnct lang in html tag 2019-01-04 22:33:00 +04:00
zeot
f595ce9422 changed lange in html tag 2019-01-04 22:16:22 +04:00
zeot
8c7843f061 typo fixed 2019-01-04 22:15:48 +04:00
Artyom Kazak
70283a8fa7 Travis improvements (#253)
* Fix xvfb

* Install Stack differently

* Revert to Ubuntu Trusty

* Fix test path
2019-01-02 17:07:52 +04:00
zeot
ca86929e39 removed commented useless lines 2018-12-21 15:59:42 +04:00
zeot
10224b68c9 tests transfered to separate folder 2018-12-20 15:15:12 +04:00
zeot
7bcbc5a653 Minor imrovements of toolbar component 2018-12-18 19:50:11 +04:00
zeot
be9fbcdcbe Category item style 2018-12-18 19:49:34 +04:00
zeot
0ac23b05be styles refactored in category item toolbar 2018-12-18 19:49:01 +04:00
zeot
45ca4f115f refactor of markup 2018-12-18 19:48:32 +04:00
zeot
ec9670ee1d added markdown editor component 2018-12-18 19:48:16 +04:00
zeot
94680c19e6 removed unused alias from webpack config 2018-12-18 19:45:42 +04:00
zeot
90910ee71e removed useless v-container component from app.vue 2018-12-17 17:42:43 +04:00
zeot
387a1c5b59 refactor of categoryItem markup 2018-12-14 20:23:34 +04:00
zeot
7969d103b8 Removed useless style 2018-12-13 18:04:49 +04:00
zeot
7b1472dd68 formatting 2018-12-13 17:30:42 +04:00
zeot
6ea41b4992 code highlight styles moved to external file 2018-12-13 17:30:32 +04:00
zeot
96e3320e09 Removed empty line 2018-12-13 16:38:04 +04:00
zeot
ceb6cc48b9 Rename article to category 2018-12-13 16:31:29 +04:00
avele
845a7a671e
feat/category item info edit (#250)
* added search results nothing found text

* removed external spaces and lines

* Item info update
2018-12-13 16:02:37 +04:00
Artyom Kazak
b597877af0
Pin highlighting-kate (#246) 2018-12-09 11:58:07 +01:00
avele
4dd2e44aca added search results nothing found text (#247) 2018-11-28 00:04:26 +05:00
zeot
e6abd2d243 Refactor of category component and category items creation/delete 2018-11-25 20:41:15 +03:00
zeot
67068dc908 chagned tsconfig rule 2018-11-25 20:26:10 +03:00
Vladislav Sabanov
ac15cfa047
Add Guider (#245)
* Add guider

* Implement with hoistServer

* Fix travis

* Fix catchError and guiderToHandler

* Fix catchError

* Fix def

* Fix redundent
2018-11-25 13:48:42 +05:00
Giyos
caa33b6e21 change this.routes.params to Prop 2018-11-23 18:50:14 +05:00
Gigiman
a275c8def3
Category opens in vue.js frontend (#244)
* Migrate routing from prod to new front v 0.5

* migrate category link to new fron v 0.5.5

* migrate category link to new fron v 0.0.8

* migrate category link to new-front caching issue

* window bug fix

* minor refactoring

* refactoring
2018-11-23 18:31:21 +05:00
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
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
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