1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-08 06:55:26 +02:00
Commit graph

131 commits

Author SHA1 Message Date
Taly
fd96043764 fix scroll padding 2022-07-13 15:23:06 +03:00
Taly
8b100ee812 Update table-of-content.js 2022-07-13 12:20:33 +03:00
Taly
1dfc5f0013 Merge branch 'main' into feature/table-of-content 2022-07-12 17:47:43 +03:00
Taly
62ae6e5f3c try not to use intersection observer 2022-07-12 17:47:34 +03:00
Taly
8aa22bc7a2 Update table-of-content.js 2022-07-12 11:39:41 +03:00
Taly
fc014a0ca0 Update layout.pcss 2022-07-12 11:39:37 +03:00
YeoKyung Yoon
69b61a2c87
Update document editor styles (#180) (#191)
* feat: update document editor styles (#180)

* fix: fix flexbox property

* fix: fix label name in the edit mode

* fix: change padding and bottom arrow as Figma size

* fix: change padding and bottom arrow as Figma size

* fix: add universal input, select directive

* fix: fix layout shift, class name

* fix: fix text cutting and change usage of svg in css

* fix: add missing css property
2022-07-12 00:11:08 +09:00
slaveeks
5c4183b717
Added ability to use custom favicon (#202)
* Added ability to change favicon in config

* Turned back version of icon in index.twig

* Added opportunity to upload favicon and route to get saved favicon

* Removed favicon from .codexdocsrc.sample

* Added docs to favicon route

* Replaced uploadFavicon to initiating /favicon route, updated function, added catching errors from uploadFile

* Updated Readme, added info about setting up app

* Updated Readme.md

* Some changes

* Favicon data saves to app.locals, replaced uploading favicon to app.ts

* Changed naming in config, from faviconURL to favicon, changed using app.locals variables

* Renamed uploadFavicon to downLoadFavicon, removed log in locals.ts

* Renamed favicon variable in app.ts

* Added checking favicon before uploading function, removed passing locals to views

* Added timeout for uploading favicon request and writeFileSync changed to writeFile

* Removed passing favicon locals and turned back removed variables

* Turned back variables

* Fixed duplicating os.tmpdir

* Fixed braces in objects, added new lines

* Added default favicon path, if favicon does not exists in config

* Updated docs, fixed using local favicon
2022-07-10 15:21:32 +03:00
Taly
67634a3ecf Update table-of-content.js 2022-07-07 19:04:01 +03:00
Taly
e1d80fa511 Update table-of-content.js 2022-07-07 18:46:57 +03:00
Taly
8cf75b4c20 update structure 2022-07-06 18:20:19 +03:00
Taly
fa9e4823c5 remove log 2022-07-05 18:04:49 +03:00
Taly
7e71079f07 rename var 2022-07-05 18:04:03 +03:00
Taly
bcfef10df4 not module 2022-07-05 18:01:59 +03:00
dependabot[bot]
ac40723c16
Bump got from 11.8.3 to 11.8.5 (#206)
Bumps [got](https://github.com/sindresorhus/got) from 11.8.3 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.3...v11.8.5)

---
updated-dependencies:
- dependency-name: got
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 22:00:22 +03:00
Taly
5177227d1c remove unused styles 2022-07-01 18:23:18 +03:00
Taly
88b9cf3e21 Update table-of-content.js 2022-06-29 04:36:04 +03:00
Taly
78a30d24f5 Update layout.pcss 2022-06-29 04:34:32 +03:00
Taly
9fcbe26c6a Update table-of-content.pcss 2022-06-29 04:33:44 +03:00
Taly
c4c9a1b907 Update table-of-content.pcss 2022-06-29 04:32:06 +03:00
Taly
ce8fdde541 Update table-of-content.js 2022-06-29 04:31:04 +03:00
Taly
cfba1b7f48 remove non valued changes 2022-06-29 04:12:39 +03:00
Taly
b24fdb070f Update sidebar.twig 2022-06-29 04:11:16 +03:00
Taly
83182deb7d update from master 2022-06-29 04:10:00 +03:00
Taly
a23c243c56 Merge branch 'main' into feature/table-of-content 2022-06-28 20:52:03 +03:00
Taly
68304722ea Update layout.pcss 2022-06-28 20:52:00 +03:00
Tanya
8c0211d7bc
[Fix] Several ui fixes (#205)
* Fix sidebar

* Use squircle mask for header links

* Firefox mask-box-image fix
2022-06-27 20:06:56 +08:00
Tanya
669b78b967
Layout update (#208)
* Add right column

* Cleanup

* Fix center column position

* Change sidebar width

* Fixes

* Make right column sticky

* Add placeholder element to right column

* Fix right aside padding top
2022-06-27 20:04:26 +08:00
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
Taly
88c83142d0 update layout 2022-06-21 13:38:28 +03:00
Taly
0d70f70075 Merge branch 'main' into feature/table-of-content 2022-06-21 12:59:25 +03:00
Taly
48ee9b0a5e Revert "update layout"
This reverts commit 18aad62257.
2022-06-16 18:58:26 +03: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
Taly
18aad62257 update layout 2022-06-10 18:12:03 +03:00
Taly
f055395e9c update tags var 2022-06-10 14:29:35 +03:00
Taly
a10604624c remove logs 2022-06-09 18:08:36 +03:00
Taly
443edb4c98 update view 2022-06-09 14:12:20 +03:00
Taly
20747407f7 Add table of content 2022-06-09 14:06:10 +03:00
Taly
f5d1a73b26 Create nodemon.json 2022-06-09 14:02:19 +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