1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

57 Commits

Author SHA1 Message Date
Cameron
c32e5bf1e2 e107::unserialize() will now return the array if the input is an array. Additional form-handler tests added for type: media, file and files. Admin-ui can now manage a change of field type from 'array' to 'json' without additional changes needed. 2021-02-08 08:44:44 -08:00
Cameron
522d71d243 Reduced some memory usage. 2021-01-24 17:00:02 -08:00
Cameron
d51f5cb936 Legacy textparse class removed. Separate emote and profanity classes. 2021-01-14 17:26:15 -08:00
Cameron
84a3e45e48 Moved old functions out of class2.php. 2020-12-25 14:57:53 -08:00
Cameron
402d1f4126 Closes #1801 Code cleanup. Deprecated method errors added. 2020-12-22 14:48:28 -08:00
Cameron
812b7cbcb3 Code cleanup. Moved checkvalidtheme() out of class2.php and into e_theme as initTheme() 2020-12-21 17:46:32 -08:00
Cameron
92504acfdd Backward compatibility with PHP 5.6 2020-12-21 10:09:03 -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
6b5cc07929 Remove some debug logs. Improved others. 2020-12-19 11:46:58 -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
def50c174d Upgrade and Backward Compatibility Fixes. 2020-05-05 15:11:49 -07:00
Cameron
326305f5f2 Removed old deprecated global $e107_debug. Cleaned up debug_handler.php (e107_debug class) 2020-04-26 13:32:18 -07:00
Cameron
852ab5a32f Related to Issue #3741 - Incorrect encoding of a plugin language file could cause json encoding to fail. 2020-03-24 13:57:05 -07:00
Nick Liu
52116adc89
Silence debug prints clearly not meant for CLI
- FIX: e_array::unserialize() HTML vomit in CLI mode
- FIX: e107_debug_shutdown() HTML vomit because $error_handler was not global
2020-01-18 18:57:43 +01:00
Nick Liu
8e0b047a73
array_diff_recursive() type check for recursion 2020-01-18 11:05:07 +01:00
Cameron
248dc0408b Prevent old corrupted linkword prefs from breaking site. ie. CRITICAL ERROR 3 and 4. 2019-06-01 15:51:05 -07:00
Cameron
783be29953 PHP 7.3 Notice/Warning Fixes. 2019-05-27 10:45:35 -07:00
Cameron
6849a47545 Issue #2990 - unserialize BC fix. 2019-05-22 13:58:56 -07:00
Cameron
5150d92fb5 e107::unserialize() error logging added. 2019-05-13 12:29:24 -07:00
Cameron
85d8d6b44a Reverted pull-request #3642 Fixes #3645 2019-01-26 09:01:04 -08:00
Achim Ennenbach
bcd9853c6b fixes #3603: multiarray_sort returned only the last item in case
the array keys are numeric
2019-01-24 16:54:17 +01:00
Cameron
5d27229183 Database verification now runs again directly after applying fixes. Compatibility fix for core_functions.php 2018-11-22 13:43:02 -08:00
Cameron
e0d988aaeb Issue #3524 XML import/export array issue. 2018-11-15 14:20:08 -08:00
Cameron
ad29901d9b Issue #3397 Prefs issue possible fix for some machines and PHP 5.4 fix in image.php. 2018-08-23 08:46:35 -07:00
Cameron
48bed23ed6 Limit debug backtrace 2018-08-10 14:25:13 -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
90d533ba52 Fix for numeric form drop-downs. 2017-04-14 11:00:29 -07:00
Cameron
8ce9eb32c6 Admin-ui: Grid improvements. 2017-04-04 09:53:48 -07:00
Cameron
74221c1cd5 Fixes #2037 Menu-Cache encoding changed to json for more reliable handling of array data. Error catching added on eval() code with syntax errors when PHP7 is being used. 2016-11-18 14:40:53 -08:00
Cameron
46043bbb68 Fixes #1457 New Forum Posts Menu - "Show Original Topic in Menu" option not saving. New User-Extended Field preset for User comments. New e107::debug() function added for throwing info to the browser console. (Firefox/Chrome) 2016-03-26 10:14:57 -07:00
Cameron
efc2e62953 NewForumPosts could fail under some circumstances. Extra checks added for e107::unserialize(); 2016-03-25 11:24:07 -07:00
Cameron
e930ee68f1 PDO Fix for saving of e107::serialize() data. Saving of Extended Field data now working correctly. 2016-03-22 21:11:47 -07:00
Cameron
1d803612ab PHP7 User-Extended Fix. Checkboxes now working correctly and saving as an array. Some BC fixes may be needed. 2016-03-21 19:15:20 -07:00
Cameron
05ed9a7090 Banner and News e_menu.php (config.php replacement) upgrades. 2016-02-08 13:54:44 -08:00
Cameron
a31602108b HTML5 Validation fixes. 2016-01-30 18:39:01 -08:00
Cameron
619b40b2e3 Improved e_CURRENT_PLUGIN detection when using SEF-URLs and other minor path fixes. 2015-04-03 18:42:27 -07:00
Cameron
e576370e57 Remove some references to deprecated functions/methods. 2015-02-14 23:34:15 -08:00
Cameron
b859d1cf8d Admin Log function fixes. Preference saving details stored correctly. 2014-01-10 07:36:54 -08:00
Cameron
9939deb3e1 More support for e_DEBUG (in e107_config.php ) 2013-06-08 16:06:52 -07:00
SecretR
bf68100106 load and store Array storage interface 2013-06-06 15:25:53 +03:00
Cameron
4581b9986c Consolidate parsing classes into single file. 2013-05-20 17:10:38 -07:00
Cameron
f07b1a70ab Prevent empty log files. 2013-05-15 16:07:10 -07:00
Cameron
82ac19d038 Added e107::serialize() and e107::unserialize() (static alias of e107::getArrayStorage()->read/write() functions) 2013-03-31 05:55:08 -07:00
Cameron
4f6b639ee9 Admin theme upgrade fix 2013-03-16 14:32:32 -07:00
Cameron
89e2b88894 multiarray_sort() no longer loses assoc keys. 2013-03-06 14:55:24 -08:00
Cameron
117d0e8deb Issue #73 Deprecated message added to old arrayStorage class, and created a new one in core-functions.php
Use: e107::arrayStorage->read() and e107::arrayStorage->write(); (BC aliases added also)
2013-02-26 19:12:17 -08:00
Cameron
fdf78c92a4 Issue #73 Deprecated admin_handlers.php file. 2013-02-26 17:17:31 -08:00
secretr
645d2dda6d Mass changes (work in progress - related beta testing and feedback highly appreciated)
- New session handler - appropriate changes made at important core areas (language handler, chap login related)
- Overall better COOKIE handling (on both server and client side) - cookies respect now installation path, domain (based on language settings)
- Introduced Security Levels (see session handler constants/docs), security level option could be added to install routine now
- Security level printed on Administration info panel, appropriate lans added (subject of discussion)
- e_TOKEN security part of session handling now - logic depends depends on security level (TODO - POST_REFERER removal)
- e_print, e_dump debug functions added (for quick and nice debug view via site output), native overall FirePhp support planned
- a lot of minor bugfixes
2010-10-26 07:41:20 +00:00