Jascha Sticher 
							
						 
					 
					
						
						
							
						
						4cbd1a9eb5 
					 
					
						
						
							
							Extend /users API endpoint  
						
						... 
						
						
						
						* add /users/{id} to get a single user
* add variable to print fields that are otherwise hidden (e.g. email) 
						
						
					 
					
						2021-05-06 11:20:08 +02:00 
						 
				 
			
				
					
						
							
							
								Jascha Sticher 
							
						 
					 
					
						
						
							
						
						07626669da 
					 
					
						
						
							
							Test API Endpoint for users  
						
						
						
						
					 
					
						2021-05-05 14:16:15 +02:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						43b6633183 
					 
					
						
						
							
							Filtered scripts in custom HTML head for exports  
						
						... 
						
						
						
						Since it appeared to cause problems in some scenarios.
Related to #2490  
						
						
					 
					
						2021-05-03 23:59:52 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						5c9c1d1a4b 
					 
					
						
						
							
							Updated shelf sort to allow default sort, added testing  
						
						... 
						
						
						
						Done during review of #2515  
						
						
					 
					
						2021-03-21 23:06:15 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						ab4c5a55b8 
					 
					
						
						
							
							Merge branch 'feature/sort-shelf-books' of git://github.com/guillaumehanotel/BookStack into guillaumehanotel-feature/sort-shelf-books  
						
						
						
						
					 
					
						2021-03-21 21:52:39 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						06706a2d9c 
					 
					
						
						
							
							Added user filter to audit log  
						
						... 
						
						
						
						Included testing to cover.
Closes  #2472  
						
						
					 
					
						2021-03-21 15:04:32 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						691db40a33 
					 
					
						
						
							
							Added login/register theme events  
						
						
						
						
					 
					
						2021-03-19 21:54:50 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						2ae89f2c32 
					 
					
						
						
							
							Added the possibility of social provider extension via theme  
						
						... 
						
						
						
						Also started docs page 
						
						
					 
					
						2021-03-19 16:22:47 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						c1f67372a7 
					 
					
						
						
							
							Merge branch 'master' of git://github.com/webfoersterei/BookStack into webfoersterei-master  
						
						
						
						
					 
					
						2021-03-14 22:55:30 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						da929d5edc 
					 
					
						
						
							
							Updates search to use user slugs  
						
						
						
						
					 
					
						2021-03-10 22:51:18 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						124c4d0778 
					 
					
						
						
							
							Updated register paths to include user slugs  
						
						
						
						
					 
					
						2021-03-10 22:37:53 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						19d79b6a0f 
					 
					
						
						
							
							Started rolling out user slugs to model and core controllers  
						
						
						
						
					 
					
						2021-03-09 23:06:12 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						98a1e57ba9 
					 
					
						
						
							
							Ran phpcbf and updated phpcs.xml  
						
						
						
						
					 
					
						2021-03-07 22:24:05 +00:00 
						 
				 
			
				
					
						
							
							
								Timo Förster 
							
						 
					 
					
						
						
							
						
						745d15d200 
					 
					
						
						
							
							Allow uploads of files containing dots in filename.  Closes   BookStackApp/BookStack#2217  
						
						
						
						
					 
					
						2021-03-04 22:27:20 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						b0f4500c34 
					 
					
						
						
							
							Added env option for setting dark mode default  
						
						... 
						
						
						
						Also allowed config-centralised default user settings for this change
and bought existing user-level view options into that default settings
system to be cleaner in code usage.
For #2081  
						
						
					 
					
						2021-02-07 23:12:05 +00:00 
						 
				 
			
				
					
						
							
							
								Guillaume Hanotel 
							
						 
					 
					
						
						
							
						
						a7848b916b 
					 
					
						
						
							
							Improve sorting Shelf Books  
						
						
						
						
					 
					
						2021-01-31 04:28:25 +01:00 
						 
				 
			
				
					
						
							
							
								Guillaume Hanotel 
							
						 
					 
					
						
						
							
						
						26ba056302 
					 
					
						
						
							
							Sort Books within Shelves  
						
						
						
						
					 
					
						2021-01-29 08:02:18 +01:00 
						 
				 
			
				
					
						
							
							
								Shubham Tiwari 
							
						 
					 
					
						
						
							
						
						99c42033b1 
					 
					
						
						
							
							Add prev and next button to navigate through different pages  
						
						
						
						
					 
					
						2021-01-27 10:15:28 +05:30 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						7ba6962707 
					 
					
						
						
							
							Removed lesser-used middleware and updated localization middleware  
						
						... 
						
						
						
						So that DB/User access is not explicitly enforced.
