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

589 commits

Author SHA1 Message Date
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
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
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
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
0240f98eb0 Add scroll to top option for document view
Closes #175
2019-05-28 14:08:19 +01:00
McMatts
c49707d160 Make popups close on doble-click + quote @size attrs
1. Popups should close on subsequent trigger clicks
2. @attrs should be quoted as oper linter warnings.
2019-05-28 10:59:48 +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
bc9dab72f2 Show quick list and jump to other spaces with same label
Closes #275
2019-05-24 13:45:01 +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
2bbeaf91a0 Implement dropdown menu for document toolbar 2019-05-22 06:35:54 +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
Harvey Kandola
08794f8d5f Migrate views to new master layout 2019-05-20 17:40:57 +01:00
Harvey Kandola
14f313a836 Make Login action more prominent
Closes #247
2019-05-20 15:21:33 +01:00
Harvey Kandola
62c3cd03ad [WIP] Improve master layout for different devices + product growth
We have two pressing needs:

1. Improve experience on real estate challenged devices.
2. Make room for product feature-set growth.

To hit these targets, we need to develop better UX through smarter on-screen space management.
2019-05-20 10:39:48 +01:00