Commit Graph

231 Commits

Author SHA1 Message Date
Dan Brown 43d9d2eba7 Updated all application urls to allow path prefix.
Allows BookStack to be installed at a non-root location on a domain.
Closes #40.
2016-08-14 12:29:35 +01:00
Dan Brown b246a67e8a Fixed double brace issues in both editors.
Double braces were being parsed by angular in both the WYSIWYG and markdown editor.
Fixes #150 and fixes #155.
2016-08-13 14:18:31 +01:00
Dan Brown d05e85efa9 Fixed back-to-top button on firefox. Fixes #153. 2016-07-26 18:03:10 +01:00
Dan Brown 3fd82200cc Added WYSIWYG editor shortcuts 2016-07-12 21:11:48 +01:00
Dan Brown 7215392784 Changed when revisions are saved and update changelog input
Revisions are now saved when te page content is originally saved whereas before they were saved on the next update to the page.
2016-07-10 12:12:52 +01:00
Dan Brown 10418323ef Prevented shift-tab from selecting a tag 2016-07-03 10:47:20 +01:00
Dan Brown c25ef18900 Made list default messages a little nicer 2016-07-03 10:12:12 +01:00
Dan Brown b0a63ba0cc Tightened and cleaned some list styles 2016-07-03 09:58:45 +01:00
Dan Brown 361ba8b244 Made stick book navigation recalc on window resize 2016-06-25 15:46:31 +01:00
Dan Brown bcd9c2044e Added WYSIWYG editor callouts 2016-06-19 19:02:53 +01:00
Dan Brown 7f99903fdb Finished off page move functionality 2016-06-12 12:14:14 +01:00
Dan Brown 97d011ac8e Started work on page move view and entity selector 2016-06-11 21:04:18 +01:00
Dan Brown eec9c05518 Added tag autosuggestion when no input provided
Shows the most popular tag names/values.
As requested on #121
2016-06-04 15:37:28 +01:00
Dan Brown 246d1621f5 Limited tag value autosuggestions based on tag name
As requested on #121
2016-06-04 14:54:31 +01:00
Dan Brown 5b9362ab0b Added (Ctrl+s) draft force save 2016-05-28 13:51:07 +01:00
Dan Brown f602b088ac Added basic markdown scroll syncing 2016-05-28 13:24:07 +01:00
Dan Brown e80ae76856 Added auto-suggestions to tag names and values 2016-05-15 20:12:53 +01:00
Dan Brown 78564ec61d Cleaned up tag edit interface 2016-05-14 20:02:00 +01:00
Dan Brown b80184cd93 Renamed attribute to tags & continued interface
Also fixed page create route broken in last commit
2016-05-13 21:20:21 +01:00
Dan Brown 1fa079b466 Started the page attributes interface 2016-05-12 23:12:05 +01:00
Dan Brown 9dc1b35e82 Made settings ui a little less jumpy 2016-04-24 10:28:47 +01:00
Dan Brown 2dc1180a41 Added custom, More consistent hr insertion
Since the previous hr plugin caused large empty p tags
2016-04-23 19:15:49 +01:00
Dan Brown 792e786880 Added lists plugin to TinyMCE, Fixed strange nested list behaviour
Fixes #97
2016-04-14 22:34:33 +01:00
Dan Brown d6bad01130 Fixed draft time display, Cleaned up some code
Cleaned up some comment spacing in book controller and refactored some of the view service functions.
2016-04-09 14:26:42 +01:00
Dan Brown 2e7345f4f0 Localised draft save time display
In reference to #83.
2016-04-09 13:36:32 +01:00
Dan Brown cbff2c6035 Added uploaded to book/page filters & search in image manager
Also refactored tab styles which affected the settings area.

Closes #41
2016-04-03 14:59:54 +01:00
Dan Brown e1994ef2cf Added editor control in admin settings & Fixed some markdown editor bugs
Also updated the setting system with a more sane approach to handling default values. (Now done via the setting-defaults config file)
2016-03-29 19:26:13 +01:00
Dan Brown efb49019d4 Integrated the markdown editor with the image manager 2016-03-29 18:25:54 +01:00
Dan Brown 26965fa08f Added a markdown editor 2016-03-25 14:41:15 +00:00
Dan Brown dbe11c1360 Attached images to pages and added restriction filtering
Closes #79
2016-03-13 13:30:47 +00:00
Dan Brown 5283919d24 Added new page drafts and started image entity attaching
Closes #80.
2016-03-13 12:04:08 +00:00
Dan Brown 30214fde74 Added UI components of page autosaving 2016-03-12 15:52:19 +00:00
Dan Brown 93ebdf724b Changed direct attributes to prevent conflicts 2016-03-09 22:54:18 +00:00
Dan Brown 59ce228c2e Moved page editing to angular controller and started work on update drafts 2016-03-09 22:32:07 +00:00
Dan Brown e744d4c82c Changed color picker library and moved color logic to front end
Since the old library was GPLv3 i changed the color picker to tiny-color-picker which is MIT.
Also extracted the styles to a shared view and move color calculation logic to javascript side.
2016-03-06 10:52:10 +00:00
Dan Brown a14b5c33fd Added missing permission checkboxes and improved image AJAX permission responses 2016-02-27 20:52:46 +00:00
Dan Brown bab6fd1f2f Added recent pages to home view and made the home content more compact 2016-02-20 12:37:06 +00:00
Dan Brown 354912a1df Made book-navigation sidebar on pages sticky 2016-02-11 22:23:19 +00:00
Nick Walke eacff3a9f0 Fixes #45 2016-02-11 14:02:17 -06:00
Dan Brown e0279f93f9 Added a back-to-top button on all pages
The new back-to-top button will show after scrolling a short distance down a long page.
Closes #44.
2016-02-08 20:42:41 +00:00
Dan Brown 8296782149 Updated image controller styling and added preview option
The notification system was also updated so it can be used from JavaScript events such as image manager uploads.