Same for GlobalViewData middleware although that was also just doubling
up on ways to access user/auth info.
Also cleaned up Localization Middleware doc blocks. 
						
						
					 
					
						2021-01-17 13:41:43 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						6eda1c1fb2 
					 
					
						
						
							
							Added status endpoint  
						
						... 
						
						
						
						For #2467  
						
						
					 
					
						2021-01-17 13:21:57 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						d0a7a8b890 
					 
					
						
						
							
							Improved some query efficiencies on user list  
						
						
						
						
					 
					
						2021-01-10 23:02:30 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						14ea6c9de3 
					 
					
						
						
							
							Made fixes/updates during pre-release review  
						
						... 
						
						
						
						- Fixed page editor default focus not working as expected due to
  misnamed attribute.
- Added owned_by to relevant areas of the API including the docs.
- Made book relation on page accessible even if deleted since it could cause an issue on views, such as audit trail, when the relation is accessed when the book is deleted. 
						
						
					 
					
						2021-01-03 22:29:58 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						588fd7d165 
					 
					
						
						
							
							Fixed short editor in firefox and optimised some queries  
						
						... 
						
						
						
						Optimised permission fetching so that it won't initialise a bunch
of models for the role permissions and instead does a manual
query to get the data directly. 
						
						
					 
					
						2021-01-02 01:22:41 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						5e686bb624 
					 
					
						
						
							
							Added user ownership migrate to delete screen.  
						
						
						
						
					 
					
						2021-01-01 18:31:01 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						99b14621f9 
					 
					
						
						
							
							Moved permission updating to its own tool  
						
						... 
						
						
						
						And added support for owner changing. 
						
						
					 
					
						2021-01-01 17:49:48 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						da9083bf1f 
					 
					
						
						
							
							Fixed view path  
						
						
						
						
					 
					
						2020-12-31 17:27:23 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						8833b5bc3b 
					 
					
						
						
							
							Added user-select input  
						
						
						
						
					 
					
						2020-12-31 17:25:20 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						b493becadf 
					 
					
						
						
							
							Started change for entities to have concept of owners  
						
						
						
						
					 
					
						2020-12-30 18:25:35 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						00308ad4ab 
					 
					
						
						
							
							Cleaned up some user/image areas of the app  
						
						... 
						
						
						
						Further cleanup of docblocks and standardisation of repos. 
						
						
					 
					
						2020-12-08 23:46:38 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						0b01a77c16 
					 
					
						
						
							
							Swapped out HTML diff implementation for own, removes tidy depdendancy  
						
						
						
						
					 
					
						2020-11-29 19:08:13 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						8aedba14a3 
					 
					
						
						
							
							Added page export API controller  
						
						
						
						
					 
					
						2020-11-28 15:39:40 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						53bcfe528d 
					 
					
						
						
							
							Added pages API doc examples  
						
						... 
						
						
						
						Made some tweaks to related content and other examples while there. 
						
						
					 
					
						2020-11-28 15:21:54 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						1c8102bb89 
					 
					
						
						
							
							Started pages API  
						
						
						
						
					 
					
						2020-11-22 14:56:19 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						ebeca256f0 
					 
					
						
						
							
							Updated old exportService name in controllers  
						
						
						
						
					 
					
						2020-11-22 01:26:14 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						a042e22481 
					 
					
						
						
							
							Focused base Entity class cleanup  
						
						... 
						
						
						
						Removed some common functions from other entities.
