* Add right column
* Cleanup
* Fix center column position
* Change sidebar width
* Fixes
* Make right column sticky
* Add placeholder element to right column
* Fix right aside padding top
* fix: fix order of page categories with raw type
* refactor: change method location and others
* refactor: fix method names and variables also split methods to be clear their role
* fix: fix variable name
* fix: change the method to group of pages
* refactor: replace filter metethod to querying database
* refactor: fix typo, rename variable, add comments, improve code quality
* fix: add exit infinite loop
* fix: replace exiting loop to throwing exception
* 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
* feat: change list of menus and add hover effect of menu
* fix: fix hover effect
* fix: fix wrong font size, height, padding and etc to same as Figma
* fix: fix class name
* fix: fix wrong css values
* fix: fix typo
* Delete package-lock.json
* fix: change menu height as much as button height and padding
* fix: fix logo and menu items on header
* fix: fix --layout-padding-horizontal value
* fix: remove irrelevant var
Co-authored-by: Umang G. Patel <23169768+robonetphy@users.noreply.github.com>
* Add button component
* Replace old buttons with the new ones
* Update icons and border radius
* Update add page button
* Set size small to add page btn
* Update button indentation
* Cleanup
* icons and button component updated
* upd secondary colour, page button call
* Update small button padding right
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
* rm: remove the generate password file
* rm: commander package
* rm: remove the password reading from db
* feat: password hash reading from env added
* passHash replace with password
* raw password comparison added
* rm: user model and controller removed
* update: auth route and token verification
* replace multiple dotenv config with one
* .env.sample added with updated docker yml
* rm:remove the bcrypt
* readme updated with .env
* remove generatePassword from package json
* updated docs
* removed the console.log
* Use absolute paths for uploads and db
* Fix name interference
* Add error on auth page
* remove space
* Support of separated upload folder with absolute path
* fix files uploading
* remove log
* fix comment
Co-authored-by: n0str <team@codex.so>
Co-authored-by: Nikita Melnikov <nikmel2803@gmail.com>
* Set auth cookie lifetime
* Small fixes
- upgrade editor and tools
- add link tool
- move "save" button and "uri" field
* Update twig.js
* move to deps
* Implement default redirect
* Move startPage configuration to env
* Remove console.log
Change development config back to master
* remove global middleware
* 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
* Added verifyToken middleware to aliases route, added check for user existance on POST/auth
* Added message "password not set" to client
* 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