1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-13 14:04:51 +02:00
Commit Graph

672 Commits

Author SHA1 Message Date
Cameron
afaac88003 PHP8 Compatibility and code cleanup. 2020-12-08 12:21:12 -08:00
Nick Liu
05dbdb8625 Fix null and undefined issues in user_shortcodes.php 2020-11-30 12:55:05 +01:00
Nick Liu
f20052fa77 Fixed all unchecked usages of possibly undefined constant BOOTSTRAP 2020-11-30 12:55:04 +01:00
Nick Liu
c0db7909ed Fix cognitive complexity warning in news_shortcodes::sc_newsnavlink() 2020-11-30 12:55:03 +01:00
Nick Liu
f256b924ce Fix all PHP 8.0 test failures 2020-11-30 12:55:00 +01:00
Cameron
35ad3e7284 Issue #4217 - incorrect comment avatar. 2020-11-28 14:24:43 -08:00
Cameron
f375024147 Fix for admin navigation active sublink. 2020-06-02 12:02:43 -07:00
Nick Liu
2c733cd3f1 {EMAIL} shortcode: Client-side required based on disable_emailcheck
The `disable_emailcheck` pref now decides whether the email field in the
{EMAIL} shortcode will be required.

See: https://github.com/e107inc/e107/issues/4115#issuecomment-609147815
2020-05-22 18:21:52 -05:00
Cameron
bf00c3ad83 Bootstrap 4 Fixes on Usersettings page. 2020-05-13 13:31:43 -07:00
Cameron
8c254bccd6 Issue #4146 - Fixed user profile navigation (next/prev) for legacy, bootstrap3 and bootstrap4 themes.
Closes #4021 - Added support for independent core templates for legacy, bootstrap3 and bootstrap4 templates.
2020-05-08 14:34:34 -07:00
Cameron
43d8221340 Fixes #4080 - user profile date issue. 2020-05-02 11:43:00 -07:00
Jimako
2444e8cdf1 #2898 fix for btn-default in user update information button
bootstrap4 support
2020-05-02 14:11:52 +02:00
Cameron
a014079fd8 Issue #4141 - remove 'style' from link when not in use. 2020-05-01 13:56:10 -07:00
Cameron
121eedfce3 Issue #4141 - Removed deprecated class. 2020-05-01 11:03:02 -07:00
Cameron
9bd2b3d5f2 Issue #1767 - Tweak last commit. 2020-04-20 14:17:07 -07:00
Cameron
47a1460ac4 Issue #1767 - Signup extended user field refinements. 2020-04-20 14:00:56 -07:00
Cameron
31e197ccce Issue #1767 - Signup template cleanup. 2020-04-20 12:37:39 -07:00
Cameron
6b9b2f7013 Tweaked last commit so 'auto' is not used unless specified. 2020-04-18 13:52:31 -07:00
Cameron
17d214a450 Native Lazy loading support added to {NEWS_IMAGE} shortcode. eg. {NEWS_IMAGE: loading=lazy} 2020-04-18 13:38:19 -07: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
ae6340c233 Removed route system/xup/signup
system/xup/signup is now system/xup/login
2020-02-26 21:22:45 +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.

social_login_active's least significant bit is now treated as a global
bit, so if it's not set, no other bits are allowed to be set. This
un-breaks all existing checks for whether social_login_active is empty.

Except in themes, the social_login_active check has been replaced with
an e_user_provider API to check if social login is enabled site-wide.
2020-02-22 23:55:20 +01: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
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
LaocheXe
e01f1a4345 Delete Account Option
Delete Account Option added in admin  area. Also updated the default_install.xml to add missing core options.
2020-01-10 08:28:17 -06:00
Tijn Kuyper
4f57c36442 #2225 - Added {USER_USERCLASS_ICON} shortcode
/**
	 * @example: {USER_USERCLASS_ICON} returns the icons of all userclasses the user belongs to, seperated by a whitespace
	 * @example: {USER_USERCLASS_ICON: amount=1} // returns only one icon
	 * @example: {USER_USERCLASS_ICON: seperator=|} // returns the icons seperated by |
	 * @param array $parm
	 * @return string
	*/
