Dan Brown
14b6cd1091
Started migration of attachment manager from vue
...
- Created new dropzone component.
- Added standard component event system using custom DOM events.
- Added tabs component.
- Added ajax-delete-row component.
2020-06-30 22:12:45 +01:00
Dan Brown
573c4e26d5
Finished moving tag-manager from a vue to a component
...
Now tags load with the page, not via AJAX.
2020-06-29 22:11:03 +01:00
Dan Brown
76d02cd472
Started attempt at formalising component system used in BookStack
...
Added a document to try to define things.
Updated the loading so components are registed dynamically.
Added some standardised ways to reference other elems & define options
2020-06-24 20:38:08 +01:00
Dan Brown
4ef362143b
Added auto-focus behaviour to page editor
...
- Will focus on title if the value of the field matches the default text
for the current user's language.
- Otherwise will focus on the editor body.
- Added and tested on both editors.
For #2036
2020-04-27 15:54:39 +01:00
Dan Brown
8fb1f7c361
Fixed floated content extending past page body
...
As shown in #2055
2020-04-25 19:59:23 +01:00
Dan Brown
5f61620cc2
Added support for changing the draw.io instance URL
...
- Allowed DRAWIO env option to be passed as URL to point to instance.
- Updated tests to check URL gets passed to pages correctly.
- Update default URL to be the default theme.
For #826
2020-04-05 17:27:16 +01:00
Dan Brown
ccd50fe918
Aligned export styles a little better and fixed potential DOMPDF css error
...
- Removed different PDF template used on pages.
- Updated export view files to have the intended format passed.
- Shared the export CSS amoung the export templates.
Should hopefully address #1886
2020-02-15 15:34:06 +00:00
ezzra
a82d9fdba5
fix translate for "actions"
2019-12-27 15:47:03 +00:00
Dan Brown
865e8d4ec5
Improved markdown mobile editor experience
...
- Updated styles of codemirror area to be a bit more forefull in taking
up space.
- Added a fullscreen toggle as a backup option.
For #1675
2019-12-22 14:22:38 +00:00
Dan Brown
213e9d2941
Upgraded to Laravel 5.6
2019-09-06 22:14:39 +01:00
Dan Brown
f421a2e1d6
Updated pointer button styles so icon not hidden
...
Related to #1616
2019-09-01 11:06:19 +01:00
Dan Brown
e9d42a2e8c
Fixed no md editor preview in FireFox
2019-09-01 10:51:52 +01:00
Dan Brown
64abe10dc4
Improved accessibility for many editor page components
...
Related to #1320
2019-08-26 12:47:04 +01:00
Dan Brown
7cc17934a8
Made MD editor display a sandboxed iframe
...
- Also added escaping of srcdoc elements in escape logic.
Related to #1531
2019-08-26 12:16:50 +01:00
Dan Brown
cf5d51e7b8
Made another mass of accessibility improvements
...
- Set proper semantic tags for main parts of content.
- Removed focus-trap from tag manager/autosuggest.
- Set better accessibility labelling on tag manager.
- Updated collapsible sections to be keyboard navigatable.
- Improved input focus styling to better fit theme.
- Updated custom styled file picker to be accessible via keyboard.
Related to #1320
2019-08-25 15:44:51 +01:00
Dan Brown
ae93a6ed07
Converted primary color use to css variable
...
- Removed all existing SCSS usage of primary color.
- Cut down custom styles injection to just be css vars.
- Reduced button styles so default button is primary.
- Updated button styles to lighten/brighten on hover & active states even
when a custom color is set.
- Removed unused scss color vars.
- Updated default BookStack blue to achieve better accessibility.
2019-08-25 12:40:04 +01:00
Dan Brown
b792108bc1
Updated print css for recent redesign
...
Fixes #1472
2019-08-25 11:30:26 +01:00
Dan Brown
b27a5c7fb8
Made a mass of accessibility improvements
...
- Changed default focus styles
- Updated dropdowns with keyboard navigation
- Updated modals with esc exiting
- Added accessibility attirbutes where needed
- Made many more elements focusable
- Updated hover effects of many items to also apply when focused within
Related to #1320 and #1198
2019-08-24 18:29:02 +01:00
Dan Brown
666213a4d4
Removed html dir tag for now, Updated lang format
2019-08-18 18:57:35 +01:00
Dan Brown
3acea12f1c
Merge branch 'unicode' of git://github.com/kostasdizas/BookStack into kostasdizas-unicode
2019-08-18 18:51:20 +01:00
Dan Brown
de3e9ab094
Added ability to use templates
...
- Added replace, append and prepend actions for template content into
both the WYSIWYG editor and markdown editor.
- Added further testing to cover.
2019-08-11 20:04:43 +01:00
Dan Brown
2ebbc6b658
Merge branch 'master' into 129-page-templates
2019-08-04 16:26:38 +01:00
Dan Brown
4b0c4e621a
Replaced use of custom 'baseUrl' helper with 'url'
...
Also changed up how base URL setting was being done
by manipulating incoming request URLs instead of
altering then on generation.
2019-08-04 14:26:39 +01:00
Dan Brown
71167426bb
Started implementation of page template
2019-07-07 13:45:46 +01:00
Dan Brown
15c39c1976
Updated JS translations to be inserted from back-end
...
Removes old awkward JS translations endpoint.
New system still a little akward in code but not now in process.
Also extracted out page editors into their own files.
Closes #1258
2019-07-06 14:52:25 +01:00
Dan Brown
f08668706f
Updated page-nav to show more title content
...
Will now be truncated using CSS instead of being truncated on PHP side.
Closes #1206 .
2019-06-16 12:08:07 +01:00
Dan Brown
56e31a5df7
Cleaned some page pointer layout/styles up
2019-06-16 11:17:15 +01:00
Kostas Dizas
86f56dd22b
Added locale and text direction to html templates
2019-06-11 23:01:08 +01:00
Dan Brown
ff841cff2e
Removed "Toggle Header" option in page editor
...
Somewhat overlaps with the editor fullscreen button and is using jQuery
2019-06-06 14:14:32 +01:00
Dan Brown
e1e1ea6099
Amended page save button layout to fix z-index issues
...
- Added a new mobile save button instead of trying to reposition the
original.
- Also recuced the point where the editor top toolbar will collapse to
become x-scrollable.
Fixes #1424
2019-05-19 15:30:58 +01:00
Dan Brown
adc866cb3d
Added ability for dropdown menu to be bottom of dom body
...
- Used when a dropdown is within a scrollable section such as editor
toolbar on mobile.
- Also made mobile page save button more obvious by increasing size and
inverting color.
2019-05-05 14:43:26 +01:00
Dan Brown
884e20cc5e
Updated TinyMCE to version 4.9.4
2019-04-21 13:49:46 +01:00
Dan Brown
0bc5ccba32
Add revision restore confirm and changed http method
...
Closes #1321
2019-04-20 13:25:16 +01:00
Dan Brown
01be72d5e2
Updated markdown editor for mobile
...
Also tweaked padding and responsivness on many common elements
2019-04-14 12:04:20 +01:00
Dan Brown
21e1123d12
Updated editor usability on mobile
2019-04-13 18:30:11 +01:00
Dan Brown
cc24d478aa
Organised entity action buttons a little more
2019-04-13 12:46:15 +01:00
Dan Brown
36481bb73f
Updated guest page-create intermediate page
2019-04-13 11:30:19 +01:00
Dan Brown
221a483b40
Standardised view referencing to dot-notation
2019-04-07 12:00:09 +01:00
Dan Brown
8c21b5345d
Cleaned up usage of some core scss files
2019-04-07 11:34:40 +01:00
Dan Brown
0a06e2bce3
Actioned some todo items, Cleaned old grid css
2019-04-07 09:57:48 +01:00
Dan Brown
7cda9b026e
Updated tests to suit layout changes, Updated 404 page
...
- Also replaced 'or' usage in templates with null coalescing operator
2019-04-06 18:36:17 +01:00
Dan Brown
67ed4710b6
Cleaned up old toolbar usage
2019-04-06 17:43:44 +01:00
Dan Brown
bda8aa414b
Fixed up edit views to use new layout
...
- Also updated chapter pages in books view to show detail
2019-03-30 15:49:14 +00:00
Dan Brown
60d175a9b9
Cleaned up sidebar book tree and moved details
...
- Also made top-spacing more consistent
2019-03-30 15:15:01 +00:00
Dan Brown
5f2d226f09
Merge branch 'master' into 2019-design
2019-03-10 21:40:02 +00:00
Dan Brown
5c9b528517
Abstracted userCanCreatePage helper to work for any permisison
...
- Added test to cover scenario where someone with create-own permission
would want to copy a viewable item into a container entity that they
own.
2019-03-09 16:50:22 +00:00
Dan Brown
6be2d3f28c
Merge branch 'Copy-For-View-Only' of git://github.com/mark-james/BookStack into mark-james-Copy-For-View-Only
2019-03-09 16:12:12 +00:00
Dan Brown
e70423c73f
Standardized breadcrumbs a little further with icons
2019-02-17 17:52:42 +00:00
Dan Brown
352cbbd074
Updated design of page navigation box
2019-02-16 15:39:11 +00:00
Dan Brown
b00b319e83
Re-arranged some list items to flexbox instead of grid
...
Since flexbox is better supported on a wider range of elements
2019-02-16 15:05:18 +00:00
Dan Brown
3286f29a61
Merge branch 'master' into 2019-design
2019-02-09 14:58:38 +00:00
Dan Brown
49deab3a02
Fixed page edit to have white background
2019-02-03 17:53:54 +00:00
Dan Brown
138f5d5c4f
Updated user and shelf views to new design
2019-02-03 13:45:45 +00:00
Dan Brown
20988962fe
Migrated a whole load more page/chapter/shelf views
2019-02-02 11:41:41 +00:00
Dan Brown
32603362a6
Updated a bunch of book views
2019-01-31 20:37:12 +00:00
Dan Brown
36424a24b5
Added ability for date format strings to be localized by back-end
...
Requires the locale to be installed on the system-side.
Closes #1214
2019-01-19 12:11:18 +00:00
Dan Brown
0efed43389
Converted more views to new layout and made breadcrumbs more flexible
2019-01-13 15:54:55 +00:00
Dan Brown
163a57cf70
Merge branch 'master' into 2019-design
2019-01-13 14:10:27 +00:00
Dan Brown
a2087fe3ff
Made delete permissions a requirement for move operations
...
Closes #1200
2019-01-05 14:39:40 +00:00
Mark James
19770d2792
Use joint_permissions to determine is a user has an available page or chapter to copy.
2019-01-02 16:55:28 +11:00
Mark James
99c6d70c51
Initial updates to allow for page copy when the user can read the page but can't update it.
2018-12-31 17:01:49 +11:00
Dan Brown
f4ea5f1f55
Updated page exports to use absolute time format
...
For #1065
2018-12-22 16:35:04 +00:00
Dan Brown
7f95b51b00
Rolled tri-layout to page edit and book-create
2018-12-09 16:51:31 +00:00
Dan Brown
aabd4c0412
Started looking at the books listing design
2018-12-01 16:29:57 +00:00
Dan Brown
4df11701e7
Updated book-tree design and abstracted breadcrumb template
2018-11-11 13:11:36 +00:00
Dan Brown
0e395b1e21
Started reworking of page-show design
...
- Updated core toolbar & breadcrumb design
2018-10-21 20:05:11 +01:00
Dan Brown
89be30ff0e
Started on a design update
...
- Added base of new grid system.
- Added new margin/padding/visiblity helpers.
- Made header collapse to overflow menu on mobile.
2018-10-16 18:49:56 +01:00
Dan Brown
1cb6ae39c8
Added base RTL support
...
For #939
- Adds way to check if current language is RTL via config system.
- Made TinyMCE default direction be based on current language text
direction.
- Fixed bullet points to be RTL compatible.
- Set page content body to have direction based on content.
2018-09-22 13:18:26 +01:00
Dan Brown
e3e484e561
Added custom head content to exports
...
Closes #981
Also fixed incorrect download tests.
2018-09-22 11:53:40 +01:00
Abijeet
0c8b6b7324
Final tweaks after code review and fixing failing test cases.
2018-09-16 01:12:36 +05:30
Abijeet
714c7bbd3a
Adds code to delete the revision.
...
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
2018-09-15 15:15:42 +05:30
Dan Brown
f668bee88b
Merge branch 'master' into feature/edit-link-headers
2018-07-14 09:36:14 +01:00
Dan Brown
9da600caf9
Merge pull request #906 from BookStackApp/bug/revision-wrap
...
Fixes issue with code not wrapping on revision page.
2018-07-01 16:18:49 +01:00
Abijeet
fb29f4119d
Fixes issue with code not wrapping on revision page.
...
Closes #888
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
2018-06-30 09:49:55 +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
Abijeet
6c4c1ccb58
Changed the way we were displaying the edit icon.
...
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
2018-06-10 17:06:23 +05:30
Abijeet
134a96fa32
Adds edit icon to each header in the page.
...
Towards #618
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
2018-06-03 13:47:07 +05:30
Dan Brown
d886c6a32e
Removed old ng tags, Fixed header spacing
...
Also prevent pointer error on custom home page
2018-05-28 10:33:38 +01:00
Dan Brown
173eaf1c98
Made comments section more subtle
...
Also removed spacing from within details above active restrictions
2018-05-27 20:20:13 +01:00
Dan Brown
63f96c1c6f
Reorganised home and robots views
...
Extracted home view sidebar into own view.
Moved home and robot views into 'common' folder so that we only have
layouts in the top-level views folder.
2018-05-20 10:11:56 +01:00
Dan Brown
b0d027a4a9
Repaired other uses of entity-meta view
2018-04-30 15:12:10 +01:00
Dan Brown
624c568008
Revamped tag styling
2018-04-30 14:35:15 +01:00
Dan Brown
58a0a59d7e
Cleaned details sidebar box and merged with permissions
2018-04-30 13:53:04 +01:00
Dan Brown
cdb1c7ef88
Added destination permission checking to entity move
2018-04-14 18:47:13 +01:00
Dan Brown
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
Dan Brown
d34b91f2c9
Updated move card width and made sidebar order more consistent
2018-04-14 16:23:16 +01:00
Dan Brown
b612cf9e4c
Refactored out page-display system
2018-04-01 12:46:27 +01:00
Dan Brown
582158f70e
Added tags to chapters and books
...
Closes #121
2018-03-30 14:09:51 +01:00
Dan Brown
1a9f676416
Updated create routes to prevent slug clashes
...
Fixes #758
2018-03-25 11:34:42 +01:00
Dan Brown
8b27ce3296
Fixed large content previews and improved mobile styles
...
Listing content previews no longer pre-wrap and instead simply break
correctly.
Updated titles to ensure they break on mobile devices.
Reduced spacing and font sizes on mobile to better adjust content to
screen size.
Fixes #739
2018-03-18 12:23:48 +00:00
Dan Brown
b42b07179f
Updated exports to use DejaVu font
...
Provides potentially better language font coverage.
2018-03-17 17:12:01 +00:00
Dan Brown
81fa021083
Finished migrated from icon-font to SVG
2018-02-17 19:49:00 +00:00
Dan Brown
5ab39bfd5a
Started migration to SVG icons
2018-02-17 13:30:52 +00:00
Dan Brown
2d43ab8a1b
Fixed text overflow in various views
...
Fixes #669
2018-02-11 14:28:26 +00:00
Dan Brown
9bbef3a3dd
Added drawio abilities to markdown editor
2018-01-20 20:40:21 +00:00
Dan Brown
56264551e7
Added drawing icon and made drawio disablable
2018-01-20 15:00:54 +00:00
Dan Brown
d7edc389a6
Enabled custom HTML head content to work within editors
...
Closes #562
2017-12-08 11:52:43 +00:00
Abijeet
6bb7b5465f
Added code in the settings to disable comments. Based on that hiding the comments section on the page display.
2017-11-16 00:05:24 +05:30
10bass
46fc0e5026
Fix ajax tag suggestion for subdir installs
...
tag suggest URLs were hardcoded to /ajax in blade template. Wrapped them in baseUrl()
2017-10-16 18:24:47 -04:00
Dan Brown
79c3a07e9a
Fixed include syntax erroring within vue
...
Fixes #553
2017-10-15 18:20:13 +01:00
Dan Brown
61fad6a665
Finished migration of last angular code
2017-09-30 13:27:08 +01:00
Dan Brown
9ca22976c3
Migrated editor toolbox, No more directives!
2017-09-24 18:30:21 +01:00
Dan Brown
9e2934fe17
Migrated editor inputs to non-angular JS
2017-09-23 12:24:06 +01:00
Dan Brown
0c4ddf16a5
Moved details card above book nav
2017-09-20 21:32:19 +01:00
Dan Brown
09936566dd
Upgrade tinymce version
2017-09-20 20:26:34 +01:00
Dan Brown
41f56e659d
Added comment reply and delete confirmation.
...
Also fixed local_id bug
Added component helpers
Added global scroll & Highlight helpers
2017-09-09 15:56:24 +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
Dan Brown
1c9ecc3edd
Reformatted sortable toolbox components
2017-09-02 15:06:52 +01:00
Dan Brown
55759bd22a
Added ability to set a page to view on the homepage.
...
Relates to #372 and #126
2017-08-28 13:38:32 +01:00
Dan Brown
36f524a354
Updated page view styles to align with 2017 update
2017-08-26 15:41:33 +01:00
Dan Brown
2f8b8c580d
Resolved current failing tests
2017-08-26 14:41:46 +01:00
Dan Brown
3da8c01c1f
Rolled out new design further
2017-08-20 13:57:25 +01:00
Dan Brown
295f520f21
Started design update
2017-08-19 18:32:24 +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
2a069880cd
Converted jQuery bits into raw JS components
2017-08-06 21:08:03 +01:00
Dan Brown
e9831a7507
Merge branch 'master' of git://github.com/Abijeet/BookStack into Abijeet-master
2017-08-01 19:24:33 +01:00
Dan Brown
ec83f83017
Added breadcrumbs to pages in entity select
...
Fixes #391
2017-07-27 16:10:58 +01:00
Dan Brown
433cb9b3b2
Improved breadcrumb responsiveness
...
Closes #426
2017-07-22 15:20:36 +01:00
Dan Brown
968e7b8b72
Finished off main functionality of custom tinymce code editor
2017-07-01 13:23:46 +01:00
Abijeet
fd50efb503
#47 - Putting the comments right under the page.
2017-06-11 11:41:33 +05:30
Abijeet
0bda5554dd
Getting the latest changes
2017-06-04 10:20:01 +05:30
Dan Brown
e5fc6bf5fa
Moved from highlight.js to codemirror
2017-05-28 13:16:21 +01:00
Abijeet Patro
3368fe42d8
Merge pull request #10 from BookStackApp/master
...
Latest changes
2017-05-03 01:41:08 +05:30
Abijeet
c3ea0d333e
#47 - Adds functionality to display child comments. Also has some code towards the reply functionality.
2017-04-27 02:35:29 +05:30
Dan Brown
a323b0d49c
Allowed child entity permissions to override parent permissions
...
Updated elements of a page display and sidebar render to allow
child permissions to work even when parent entitites have permission
set. This allows a page with a 'view' permission to be viewable even
when the parent book or chapter is not viewable.
Fixes #366
2017-04-22 13:39:34 +01:00
Dan Brown
4c985aac7e
Added page revision counting
...
Adds stored revision counts to pages and the revisions themselves.
Closes #321
2017-04-20 20:58:54 +01:00
Abijeet
d447355a61
Adding the view templates and styles.
2017-04-19 01:24:33 +05:30
Abijeet
8e2437498f
Merge branch 'master' of https://github.com/Abijeet/BookStack
2017-04-19 01:23:27 +05:30
Abijeet
b3d4c199ae
Merge branch 'master' of https://github.com/Abijeet/BookStack
...
Conflicts:
.gitignore
2017-04-19 01:21:45 +05:30
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
d4e790d3cf
Added lang tests and update export text keys
2017-03-05 15:10:06 +00:00
Dan Brown
e3eefba745
Fixed export testing and updated travis settings
2017-02-26 21:39:15 +00:00
Dan Brown
eded8abded
Added book export and created export tests to cover
...
In reference to #177
2017-02-26 13:26:51 +00:00
Dan Brown
22077d4181
Updated DOMPDF to latest version
2017-02-25 14:59:56 +00:00
Dan Brown
56d58ad8e5
Updated pointer to be able to show includes
...
Also fixed pointer copying on flash-blocked browsers
2017-01-21 14:58:03 +00:00
Dan Brown
e4e3b25c22
Started page transclusion system
2017-01-16 21:24:48 +00:00
Dan Brown
969ad8911c
Updated page nav to hide when empty
2017-01-14 15:34:52 +00:00
Dan Brown
7c8c4c2a05
Normalised page nav header inset when only small headers are used
2017-01-02 12:13:03 +00:00
Dan Brown
3f0ef57d31
Added wkhtmltopdf support and done some style tweaks
...
Closes #248
2017-01-01 12:20:30 +00:00
Dan Brown
a24f3d7d47
Merge branch 'master' into translations
2016-12-31 14:32:52 +00:00
Dan Brown
c9700e38e2
Created solution for JS translations
...
Also tidied up existing components and JS
2016-12-31 14:27:40 +00:00
Dan Brown
05316c90ba
converted image picker to blade-based component
...
Also updated some other JS translations
2016-12-24 15:21:19 +00:00
Dan Brown
573357a08c
Extracted text from logic files
2016-12-04 16:51:39 +00:00
Dan Brown
96075dee7b
Extracted text from page views & standardised breadcrumbs
2016-12-03 18:35:40 +00:00
Dan Brown
286f9b0c7d
Moved page tags to sidebar
...
Fixed #238
2016-11-27 19:37:57 +00:00
Dan Brown
57dc53ceff
Extracted text from book & chapter views
2016-11-17 13:33:07 +00:00
Dan Brown
d3c7aada89
Fixed attachments on draft pages
2016-11-12 14:21:54 +00:00