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  
				
					
						
							
							
								 
						
							
								7cd956b24b 
								
							 
						 
						
							
							
								
								Removed some unused parameters and fixed env test logic  
							
							
							
						 
						
							2019-09-20 01:18:59 +01:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								615b2de433 
								
							 
						 
						
							
							
								
								Simplified activity facade interface  
							
							... 
							
							
							
							Also cleaned up any other bits along the way. 
							
						 
						
							2019-09-19 18:03:17 +01:00  
				
					
						
							
							
								 
						
							
								2a2cc858f0 
								
							 
						 
						
							
							
								
								Refactored notification showing and global view data  
							
							
							
						 
						
							2019-09-19 15:12:10 +01:00  
				
					
						
							
							
								 
						
							
								60d0f96cd7 
								
							 
						 
						
							
							
								
								Extracted some methods into a BookRepo  
							
							
							
						 
						
							2019-09-15 23:28:23 +01:00  
				
					
						
							
							
								 
						
							
								d28abf24d4 
								
							 
						 
						
							
							
								
								Split out export actions into own controllers  
							
							
							
						 
						
							2019-09-15 22:33:27 +01:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								221a483b40 
								
							 
						 
						
							
							
								
								Standardised view referencing to dot-notation  
							
							
							
						 
						
							2019-04-07 12:00:09 +01:00  
				
					
						
							
							
								 
						
							
								20988962fe 
								
							 
						 
						
							
							
								
								Migrated a whole load more page/chapter/shelf views  
							
							
							
						 
						
							2019-02-02 11:41:41 +00:00  
				
					
						
							
							
								 
						
							
								a2087fe3ff 
								
							 
						 
						
							
							
								
								Made delete permissions a requirement for move operations  
							
							... 
							
							
							
							Closes  #1200  
						
							2019-01-05 14:39:40 +00:00  
				
					
						
							
							
								 
						
							
								85f330c79a 
								
							 
						 
						
							
							
								
								Extracted many page-specific repo methods into page-specific repo  
							
							
							
						 
						
							2018-10-13 11:27:55 +01:00  
				
					
						
							
							
								 
						
							
								257a5a23ec 
								
							 
						 
						
							
							
								
								Fleshed out entity provided and optimized imports  
							
							
							
						 
						
							2018-09-25 16:58:03 +01:00  
				
					
						
							
							
								 
						
							
								919660678b 
								
							 
						 
						
							
							
								
								Re-structured the app code to be feature based rather than code type based  
							
							
							
						 
						
							2018-09-25 12:30:50 +01:00  
				
					
						
							
							
								 
						
							
								5c2e3f4e56 
								
							 
						 
						
							
							
								
								Extracted download response logic into controller method  
							
							... 
							
							
							
							Fixes incorrect 'Content-Disposition' header value.
Fixes  #581  
							
						 
						
							2018-09-22 11:34:09 +01:00  
				
					
						
							
							
								 
						
							
								582158f70e 
								
							 
						 
						
							
							
								
								Added tags to chapters and books  
							
							... 
							
							
							
							Closes  #121  
						
							2018-03-30 14:09:51 +01:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								253132afdf 
								
							 
						 
						
							
							
								
								Added chapter export options  
							
							... 
							
							
							
							Closes  #177  
						
							2017-02-26 14:25:02 +00:00  
				
					
						
							
							
								 
						
							
								8453191dfb 
								
							 
						 
						
							
							
								
								Finished refactor of entity repos  
							
							... 
							
							
							
							Removed entity-specific repos and standardised
the majority of repo calls to be applicable to
all entity types 
							
						 
						
							2017-01-02 11:07:27 +00:00  
				
					
						
							
							
								 
						
							
								241278226f 
								
							 
						 
						
							
							
								
								Refactored search and slug repo components  
							
							
							
						 
						
							2017-01-01 16:57:47 +00:00  
				
					
						
							
							
								 
						
							
								7f9de2c8ab 
								
							 
						 
						
							
							
								
								Started refactor to merge entity repos  
							
							
							
						 
						
							2017-01-01 16:05:44 +00:00  
				
					
						
							
							
								 
						
							
								573357a08c 
								
							 
						 
						
							
							
								
								Extracted text from logic files  
							
							
							
						 
						
							2016-12-04 16:51:39 +00:00  
				
					
						
							
							
								 
						
							
								0fb1fc87c8 
								
							 
						 
						
							
							
								
								Enabled utf8 slugs  
							
							... 
							
							
							
							Prevents slug change when using only non-ascii chars
Allows use of more localised urls.
Closes  #233  
							
						 
						
							2016-11-12 17:16:52 +00:00  
				
					
						
							
							
								 
						
							
								771626b6ec 
								
							 
						 
						
							
							
								
								Started work on making the public role/user configurable  
							
							... 
							
							
							
							Create a new 'public' guest user and made the public
