1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 15:19:42 +02:00
Commit graph

376 commits

Author SHA1 Message Date
HarveyKandola
df8f650319 Support VB.NET for code syntax highlighting 2021-08-18 19:41:19 -04:00
Harvey Kandola
972413110f
Merge pull request #377 from Ma27/preview-button-toggle
gui/editors: toggle Preview/Edit button
2020-11-12 18:57:42 +00:00
HarveyKandola
30d12ba756 Updated Draw.io integration 2020-11-09 11:01:09 -05:00
Maximilian Bosch
9ed8f79315
gui/editors: toggle Preview/Edit button
When hitting "Preview" on a previewable section (e.g. one with
markdown), the tooltip and icon of the preview-button still show
"Preview". With this change, both the text and the button will be
switched accordingly.
2020-10-31 21:18:20 +01:00
sauls8t
c689379f92 Restrict pin sequence changing
Only all documents filter enables the up/down pin sequence change clickers.
2020-02-04 12:37:59 +00:00
sauls8t
e014f5b5c1 Pinned documents
Closes #278

Pin documents to the top of each space.
2020-02-03 21:00:35 +00:00
sauls8t
50f47f61a5 Rename folder/space for all space export 2020-02-03 20:57:36 +00:00
sauls8t
1a89201bd9 Provide generic IFrame section for documents
Closes #352
2019-12-09 12:31:44 +00:00
HarveyKandola
2b3e9dfbc9 Stop TinyMCE dialogs from scrolling background 2019-12-06 15:11:16 +00:00
HarveyKandola
1c1ebee15a Upgrade TinyMCE to 5.1.3 2019-12-06 15:10:50 +00:00
HarveyKandola
6ba4ca9c16 Fix scroll-to-section regression
Fixes #344
2019-12-06 11:09:02 +00:00
HarveyKandola
5aaa9f874d Hide PlantUML sample diagrams when you have content
Closes #346
2019-12-06 10:13:15 +00:00
HarveyKandola
f117e91bcb Specify default categories for new documents
Closes #339

All new documents will be assigned default categories.

Documents created from templates that already have categories take precedence.
2019-11-15 14:51:52 +00:00
HarveyKandola
5c1ad25dc9 Allow rich rext for Site Message and Space Desc
Closes #291

Style both site-wide message and per space descriptions using the fully-featured rich text editor.
2019-11-15 12:41:08 +00:00
McMatts
faeadb2bbb Update embeded assets 2019-11-08 14:55:27 +00:00
McMatts
60ef205948 Improve jump-to-section scrolling 2019-11-08 12:45:22 +00:00
McMatts
441efd42e9 Prevent edits to locked docs/sections 2019-11-08 12:44:41 +00:00
McMatts
a19ba46f7a Add http scheme for copied links 2019-11-08 11:11:27 +00:00
HarveyKandola
a64a219ce8 Remove obsolete anchor plugin 2019-10-26 16:55:54 +01:00
McMatts
39f457e90e Upgrade TinyMCE to v5.1.0
Introduces new sticky toolbar option!
2019-10-21 10:54:01 +01:00
McMatts
30d3e6f82e Improve canEdit permissions for attachments 2019-10-21 10:34:34 +01:00
McMatts
8c2bed283f Sync edit checks across editions 2019-10-21 10:34:10 +01:00
HarveyKandola
7c70274f5e Add edit check to atatchments list view 2019-10-14 17:29:34 +01:00
sauls8t
6b723568d3 Provide Bash/Shell code syntax in Rich Text Editor
Closes #322
2019-09-18 11:25:21 +01:00
HarveyKandola
5b72da037c Ensure only change approvers can change doc level attachments
Does not affect section level attachments
2019-08-27 16:17:38 +01:00
Derek Chen
8c99977fc9 working on forentend 2019-08-08 00:40:03 +08:00
sauls8t
e219c97a6b Enbale browser context menu for TinyMCE 2019-08-05 13:29:08 -04:00
Maximilian Bosch
444b4fd1f7
Render HTML in Markdown during previews as well
When having e.g. a markdown-based section in a document where you
reference another document, a HTML-link is generated. However when
previewing changes, the raw HTML is shown.

