1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-25 23:36:29 +02:00

4206 Commits

Author SHA1 Message Date
Cameron
0f961176d6 PHP Notices. 2020-03-31 11:56:04 -07: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
9a2f979551 Removed unused code from download admin area. 2020-03-03 13:12:14 -08: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
28aad3c8e9 More accurate callback URL in e107_plugins/social/admin_config.php help 2020-02-26 21:41:22 +01: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
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
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
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
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
Nick Liu
bc4ade5a27 Disable system/xup/test by default
Now guests can't snoop there unless the admin allows it.
Documentation has been improved accordingly.
2020-02-19 23:30:24 +01:00
Nick Liu
0bacc5903c Prevent error if 'social_login' pref is not an array 2020-02-19 17:11:21 +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
524229ba0b Fixed a bunch of PHP 7.4 syntax errors
- FIX: Removed pointless (and invalid) destructor in LinkedIn::__destruct()
- FIX: All files that trigger this deprecation notice in PHP 7.4:
       "Array and string offset access syntax with curly braces is deprecated"
2020-01-18 18:26:35 +01:00
Nick Liu
9506f98f69 Empty check for e_tohtml_linkwords::linksproc() 2020-01-18 16:35:20 +01:00
Nick Liu
509b9ff761 Type check for online_shortcodes::sc_online_member_user() 2020-01-18 16:35:16 +01:00
Nick Liu
b2bd6763de Null checks for e107TinyMceParserTest
- FIX: Do not redefine e_ADMIN_AREA in parser.php
- FIX: Null checks for e107TinyMceParser
- FIX: Array type check for e_bbcode::imgToBBcode()
- FIX: Optional query string in e_parse::thumbUrlDecode()
- FIX: Don't redefine TINYMCE_UNIT_TEST
2020-01-18 11:05:08 +01:00
Cameron
d7451bdd3c Merge pull request #3994 from Jimmi08/patch-4
Fixes #3993 outdated db methods
2019-12-28 12:03:38 -08:00
Cameron
b5f2cf2f9e Merge pull request #3991 from Jimmi08/patch-2
Fixes #3984 Missing scenario with secondary source
2019-12-28 12:02:33 -08:00
Cameron
7e5b104f7e Merge pull request #3990 from Jimmi08/patch-1
Fixes #3981 fatal error because non supported mysql function
2019-12-28 12:01:47 -08:00
Cameron
bcab5172e6 Merge pull request #3992 from Jimmi08/patch-3
#3982 fix for wrong user data while creating user
2019-12-28 11:59:21 -08:00
Tijn Kuyper
fb727a0086 Closes #4046 - Add batch copy function to banner plugin 2019-12-16 17:58:48 +01:00
Cameron
5cf54d07d2 Basic per-item search engine robots handling added to News and Pages. 2019-12-02 13:32:21 -08:00
Tijn Kuyper
7c54779e36 Forum - Fix LAN when error occurred when deleting a forum post 2019-11-27 16:49:32 +01:00
Tijn Kuyper
83fe2fa097 Banner plugin - code-cleanup (no functional changes)
Comment unused code
2019-11-27 15:54:47 +01:00
Tijn Kuyper
e45a358a3a Import plugin - HTML import provider code clean-up 2019-11-26 10:17:55 +01:00
Tijn Kuyper
9102e275d4 #4027 - Move up PHP Tidy extension test 2019-11-26 10:17:35 +01:00
Tijn Kuyper
3ad316a87f #4027 - HTML import, check for PHP Tidy extension 2019-11-26 09:56:15 +01:00
Deltik
a8887d2a5e Support NGINX $host in Downloads hotlink protection
Fixes: #4010
Related: #3111

==== Problem ====
If there are two download mirrors, `slow.example.com` and
`fast.example.com`, hotlink protection using an NGINX `secure_link_md5`
expression in the Downloads plugin cannot distinguish between these
hostnames.

This means that a user limited to `slow.example.com` can change the
download host to `fast.example.com` and download from the better mirror.

==== Solution ====
To solve this, `NginxSecureLinkMd5Decorator` needs to support the NGINX
`$host` variable.  Having this variable in the expression will lock down
the secure link to the specific download host.
2019-11-05 13:33:48 -06:00
Gábor
f08f893cd0 Update admin_config.php 2019-11-01 09:45:05 +01:00
Gábor
ce432c690a Update English_admin.php 2019-11-01 09:41:42 +01:00
Tijn Kuyper
c96053cbba Closes #3864 - Added raw option for {DOWNLOAD_CAT_SUB_NAME} and {DOWNLOAD_CAT_SUBSUB_NAME} 2019-10-31 12:14:07 +01:00
Tijn Kuyper
1de3213d98 Revert "#3131 - Finally get rid of autocomplete when we don't want it"
This reverts commit 93d86dd99c.
2019-10-30 15:47:43 +01:00
Tijn Kuyper
93d86dd99c #3131 - Finally get rid of autocomplete when we don't want it 2019-10-30 15:46:59 +01:00
Tijn Kuyper
6ab3f53b6c Added minimal validation when creating new forum 2019-10-30 15:05:01 +01:00
Tijn Kuyper
23c0f882dc #3864 - Allow class styling to download next/prev shortcodes 2019-10-30 14:40:29 +01:00
Jimako
485fd7b8a8 #3993 fix outdated db methods 2019-10-29 18:09:10 +01:00
Jimako
e523a11f30 #3982 fix for wrong user data while creating user 2019-10-29 17:58:04 +01:00
Jimako
729bf3868e #3984 Fix for missing scenario with secondary source 2019-10-29 17:54:34 +01:00
Jimako
ee6269ae7f #3981 fix for fatal error because not supported mysql function 2019-10-29 17:52:19 +01:00
Tijn Kuyper
e470f4b786 #3270 - Download meta description 2019-10-29 16:58:03 +01:00
Tijn Kuyper
46f01e17bf Fixes #3270 - Download meta description limit and formatting 2019-10-29 15:33:54 +01:00
Tijn Kuyper
389f08d216 Fixes #2601 - Download plugin round filesize 2019-10-29 15:23:27 +01:00
Tijn Kuyper
0afc014a13 Fix individual reported forum posts delete button 2019-10-29 14:50:40 +01:00
Tijn Kuyper
c394560fe3 PHP warnings clean-up 2019-10-29 14:50:24 +01:00