1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-22 22:59:42 +02:00
Commit graph

23 commits

Author SHA1 Message Date
Taly
bab89c979f update z-index 2022-08-11 19:33:27 +03:00
Taly
794067c663 add blur 2022-08-11 19:26:21 +03:00
Taly
79592f0a1d search implementation 2022-08-11 18:28:15 +03:00
Taly
213f9d89a3
Table of content (#199)
* Create nodemon.json

* Add table of content

* update view

* remove logs

* update tags var

* update layout

* Revert "update layout"

This reverts commit 18aad62257.

* update layout

* Update layout.pcss

* update from master

* Update sidebar.twig

* remove non valued changes

* Update table-of-content.js

* Update table-of-content.pcss

* Update table-of-content.pcss

* Update layout.pcss

* Update table-of-content.js

* remove unused styles

* not module

* rename var

* remove log

* update structure

* Update table-of-content.js

* Update table-of-content.js

* Update layout.pcss

* Update table-of-content.js

* try not to use intersection observer

* Update table-of-content.js

* fix scroll padding

* fix header component layout

* update logic

* fix click area

* Update table-of-content.js

* Update table-of-content.js

* small fixes

* remove unused

* Update table-of-content.js

* Update decorators.js

* Update table-of-content.js

* Update table-of-content.js

* Update table-of-content.js

* Update table-of-content.js

* Update table-of-content.js

* fix scroll issues, resolve eslit ts/js conflicts

* add some todos

* handle up-direction scroll as well

* optimization

* update offsets

* Update header.pcss

Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
2022-07-26 18:49:30 +03:00
Tanya
8c0211d7bc
[Fix] Several ui fixes (#205)
* Fix sidebar

* Use squircle mask for header links

* Firefox mask-box-image fix
2022-06-27 20:06:56 +08:00
Tanya
30d96909d3
Sidebar redesign (#200)
* New sidebar

* Save state to local storage

* Make sidebar sticky

* Text overflow

* Fix add page button on mobile

* Mobile layout

* Display sidebar when ready

* Add logo

* Remove files

* Fix margin

* Update logo padding-bottom

* Hovers

* Decrease logo's font size

* Make logo not sticky

* Cleanup classnames

* Simplify css

* Update sidebar module

* Fix animation

* Fix cursor issue

* Fix vars and logo paddings
2022-06-16 16:37:37 +03:00
Nikita Melnikov
34514761f5
Typescript rewrite (#147)
* Updated highlight.js

* Update .codexdocsrc.sample

remove undefined page for a fresh new install

* backend rewritten in TS

* test -> TS, .added dockerignore, bug fixed

* Removed compiled js files, eslint codex/ts added

* fixed jsdocs warning, leaving editor confirmation

* use path.resolve for DB paths

* db drives updated + fixed User model

* redundant cleared + style fixed

* explicit type fixing

* fixing testing code

* added body block type

* compiled JS files -> dist, fixed compiling errors

* fixed compiling error, re-organized ts source code

* updated Dockerfile

* fixed link to parent page

* up nodejs version

* fix package name

* fix deps

Co-authored-by: nvc8996 <nvc.8996@gmail.com>
Co-authored-by: Taly <vitalik7tv@yandex.ru>
2022-03-05 22:57:23 +04:00
Chuyen Nguyen
077ea72906
Updated highlight.js (#131)
* Updated highlight.js

* Update .codexdocsrc.sample

remove undefined page for a fresh new install

Co-authored-by: Taly <vitalik7tv@yandex.ru>
2021-07-27 13:30:31 +03:00
DorofeevMark
93bf21fa2d
Misprints fix (#72)
* Added misprints

* Rebuilt bundle in prod mode

* Added config from .codexdocsrc

* Updated .sample

* Removed chatId type conversion

* Renamed chatId to misprintsChatId

* Removed duplicate package

* Moved misprintsChatId initialization
2019-03-14 12:36:25 +03:00
DorofeevMark
98cb88f3af
Added misprints (#69)
* Added misprints

* Rebuilt bundle in prod mode

* Added config from .codexdocsrc

* Updated .sample
2019-03-14 08:19:37 +03:00
Peter Savchenko
c7219f8943
Some design updates (#70)
* Auth page styles improved

* styles updated

* upd bundles
2019-03-13 12:25:43 +03:00
Timur Kazantaev
58d3892d8f
Authentication (#22)
* Authorization added

* added secret to password, md5 hashing, removed promise from verifyToken, deleted links when not authorized

* added dbinsert script

* turned verifyToken to middleware, added description for dbinsert, added hidden csrf field in auth form

* added middlewares, user model and controller

* JSDoc fix

* wrong password processing fix

* added comments to dbinsert script, moved salt and passHash to singe db doc

* Moved salt to .env, upgradedscript for generating password was, fixed comments and JSDoc

* Deleted using salt (now user is only one), changed verifying password to bcrypt.compare, added httpyOnly property to jwt cookie
2019-03-06 13:22:57 +03:00
Peter Savchenko
044c24c950
Landing + mobile adoptation (#38)
* Landing + mobile adoptation

* replace svg

* small updates

* use landing as iframe

* Delete .codexdocsrc

* remove unused

* updates

* Delete _index.twig

* update header shrink in chrome

* Delete .codexdocsrc

* remove focus
2019-02-15 17:56:56 +03:00
Murod Khaydarov
ccd627151f
remove pages (#27)
* remove pages

* requested changes and unit tests

* update

* fix unit test

* requested changes

* add confirmation

* remove deeply

* remove log

* bugfix

* update placeholder
2019-01-25 06:19:37 +03:00
DorofeevMark
d872e78339 Beautiful urls (#18)
* Added uri property to Page model

* Added aliases collection

* Added routing form aliases

* Fixed redirect after page creation

* Added abiltity to support few pages with same title

* Added ability to change uri manually

* Changed hash function

* Changed uri parsing

* Removed pages controller promise

* Modified page's tests

* Added tests for alias model

* Added tests for aliases

* Escaping special characters

* Added missed files

* Fixed bugs related to translation

* Fixed parent page link

* Added server validation for uri

* Changed css properties order

* Made uri property of page be optional

* Prevented alias creation from empty uri

* Moved alias types to model
2019-01-25 02:23:00 +03:00
Murod Khaydarov
d61818761e
Order child pages (#21)
* save ordering pages

* move to another collection

* requested changes. Code improvements

* add margin

* unit tests

* fix

* requested changes

* recursive method: create menu tree

* update comments

* fix bug

* requested changes

* move const

* fix error message on catch

* add migration

* rewrite to splices

* move methods

* testing put above method

* linter fix
2019-01-19 17:09:11 +03:00
cabad11
9966131100
Show parent page title (#14)
* Fix

show parent page

* Update pages.js

* fix

* merge
2018-12-09 21:45:28 +03:00
Peter Savchenko
262c1614ed
New tools added + code highlighting (#12) 2018-10-20 17:54:15 +03:00
Peter Savchenko
730eff7995
Page showing, page edit, move API to /api/ (#10) 2018-10-15 22:06:01 +03:00
George Berezhnoy
ff09f695d0
Babel eslint parser (#9)
* Move testing to 3001 port
Create separate database for testing
Add runtime configuration file support

* Add babel-eslint parser
2018-10-07 19:25:12 +03:00
Peter Savchenko
073772c047
Page creation basics (#7)
* Page cration basics

* remove unused code

* add client-side Header validation

* remove static method

* rm await duplication
2018-10-04 22:08:21 +03:00
Peter Savchenko
5c0560a2ed
Code splitting now works through awaited import (#6) 2018-10-03 12:26:41 +03:00
Peter Savchenko
e7e64cea3e
Integrate CodeXEditor: dynamic import added (#5)
* Main elements created

* Add Editor to the writing page
2018-09-19 01:47:32 +03:00