1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-27 10:10:50 +03:00
Commit Graph

971 Commits

Author SHA1 Message Date
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
Vladislav Sabanov
22a4039413
Update README.md (#276) 2019-04-01 15:26:33 +05:00
Vladislav Sabanov
892d5c7558
Swap slave with async (#273)
* Swap slave with async

* Refactor with mapConcurrently_

* Move functions from let to high level

* Separate ekg and spock

* Fix comments
2019-03-20 11:49:02 +05: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
Vladislav Sabanov
93236f1542
Add imports to test (#272)
* Add imports to test

And swap with imports in other modules.

* Add comments

* Fix travis and add comments

* Fix travis config
2019-03-17 10:21:44 +05:00
avele
b46f97055f
vuetify update (#271) 2019-03-10 19:37:47 +04:00
Vladislav Sabanov
3be9fa30a3
Fix json instances for toc (#270)
* Fix json instances for toc

* Add CTocHeading type
2019-03-08 15:44:50 +05:00
Vladislav Sabanov
2ed5e51e15
Add section info to getCategory (#269)
* Add section info to _getCategory

* Fix consistent
2019-03-03 21:50:45 +05: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
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
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
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
638c695f44
Merge pull request #260 from aelve/fix/uid_to_id
uid -> id
2019-01-22 09:11:44 +03: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