Aligned implementation of getUrl()
Cleaned phpdocs and added typehinting.
Also extracted sibling search logic out of controller. 
						
						
					 
					
						2020-11-22 01:20:38 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						ef1b98019a 
					 
					
						
						
							
							Fixed some mis-refactoring and split search service  
						
						... 
						
						
						
						Search service broken into index and runner tools. 
						
						
					 
					
						2020-11-22 00:17:45 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						c7a2d568bf 
					 
					
						
						
							
							Moved models to folder, renamed managers to tools  
						
						... 
						
						
						
						Tools seems to fit better since the classes were a bit of a mixed bunch
and did not always manage.
Also simplified the structure of the SlugGenerator class.
Also focused EntityContext on shelves and simplified to use session
helper. 
						
						
					 
					
						2020-11-21 23:20:54 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						5e01c30882 
					 
					
						
						
							
							Aligned constructors across controller classes  
						
						... 
						
						
						
						Since they no longer needed to run the parent contructor
since the parent constructor was no longer needed. 
						
						
					 
					
						2020-11-21 17:08:37 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						f76a2a69f7 
					 
					
						
						
							
							Cleaned up api docs implementation, added missing titles  
						
						
						
						
					 
					
						2020-11-21 17:03:24 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						bd6a1a66d1 
					 
					
						
						
							
							Implemented remainder of activity types  
						
						... 
						
						
						
						Also fixed audit log to work for non-entity items. 
						
						
					 
					
						2020-11-20 19:33:11 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						da37700ac2 
					 
					
						
						
							
							Implemented user, api_tokem & role activity logging  
						
						... 
						
						
						
						Also refactored some role content, primarily updating the permission
controller to be RoleController since it only dealt with roles. 
						
						
					 
					
						2020-11-20 18:53:01 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						3f7180fa99 
					 
					
						
						
							
							Started widening of activity logging  
						
						... 
						
						
						
						In progress, Need to implement much of the logging in controllers.
Also cleaned up base controller along the way. 
						
						
					 
					
						2020-11-18 23:40:39 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						712ccd23c4 
					 
					
						
						
							
							Updated activities table format  
						
						... 
						
						
						
						Renamed some columns to be more generic and applicable.
Removed now redundant book_id column.
Allowed nullable entity morph columns for non-entity activity.
Ran tests and made required changes. 
						
						
					 
					
						2020-11-08 00:03:19 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						ee7e1122d3 
					 
					
						
						
							
							Removed use of book_id in activity  
						
						
						
						
					 
					
						2020-11-07 23:15:13 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						c157dc3490 
					 
					
						
						
							
							Organised activity types and moved most to repos  
						
						... 
						
						
						
						Repos are generally better since otherwise we end up duplicating
things between front-end and API.
Types moved to by CONST values within a class for better visibilty
of usage and listing of types. 
						
						
					 
					
						2020-11-07 22:37:27 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						4824ef2760 
					 
					
						
						
							
							Merge pull request  #2283  from BookStackApp/recycle_bin  
						
						... 
						
						
						
						Recycle Bin Implementation 
						
						
					 
					
						2020-11-07 15:10:17 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						483cb41665 
					 
					
						
						
							
							Started testing work for recycle bin implementation  
						
						
						
						
					 
					
						2020-11-06 12:54:39 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						9e033709a7 
					 
					
						
						
							
							Added per-item recycle-bin delete and restore  
						
						
						
						
					 
					
						2020-11-02 22:47:48 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						474770af51 
					 
					
						
						
							
							Merge branch 'fixes' of git://github.com/imanghafoori1/BookStack into imanghafoori1-fixes  
						
						
						
						
					 
					
						2020-10-31 22:11:27 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Brown 
							
						 
					 
					
						
						
							
						
						349162ea13 
					 
					
						
						
							
							Prevented possible XSS via link attachments  
						
						... 
						
						
						
						This filters out potentially malicious javascript: or data: uri's coming
through to be attached to attachments.
Added tests to cover.
Thanks to Yassine ABOUKIR (@yassineaboukir on twitter) for reporting this
vulnerability. 
						
						
					 
					
						2020-10-31 15:01:52 +00:00