Closes #25
2016-02-07 10:17:38 +00:00
Dan Brown bb87401d10 Improved image upload error handling and fixed bad user-avatar rewriting 2016-01-17 15:19:26 +00:00
Dan Brown d3709de035 Added more tests to increase test coverage 2016-01-02 14:48:35 +00:00
Dan Brown e519236d94 Removed external fonts from page forms and remove initial form flicker 2015-12-31 17:19:29 +00:00
Dan Brown a592eaeb91 Updated page pointer to sit near mouse location and extracted page js into browserify bundle 2015-12-30 20:48:57 +00:00
Dan Brown cca3533d35 Improved error messages for image uploads and formatted much js 2015-12-30 19:57:17 +00:00
Dan Brown 46c2e8b14e Moved all vuejs parts over to angular 2015-12-30 18:38:18 +00:00
Dan Brown 3347b3b2f5 Started transfer to angularjs 2015-12-29 16:39:25 +00:00
Dan Brown 4db692309b Standardized vue component http access and fixed some small bugs 2015-12-28 15:58:13 +00:00
Dan Brown 8f7c642f32 Added custom user avatars 2015-12-09 22:30:55 +00:00
Dan Brown a3188d349c Added mulit image-type compatability to manager & app and added scaled image selection 2015-12-08 22:04:59 +00:00
Dan Brown c88096b7e2 Revamped image system to use driver-agnotstic storage and be more efficent 2015-12-07 23:00:34 +00:00
Dan Brown 9969698783 Floating page content bugfix and prevent incompatable image uploads. Fixes #26. 2015-12-01 20:26:09 +00:00
Dan Brown 3d9084816e Added libs into project and fixed ol lists 2015-11-30 21:44:23 +00:00
Dan Brown 3825ea8c14 Fixed book js not working 2015-11-22 13:12:15 +00:00
Dan Brown ab6f6a5522 Cleaned up vuejs components and added image-picker deafult image 2015-11-09 19:20:44 +00:00
Dan Brown 53aa4635dc Updated vuejs and got it working with current components 2015-11-01 20:00:57 +00:00
Dan Brown d7520f224c Fixed book sort and added leave page warning to page editor. Fixes #22 and closes #21 2015-10-22 19:06:50 +01:00
Dan Brown eafdeea98f Cleaned mce edit bar and image options 2015-10-18 20:06:49 +01:00
Dan Brown 8ea75b0fdf Image uploads now quicker, and image sized reduced with links to originals 2015-10-18 18:48:51 +01:00
Dan Brown 6c4b4e1cf9 Made header more responsive and added nicer settings switches 2015-10-18 17:29:26 +01:00
Dan Brown 5795e12052 Added margins to floated images and updated editor controls. Fixes #18. 2015-10-14 22:12:46 +01:00
Dan Brown 7039695b65 Added chrome paste-image-upload. Closes #20. 2015-10-14 21:46:18 +01:00
Dan Brown 5af6656fae Extracted page form js and added better page content linking 2015-10-10 18:57:52 +01:00
Dan Brown 8b951403e4 Modularised/bundled js and made image-manager a proper component 2015-10-08 23:49:18 +01:00
Dan Brown 6b4ec65b03 Added logo selector 2015-10-07 23:17:48 +01:00
Dan Brown e449f25cc8 Added cross-book page/chapter sorting 2015-09-06 14:35:53 +01:00
Dan Brown 2dcc5105ad Added social sign in 2015-09-04 17:16:58 +01:00
Dan Brown 6ded178dc0 Cleaned styles further and added loading icon to search 2015-09-03 19:05:45 +01:00
Dan Brown d990c3cec9 Cleaned and organised many css/js files 2015-09-03 16:51:10 +01:00
Dan Brown 30d2edddda Cleaned book-show page/chapter list design 2015-09-02 14:39:54 +01:00
Dan Brown 1f03d8fb2a Fixed issue with image manager js not being updated 2015-09-01 18:37:40 +01:00
Dan Brown 69eff86ff5 Added image user checking before deletion. Fixes #13. 2015-09-01 18:28:50 +01:00
Dan Brown 03f5f9e9b9 Added AJAX-based search to books, Fixes #15 2015-09-01 15:35:11 +01:00
Dan Brown e5a372ffbd Added image name editing & deleting 2015-08-16 00:18:22 +01:00
Dan Brown b0808a1c24 Added image selection 2015-08-15 11:54:46 +01:00
Dan Brown 6e4764cde5 Got basics working using vue.js 2015-08-13 22:15:56 +01:00
Dan Brown b269b3bb3e Some image manager fixes 2015-08-13 20:28:11 +01:00
Dan Brown 59184fa6a9 Started on hiding manager on request 2015-08-13 07:44:10 +01:00
Dan Brown 83c653fc32 Got react image manager working 2015-08-12 23:42:42 +01:00
Dan Brown 8d72883dcb Started react implementation 2015-08-12 18:48:26 +01:00