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

105 Commits

Author SHA1 Message Date
Nick Liu
20882920a0
Fix all PHP 8.1 test failures
* `strftime()` has been replaced with a polyfill based on `DateTime`.
* Explicit type casts/assertions added where required by PHP 8.1
* `filter_var(…, FILTER_SANITIZE_STRING)` replaced with `strip_tags()`
  or HTML entity encoding of quotation marks, depending on a guess of
  what the intended "sanitization" was
* `http_build_query()` usage type mismatches fixed
* Removed usages of the `FILE_TEXT` constant
* To avoid breaking PHP 5.6 compatibility (function return types),
  `e_session_db` no longer implements `SessionHandlerInterface`.
  Instead, the alternative non-OOP invocation of
  `session_set_save_handler()` is used instead to apply the session
  handler.
* The shim for `strptime()` still calls the native function if available
  but now suppresses the deprecation warning.

* `e_db_pdo` explicitly asks for `PDO::ATTR_STRINGIFY_FETCHES` to
  maintain consistent behavior with past versions of PHP.
* `e_db_mysql` explicitly sets `mysqli_report(MYSQLI_REPORT_OFF)` to
  maintain consistent behavior with past versions of PHP.

* Removed pointless random number generator seed from `banner` plugin
* Workaround for `COUNT(*)` SQL query in
  `validatorClass::dbValidateArray()` without a proper API for avoiding
  SQL injection
2021-09-04 15:06:19 +02:00
Cameron
5671fbb557 Moved inline CSS to stylesheet. 2021-02-03 14:59:01 -08:00
Cameron
04bbad449a Test admin scripts are parsing correctly. 2021-01-16 13:32:35 -08:00
Cameron
5d7f921023 PHP8 Warning fixes. 2020-12-31 09:06:20 -08:00
Cameron
3f8e043998 Replaced e107::getAdminLog() with e107::getLog(). e107::getAdminLog() will continue as a deprecated alias. 2020-12-22 09:36:02 -08:00
Cameron
601df26d51 Code optimization for speed and reduced memory usage. 2020-12-20 11:50:10 -08:00
Cameron
7238743542 Regex fixes and path fix for TinyMce. 2020-12-18 13:07:45 -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
44e260b121 Code cleanup and optimization 2020-12-14 16:21:48 -08:00
Cameron
09fb747374 Code cleanup 2020-12-05 14:13:18 -08:00
Cameron
bc777c7414 Detect and refresh language file lists when scanning plugin directories. 2020-03-03 13:11:48 -08:00
Deltik
1f824faa69
Renormalized all text file line endings 2019-03-29 19:13:32 -05:00
Cameron
1dbc90143f Case cleanup toHtml() should be toHTML() 2019-02-26 12:22:36 -08:00
Cameron
9af88374c2 Media-Manager Fix for YouTube preview after selection. 2018-10-23 12:54:19 -07:00
Cameron
43f2a70b40 Issue #6 Missing System-log LANs. Preferences page Menu caption fix. 2017-11-16 20:18:11 -08:00
Cameron
70df3a3ae6 Issue #2846 LAN vars cleanup 2017-11-06 13:48:29 -08:00
Gábor
27fc9da4b6 Update admin_log.php 2017-03-05 07:17:51 +01:00
Cameron
cdc23fb2d7 Admin-area navigation 2017-02-01 18:25:32 -08:00
Cameron
43d0211590 Code cleanup: deprecated include_lan() 2017-01-23 09:41:23 -08:00
Tijn Kuyper
347c9f9af0 Update methods to load LAN files in Admin Area
(fingers crossed there are no typo's...)
2017-01-17 01:33:03 +01:00
Gábor
a0b7811af9 Update admin_log.php 2016-11-03 08:47:48 +01:00
Cameron
1202c72390 Issue #1378 Fix for XUP avatar check. User audit log for login and logout now functioning correctly. Admin log no longer adds a log when deleting a log! 2016-03-16 13:53:57 -07:00
Cameron
01d1c6560c XUP: Issue #1378 - Update Username and Avatar if they have changed. 2016-03-16 12:05:10 -07:00
Cameron
a469b7ca6e Deprecated function cleanup 2016-02-15 00:14:45 -08:00
Cameron
796f5fa95c Header location cleanup. From now, please use e107::redirect(); to redirect to the home page, or e107::redirect('admin'); to redirect to the admin start page or e107::redirect($url); 2016-01-13 19:18:12 -08:00
Cameron
46e336549c Fix for admin-log 'details'. 2015-08-26 17:42:31 -07:00
MikeyGMT
142d31768c Replace Duplicate LANs : LAN_TITLE
Replace Duplicate LANs : LAN_TITLE
2015-07-02 13:43:22 +01:00
Cameron
e28997f420 Fixes for user audit log and rolling log. Removed some debug information from logs. Corrected bounce-handler line-ending encoding (could cause the following PHP error "Error in argument 1, char 3: option not found ") 2015-05-21 12:37:44 -07:00
Cameron
dafdbef963 Adding missing LAN for backup. 2015-04-14 12:08:28 -07:00
Cameron
67d62ce723 Fix for toDB() in 'no_html' mode. Admin-log now detects table in remarks. 2015-04-14 11:39:35 -07:00
Cameron
3270d25512 Admin log description corrected. 2015-04-09 20:42:14 -07:00
Cameron
919e7da18e Admin Log -> Deleting of old records now functioning correctly. 2015-03-08 13:00:06 -07:00
Cameron
3ed8e426e0 Admin-log speed optimization and minor enhancements. 2015-03-08 11:12:42 -07:00
Cameron
2d29b7a739 GUI fixes 2015-02-07 12:56:16 -08:00
Cameron
4fa8df1498 Removed old TODO and added some notes. 2014-11-23 20:05:53 -08:00
Cameron
ac56b5ca10 More $admin_log global removal. 2014-10-23 11:12:13 -07:00
Cameron
76da16d1f2 Fixed sort order on rolling log. 2014-10-22 21:20:40 -07:00
Cameron
d248a5d2ff Allow rolling-log to be set using the add() method. Use: e107::getLog()->add(); Upgraded the callMethod() function to allow for using existing objects as well as class name. 2014-10-22 13:26:03 -07:00
Cameron
04435e10e6 Issue #771 - now decodes user-log preference correctly. 2014-10-14 18:19:51 -07:00
Cameron
238864b66a Fixes #771 - System Log preferences not being saved. 2014-10-14 16:23:16 -07:00
Cameron
2990f4d376 Fix Ping logging message. 2014-01-24 08:13:47 -08:00
Cameron
81276f9994 System-Log: Added Icons for log types. 2014-01-18 06:55:20 -08:00
Cameron
3d78256104 BC fixes for admin-log detail rendering. 2014-01-12 05:34:48 -08:00
Cameron
b859d1cf8d Admin Log function fixes. Preference saving details stored correctly. 2014-01-10 07:36:54 -08:00
Cameron
d66a9f8d54 Minor GUI alignment fix 2014-01-01 18:58:54 -08:00
Cameron
977d87a57d Fix for missing plugin install/uninstall log info. 2014-01-01 18:38:02 -08:00
Cameron
95ad45c8f5 System-Log page updated to use admin-ui. 2014-01-01 17:39:14 -08:00
Cameron
b0a944496e Admin log GUI checkbox fixes 2013-05-26 14:36:55 -07:00
Cameron
063bf2b200 $frm->selectbox() renamed to $frm->select(); for consistency. 2013-04-25 17:29:46 -07:00
Moc
8f8bf53a2a System log options - UI fix (WIP) 2013-04-02 10:57:47 +02:00