1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-19 21:29:41 +02:00
Commit graph

6 commits

Author SHA1 Message Date
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
dbfc594e66
Don't allow to set child element as parent. (#19)
* filter available pages

* refactor

set function as method of Pages

* change wrong word

* change commentaries

* change method name

* refactor

refactor

* Update src/controllers/pages.js

Co-Authored-By: cabad11 <44175180+cabad11@users.noreply.github.com>

* refactor

change comments
change metod name
2019-01-14 17:53: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
Renamed from controllers/pages.js (Browse further)