camer0n 
							
						 
					 
					
						
						
							
						
						10ed5f8c95 
					 
					
						
						
							
							Issue  #5382  History/Revert changes.  
						
						
						
						
					 
					
						2025-02-06 12:23:49 -08:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						dd36fbd51d 
					 
					
						
						
							
							Unify logic of e_user_model::checkAdminPerms() and getperms()  
						
						... 
						
						
						
						Along with extensive documentation, `getperms()` is now deprecated and
its replacements now have first-class support:
* `e_user_model::checkAdminPerms()` and `getperms()` both use
  `e_userperms::simulateHasAdminPerms()`.
* `e_user_model::checkPluginAdminPerms()` and `getperms('P', …, …)`
  both use `e_userperms::simulateHasPluginAdminPerms()`.
----
Partially reverts: https://github.com/e107inc/e107/commit/44526b43 
Reverts: https://github.com/e107inc/e107/commit/001799cb 
Fixes: https://github.com/e107inc/e107/issues/5064  
						
						
					 
					
						2023-09-09 12:03:14 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						96666f176f 
					 
					
						
						
							
							e_user_provider: Replace "${var}"-style string interpolation  
						
						... 
						
						
						
						Deprecated in PHP 8.2:
https://www.php.net/manual/en/migration82.deprecated.php#migration82.deprecated.core.dollar-brace-interpolation 
Discussed in Gitter:
https://matrix.to/#/!srhnCKlMgxFeuSPXPb:gitter.im/$4QOsTBHp8DKFsmHotpHAzuAAX1Ky3m0n2R-jIsVlxUg  
						
						
					 
					
						2023-08-08 13:53:34 +02:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						dbd8cee77e 
					 
					
						
						
							
							Closes   #4827  - Page/Menu delete perm added.  
						
						
						
						
					 
					
						2022-07-21 13:43:29 -07:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						55980a29a8 
					 
					
						
						
							
							Generated PHPDoc for all classes in e107_handlers where one was missing. toNumber() updated to always return int or float.  
						
						
						
						
					 
					
						2022-04-04 10:54:24 -07:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						3f59b3bc14 
					 
					
						
						
							
							Suppress uncaught Hybridauth exceptions in e_user_provider  
						
						... 
						
						
						
						And add a check for those exceptions in
`social_ui::generateSocialLoginSection()`
Fixes : #4192  
						
						
					 
					
						2021-12-28 12:04:28 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						b40288d665 
					 
					
						
						
							
							Tolerate broken or removed social plugin in e_user_provider  
						
						... 
						
						
						
						Fixes : #4199  
					
						2021-12-28 12:04:27 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						8e8622f12d 
					 
					
						
						
							
							social_login_config::getSupportedConfiguredProviderConfigs() 
						
						... 
						
						
						
						is a better name than
