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

1078 Commits

Author SHA1 Message Date
Artyom Kazak
b4f339cf0c Remove EKG and unused dependencies (found via 'weeder') (#366)
* Remove EKG

* Remove unused dependencies, found via 'weeder'
2019-08-11 12:59:42 +00:00
Artyom Kazak
94e0939d7b Make HLint usable (#367)
* Apply Hlint's suggestions and suppress others

* Add hints about qualified imports and CPP
2019-08-11 12:57:49 +00:00
Artyom Kazak
612266fe6d [mergify] Delete merged branches 2019-08-11 13:23:31 +03:00
Artyom Kazak
bd51f87bed Cleanup the way we work with record fields (#365)
* Use 'fields' where appropriate

* Don't use makeFields

* Rename fields of Config

* Don't use makeFields for Markdown types
2019-08-11 10:19:39 +00:00
Vladislav Sabanov
c259052b6d Remove temp tests (#364) 2019-08-10 13:38:33 +00:00
Vladislav Sabanov
593cb30fc5
Add insert/update transactions (#355)
* add insert transactions

* Fix Add, Add Set[wip], Test them

* Set function is completed and delete one also

* Add moveItem

* Add moveTrait

* Use ItemRow (#356)

* fix travis

* make corrections to the comments

* Add rest row types

* prettify

* Update back/src/Guide/Database/Set.hs

Co-Authored-By: Artyom Kazak <artyom@aelve.com>

* Add row types to get functions. Make ttype convertions

* Formatting

* Use 'do' for constructing rows

* Rename "column" to "columns"

* Fix an article

* Fix boolean capitalization

* Fix Haddock

* Rename TraitType constructors

* Fix sql query

* Fix select in schema

* Reexport more modules from Guide.Database

* Name the #created UTCTime arg

* Restore consistency

* Expand _order comments

* Rename mismatched row fields

* Add lenses for rows

* Replace set functions with 'modifyCategoryRow' and so on

* Document 'exposeFields' and 'exposeFieldsPrefixed'

* Rename exposeFields

* Improve logging in 'setupDatabase'

* Abstract 'makeLensesWith' to Utils module

* Less default parameters in 'addCategory'

* Rewrite docs for makeClassWithLenses
2019-08-10 17:13:40 +05:00
Artyom Kazak
084c202b34 Add automatic PR merging 2019-08-10 14:51:34 +03:00
Avele
2096ae87ab Link to the license updated; fixes #350 2019-08-03 08:48:56 +04:00
Avele
d0f81d24a9 Fix markdown editor header icons; fixes #349 2019-08-03 08:43:05 +04:00
Avele
c826ecef2f Restyled blockquote element margins and paddings; fixed #354 2019-08-03 08:17:27 +04:00
avele
9e4146b5bc
Front/chore/migrate to vuetify 2.0 (#348)
* Vuetify updated

* Correct component creation in dialog mixins

* Vuetify 2.0 migration

* Conflict dialog content style fixed

* Removed duplicate attribute
2019-08-03 06:18:26 +04:00
Artyom Kazak
41c3523323
Remove item groups (#347) 2019-07-26 20:00:22 +03:00
Artyom Kazak
f830c7dc70
Remove outdated info from README 2019-07-26 19:38:15 +03:00
Artyom Kazak
10b50a2451
Remove -XTemplateHaskell from default extensions (#346) 2019-07-25 19:55:12 +03:00
Vladislav Sabanov
36a92f9bf7 Add get functions for categories, traits and items (#339) 2019-07-25 15:17:29 +03:00
Artyom Kazak
9f8f0a2262 Fix case one-liner breaking Ormolu 2019-07-25 15:13:54 +03:00
avele
c8039b898b
Front/fix/popup dialog issues (#344)
* getCategoryUrl function moved to external file

* Consistent pop-up dialogs look and behavior
2019-07-24 23:38:47 +04:00
avele
613ecf8c9a
Adaptation for mobile screens (#340)
* Consistent headings and paragraph styles for entire app

* Search adopted for mobile

* Category item adapted for mobile

* Consistent category header icon sizes and paddings, relatively rest of category page

* Hide logo when search input displayed on mobile

* removed excess css rule

* font size and line height changed

* Badge adjusted for new font size

* Lists margins added

* Footer padding and margins adapted for mobile

* Markdown editor correct focus on open

* Markdown editor autofocus now optionabe

* Typo fix

* Markdown editor component more props and styling

* Markdown editor border stylings

* Conflict dialog refactor and adapting for mobiles

* Typo fix

* Categories page restyled and adapted for mobiles

* Categories page group titles allow break words

* Removed excess comparison
2019-07-24 19:33:02 +04:00
avele
bff3cac46e
Fixed all icons width (#341) 2019-07-22 17:58:33 +04:00
Avele
75a926587c Inherit letter spacing for vuetify toolbar 2019-07-20 19:36:37 +04:00
Artyom Kazak
46aed4fdcf
'npm audit fix' in guidejs (#338) 2019-07-15 11:05:40 +03:00
Avele
6e4a408dfc Fix markdown editor long words stretching at traits ; fixes #318 2019-07-15 11:54:24 +04:00
Avele
98607759ad Category header redesign; fixes #321 2019-07-14 23:33:58 +04:00
Artyom Kazak
16da2924cf Allow setting more properties (Hackage, etc) when creating an item (#333)
* Allow setting more properties when creating an item

* Fix tests

* Frontend for creating items with more properties

* Unused imports removed
2019-07-14 11:54:32 +04:00
dependabot[bot]
5fe6103dfa Bump lodash from 4.17.4 to 4.17.14 in /back/guidejs (#336)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.4 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.4...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-13 23:15:44 +03:00
avele
f0f9c458a5
Front/fix/category sections enabling (#335)
* Formatting

* Category sections enabling fixes #317;
Warning when disabling editing secitons;

* Removed unused import
2019-07-13 17:29:23 +04:00
Artyom Kazak
59deb57474
Add libpq to Docker image dependencies (#334)
Otherwise running `docker run quay.io/aelve/guide:develop--back` results in:

    ./guide: error while loading shared libraries:
    libpq.so.5: cannot open shared object file: No such file or directory
2019-07-12 20:48:40 +03:00
dependabot[bot]
6ff67cb994 Bump lodash from 4.17.11 to 4.17.13 in /front (#331)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-12 19:46:24 +04:00
dependabot[bot]
4913e38be0 Bump lodash.template from 4.4.0 to 4.5.0 in /front (#329)
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-12 19:46:04 +04:00
Artyom Kazak
9fee264fe3
Simplify client types (#332)
* Add more comment headings, remove an unnecessary instance

* Get rid of ?
2019-07-12 18:05:34 +03:00
Avele
ece8584c18 Correct pass of url to vue-template compiler rendering function; fixes #324 2019-07-12 14:52:18 +04:00
Vladislav Sabanov
9e0f432408
Create tables with hasql (#328)
* create tables with hasql

* Fixes 1

* fix failing

* add todo

* Add more comments

* fix commits

* Mention that libpq has to be installed

* Minor fixes

* Migrations

* Fix wording

* Wording 2
2019-07-11 22:12:14 +05:00
Artyom Kazak
f3050638f7
Use travis_retry with stack setup (#330)
* Use travis_retry with stack setup

* Comment
2019-07-11 19:10:42 +03:00
Avele
da910381ec Submit category settings on Ctrl + Enter; fixes #316 2019-07-10 13:04:27 +04:00
Avele
7b56dbc918 fixes #320 item settings animation on first open 2019-07-10 11:54:48 +04:00
Avele
8abce5b6ef Removed extra spaces in search results fixes #323 2019-07-10 11:39:51 +04:00
Avele
45ac485ac0 Setting category status fixes #315 2019-07-10 11:21:41 +04:00
Avele
f0b20a2636 Consistent paragraph margins 2019-07-10 11:07:05 +04:00
Avele
b4c05a3e13 Font size for code blocks in markdown editor fixes #327 2019-07-09 19:26:14 +04:00
Avele
4769640694 Markdown editor issues fixes #327 2019-07-09 19:24:21 +04:00
Avele
d507e31da5 Category description section restyled 2019-07-09 11:48:40 +04:00
Avele
678fa1f684 SearchResults refactor 2019-07-09 11:31:39 +04:00
Avele
eb1c856648 Component methods now passed to context of execution "serverPrefetch" on client 2019-07-09 11:31:25 +04:00
Avele
eec86ace00 Search fix 2019-07-09 11:18:39 +04:00
Avele
ace0018b2e Fix rendering lists in category description 2019-07-09 11:14:53 +04:00
Avele
3e92f04ca2 Unused variables removed 2019-07-09 11:14:32 +04:00
Avele
7ebdc3dc78 Searching results links now lead to new front 2019-07-08 19:37:14 +04:00
Avele
82363d9705 Fixed searching when user is already at search page 2019-07-08 19:36:46 +04:00
Avele
8c0bfbbefc Search page corrected document title setting 2019-07-08 19:23:40 +04:00
Avele
cdad12eb54 Category items minor colors restyle 2019-07-08 17:20:38 +04:00