1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00

12399 Commits

Author SHA1 Message Date
Cameron
17e9a34eb1 Admin-UI: Added optional 'search' attribute to fields. When true the field will be included in the "Search In Field" filter list. 2020-03-10 11:08:22 -07:00
Cameron
bd45d497d8 mediapicker() enhancements. Now accepts: resize, rename and convert $parms. See PHPDoc for details. 2020-03-09 17:30:29 -07:00
Cameron
a200d312d8 Added e107::getThumb() to get thumbnailer class. Added a test for it. Styling fix for admin-ui grid. 2020-03-09 13:41:00 -07:00
Cameron
0ef918eb59 Issue: #4097 Media Picker plugin path fix and edit button disable option. 2020-03-09 07:39:21 -07:00
Cameron
d805e5c4e9 Fixes #3461 - Removed duplicated type=hidden elements. Code Cleanup 2020-03-09 06:38:28 -07:00
Cameron
2a49e2a794 Moved renderCreateFieldset() table-row routine into new method renderCreateFieldRow(). Cleaned up other code for PHP validation. 2020-03-08 19:56:38 -07:00
Cameron
429a61a6ee Added another date test for the future. 2020-03-07 10:02:32 -08:00
Cameron
b4b649eeb6 Fixes #4079 - Corrected multiple event includes conflict. 2020-03-07 10:02:21 -08:00
Deltik
bb16213b85
Fix for Codeception return code 1 with XML code coverage report
By explicitly excluding the tests folder from the coverage tokenizer
2020-03-06 19:17:16 -06:00
Cameron
91d69898df Fix for e_form::name2id() when = and ? characters are detected is found. 2020-03-06 17:08:23 -08:00
Deltik
bdb78a186a
Fix for intermittently failing test involving LAN_SETSAVED
---------
1) lancheckTest: Is_utf8
 Test  tests/unit/lancheckTest.php:testIs_utf8

  [PHPUnit_Framework_Exception] Constant LAN_SETSAVED already defined

#1  Codeception\Subscriber\ErrorHandler->errorHandler
#2  /__w/e107/e107/e107_languages/English/admin/lan_admin.php:262
#3  /__w/e107/e107/e107_handlers/e107_class.php:3156
#4  /__w/e107/e107/e107_handlers/e107_class.php:3182
#5  /__w/e107/e107/e107_admin/lancheck.php:18
#6  /__w/e107/e107/e107_tests/tests/unit/lancheckTest.php:18
#7  {closure}
2020-03-06 18:49:23 -06:00
Nick Liu
7c9df47e8e
PHP bug 66773 workaround in Hybridauth
In PHP 7.0.12 and earlier, a class could not be loaded with the same
name as another class in a different namespace.  This commit patches the
Hybridauth dependency to avoid PHP bug 66773.  Unfortunately, the fix
will be rolled back any time Hybridauth is updated or overwritten.

PHP bug link: https://bugs.php.net/bug.php?id=66773
2020-03-06 18:15:04 -06:00
Deltik
94cf0cdea2
Adding Hybridauth 3.2.0 social login providers
Forgot to commit in a3d99f0d19bab8650520a3b9c2a07e6a416e3ca4
2020-03-06 18:14:24 -06:00
Cameron
76dfad9311 Admin-UI: Fix for $adminMenu attribute 'modal-caption' not functioning. Use 'modal'=>true to enable first. 2020-03-06 14:18:57 -08:00
Cameron
8129d919c4 Issue #4079 - Code Cleanup. 2020-03-06 13:57:33 -08:00
Cameron
d6d178824c Admin-UI: $listGroup added for control of specific JOIN grouping when necessary. Example added to blank plugin. 2020-03-05 11:38:23 -08:00
Cameron
bb6fe3283b Fix for embedded image data causing mailing failure after upgrading PHPMailer. 2020-03-04 18:13:05 -08:00
Cameron
a3d99f0d19 HybridAuth update 2020-03-04 16:38:22 -08:00
Cameron
9a2f979551 Removed unused code from download admin area. 2020-03-03 13:12:14 -08:00
Cameron
bc777c7414 Detect and refresh language file lists when scanning plugin directories. 2020-03-03 13:11:48 -08:00
Cameron
eff8293866 Custom CSS class on container when modal/iframe is active. 2020-03-03 08:08:06 -08:00
Cameron
6d0fb9e218 Fix for faulty srcset height value when using overrides and a default. Tests added. 2020-03-02 11:03:28 -08:00
Cameron
89f58fafa6 Code cleanup 2020-03-01 13:16:36 -08:00
Cameron
f948629796 Cleanup class to work with PHPMailer 6. 2020-03-01 12:59:19 -08:00
Cameron
1925ce5264 Three dependencies updated and moved to vendor directory:
PHPMailer (upgraded to v6 - more testing required)
JsShink
Mysqldump-php
2020-02-29 11:56:05 -08:00
Cameron
a5193f2850 Added other third-party scripts. 2020-02-29 10:30:08 -08:00
Nick Liu
b3a30c0059
More logging for intermittent e_plugin test failures 2020-02-29 19:11:17 +01:00
Cameron
331aa5f99e Interface fixes and refactoring to e107 conventions/standards. 2020-02-28 10:33:50 -08:00
Cameron
66ea783998 Social Login admin area rework. 2020-02-27 14:10:42 -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
4d7ce7ea4f
Dynamically generated API documentation links for social_ui 2020-02-26 22:12:11 +01:00
Nick Liu
5646635cc4
Better error message for logins from unconnected social login providers 2020-02-26 21:51:22 +01:00
Nick Liu
28aad3c8e9
More accurate callback URL in e107_plugins/social/admin_config.php help 2020-02-26 21:41: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
Cameron
39588fb4df Fixes #4020 - Nav styling small screens. 2020-02-26 12:05:20 -08:00
Nick Liu
8c072e243b
social_setup upgrade renamed providers from HybridAuth 2 to Hybridauth 3 2020-02-25 14:34:29 +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
a350eb41f6
Fixed errors in eIPHandlerTest::testAdd_ban() that broke all tests 2020-02-25 13:13:02 +01:00
Nick Liu
639943e7ed
Correct user_xup changed value in Steam social login provider
Info:
https://github.com/e107inc/e107/pull/4099#issuecomment-590579521
2020-02-25 12:48:00 +01:00
Cameron
22323b3c77 Added IPHandler test class. 2020-02-24 16:42:56 -08: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
Cameron
126f84d1e1 Issue #4089 - Prevent overwrite of user prefs between plugins. 2020-02-24 09:21:19 -08: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
Cameron
bf30f4f1d4 Issue #4089 - Added $fieldPrefName to Admin-UI for saving/loading field preferences under another name. Default is the current table name. 2020-02-22 14:56:23 -08: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
3b2d8333b62290688f64e061023669463fd8f04c.

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
aa9753a174 Automatic password rehashing added to admin login page. 2020-02-22 11:45:35 -08:00
Cameron
d23c65b30c Fixes #4083 Column selector displaying improperly defined field.
Admin-UI: Multi-language database language only displays when a table match is found.
2020-02-22 10:03:41 -08:00
Cameron
79c5b3e694 Issue #4049 - Media-Manager Url fix. Fixed Media Preview.
Admin-ui: type='media' example added to blank plugin.
2020-02-21 14:20:33 -08:00
Cameron
3d47a39f7f Issue #4100 Possible Fix for filename cleaning issue. 2020-02-21 11:43:26 -08:00