`\social_login_config::getValidConfiguredProviderConfigs()` because the
method does not validate the provider configs. 
						
						
					 
					
						2021-12-28 11:48:00 +01:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						0d8f3e9086 
					 
					
						
						
							
							PHPDoc fixes and code optimization.  
						
						
						
						
					 
					
						2021-12-03 14:58:33 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						94f3162d94 
					 
					
						
						
							
							Issue  #4356  Admin login issue.  
						
						
						
						
					 
					
						2021-01-27 16:19:37 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						835e477147 
					 
					
						
						
							
							Bootstrap 5 styling. (data-bs-toggle)  
						
						... 
						
						
						
						Signup shortcodes now automatically load the required template. 
						
						
					 
					
						2021-01-26 15:08:58 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						afcbd2c01b 
					 
					
						
						
							
							Issue  #4356  Make sure admin login area uses 'session' tracking.  
						
						
						
						
					 
					
						2021-01-26 12:13:57 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						522d71d243 
					 
					
						
						
							
							Reduced some memory usage.  
						
						
						
						
					 
					
						2021-01-24 17:00:02 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						8f4b3429dc 
					 
					
						
						
							
							Removed old comments from e107_class.php. userlogin class cleanup. New user login test added.  
						
						
						
						
					 
					
						2021-01-16 08:43:51 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						67e7823a60 
					 
					
						
						
							
							Simple login test added.  
						
						
						
						
					 
					
						2021-01-11 15:14:56 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						21e3c3f8ab 
					 
					
						
						
							
							PHP warning fixes.  
						
						
						
						
					 
					
						2020-12-29 09:48:36 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						e66d3f32de 
					 
					
						
						
							
							Renamed "Site Links" admin area to "Navigation". Navigation shortcode names changed (see debug: 'deprecated' mode to check usage)  
						
						
						
						
					 
					
						2020-12-27 14:28:19 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						3cd4aa0018 
					 
					
						
						
							
							Form handler code cleanup/optimization. Added getSupportedProviders() caching to reduce execution time.  
						
						
						
						
					 
					
						2020-12-23 12:42:06 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						3f8e043998 
					 
					
						
						
							
							Replaced e107::getAdminLog() with e107::getLog(). e107::getAdminLog() will continue as a deprecated alias.  
						
						
						
						
					 
					
						2020-12-22 09:36:02 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						601df26d51 
					 
					
						
						
							
							Code optimization for speed and reduced memory usage.  
						
						
						
						
					 
					
						2020-12-20 11:50:10 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						5b82c292b1 
					 
					
						
						
							
							Code cleanup  
						
						
						
						
					 
					
						2020-12-18 19:55:12 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						44e260b121 
					 
					
						
						
							
							Code cleanup and optimization  
						
						
						
						
					 
					
						2020-12-14 16:21:48 -08:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						f256b924ce 
					 
					
						
						
							
							Fix all PHP 8.0 test failures  
						
						
						
						
					 
					
						2020-11-30 12:55:00 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						27dd9ab287 
					 
					
						
						
							
							social: Fix broken update profile on login feature  
						
						
						
						
					 
					
						2020-05-22 17:13:38 -05:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						331aa5f99e 
					 
					
						
						
							
							Interface fixes and refactoring to e107 conventions/standards.  
						
						
						
						
					 
					
						2020-02-28 10:33:50 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						35e2e3b4aa 
					 
					
						
						
							
							Merge pull request  #4099  from Deltik/fix-3492  
						
						... 
						
						
						
						New 3rd-party PHP dependency manager for e107 core and HybridAuth upgrade. 
						
						
					 
					
						2020-02-26 13:58:03 -08:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						5646635cc4 
					 
					
						
						
							
							Better error message for logins from unconnected social login providers  
						
						
						
						
					 
					
						2020-02-26 21:51:22 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						ae6340c233 
					 
					
						
						
							
							Removed route system/xup/signup  
						
						... 
						
						
						
						system/xup/signup is now system/xup/login 
						
						
					 
					
						2020-02-26 21:22:45 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						7bae4a04c4 
					 
					
						
						
							
							More useful error message when user_name and user_xup conflict  
						
						... 
						
						
						
						During e_user_provider::signup() 
						
						
					 
					
						2020-02-25 13:20:58 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						be84cf7c08 
					 
					
						
						
							
							New interface for varied social login configuration fields  
						
						... 
						
						
						
						Uses the new e_user_provider::getFieldsOf() API 
						
						
					 
					
						2020-02-24 22:50:48 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						daa31bef56 
					 
					
						
						
							
							Allow blank email addresses with social signup  
						
						
						
						
					 
					
						2020-02-23 21:57:04 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						f03e60dbd7 
					 
					
						
						
							
							New API to get fields of each social login provider  
						
						... 
						
						
						
						(Not utilized in the admin frontend yet) 
						
						
					 
					
						2020-02-23 21:47:36 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						379a963902 
					 
					
						
						
							
							New API to detect if social login is enabled site-wide  
						
						... 
						
						
						
						The site-wide social login system is now backwards-compatible with how
the social_login_active core pref worked since commit
3b2d8333b6 
						
						
					 
					
						2020-02-22 23:55:20 +01:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						aa9753a174 
					 
					
						
						
							
							Automatic password rehashing added to admin login page.  
						
						
						
						
					 
					
						2020-02-22 11:45:35 -08:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						616add5c93 
					 
					
						
						
							
							Code deduplication in signup_shortcodes for XUP login  
						
						... 
						
						
						
						Also fixed variable passing weirdness in API of e_user_provider 
						
						
					 
					
						2020-02-20 00:03:16 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						c260152b57 
					 
					
						
						
							
							Redirect improvements for social logins  
						
						... 
						
						
						
						- FIX: Duplicate invalid login messages in userlogin::login()
