Dan Brown
898cedf536
Merge branch 'feature/#1598' of git://github.com/cw1998/BookStack into cw1998-feature/#1598
2020-04-09 17:18:37 +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
Dan Brown
4b9618cd21
Update book form so cancel URL is explicitly passed in
...
- Added to prevent future possibility of 'shelf' var being introduced in
scope and therefore causing a side-effect of redirect logic.
2019-10-27 16:55:05 +00:00
Dan Brown
28184c6bfc
Merge branch 'fix/#1662' of git://github.com/cw1998/BookStack into cw1998-fix/#1662
2019-10-27 16:44:41 +00:00
Dan Brown
31f5786e01
Entity Repo & Controller Refactor ( #1690 )
...
* Started mass-refactoring of the current entity repos
* Rewrote book tree logic
- Now does two simple queries instead of one really complex one.
- Extracted logic into its own class.
- Remove model-level akward union field listing.
- Logic now more readable than being large separate query and
compilation functions.
* Extracted and split book sort logic
* Finished up Book controller/repo organisation
* Refactored bookshelves controllers and repo parts
* Fixed issues found via phpunit
* Refactored Chapter controller
* Updated Chapter export controller
* Started Page controller/repo refactor
* Refactored another chunk of PageController
* Completed initial pagecontroller refactor pass
* Fixed tests and continued reduction of old repos
* Removed old page remove and further reduced entity repo
* Removed old entity repo, split out page controller
* Ran phpcbf and split out some page content methods
* Tidied up some EntityProvider elements
* Fixed issued caused by viewservice change
2019-10-05 12:55:01 +01:00
Christopher Wilkinson
4ad4dfa55a
Show bookshelves that a book belongs to on a book view
...
Closes #1598
2019-09-27 00:45:22 +01:00
Christopher Wilkinson
2f94f078e3
Fix Book form (create) returning to the full books list on cancel
...
Fixes #1662
Added a small block of logic to determine the correct URL to attribute to the cancel button on a given page create form.
If adding a book from a bookshelf, return to the bookshelf. If editing a book, return to the book. In all other cases, return to the full books list.
2019-09-26 22:51:24 +01:00
Dan Brown
615b2de433
Simplified activity facade interface
...
Also cleaned up any other bits along the way.
2019-09-19 18:03:17 +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
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
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
Kostas Dizas
86f56dd22b
Added locale and text direction to html templates
2019-06-11 23:01:08 +01:00
Dan Brown
d87eb277dd
Replaced jquery sortable with sortablejs
2019-06-06 13:09:58 +01:00
Dan Brown
a602cdf401
Fixed some body card horizontal scroll and column collapse issues
...
As mentoined in #1441
2019-05-27 13:10:48 +01:00
Dan Brown
35f35bcba5
Updated custom home views to use tri-layout
...
Closes #1423
2019-05-25 16:35:27 +01:00
Dan Brown
35e6635379
Fixed chapter description not showing in book exports
...
Closes #1465
2019-05-25 15:21:02 +01:00
Dan Brown
ba09dad1fe
Fixed shelf activity display & updated book sort operation
2019-05-05 15:54:22 +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
79f6dc00a3
Change image-selector to not use manager
...
- Now changes the images directly for user, system & cover.
- Extra permission checks added to edit & delete actions.
2019-05-04 15:50:29 +01:00
Dan Brown
a87ae16010
Started extraction of image controller to separate controllers
2019-04-27 14:18:00 +01:00
Christopher Wilkinson
84419005e7
Update create new book button on shelves to 2019 design
2019-04-15 10:56:21 +01:00
Christopher Wilkinson
faa3a8b842
Add button to add a book directly from a shelf view
2019-04-15 09:27:17 +01:00
Dan Brown
cc24d478aa
Organised entity action buttons a little more
2019-04-13 12:46:15 +01:00
Dan Brown
4d5e47a2d2
Updated empty container item states
2019-04-13 11:24:41 +01:00
Dan Brown
d66fab8bee
Updated and aligned entity dashboard elements
2019-04-13 11:09:17 +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
aedff7dc6d
Added book selector to books sort
...
Now more efficient rather than listing all books in the system.
2019-04-06 16:59:04 +01: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
42e908c7f0
Cleaned up some existing tri-column views
2019-03-30 14:27:00 +00:00
Dan Brown
8b7bee7c67
Updated standard entity lists
2019-03-17 15:07:03 +00:00
Dan Brown
837d2bc582
Improved login, Fixed breadcrumbs & improved grid thumbnails
2019-03-16 16:00:41 +00:00
Dan Brown
035a0d8efb
Added experimental breadcrumb traversal
2019-02-24 15:57:35 +00:00
Dan Brown
e70423c73f
Standardized breadcrumbs a little further with icons
2019-02-17 17:52:42 +00:00
Dan Brown
8445304fe9
Added book sort helper buttons
2019-02-17 11:44:02 +00:00
Dan Brown
f1e571a57c
Made shelf listing more unique & efficient
...
- Now includes listing of all books within.
2019-02-16 17:13:01 +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
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
0efed43389
Converted more views to new layout and made breadcrumbs more flexible
2019-01-13 15:54:55 +00:00
Dan Brown
7f95b51b00
Rolled tri-layout to page edit and book-create
2018-12-09 16:51:31 +00:00
Dan Brown
ff0b9004bc
Cleaned existing grid view up a little
2018-12-09 14:04:28 +00:00
Dan Brown
e1474194db
Added responsive functionality to tri-layout view.
2018-12-08 23:34:06 +00:00
Dan Brown
4c574c22a8
Implemented functionality to make books sort function
...
Also changed public user settings to be stored in session rather than DB.
Cleaned existing list view type logic.
2018-12-07 18:33:53 +00:00
Dan Brown
0b976d9f91
Added list sorting styles, Yet to add functionality
2018-12-01 21:28:21 +00:00
Dan Brown
2a882a43ff
Updated books listing to three column layout design
2018-12-01 20:28:17 +00:00
Dan Brown
aabd4c0412
Started looking at the books listing design
2018-12-01 16:29:57 +00: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
Dan Brown
b89411c108
Copied book content, Added create routes
...
Added view control
Added pivot table for books relation
Added control to assign books
2018-08-27 14:18:09 +01:00
Dan Brown
4948b443b6
Started work on bookshelves
2018-06-24 13:38:19 +01:00
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
Abijeet
28823c4fae
Changed the location of the "view-toggle" to be under the books views.
...
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
2018-05-12 18:26:35 +05:30
Abijeet
8254c3be8d
Added the book view toggle option on the homepage.
...
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
2018-05-12 14:16:05 +05:30
Abijeet
86b2ddbd28
Implemented displaying of the books list on home page.
2018-05-10 09:05:18 +05:30
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
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
7f437c2e3c
Fixed issue where cover images don't save on older books
...
Ensured an existing ID is always provided to image-picker.js.
Fixes #773
2018-03-31 11:21:22 +01:00
Dan Brown
cfdf5b93d9
Merge branch 'v0.20' to gain export fix
2018-03-30 15:45:34 +01:00
Dan Brown
3cd08382e9
Fixed export style paths
2018-03-30 15:31:39 +01:00
Dan Brown
582158f70e
Added tags to chapters and books
...
Closes #121
2018-03-30 14:09:51 +01:00
Dan Brown
f1586be516
Removed invalid bracket from view
2018-03-25 11:35:58 +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
0a1546daea
Moved jQuery to use NPM and fixed some asset refs
2018-03-17 15:20:15 +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
bed7ba78d3
Updated grid view to use CSS grid and flexbox
...
Provides a cleaner height-matched design.
Closes #701
2018-02-11 11:36:51 +00:00
Dan Brown
141bf22725
Updated book view change to PATCH + other amends
...
Moved toggle to right of header bar and added unique text and icon for
each view type.
Removed old profile setting to keep things clean.
2017-12-29 16:49:03 +00:00
Abijeet
0d4db603a4
Adds button to allow users to toggle the book view via the books list page.
...
Closes #613
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
2017-12-26 12:38:16 +05:30
Dan Brown
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
Dan Brown
6ee35f55cc
Refactored image picker to js component
...
Also adjusted default cover image size
2017-12-06 17:32:29 +00:00
Dan Brown
261e57fc4e
Converted books view setting to user setting
...
Also cleaned up/moved new CSS and removed redundant new book methods.
2017-12-06 16:34:26 +00:00
Dan Brown
bc1302a8d8
Merge branch 'BookStackApp-master' of git://github.com/OsmosysSoftware/BookStack into OsmosysSoftware-BookStackApp-master
2017-12-06 15:52:54 +00:00
Dan Brown
79c3a07e9a
Fixed include syntax erroring within vue
...
Fixes #553
2017-10-15 18:20:13 +01:00
Bharadwaja G
e02fcbe983
Added Book cover image description in all languages.
2017-09-05 12:46:31 +05:30
Bharadwaja G
c1a1bc0135
Books grid view
2017-09-04 20:27:52 +05:30
Bharadwaja G
6200948eec
Merge branch 'master' of git://github.com/BookStackApp/BookStack into BookStackApp-master
...
Conflicts:
app/Http/Controllers/BookController.php
resources/lang/en/common.php
resources/views/books/create.blade.php
resources/views/books/form.blade.php
resources/views/books/index.blade.php
resources/views/users/edit.blade.php
tests/Entity/EntityTest.php
2017-08-29 12:19:00 +05:30
Dan Brown
5187d3fa78
Updated chapter views with new design
2017-08-26 14:36:48 +01:00
Dan Brown
8fcbe44d3e
Updated styles for auth and books views.
...
Also added sourcemaps to gulp sass build
2017-08-26 13:24:55 +01:00
Bharadwaja G
7f902e41c7
Resolved conflicts
2017-08-24 12:21:43 +05:30
Dan Brown
3da8c01c1f
Rolled out new design further
2017-08-20 13:57:25 +01:00
Dan Brown
28a9bd514f
Updated header design
2017-08-19 15:33:22 +01:00
Dan Brown
039ee5d06c
Aligned entity dash name and fixed chapter toggle on dash
2017-08-19 14:04:38 +01:00
Dan Brown
2a069880cd
Converted jQuery bits into raw JS components
2017-08-06 21:08:03 +01:00
Dan Brown
21247e10d0
Reverted travis changes and added html escaping
2017-07-27 16:28:23 +01:00
Dan Brown
c1fc06ae34
Merge branch 'master' of git://github.com/Cyber-Duck/BookStack into Cyber-Duck-master
2017-07-27 16:20:38 +01:00
Dan Brown
433cb9b3b2
Improved breadcrumb responsiveness
...
Closes #426
2017-07-22 15:20:36 +01:00
Dan Brown
b12e2ceada
Added included content into page's text view
...
Allows rendered content to be shown in listings and used in searches.
Also prevented angular tags in content being parsed in listings.
Fixes #442
2017-07-22 14:21:56 +01:00
Nilesh Deepak
dd4d2f4696
Resolves book heading issues in grid view.
2017-07-15 16:15:45 +05:30
Clément Blanco
67bc7007aa
Support new lines for book/chapter descriptions
...
Avoid ignoring new lines when renderring the book/chapter descriptions on their respective detailed views.
2017-07-14 16:05:46 +01:00
Abijeet
21a8df78ee
Merge pull request #9 from OsmosysSoftware/feature-181
...
Feature 181
2017-07-13 15:50:43 +05:30