* 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
* 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