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

663 commits

Author SHA1 Message Date
Derek Chen
041091504f fix lost auth token issue when refresh page 2019-08-13 22:10:08 +08:00
Derek Chen
8c2df6178d auth with cas 2019-08-09 13:44:03 +08:00
Derek Chen
8c99977fc9 working on forentend 2019-08-08 00:40:03 +08:00
sauls8t
9d6b6fec23 Bump version to 3.1.2 2019-08-05 13:54:25 -04:00
sauls8t
4e0e3b5101 Upgrade Markdown preview dependency
v9.0.1
2019-08-05 13:35:26 -04:00
sauls8t
e219c97a6b Enbale browser context menu for TinyMCE 2019-08-05 13:29:08 -04:00
sauls8t
7485f2cef7 Upgrade TinyMCE to v5.0.12 2019-08-05 13:28:48 -04:00
sauls8t
627195aae7 Clarify permissions explanation 2019-08-05 13:06:35 -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
201d2a339c Prep v3.1.0 build 2019-06-25 17:52:03 +01: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
HarveyKandola
3621e2fb79 Install helps docs as part of onboarding process
Our own docs are installed as sample data!

Refactored search reindexing code.
2019-06-24 17:01:56 +01:00
HarveyKandola
ae923e7df1 Make tooltips use theme skin 2019-06-20 15:28:23 +01:00
sauls8t
80f0876b51 Show admins incomplete config indicator
SMTP checks to start with.
2019-06-19 13:39:36 +01:00
sauls8t
b2cd375936 Increase border radius for UI card elements 2019-06-19 12:48:18 +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
HarveyKandola
64612b825a Include new comment fields in backup/restore process
c_sectionid
c_replyto
2019-06-12 13:52:30 +01:00
HarveyKandola
216866a953 Shrink doc meta font size 2019-06-12 08:44:37 +01:00
HarveyKandola
14820df165 Move doc headings above doc meta 2019-06-11 18:03:28 +01:00
sauls8t
f7a738ad84 v3 build prep 2019-06-11 11:41:09 +01:00
sauls8t
df2775f8a4 Remove confusing dick handlers from document meta zone 2019-06-11 10:38:57 +01:00
sauls8t
a710839f69 Tidy up draft permission handling
Removes inconsistency of approvals vs. lifecycle.
2019-06-11 10:38:39 +01:00
sauls8t
7eec01811a Add “Reply” to constants 2019-06-10 15:47:13 +01:00
sauls8t
b1cb0ed155 Make section publish modal focus on first input 2019-06-06 18:29:38 +01:00
sauls8t
78fd14b3d3 Fix indentation 2019-06-06 18:17:03 +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
a90c5834fa Improve move/copy/merge sections between documents
Processx all child sections during copy/move/merge operation.

Ensure links work as expected within newly copied/moved content.

Index copied/moved content for searching.

fixes #138
fixes #248
2019-06-06 16:17:36 +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
b8fee6b962 Indent doc sections as per hierarchy
Reflect doc structure by indenting sections as you read the document.

Fixes #281.
2019-06-05 11:41:43 +01:00
HarveyKandola
8baad7e2f0 Enable doc section expand/collapse
Closes #170
2019-06-05 11:09:24 +01:00
HarveyKandola
99a5418dba Only show space dropdown when label has 2+ spaces 2019-06-03 17:00:32 +01:00
HarveyKandola
acd3dd63b5 Fix typo 2019-06-03 17:00:06 +01:00
HarveyKandola
96872990f9 Update export process CSS
This will ensure new styles are reflected during export process.
2019-06-03 12:21:18 +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
40237344e2 Show doc created/revised dates
Fixes #229
2019-05-30 15:10:28 +01:00
McMatts
91a3c59cd2 Remove redundant comment/feedback feature
Enterprise edition contains the feedbacl/comment feature and Community edition should not show this.

Closes #272
2019-05-30 10:41:09 +01:00
McMatts
fe7548cd97 Change position of doc attachments 2019-05-29 16:57:22 +01:00
McMatts
ca4a9a74ee Sync doc meta layout with Enterprise edition 2019-05-29 14:58:00 +01:00
McMatts
1e1cbdd843 Reduce space between doc sections
Fixes #253
2019-05-29 14:36:37 +01:00
McMatts
c8b82c85fe Sync doc meta style with Enterprise edition 2019-05-29 14:31:10 +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
c0876e7be8 Allow for scrollable doc TOC + scroll to top + wrap section names
Closes #254
2019-05-28 16:12:25 +01:00
McMatts
cd9f681adf Resolve Code section type syntax load bug
For certain syntax types CodeMirror was missing required logic.

Fixes #276
2019-05-28 15:48:16 +01:00