- NEW: e_user_provider: Return URL passthrough to go back where intended
- MOD: Cleanup of some confusing APIs in e_user_provider
- MOD: Return URL passthrough in system/xup/*
- MOD: system/xup/test: Logout test renamed into something clearer 
						
						
					 
					
						2020-02-19 21:22:53 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						91bfc1df23 
					 
					
						
						
							
							Core modifications to support Hybridauth 3  
						
						... 
						
						
						
						- MOD: Replaced e107::getPref('social_login') with
       SocialLoginConfigManager::getValidConfiguredProviderConfigs()
- FIX: signup_shortcodes updated with new social login providers
- MOD: e107::filter_request() code de-duplication: HTTP 400 exits
- MOD: Deprecated e107::getHybridAuth() to discourage direct access to
       third-party dependency Hybridauth
- FIX: Updated e_user_provider for Hybridauth 3
- FIX: e_user::tryProviderSession() and Hybridauth 3
- NEW: Dynamic auth provider support in social_adminarea
- NEW: Database migration for social plugin's social_login pref 
						
						
					 
					
						2020-02-17 10:38:49 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						46c75ae4d0 
					 
					
						
						
							
							Updated Hybridauth from v2.9.6 to v3.1.1  
						
						
						
						
					 
					
						2020-02-17 10:38:49 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Liu 
							
						 
					 
					
						
						
							
						
						d2d0105378 
					 
					
						
						
							
							Null check for UserHandler::userClassUpdate()  
						
						
						
						
					 
					
						2020-01-18 16:35:16 +01:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						a950bf981e 
					 
					
						
						
							
							New admin perm added: to grant access to only theme preferences (but not others)  
						
						
						
						
					 
					
						2019-07-29 12:37:08 -07:00 
						 
				 
			
				
					
						
							
							
								Néstor Sabater 
							
						 
					 
					
						
						
							
						
						639b6b3f34 
					 
					
						
						
							
							Added social login provider callback data to event  
						
						... 
						
						
						
						Event user_xup_signup was not giving info that may come from the social provider, for example the Birth date or gender, I just added a way to access all provider callback info from within the signup event. 
						
						
					 
					
						2019-07-03 13:05:49 +02:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						b03611922f 
					 
					
						
						
							
							Global fix and PHP Doc fix.  
						
						
						
						
					 
					
						2019-02-21 12:06:56 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						a1c38cb364 
					 
					
						
						
							
							PHP Notice removal  
						
						
						
						
					 
					
						2018-09-08 10:45:18 -07:00 
						 
				 
			
				
					
						
							
							
								Achim Ennenbach 
							
						 
					 
					
						
						
							
						
						c7009ac1b7 
					 
					
						
						
							
							fixes   #2440  allows cyrillic (and other unicode characters) in loginname  
						
						
						
						
					 
					
						2018-07-30 22:42:55 +02:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						ecf22cb1ba 
					 
					
						
						
							
							Plugin perms render fix.  
						
						
						
						
					 
					
						2017-12-02 11:57:27 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						70df3a3ae6 
					 
					
						
						
							
							Issue  #2846  LAN vars cleanup  
						
						
						
						
					 
					
						2017-11-06 13:48:29 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						52f05cc3ed 
					 
					
						
						
							
							Issue  #2846  lanVar Cleanup  
						
						
						
						
					 
					
						2017-11-06 13:24:05 -08:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						02e80f50de 
					 
					
						
						
							
							Parser cleanup  
						
						
						
						
					 
					
						2017-09-19 16:19:39 -07:00 
						 
				 
			
				
					
						
							
							
								Cameron 
							
						 
					 
					
						
						
							
						
						43d0211590 
					 
					
						
						
							
							Code cleanup: deprecated include_lan()  
						
						
						
						
					 
					
						2017-01-23 09:41:23 -08:00 
						 
				 
			
				
					
						
							
							
								Lóna Lore 
							
						 
					 
					
						
						
							
						
						afd979b756 
					 
					
						
						
							
							Issue  #2127  - Fix for proper usage of provider names.  
						
						
						
						
					 
					
						2016-12-11 20:30:27 +01:00