1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-21 21:57:34 +02:00
Commit Graph

13015 Commits

Author SHA1 Message Date
Cameron
ad9935b666 Code cleanup 2018-07-22 10:52:06 -07:00
Cameron
1c473c96b9 Test added for e_array and placeholder file for core_functions. 2018-07-22 10:41:16 -07:00
Cameron
262dc7f36b Closes #3305 Added a backward compatibility fix for buggy array storage data. 2018-07-22 10:39:01 -07:00
Cameron
9697e114b1 Closes #3302 2.1.8-2.1.9 update entry added. 2018-07-22 09:43:33 -07:00
Cameron
b9e0dd0a7a Merge pull request #3306 from Deltik/fix-249be29
Removed problematic cache from e107plugin::getinfo() and fixed regression in e_core_pref::__construct()
2018-07-22 09:38:31 -07:00
Cameron
56d5bcafd7 Revert the revert :-) 2018-07-22 09:36:23 -07:00
Nick Liu
044ed7c5be Fixed regression in e_core_pref::__construct()
e_core_pref::load() does not behave in the way I expected it to…

See: https://github.com/e107inc/e107/pull/3301
2018-07-22 11:32:52 -05:00
Nick Liu
3d206306fe Revert "Issue #3301 Revert "Removed problematic cache from e107plugin::getinfo()""
This reverts commit 55be7e35a2.
2018-07-22 11:32:26 -05:00
Nick Liu
0d8d15c8a5 Merge branch 'master' into fix-249be29 2018-07-22 11:31:32 -05:00
Nick Liu
9d1bb3f7c3 Fixed regression in e_core_pref::__construct()
e_core_pref::load() does not behave in the way I expected it to…

See: https://github.com/e107inc/e107/pull/3301
2018-07-22 11:21:18 -05:00
Nick L
0fcbba8f67 Merge pull request #7 from SimSync/test_uc_select
added tests for uc_select
2018-07-22 10:09:35 -05:00
Gábor
1b7436d3b7 Update lan_admin.php 2018-07-22 16:04:34 +02:00
Gábor
31d9b383d4 Update admin.php 2018-07-22 16:02:03 +02:00
Cameron
f430f56082 Media-picker styling. 2018-07-21 13:56:13 -07:00
Cameron
7d040347d0 Make video/audio thumbnails larger. 2018-07-21 13:20:17 -07:00
Achim Ennenbach
deb544f2cf added tests for uc_select 2018-07-21 22:09:35 +02:00
Cameron
36c6d1425c thumbnail test added. 2018-07-21 13:09:13 -07:00
Cameron
eef624c93b Send a 500 error response code when thumb.php fails due to an exception. 2018-07-21 13:07:44 -07:00
Cameron
55be7e35a2 Issue #3301 Revert "Removed problematic cache from e107plugin::getinfo()"
This reverts commit 89e28e38c5 because it breaks thumb.php
2018-07-21 12:23:44 -07:00
Cameron
2301c4a042 Ignore e_admin_events addon. 2018-07-21 10:33:00 -07:00
Cameron
8c2bf18679 Merge pull request #3301 from Deltik/fix-249be29
Removed problematic cache from e107plugin::getinfo()
2018-07-21 10:24:09 -07:00
Nick Liu
ba98888424 Restored PHP 5.6 compatibility 2018-07-21 12:19:16 -05:00
Cameron
f50860a51e Preparation for 2.1.9 upgrade routine. 2018-07-21 10:18:16 -07:00
Cameron
0cc458e4e8 Fixes #3290, Fixes #3074 - Featurebox debug message was visible to public. 2018-07-21 10:08:13 -07:00
Nick Liu
89e28e38c5 Removed problematic cache from e107plugin::getinfo()
Every known usage of e107plugin::getinfo() requires up-to-date knowledge
of the involved plugin's record in the database.

For this reason, I removed the object scope global state caching of
results from e107plugin::getinfo()

Also changed the method name to a more descriptive getPluginRecord()

