c2d6e98985
Merge pull request #907 from BookStackApp/fix/date-image-manager
...
Changes the way the date is displayed in image-manager.
2018-07-02 00:34:30 +05:30
45aee2a1c1
Merge pull request #874 from BookStackApp/fix/gototext
...
Fixes undefined error when clicking on link under page navigation.
2018-07-01 16:13:10 +01:00
f5df5ac7d5
Changes the way the date is displayed in image-manager.
...
Signed-off-by: Abijeet <abijeetpatro@gmail.com >
2018-06-30 11:04:12 +05:30
7d81a95156
Fixes issue with having to click the delete icon for attachment twice.
...
Fixes #884
This is happening because -
Due to the limitations of modern JavaScript (and the abandonment of Object.observe), Vue cannot detect property addition or deletion. Since Vue performs the getter/setter conversion process during instance initialization, a property must be present in the data object in order for Vue to convert it and make it reactive.
Source: https://vuejs.org/v2/guide/reactivity.html
Also added padding to the icons in the attachment section.
Signed-off-by: Abijeet <abijeetpatro@gmail.com >
2018-06-17 14:21:31 +05:30
b3cc3130f0
Added copy button to codemirror-rendered code blocks
...
Closes #858
2018-06-09 10:41:01 +01:00
0363fc4ea1
Fixes undefined error when clicking on page navigation links.
...
Fixes #873
Signed-off-by: Abijeet <abijeetpatro@gmail.com >
2018-06-03 14:24:55 +05:30
d886c6a32e
Removed old ng tags, Fixed header spacing
...
Also prevent pointer error on custom home page
2018-05-28 10:33:38 +01:00
6b84a76af1
Merge branch 'drawing_updates'
2018-05-27 19:42:25 +01:00
1df0bcaf85
Made image cleanup safer
...
Also fixed drawing update in markdown editor.
Added shortcut for MD editor to view drawing manager.
2018-05-27 14:33:50 +01:00
8c4c8cd95b
Updated secure-images option to not effect image name
...
Instead only the image path is altered.
Also fixed image manger mode not changing on button press.
2018-05-20 16:47:53 +01:00
0c9c1e4c6b
Reverted work on revisions
...
Improved linkage of drawings and image manager.
Updated image updates to create new versions.
2018-05-20 16:41:14 +01:00
6e7adcc095
Embedded SVG icons in css/js files
...
Allows removal of hacky /icon endpoint solution.
Fixes PDF exports with WKHTML and allows the icon to show in HTML
exports.
Fixes #796
2018-05-20 11:55:23 +01:00
a1ecdcacba
Fixed attachment error handling, Allowed all link types
...
Related to #812
2018-05-20 11:06:10 +01:00
93147f4340
Prevented back-to-top showing on flexbox-body pages
...
Fixes #824
2018-05-20 09:48:11 +01:00
9f4c64a676
Codemirror mode now correct for c-like langs
...
Fixes #849
2018-05-20 09:32:15 +01:00
6cdb943916
Started work on revisions in image manager
2018-05-19 18:44:40 +01:00
d3d8ddbe52
Improved 404 handling and fixed editor error
...
404 handling now not a hack-around and uses Laravel 'fallback' routes
instead. Prevents errors with the session when you have mulitple errors
on a page where a post/put/delete is made.
2018-05-19 17:01:33 +01:00
d5b922aa50
Started work on drawing revisions
...
Improved sidebar and selection styling of image manager.
Allowed image manager imageType to be changed on open.
Created models for image revisions.
2018-05-13 12:07:38 +01:00
0c3c8fc9c3
Updated npm dependancies
2018-04-30 14:54:54 +01:00
0f7b0ad45a
Added ability to copy a page
...
In 'More' menu alongside move.
Allows you to move if you have permission to create within the new
target parent.
Closes #673
2018-04-14 18:00:16 +01:00
7238a01f89
Moved the code to the wysiwyg-editor file.
...
Signed-off-by: Abijeet <abijeetpatro@gmail.com >
2018-04-14 18:41:35 +05:30
0ade9b5b9b
Refactored moment.js out of app
...
Reduces bundle size by 25%
2018-04-01 14:10:44 +01:00
736d7118b0
Refactored js file structure to be standard throughout app
...
Still work to be done but a good start in standardisation.
2018-04-01 13:21:11 +01:00
b612cf9e4c
Refactored out page-display system
2018-04-01 12:46:27 +01:00
582158f70e
Added tags to chapters and books
...
Closes #121
2018-03-30 14:09:51 +01:00
5ad9c5d319
Merge branch 'bug/gif-image-740' of git://github.com/Abijeet/BookStack
...
Also removed console.logs in dropzone.js
2018-03-24 14:54:50 +00:00
2cfcbe0a3c
Fixes an issue with handling of large image files.
...
Signed-off-by: Abijeet <abijeetpatro@gmail.com >
2018-03-19 02:09:01 +05:30
0335f58478
Merge branch 'master' into bug/image-upload
2018-03-18 23:44:33 +05:30
3a5c20c17e
Removing the selected image and clearing the dropdzone on dialog close.
...
Towards #741
Signed-off-by: Abijeet <abijeetpatro@gmail.com >
2018-03-18 23:38:37 +05:30
ecdeb545e0
Cleaned some form styling
...
Removed uppercasing of labels to make a little friendlier.
Extracted out toggleswitch JS into own component.
Improved basic code input for html-head-input area.
2018-03-18 15:13:46 +00:00
d859be3a12
Fixes a number of issues with the image uploader. Read below,
...
- Added a remove link to remove files that have an error.
- Error will appear below the progress bar.
- Hovering on dz-image or dz-details will display the error message. Otherwise error message was covering the remove link as well.
- Removed styling around the file size.
- Removed gradient effect in accordance with BookStack styling.
- Dropzone filenae will not overflow the container element. Also done for page attachments
- Added a 'uploaded' error message. this error was being thrown when the file size exceeded the server configured file size. (https://stackoverflow.com/a/42934387/903324 )
Towards #741
Signed-off-by: Abijeet <abijeetpatro@gmail.com >
2018-03-18 18:44:11 +05:30
8828adfc9c
Fixed up notification styling a little
2018-03-18 11:58:45 +00:00
d2eec4fbce
Markdown editor image paste sets cursor correctly
...
Now sets cursor to alt text rather than end of placeholder image.
Fixed #751
2018-03-18 11:33:30 +00:00
0a1546daea
Moved jQuery to use NPM and fixed some asset refs
2018-03-17 15:20:15 +00:00
ced4e58137
Finished off intitial conversion to webpack
2018-03-17 13:03:13 +00:00
e52bfc0c24
Attempted move to webpack again
2018-03-11 16:16:30 +00:00
81fa021083
Finished migrated from icon-font to SVG
2018-02-17 19:49:00 +00:00
9bbef3a3dd
Added drawio abilities to markdown editor
2018-01-20 20:40:21 +00:00
1411ee86b3
Extracted draw.io functionality to own file
2018-01-20 16:32:13 +00:00
56264551e7
Added drawing icon and made drawio disablable
2018-01-20 15:00:54 +00:00
1bfd77e7a1
Added drawing update ability
2018-01-20 14:01:35 +00:00
920964a561
Enabled system-storage of drawings made via draw.io
2017-12-30 15:26:39 +00:00
0dc1f0b07f
Started draw.io integration
2017-12-24 14:28:35 +00:00
3ed5426315
Moved book cover image input into collapsible section
...
Prevent extra friction when creating a new book and makes it easier to
skip if grid view is not in use
2017-12-10 13:46:50 +00:00
d7edc389a6
Enabled custom HTML head content to work within editors
...
Closes #562
2017-12-08 11:52:43 +00:00
06cf175b08
Prevented page navigation highlighting erroring
...
This was when no page nav was on the page
2017-12-07 19:27:54 +00:00
91444e83fd
Cleaned up some page-show JS
2017-12-07 19:10:31 +00:00
6063ac4a11
Merge branch 'master' of git://github.com/Abijeet/BookStack
2017-12-07 18:47:07 +00:00
02fd1c48ed
Added meta+enter shortcut for page save
...
Closes #604
2017-12-07 18:44:20 +00:00
6ee35f55cc
Refactored image picker to js component
...
Also adjusted default cover image size
2017-12-06 17:32:29 +00:00