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

45 commits

Author SHA1 Message Date
Nikita Melnikov
8d9c19e595
Upgrade packages (#149)
* update babel, postcss and webpack

* update editor packages

* update linter packages
2022-03-06 11:38:59 +04: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
Peter Savchenko
059cfb96f9
chore(editor): update editor, add embed tool (#142)
* update editor

* add embed tool

* prod bundle
2021-12-01 19:56:12 +03:00
Nikita Melnikov
3552105e38
update bcrypt and fix docker configs (#136) 2021-08-28 11:12:45 +03: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
Peter Savchenko
180e1d57cb
chore(editor): the table tool was updated (#127)
* update editor, table, readme

* upd picture
2021-07-23 18:25:54 +03:00
dependabot[bot]
84e2982691
Bump bcrypt from 3.0.8 to 5.0.0 (#103)
Bumps [bcrypt](https://github.com/kelektiv/node.bcrypt.js) from 3.0.8 to 5.0.0.
- [Release notes](https://github.com/kelektiv/node.bcrypt.js/releases)
- [Changelog](https://github.com/kelektiv/node.bcrypt.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kelektiv/node.bcrypt.js/compare/v3.0.8...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-24 18:12:48 +03:00
dependabot[bot]
0dd0201000
Bump ini from 1.3.5 to 1.3.8 (#114)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-24 18:12:43 +03:00
dependabot[bot]
fe3b526b14
Bump node-fetch from 2.6.0 to 2.6.1 (#104)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-24 18:11:46 +03:00
dependabot[bot]
fb6390d5f7
Bump highlight.js from 9.18.1 to 10.4.1 (#111)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 10.4.1.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...10.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-24 18:11:03 +03:00
dependabot[bot]
9ee9c7f251
Bump elliptic from 6.5.3 to 6.5.4 (#113)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-24 17:56:40 +03:00
Peter Savchenko
417ab0688b
Update raw tool (#108) 2020-11-10 19:38:35 +03:00
Peter Savchenko
174e21db43
update(editor): checklist tools version increased to 1.3.0 (#107) 2020-11-06 14:21:08 +03:00
Peter Savchenko
7a98b6cfd3
feat(editor): raw tool added (#105) 2020-10-15 19:55:34 +03:00
Taly
94a9a963ff
Set auth cookie lifetime (#102)
* 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
2020-07-27 20:42:37 +03:00
Alexander Menshikov
b744ed592a
Editorjs checklist tool (#98)
Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
2020-05-09 05:38:25 +03:00
Peter Savchenko
c0a4f6f3fd
Update editor (#91) 2019-12-04 19:09:49 +03:00
Taly
6ac5c71e26
Upgrade editor and tools (#89) 2019-04-07 14:29:20 +03:00
Taly
4c64b997c3
Update tools (#86) 2019-04-01 18:08:44 +03:00
Peter Savchenko
568e980f86
Unstick menu, little improvements (#81)
* allow all inline tools to Warning tool. Improve styles

* update editor and tools

* improve style for inline code

* unstick menu

* update
2019-03-31 16:31:25 +03:00
Taly
10607a3f35
Upgrade header tool (#79)
resolve #77
2019-03-31 00:08:57 +03:00
Peter Savchenko
9f8cc83e00
Allow all inline tools for Warning tool. Improve styles (#76)
* allow all inline tools to Warning tool. Improve styles

* update editor and tools
2019-03-30 17:58:00 +03:00
Peter Savchenko
42eacba15b
Add warning tool, fix XSS in image alt-tag (#75)
* Add warning tool, fix XSS in image alt-tag

* production build

* Upgrade editor

* Add spaces
2019-03-20 10:07:59 +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
Taly
09abc25c48
Upgrade image tool (#71)
* Upgrade image tool

* Upgrade image tool
2019-03-14 00:50:24 +03:00
Taly
05d5632e83
Add Table Tool (#66)
resolves #58
2019-03-12 17:24:20 +03:00
Taly
8412a27690
Move packages to dev section. Remove unused (#65) 2019-03-12 16:34:16 +03:00
Taly
11b796bcc7
Allow inline-code in Header (#64)
* Allow inline-code in Header

resolves #59

- add `striptags` for titles
- upgrade editor and tools
- show page title in html

* Add line break
2019-03-12 16:23:10 +03:00
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
Taly
c7c7e61ccf
Update Editor and Tools (#56) 2019-03-08 15:38:22 +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
a4031f151f
Code tool updated (#45) 2019-02-18 10:42:12 +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
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
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
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
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
Peter Savchenko
4326cb22ab
Main elements created (#4) 2018-09-18 13:10:44 +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
gohabereg@gmail.com
2e717f6415 Initial 2018-08-10 19:25:29 +03:00