Also made e107plugin::getPluginRecord() static
2018-07-21 12:08:00 -05:00
Nick Liu
cac7d2fade Improved variable naming in unit pluginsTest
Also fixed a bug where invalid plugin addon names were being checked
2018-07-21 11:41:31 -05:00
Cameron
91b49cd293 Merge pull request #3300 from SimSync/fix_3244
fixes #3244 "&" in url definition was broken during parse_str()
2018-07-21 09:15:23 -07:00
Cameron
ed2e86b10f Merge pull request #3299 from SimSync/fix_3249
Fix #3249 uc_select() didn't recognize comma separated values
2018-07-21 09:14:26 -07:00
Achim Ennenbach
5f0ee53c00 fixes #3244 "&" in url definition was broken during parse_str() 2018-07-21 11:44:42 +02:00
Achim Ennenbach
774e51ff13 fixes #3249 uc_select() didn't recognize comma separated values
added a check for such values
2018-07-21 10:20:40 +02:00
Achim Ennenbach
09e3b4aeb6 fixes #3249 uc_select() didn't recognize comma separated values
added a check for such values
2018-07-21 10:19:04 +02:00
Cameron
249be2979c Basic Plugin Install/Uninstall tests added. 2018-07-20 13:19:07 -07:00
Cameron
4773186a50 Small correction in plugin install/uninstall log. 2018-07-20 12:58:49 -07:00
Cameron
26fe2d4216 Merge pull request #3297 from SimSync/dbupdate_featurebox
Fixes the "dbupdate after a clean install" issue
2018-07-20 12:56:47 -07:00
Achim Ennenbach
2990b57485 Fixes the "dbupdate after a clean install" issue
The "isset" statement tested on a key in array "core_plugins", but the keys of that array were numeric.
So the "isset" was always false and the statements within the if clause were always executed.
That resulted for some reason in a "false positive" on the "featurebox" plugin, in case was not installed at this moment.
2018-07-20 21:25:40 +02:00
Cameron
aeb7f17948 Merge pull request #3293 from SimSync/fix_3285
fixes #3285 No rank images displayed in backend and on profile page
2018-07-20 11:38:12 -07:00
Cameron
c02a7dcb61 Merge pull request #3296 from Deltik/fix-test-6
Reduce reliance on global var $db_ConnectionID
2018-07-20 11:37:46 -07:00
Nick Liu
16e04d8287 Somewhat better test isolation in submodule
Fixes: #6
2018-07-20 06:01:52 -05:00
Nick Liu
e17b894dff Excluded ".sc" files for Code Climate
./e107_core/shortcodes/single/search.sc seems to be breaking Code
Climate builds

Also corrected an indentation problem in .codeclimate.yml
2018-07-20 05:47:42 -05:00
Nick Liu
3407b717c6 Reduce reliance on global var $db_ConnectionID
When one of the 11 methods in e_db_mysql look for a PDO object in
e_db_mysql::$mySQLaccess, global $db_ConnectionID can be NULL in some
cases, so it's more reliable to get the singleton e_db_mysql and use the
e_db_mysql::$mySQLaccess from that singleton.

This change still allows global $db_ConnectionID to be used, but if
$db_ConnectionID is NULL, the singleton fallback is used.

Fixes: e107inc/e107-test#6
2018-07-20 05:24:55 -05:00
Cameron
b42e91217f Provide a default USERCLASS_LIST value while running in CLI mode. 2018-07-19 20:49:16 -07:00
Cameron
293327de53 Draft test for banner plugin. 2018-07-19 20:45:16 -07:00
Cameron
cd8ddfd54a Issue #3200 - Media-Manager Media-picker work-in-progress 2018-07-19 12:43:04 -07:00
Achim Ennenbach
cf9c222879 fixes #3285 No rank images displayed in backend and on profile page 2018-07-19 17:08:55 +02:00
Cameron
6ab8c5c0f3 Issue #3200 More work on Media-picker. Version changed to 2.1.9 (git) 2018-07-18 14:40:29 -07:00
Miro Yovchev
4264dc6f66 Make print great again! v2.1.8 2018-07-18 13:53:51 +03:00
Cameron
bb7f8717fa Media-Manager Issue #3200 Work in Progress. Local video-file browser. 2018-07-16 17:14:10 -07:00
Cameron
bac96528fc Token fix. 2018-07-16 12:39:32 -07:00
Cameron
1ad363881a Merge pull request #3206 from oudoken/master
Fixes #3150 Allow logged in user to view email address.
2018-07-16 11:54:53 -07:00
Cameron
d7ca79a0ef Updated form test to match optDisabled addition. 2018-07-15 12:28:58 -07:00