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 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						7cd956b24b 
					 
					
						
						
							
							Removed some unused parameters and fixed env test logic  
						
						
						
						
					 
					
						2019-09-20 01:18:59 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						8b550991a4 
					 
					
						
						
							
							Refactored some core entity actions  
						
						... 
						
						
						
						- Created BookChild class to share some page/chapter logic.
- Gave entities the power to generate their own permissions and slugs.
- Moved bits out of BaseController constructor since it was overly
sticky.
- Moved slug generation logic into its own class.
- Created a facade for permissions due to high use.
- Fixed failing test issues from last commits 
						
						
					 
					
						2019-09-20 00:18:28 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						f7a5a0705b 
					 
					
						
						
							
							Moved shelf book append logic  
						
						
						
						
					 
					
						2019-09-19 18:20:09 +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 
							
						 
					 
					
						
						
							
						
						2a2cc858f0 
					 
					
						
						
							
							Refactored notification showing and global view data  
						
						
						
						
					 
					
						2019-09-19 15:12:10 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						60d0f96cd7 
					 
					
						
						
							
							Extracted some methods into a BookRepo  
						
						
						
						
					 
					
						2019-09-15 23:28:23 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						d28abf24d4 
					 
					
						
						
							
							Split out export actions into own controllers  
						
						
						
						
					 
					
						2019-09-15 22:33:27 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						3281925375 
					 
					
						
						
							
							Standardised how request is injected into controller methods  
						
						... 
						
						
						
						Puts it in-line with how Laravel recommend. 
						
						
					 
					
						2019-09-15 18:53:30 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						ba09dad1fe 
					 
					
						
						
							
							Fixed shelf activity display & updated book sort operation  
						
						
						
						
					 
					
						2019-05-05 15:54:22 +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 
							
						 
					 
					
						
						
							
						
						7f3f6e65b9 
					 
					
						
						
							
							Aligned item creation wording and updated shelf-book-add logic  
						
						
						
						
					 
					
						2019-04-15 20:45:04 +01:00 
						 
				 
			
				
					
						
							
							
								Christopher Wilkinson 
							
						 
					 
					
						
						
							
						
						d3cd369247 
					 
					
						
						
							
							Fix phpcs issues  
						
						
						
						
					 
					
						2019-04-15 09:27:17 +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 
							
						 
					 
					
						
						
							
						
						b12ae6d11b 
					 
					
						
						
							
							Added bookshelves to breadcrumbs  
						
						... 
						
						
						
						- Updated breadcrumb dropdown switchers and back-end sibling code to handle new breadcrumbs.
- Added breadcrumb view composer and EntityContext system to mangage
tracking if in the context of a bookshelf. 
						
						
					 
					
						2019-04-07 18:28:11 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						221a483b40 
					 
					
						
						
							
							Standardised view referencing to dot-notation  
						
						
						
						
					 
					
						2019-04-07 12:00:09 +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 
							
						 
					 
					
						
						
							
						
						138f5d5c4f 
					 
					
						
						
							
							Updated user and shelf views to new design  
						
						
						
						
					 
					
						2019-02-03 13:45:45 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						32603362a6 
					 
					
						
						
							
							Updated a bunch of book views  
						
						
						
						
					 
					
						2019-01-31 20:37:12 +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 
							
						 
					 
					
						
						
							
						
						85f330c79a 
					 
					
						
						
							
							Extracted many page-specific repo methods into page-specific repo  
						
						
						
						
					 
					
						2018-10-13 11:27:55 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						495d18814a 
					 
					
						
						
							
							Updated various classes to take EntityProvider instead of separate entities  
						
						
						
						
					 
					
						2018-09-25 18:00:40 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						257a5a23ec 
					 
					
						
						
							
							Fleshed out entity provided and optimized imports  
						
						
						
						
					 
					
						2018-09-25 16:58:03 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						919660678b 
					 
					
						
						
							
							Re-structured the app code to be feature based rather than code type based  
						
						
						
						
					 
					
						2018-09-25 12:30:50 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						5c2e3f4e56 
					 
					
						
						
							
							Extracted download response logic into controller method  
						
						... 
						
						
						
						Fixes incorrect 'Content-Disposition' header value.
Fixes  #581  
						
						
					 
					
						2018-09-22 11:34:09 +01: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 
							
						 
					 
					
						
						
							
						
						a45922616f 
					 
					
						
						
							
							Made default books view configurable in .env  
						
						... 
						
						
						
						Under 'APP_VIEWS_BOOKS' key.
Closes  #675  
						
						
					 
					
						2018-02-04 11:36:58 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						62342433f4 
					 
					
						
						
							
							Set /app PHP code to PSR-2 standard  
						
						... 
						
						
						
						Also adde draw.io to attribution list.