role visible on role setting screens. 
							
						 
						
							2016-09-29 12:43:46 +01:00  
				
					
						
							
							
								 
						
							
								7973412c29 
								
							 
						 
						
							
							
								
								Improved sort efficiency by a factor of 10  
							
							... 
							
							
							
							Fixes  #145  
						
							2016-08-26 20:20:58 +01:00  
				
					
						
							
							
								 
						
							
								565033e0d4 
								
							 
						 
						
							
							
								
								Fixed bug which hid entities and fixed new chapter priority  
							
							
							
						 
						
							2016-07-03 10:31:20 +01:00  
				
					
						
							
							
								 
						
							
								9baa96d41c 
								
							 
						 
						
							
							
								
								Added chapter move actions.  Closes   #86  
							
							
							
						 
						
							2016-06-25 15:31:38 +01:00  
				
					
						
							
							
								 
						
							
								75a4fc905b 
								
							 
						 
						
							
							
								
								Major permission naming refactor and database migration cleanup  
							
							
							
						 
						
							2016-05-01 22:33:56 +01:00  
				
					
						
							
							
								 
						
							
								a81a56706e 
								
							 
						 
						
							
							
								
								Rolled out new permissions system throughout application  
							
							
							
						 
						
							2016-04-24 16:54:20 +01:00  
				
					
						
							
							
								 
						
							
								6e03078de3 
								
							 
						 
						
							
							
								
								Started work towards adding role view permissions  
							
							... 
							
							
							
							Work halted as re-write required.
In reference to #92  
							
						 
						
							2016-04-09 12:40:07 +01:00  
				
					
						
							
							
								 
						
							
								d099885fd1 
								
							 
						 
						
							
							
								
								Fixed some label casing and fixed incorrect notifications  
							
							... 
							
							
							
							Fixed the book & chapter permission update notification stating the 'page permissions' have been updated. 
							
						 
						
							2016-04-03 12:19:44 +01:00  
				
					
						
							
							
								 
						
							
								8e6248f57f 
								
							 
						 
						
							
							
								
								Added restriction tests and fixed any bugs in the process  
							
							... 
							
							
							
							Also updated many styles within areas affected by the new permission and roles system. 
							
						 
						
							2016-03-05 18:09:21 +00:00  
				
					
						
							
							
								 
						
							
								201f788806 
								
							 
						 
						
							
							
								
								Implemented database structure and inital interfaces for entity restrictions  
							
							
							
						 
						
							2016-02-28 10:49:41 +00:00  
				
					
						
							
							
								 
						
							
								473261be35 
								
							 
						 
						
							
							
								
								Finished initial implementation of custom role system  
							
							
							
						 
						
							2016-02-27 19:24:42 +00:00  
				
					
						
							
							
								 
						
							
								c32d70abc4 
								
							 
						 
						
							
							
								
								Added custom meta titles to many pages.  Closes   #30 .  
							
							
							
						 
						
							2015-12-05 14:41:51 +00:00  
				
					
						
							
							
								 
						
							
								62338e4a8f 
								
							 
						 
						
							
							
								
								Added further tests, Fixed speed_update issues, improved search result query count  
							
							
							
						 
						
							2015-11-29 17:33:25 +00:00  
				
					
						
							
							
								 
						
							
								22f8a408fa 
								
							 
						 
						
							
							
								
								Added indexes, Reduced queries on pages  
							
							
							
						 
						
							2015-11-26 23:45:04 +00:00  
				
					
						
							
							
								 
						
							
								61ae96c5f8 
								
							 
						 
						
							
							
								
								Added better entity deletion and commented up repos  
							
							
							
						 
						
							2015-11-21 18:05:03 +00:00  
				
					
						
							
							
								 
						
							
								ea55b7f141 
								
							 
						 
						
							
							
								
								Added view count tracking with personalised lists  
							
							
							
						 
						
							2015-11-21 17:22:14 +00:00  
				
					
						
							
							
								 
						
							
								88049476fe 
								
							 
						 
						
							
							
								
								Change application namespace to BookStack  
							
							
							
						 
						
							2015-09-10 19:31:09 +01:00  
				
					
						
							
							
								 
						
							
								713827f941 
								
							 
						 
						
							
							
								
								Tweaked some styles and started automated testing.  Fixes   #11 .  
							
							
							
						 
						
							2015-09-02 18:26:33 +01:00  
				
					
						
							
							
								 
						
							
								ae95d0a239 
								
							 
						 
						
							
							
								
								Added permission system  
							
							
							
						 
						
							2015-08-29 15:03:42 +01:00  
				
					
						
							
							
								 
						
							
								0b222c7734 
								
							 
						 
						
							
							
								
								Fixed entity messages on delete.  Fixes   #21 .  
							
							
							
						 
						
							2015-08-23 14:20:34 +01:00  
				
					
						
							
							
								 
						
							
								5d9d096028 
								
							 
						 
						
							
							
								
								Added activity history to to all entities.  Fixes   #12  
							
							
							
						 
						
							2015-08-16 18:59:23 +01:00  
				
					
						
							
							
								 
						
							
								521b3b8eb1 
								
							 
						 
						
							
							
								
								Added sidebar highlighting and fixed code elements.  Fixes   #18  
							
							
							
						 
						
							2015-08-16 14:51:45 +01:00  
				
					
						
							
							
								 
						
							
								52033f3a6f 
								
							 
						 
						
							
							
								
								Added created_by and updated_by to entities.  Fixes   #3  
							
							
							
						 
						
							2015-08-08 21:28:50 +01:00  
				
					
						
							
							
								 
						
							
								fd1a0dceb2 
								
							 
						 
						
							
							
								
								Expanded chapters interface and improved book/page deletion  
							
							
							
						 
						
							2015-07-28 20:57:13 +01:00  
				
					
						
							
							
								 
						
							
								b9df3c647a 
								
							 
						 
						
							
							
								
								Started working on chapters  
							
							
							
						 
						
							2015-07-27 20:17:08 +01:00