1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-18 16:26:20 +02:00
Commit Graph

829 Commits

Author SHA1 Message Date
Cameron
94f772577a trackback plugin removed. 2020-12-29 10:04:33 -08:00
Cameron
8b66e67bf2 bootstrap4 navigation template. 2020-12-28 08:03:38 -08:00
Cameron
044c5324e2 Navigation and News shortcode cleanup. 2020-12-28 07:46:08 -08:00
Cameron
15a277349a Legacy News Shortcodes file created. To be expanded. 2020-12-27 15:28:17 -08:00
Cameron
4b311a083f Navigation render fix. 2020-12-27 15:04:06 -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
71c5be17ea Support for class attribute. {NAVIGATION: class=xxxx}
Class value in navigation template: {NAV_CLASS}
Navigation shortcodes now in their own file.
2020-12-27 12:46:37 -08:00
Cameron
3c57f3fa96 Mod-security doesn't like '+' in queries. Debug query now uses '!' 2020-12-22 15:17:29 -08:00
Cameron
881670d92c Catch any debugger errors that could occur during Github sync. Added more deprecated items to the log. 2020-12-22 09:59:39 -08:00
Cameron
630f3f415f Improved detection of deprecated functions/methods and display in DEBUG mode: deprecated. 2020-12-21 10:00:28 -08:00
Cameron
9880a68d4b Code cleanup 2020-12-20 19:42:09 -08:00
Cameron
601df26d51 Code optimization for speed and reduced memory usage. 2020-12-20 11:50:10 -08:00
Cameron
f5153bf640 Updating of deprecated method usage. Removal of old files. Log tests added. 2020-12-18 09:39:02 -08:00
Cameron
0e90d4aa66 Code optimization and cleaning 2020-12-17 13:13:29 -08:00
Cameron
7580796159 When developer mode (or debug mode) is active, the debug 'bug' indicator will display in the admin navigation. It now displays a drop-down menu of debug modes. It may also be enabled by adding define('e_DEBUGGER', true) to e107_config.php. This feature is only available to MAIN admins. 2020-12-17 08:21:15 -08:00
Cameron
42f0e902d4 Issue #4283 - Update deprecated sql method usage. Removed old code. 2020-12-17 05:52:54 -08:00
Cameron
44e260b121 Code cleanup and optimization 2020-12-14 16:21:48 -08:00
Cameron
cf14705535 Code speed optimization 2020-12-12 11:32:23 -08:00
Cameron
afaac88003 PHP8 Compatibility and code cleanup. 2020-12-08 12:21:12 -08:00
Cameron
09fb747374 Code cleanup 2020-12-05 14:13:18 -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
Cameron
e4b5f062f1 Merge pull request #4065 from LaocheXe/master
Delete Account Option
2020-02-21 11:32:31 -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
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
76c0f7ecdd Type validation for navigation_shortcode() 2020-01-18 16:35:20 +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