2019-12-03 15:15:21 +01:00
Tijn Kuyper
1142738397 user_shortcodes code clean-up (no functional changes)
Formatting, indentation, empty lines
2019-12-03 14:36:13 +01:00
Tijn Kuyper
2b9969d47e Fixes #4035 - {NEWSTITLE} fix PHP 7.3 compatibility 2019-12-01 15:17:40 +01:00
Tijn Kuyper
8711723a1e #4001 - Missed some changes (class styling) 2019-11-03 15:08:48 +01:00
Tijn Kuyper
9f781d579a Closes #4001 - Allow class styling of {USER_JUMP_LINK}
e.g. {USER_JUMP_LINK=prev|class=btn-secondary}
2019-11-03 15:07:38 +01:00
Tijn Kuyper
1b9251e75f Fixes #3622 - Reported broken downloads reworked
- Moved away from e107_admin/message.php to its own place in the Downloads admin area.
- Notification of broken downloads now controlled by e_notify (see Admin Area > Settings > Notify)
- Updated notification message
- Added e_dashboard addon to show latest status on broken download reports
2019-10-27 21:40:59 +01:00
Tijn Kuyper
ed56f04690 Fixes #3829 - Anonymous comments wouldn't show up 2019-10-12 13:25:32 +02:00
Tijn Kuyper
b434bd76e3 Fixes #3896 - Social login icons check for BS4/FA5
https://github.com/e107inc/bootstrap4/issues/17
2019-10-12 12:35:12 +02:00
Tijn Kuyper
d3978f3b60 Closes #3680 - Add message on pages when global comments are enabled but comments for specific page are disabled 2019-10-02 14:45:50 +02:00
Cameron
c98845b48a Fixes #3894 - Chapter breadcrumb displaying when no chapter in use. 2019-07-23 17:45:23 -07:00
Cameron
26ff074ee5 Issue #2970 Bootstrap 3 pull-left/right combined with Bootstrap 4 float-left/right. News Email/Print icon default styles added. 2019-06-17 12:27:53 -07:00
Cameron
2fd5238172 Page breadcrumbs added to Magic Shortcode {---BREADCRUMB---} 2019-06-15 10:12:00 -07:00
Tijn Kuyper
473109bd9b Fixes #3813 - Comment avatar in comment form 2019-05-24 10:55:53 +02:00
Cameron
bdb45485ee Code Cleanup 2019-05-20 14:53:43 -07:00
Tijn Kuyper
4ed4ff8035 Added {{NEWS_AUTHOR_EUF} to retrieve User Extended Fields from news author 2019-05-20 22:30:46 +02:00
Cameron
e18a5cfebd Closes #3804 Custom label support for remember-me shortcode. 2019-05-16 11:15:11 -07:00
Tijn Kuyper
4f67a83b76 #2962 #2969 - Replace 'pager' class in BS4 in newsnav 2019-05-09 11:32:46 +02:00
Cameron
c1e3e8889f Issue #1944 (Partial fix) Comments use unique IDs. 2019-04-11 15:52:41 -07:00
Cameron
18a8571ed3 Fixes #3711 - check local themes/plugins against author names as well as versions before suggesting updates. 2019-04-11 12:28:14 -07:00
Cameron
5109715002 Merge pull request #3747 from Jimmi08/patch-12
#3466 {LOGIN_TABLE_USERNAME}  - added class
2019-04-03 12:02:13 -07:00
Cameron
891b21454f Merge pull request #3748 from Jimmi08/patch-13
#3466 {LOGIN_TABLE_PASSWORD} - added class
2019-04-03 12:01:50 -07:00
Tijn Kuyper
cad691e32f Tweak BS check 2019-04-03 11:00:03 +02:00
Tijn Kuyper
6fd0a6a8a2 #3485 - Tweak admin help text check
now also respects Admin Area Interface Language following the 'Default Site Language' setting
2019-03-29 16:06:59 +01:00
Jimako
a1e6ee7129 #3466 {LOGIN_TABLE_PASSWORD} - added class 2019-03-23 00:42:45 +01:00