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

8 commits

Author SHA1 Message Date
George Berezhnoy
404fb4642e
Transport controller and file model (#42)
* Transport controller and file model

* Use randomBytes intead of pseudoRandomBytes

* Cover all lines with tests

* Update code style

* Update code style

* View for image block

* Fix serving static files

* Mkdir -p for uploads dirs

* Add default secret param

* Add image Tool

* Update src/utils/objects.js

Co-Authored-By: talyguryn <vitalik7tv@yandex.ru>

* Use vars for image tool colors

* Revert var

* Remove --color-gray-border var

* Update src/controllers/transport.js

Co-Authored-By: talyguryn <vitalik7tv@yandex.ru>

* Add mp4 support for Image Tool
2019-03-11 18:44:00 +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
George Berezhnoy
452d0ae816
Move testing to 3001 port (#8)
Create separate database for testing
Add runtime configuration file support
2018-10-07 19:15:10 +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
248558a11f
Frontent build system is ready (#3)
* Frontent build system is ready

* Set up linter for frontend part

* move code to /src

* update db

* upd test

* remove db

* ignore .db
2018-09-07 19:24:09 +03:00
George Berezhnoy
7add63d90b
Page model (#1)
* Initial database and page MVC

* Add mocha tests

* Add docs

* Add docs about nedb query options

* Add eslint and editorconfig + husky

* Improve precommit script

* Remove unnecessary dependencies
2018-08-17 13:58:44 +03:00