Dan Brown
e3230f8f21
Standardised module loading system & fixed build system
...
Fixed broken build system in broken webpack version.
Also updates module system to standardise on ES6 import/exports,
Especially since babel has changed it's 'default' logic for the old
module system.
2018-11-09 21:17:35 +00:00
Dan Brown
7b32aa163f
Added Bookshelves to search system.
...
Also cleaned up and made search indexing system a little more efficient.
Closes #1023
2018-09-23 12:34:30 +01:00
Abijeet
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
Abijeet
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
Dan Brown
6b84a76af1
Merge branch 'drawing_updates'
2018-05-27 19:42:25 +01:00
Dan Brown
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
Dan Brown
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
Dan Brown
a1ecdcacba
Fixed attachment error handling, Allowed all link types
...
Related to #812
2018-05-20 11:06:10 +01:00
Dan Brown
6cdb943916
Started work on revisions in image manager
2018-05-19 18:44:40 +01:00
Dan Brown
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
Dan Brown
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
Dan Brown
0ade9b5b9b
Refactored moment.js out of app
...
Reduces bundle size by 25%
2018-04-01 14:10:44 +01:00
Dan Brown
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
Dan Brown
582158f70e
Added tags to chapters and books
...
Closes #121
2018-03-30 14:09:51 +01:00
Dan Brown
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
Abijeet
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
Abijeet Patro
0335f58478
Merge branch 'master' into bug/image-upload
2018-03-18 23:44:33 +05:30
Abijeet
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
Abijeet
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
Dan Brown
e52bfc0c24
Attempted move to webpack again
2018-03-11 16:16:30 +00:00
Dan Brown
1411ee86b3
Extracted draw.io functionality to own file
2018-01-20 16:32:13 +00:00
Dan Brown
02fd1c48ed
Added meta+enter shortcut for page save
...
Closes #604
2017-12-07 18:44:20 +00:00
Dan Brown
08e58bab79
Fixed vue component error
2017-11-11 17:10:15 +00:00
Dan Brown
b711bc6816
Prevented 'Discard draft' option showing after saving a draft page
2017-10-01 18:11:24 +01:00
Dan Brown
61fad6a665
Finished migration of last angular code
2017-09-30 13:27:08 +01:00
Dan Brown
fea5630ea4
Made some changes to the comment system
...
Changed to be rendered server side along with page content.
Changed deletion to fully delete comments from the database.
Added 'local_id' to comments for referencing.
Updated reply system to be non-nested (Incomplete)
Made database comment format entity-agnostic to be more future proof.
Updated designs of comment sections.
2017-09-03 16:37:51 +01:00
Abijeet
76ae5c7398
Removes some unused code.
2017-08-23 01:04:36 +05:30
Abijeet
6920d6eef1
Fixes the comment check for linked comment.
2017-08-22 01:39:09 +05:30
Abijeet
b5cd3bff3c
Added functionality to highlight a comment.
2017-08-22 01:31:11 +05:30
Abijeet
ac07cb41b6
Fixed formatting and added error messages.
2017-08-21 02:21:31 +05:30
Abijeet
1f6994b62c
Added code for permissions, removed unnecessary code.
2017-08-20 21:26:44 +05:30
Abijeet
47d82a1ac2
Merge branch 'master' of https://github.com/BookStackApp/BookStack
...
Conflicts:
resources/assets/js/vues/vues.js
2017-08-20 20:35:56 +05:30
Abijeet
703d579561
Refactored Angular code to instead use VueJS, left with permissions, testing and load testing.
2017-08-20 20:21:32 +05:30
Abijeet
ed375bfaf7
Refactored Angular code to instead use VueJS, left with permissions, testing and load testing.
2017-08-20 20:21:27 +05:30
Dan Brown
039ee5d06c
Aligned entity dash name and fixed chapter toggle on dash
2017-08-19 14:04:38 +01:00
Dan Brown
afc66b3c3d
Migrated attachment manager to vue
2017-08-19 13:55:56 +01:00
Dan Brown
d3e4a1a6f9
Converted tag autosuggestion to vue component
2017-08-13 13:25:30 +01:00
Dan Brown
b023699f1b
Converted tag manager to be fully vue based
2017-08-13 11:50:40 +01:00
Dan Brown
f338dbe3f8
Started vueifying tag system
2017-08-10 20:11:25 +01:00
Dan Brown
ab07f7df6c
Converted image manager into vue component
2017-08-09 21:33:00 +01:00
10bass
b4dcde252b
Update search.js
...
Trying to apply an exact match or tag would previously redirect to /search, regardless of the installation path.
2017-07-24 20:06:15 -04:00
Dan Brown
de6d8a811c
Added quick lang-selection options to code editor
2017-07-01 15:50:28 +01:00
Dan Brown
968e7b8b72
Finished off main functionality of custom tinymce code editor
2017-07-01 13:23:46 +01:00
Dan Brown
dcde599709
Added chapter search
...
Migrated book search to vue-based system.
Updated old tag seached.
Made chapter page layout widths same as book page.
Closes #344
2017-04-15 19:16:07 +01:00
Dan Brown
0e0945ef84
Finished off UI for search system
2017-04-15 15:04:30 +01:00
Dan Brown
ad125327c0
Migrated to custom gulp setup and conintue search interface
2017-04-14 18:47:33 +01:00
Dan Brown
46f3d78c8a
Fixed entity type filter bug in new search system
2017-04-09 21:12:13 +01:00
Dan Brown
1338ae2fc3
Started search interface, Added in vue and moved fonts
2017-04-09 20:59:57 +01:00