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

144 commits

Author SHA1 Message Date
YeoKyung Yoon
b3d8a1bfd4
Fix sorting in dropdown (#187)
* 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
2022-06-22 23:09:08 +09:00
Tanya
30d96909d3
Sidebar redesign (#200)
* 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
2022-06-16 16:37:37 +03:00
YeoKyung Yoon
16ba86fddb
Add project logo at the bottom of aside (#190)
* feat: add project logo at the bottom of aside

* fix: fix unaligned logo
2022-06-03 00:01:02 +09:00
YeoKyung Yoon
9ecf8f90d9
Change list of menus and add hover effect of menu (#189)
* 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>
2022-06-02 23:57:07 +09:00
Tanya
dd7537a6a0
Fix paddings of icon only button (#193)
* Fix paddings of icon only button

* Update paddings
2022-06-01 16:18:58 +08:00
Tanya
f714225e20
Add button component (twig) (#188)
* 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>
2022-05-24 07:49:06 +03:00
Nikita Melnikov
f75401d0fb
change docker tag for stage branch (#186) 2022-04-24 19:33:10 +03:00
Umang G. Patel
303d670c49
Password from env variable (#170)
* 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
2022-04-24 16:54:36 +05:30
Nikita Melnikov
aaf2644ed4
fix critical issue with backward compatibility (#185) 2022-04-24 14:11:51 +03:00
Alexander Menshikov
836aa8985e
Use absolute paths for uploads and db (#168)
* 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>
2022-04-22 23:28:40 +03:00
Nikita Melnikov
331d45bf73
First run improvements (improved DX and docs) (#169)
* add some improvements for project start up

* update development docs

* add note about npx

* fix build command in Dockerfile.prod

* doc update
2022-04-12 11:29:25 +04:00
Nikita Melnikov
ce1f7db3d7
Fix docker image build on apple silicon (#165)
* fix node-gyp error on apple silicon

* fix typescript compile error
2022-04-06 23:46:59 +04:00
Nikita Melnikov
2e065adce6
use codex bot token for creating new release (#162) 2022-04-05 15:10:11 +04:00
Nikita Melnikov
0cc10ab713
Update workflow: push tagged docker builds (#161)
* test new build workflow

* fix build workflow

* update docs
2022-04-05 14:03:13 +04:00
Nikita Melnikov
5c6768922a
create release-drafter configuration (#160) 2022-04-05 10:26:29 +04:00
Nikita Melnikov
28594e7014
Create LICENSE (#159)
* Create LICENSE

* add license fields to package.json

* Update LICENSE

Co-authored-by: Peter Savchenko <specc.dev@gmail.com>

Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
2022-03-25 16:33:41 +04:00
Nikita Melnikov
c6e2db0245
Docker image optimization (#150) 2022-03-06 13:37:06 +04:00
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
George Berezhnoy
541c145e72
Add carbon banner on the page (#117) 2021-04-19 17:57:33 +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
Nikita Melnikov
e27bc52388
add docker config and CI config (#109) 2020-11-23 14:09:33 +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
0076ad250b
fix(page): add missed raw tool template (#106) 2020-10-15 20:13:40 +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
40d5285e5e
Implement default redirect (#99)
* Implement default redirect

* Move startPage configuration to env

* Remove console.log
Change development config back to master

* remove global middleware
2020-05-09 14:17:29 +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
DorofeevMark
36c6b89023
Handled query params for aliases (#90) 2019-04-16 13:00:19 +03:00
Taly
6ac5c71e26
Upgrade editor and tools (#89) 2019-04-07 14:29:20 +03:00
Murod Khaydarov
d13665c0a2
add meta description (#88)
* add meta description

* remove duplicated string
2019-04-02 15:45:38 +03:00
Peter Savchenko
614b4d8792
Add metrika, hardcode favicon (#87)
* Add metrika, hardcode favicob

* Update editor.bundle.js
2019-04-02 09:47:16 +03:00
Taly
4c64b997c3
Update tools (#86) 2019-04-01 18:08:44 +03:00
Nikita Melnikov
3623aade0b
Implement diff highlight (#85)
* diff highlight

* update docs and function renaming

* fix

* simplify code

* lint code

* lint code

* rename classes

* solution through split func

* update code style

* remove line numbers testing

* Update main.css
2019-04-01 17:32:14 +03:00
Timur Kazantaev
69d036ab5c aside menu current page highlight (#80)
* aside menu current page highlight

* fixex children highlight and changed bold to color

* add page var check

* improvements

* Update layout.twig
2019-04-01 16:21:07 +03:00
Taly
aa7c6b12a6
Update editor.bundle.js (#84)
yarn
yarn build
2019-03-31 20:12:38 +03:00
Taly
c16493130d
Add escape for editor input data (#83) 2019-03-31 19:30:23 +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