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

30 commits

Author SHA1 Message Date
Aleksey Solovyev
dc0c32a93f feat: add copy button to header 2022-11-29 19:55:35 +03:00
Aleksey Solovyev
91ba44a169 refactor: delete copy link button from header 2022-11-29 14:55:11 +03:00
Peter Savchenko
2dd4873029
fix(styles): editor styles improved (#268)
* editor blocks margin fix, horisontal scroll fix

* make page and editor more similar
2022-09-15 22:37:12 +03:00
Tanya
c383ee48c2
Fix image centering (#265) 2022-09-14 20:27:40 +03:00
Tanya
3e5b6a8ba0
Add ability to copy header link (#256)
* Add ability to copy header link

* Update copy button styles

* Update splash border radius

* Remove cursor pointer from header

* Fix for different header sizes

* Update animation

* Update src/frontend/styles/components/page.pcss

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

Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
2022-09-14 15:31:16 +03:00
Peter Savchenko
1cd078317e
chore(styles): list and image blocks style improved (#260)
* update image margings

* upd list style
2022-09-13 18:57:50 +03:00
Peter Savchenko
ceccd234cd
Increase content paddings (#257)
* Increase content paddings

* add margin to the page title
2022-09-13 17:08:07 +03:00
Alexander Chernyaev
0aeab51286
refactor: stretched function (#252)
* delete stretched function
2022-09-12 16:48:13 +03:00
Peter Savchenko
237db3e472
chore(ui): a bunch of style updates (#235)
* chore(styles): typography updating started

* page styles updated

* page header nav fix, inline code style fix, table, navigator

* use arrow-right icon instead of "»" in bread crumbs

* a bunch of updates

* make content and write page styles more consistent

* rollback layout change

* upd color text second

* upd sidebar logo text color

* resovle someone's ts errors

* remove duplicated variables
2022-09-06 22:58:50 +03:00
slaveeks
70f89f28da
Added page navigation (#209)
* Added navigation on page

* Removed useless log, added docs to navigator component

* Fixed duplicated variables, some changes in navigation functions, changed pages.twig and navigator.twig

* Added flatArray model, changed navigation functions

* Replaced page footer style to page.pcss

* Fixed generating flat array, when pages remove

* Removed useless generating

* Renamed flatArray model to pagesFlatArray, updated descriptions, renamed generate to regenerate, removed hardcoded key name in cache

* Changed styles naming and added margin for navigation

* Added ability to change nesting in flat array, fixed BEM

* Updated nesting parameter, fixed BEM

* Changed navigator component by passing objects, removed navigator wrapper

* Style navigator renamed to navigator__item

* Update src/backend/models/pagesFlatArray.ts

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

* Renamed navigator__item to navigator_item

* Deleted wrappers from navigator buttons, removed page__footer

Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
2022-08-02 17:38:02 +03: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
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
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
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
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
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
Peter Savchenko
c7219f8943
Some design updates (#70)
* Auth page styles improved

* styles updated

* upd bundles
2019-03-13 12:25:43 +03:00
Taly
05d5632e83
Add Table Tool (#66)
resolves #58
2019-03-12 17:24:20 +03:00
Taly
f87fd72fcb
Add Chrome support for mp4 Image block (#63) 2019-03-12 15:48:56 +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
82a81ce96a
Add template for Delimiter Block (#61)
resolves #57
2019-03-11 16:13:57 +03:00
Peter Savchenko
529aca5e29
Small layout updates (#46) 2019-02-18 11:15:03 +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
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
Peter Savchenko
262c1614ed
New tools added + code highlighting (#12) 2018-10-20 17:54:15 +03:00
Peter Savchenko
730eff7995
Page showing, page edit, move API to /api/ (#10) 2018-10-15 22:06:01 +03:00