With setting `html: true` in the configuration for `markdownit`[1],
HTML is detected and properly parsed (Also markup tags such as `<h1>`
are rendered properly just like when using `blackfriday` to request a rendered
section).

Regarding probably harmful side-effects: setting e.g. `<style>* { display:
none !important; }</style>` causes a white page with `markdownit` as
well as with `blackfriday`. `<script>` tags aren't affected since
`handlebars` mostly breaks with `<script>` tags within variables that
are substituted using `{{{var}}}` into the DOM[3].

Please note that I didn't commit the modifications in `embed/bindata.go`
as it seemed to me after looking at the history that those updates are
only done when preparing a release.

[1] 1ad3aec204/lib/presets/default.js (L6-L9)
[2] https://github.com/documize/blackfriday/blob/master/markdown.go#L105-L146
[3] https://github.com/wycats/handlebars.js/issues/531
2019-08-01 21:02:35 +02:00
sauls8t
264c25cfe0 Prevent space user invitation for non-Documize auth providers
If running LDAP or Keycloak authentication, you cannot bypass user sync process to invite new users.

Closes #284
2019-06-25 17:05:25 +01:00
sauls8t
595301db64 Replace UPLOAD with + for attachments action 2019-06-25 16:53:43 +01:00
sauls8t
80f0876b51 Show admins incomplete config indicator
SMTP checks to start with.
2019-06-19 13:39:36 +01:00
sauls8t
946c433018 Detect first-time login event 2019-06-19 12:46:46 +01:00
sauls8t
4d2f30711c Accept activation key during setup process
Enterprise edition only.
2019-06-19 12:46:05 +01:00
HarveyKandola
b256bf2e9d Move product assets to AWS S3
Moving from Google Cloud bucket to AWS S3 bucket.
2019-06-12 18:17:05 +01:00
sauls8t
b1cb0ed155 Make section publish modal focus on first input 2019-06-06 18:29:38 +01:00
sauls8t
82ddcc057d Make copy/move process use dropdowns for selection
We currently use keyword searching to find target documents.

Replace this with space and document list dropdown for quicker and easier target document selection.
2019-06-06 17:58:48 +01:00
sauls8t
ec8d5c78e2 Provide copy document option
Duplicates entire document tree into a new document (same space).
2019-06-06 11:45:41 +01:00
HarveyKandola
b75969ae90 Use app-meta service to construct section link 2019-06-05 12:56:02 +01:00
HarveyKandola
9b82f42cc1 Copy link to section to clipboard
Closes #174
2019-06-05 12:52:15 +01:00
HarveyKandola
8baad7e2f0 Enable doc section expand/collapse
Closes #170
2019-06-05 11:09:24 +01:00
McMatts
c59a467cdb Print selected sections
Close #146
2019-05-31 19:41:34 +01:00
McMatts
715c31a1da Fix Ember lint issues and print view 2019-05-31 11:48:16 +01:00
McMatts
fe7548cd97 Change position of doc attachments 2019-05-29 16:57:22 +01:00
McMatts
bae7909801 Sync with Enterprise edition changes 2019-05-29 12:49:20 +01:00
McMatts
c870547fa1 Move doc meta fields out of sidebar 2019-05-29 11:09:19 +01:00
McMatts
0240f98eb0 Add scroll to top option for document view
Closes #175
2019-05-28 14:08:19 +01:00
McMatts
c65eb97948 Show jump list to other space documents
Closes #219

Jump to documents within space when viewing a document.
2019-05-24 15:08:54 +01:00
McMatts
6ae9414361 Complete UI refactoring to new nav and toolbar UX
Compact design!
2019-05-24 12:30:31 +01:00
McMatts
e37782e5b7 Fix edge case for attachments download auth checks
Edit permissions no longer interfere with download checks.
2019-05-24 12:29:46 +01:00
Harvey Kandola
de273a38ed New toolbar styling and layout controls
Built to work with forthcoming feature set that requires display of more options.
2019-05-21 17:05:57 +01:00