Closes  #649  
						
						
					 
					
						2018-01-28 16:58:52 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						281da59bae 
					 
					
						
						
							
							Refactored book sort using collections  
						
						
						
						
					 
					
						2018-01-13 16:44:47 +00:00 
						 
				 
			
				
					
						
							
							
								Abijeet 
							
						 
					 
					
						
						
							
						
						a77756a2da 
					 
					
						
						
							
							Refactored the code to first check for the permissions before sorting the book.  
						
						... 
						
						
						
						Signed-off-by: Abijeet <abijeetpatro@gmail.com > 
						
						
					 
					
						2018-01-06 01:04:48 +05:30 
						 
				 
			
				
					
						
							
							
								Abijeet 
							
						 
					 
					
						
						
							
						
						e13e71cbe0 
					 
					
						
						
							
							Changed the sort view to only show books to which we have an update permission.  
						
						... 
						
						
						
						Signed-off-by: Abijeet <abijeetpatro@gmail.com > 
						
						
					 
					
						2017-12-31 16:44:46 +05:30 
						 
				 
			
				
					
						
							
							
								Abijeet 
							
						 
					 
					
						
						
							
						
						4a24d1c31b 
					 
					
						
						
							
							Checks the target and the source book before performing the sort.  
						
						... 
						
						
						
						Signed-off-by: Abijeet <abijeetpatro@gmail.com > 
						
						
					 
					
						2017-12-31 16:25:21 +05:30 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						873b1099f8 
					 
					
						
						
							
							Updated to laravel 5.5  
						
						... 
						
						
						
						Closes  #590  
					
						2017-11-19 15:56:19 +00:00 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
						
						8fcbe44d3e 
					 
					
						
						
							
							Updated styles for auth and books views.  
						
						... 
						
						
						
						Also added sourcemaps to gulp sass build 
						
						
					 
					
						2017-08-26 13:24:55 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						3da8c01c1f 
					 
					
						
						
							
							Rolled out new design further  
						
						
						
						
					 
					
						2017-08-20 13:57:25 +01:00 
						 
				 
			
				
					
						
							
							
								Abijeet 
							
						 
					 
					
						
						
							
						
						844976c85b 
					 
					
						
						
							
							Revert "Revert "Bookstack grid view.""  
						
						
						
						
					 
					
						2017-07-12 11:40:50 +05:30 
						 
				 
			
				
					
						
							
							
								Abijeet 
							
						 
					 
					
						
						
							
						
						3fd61a3600 
					 
					
						
						
							
							Revert "Bookstack grid view."  
						
						
						
						
					 
					
						2017-07-07 17:28:34 +05:30 
						 
				 
			
				
					
						
							
							
								Nilesh Deepak 
							
						 
					 
					
						
						
							
						
						144a6e469d 
					 
					
						
						
							
							Updated cover image upload and delete function.  
						
						
						
						
					 
					
						2017-07-07 16:29:38 +05:30 
						 
				 
			
				
					
						
							
							
								Nilesh Deepak 
							
						 
					 
					
						
						
							
						
						16a09e8ff6 
					 
					
						
						
							
							Deletion of image file on book deletion.  
						
						
						
						
					 
					
						2017-07-06 10:03:40 +05:30 
						 
				 
			
				
					
						
							
							
								Nilesh Deepak 
							
						 
					 
					
						
						
							
						
						6ad24a6bee 
					 
					
						
						
							
							Changed public getImageURL function to private.  
						
						
						
						
					 
					
						2017-07-05 18:32:38 +05:30 
						 
				 
			
				
					
						
							
							
								Nilesh Deepak 
							
						 
					 
					
						
						
							
						
						d99fd1fd65 
					 
					
						
						
							
							Applied required changes  
						
						
						
						
					 
					
						2017-07-05 12:26:02 +05:30 
						 
				 
			
				
					
						
							
							
								Nilesh Deepak 
							
						 
					 
					
						
						
							
						
						947c58f227 
					 
					
						
						
							
							Applied required changes in BookStack.  
						
						
						
						
					 
					
						2017-07-05 12:09:01 +05:30 
						 
				 
			
				
					
						
							
							
								Nilesh Deepak 
							
						 
					 
					
						
						
							
						
						bce5fdd5cd 
					 
					
						
						
							
							Merge branch 'master' into issue-181  
						
						
						
						
					 
					
						2017-07-04 15:16:46 +05:30 
						 
				 
			
				
					
						
							
							
								Nilesh Deepak 
							
						 
					 
					
						
						
							
						
						af72f0d490 
					 
					
						
						
							
							Bookstack grid view.  
						
						
						
						
					 
					
						2017-06-29 18:54:04 +05:30 
						 
				 
			
				
					
						
							
							
								Nilesh Deepak 
							
						 
					 
					
						
						
							
						
						8924618d12 
					 
					
						
						
							
							test  
						
						
						
						
					 
					
						2017-06-28 18:56:17 +05:30