1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 04:38:27 +01:00

82 Commits

Author SHA1 Message Date
Cameron
903f51561f Fixes #4766 User-audit login event data. 2022-05-10 10:21:05 -07:00
Cameron
22b9bd1721 Updated e107.org urls. 2022-04-04 14:46:42 -07:00
Cameron
55980a29a8 Generated PHPDoc for all classes in e107_handlers where one was missing. toNumber() updated to always return int or float. 2022-04-04 10:54:24 -07:00
Cameron
0d8f3e9086 PHPDoc fixes and code optimization. 2021-12-03 14:58:33 -08:00
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
402d1f4126 Closes #1801 Code cleanup. Deprecated method errors added. 2020-12-22 14:48:28 -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
5b82c292b1 Code cleanup 2020-12-18 19:55:12 -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
42f0e902d4 Issue #4283 - Update deprecated sql method usage. Removed old code. 2020-12-17 05:52:54 -08:00
Cameron
44e260b121 Code cleanup and optimization 2020-12-14 16:21:48 -08:00
Cameron
8129d919c4 Issue #4079 - Code Cleanup. 2020-03-06 13:57:33 -08:00
Cameron
d50dc72c76 Code cleanup 2019-06-08 10:56:14 -07:00
Deltik
1f824faa69
Renormalized all text file line endings 2019-03-29 19:13:32 -05:00
Cameron
8f19149adf Code cleanup
PDO class accepts bind params with select() method.
2019-02-21 17:29:49 -08:00
Cameron
9c4dbcab91 Moved THEME_LAYOUT calculation out of class2.php and into theme_handler.php 2019-01-23 19:06:03 -08:00
Cameron
573ea978b7 Cleaned empty $_POST values. Additional options for log file creation added. 2018-01-25 13:38:29 -08:00
Cameron
67e0b43734 Issue #6, Fix for duplicate LAN_IP, PHP 7.1 fixes. Fix for CLI failing when SSL is enabled, but command is using 'http'. Allow cURL to follow redirects, preventing broken feeds under certain circumstances. 2016-12-16 12:13:52 -08:00
Cameron
64b9cb9f2b MySQL: Fix for DUPLICATE KEY UPDATE return values when NOT using PDO. 2016-08-17 15:23:33 -07:00
Cameron
32bd1d04ab Fixes #1684 Login failure with email and salt. 2016-06-06 15:42:42 -07:00
Cameron
3746e12c5b Possible fix for #1684 - login failure with long email address. 2016-06-06 13:36:00 -07:00
Cameron
01db7fff42 User-Audit log failure fallback. 2016-06-06 13:25:16 -07:00
Cameron
cdf676473b Removed debug info. 2016-04-14 17:01:02 -07:00
Cameron
93ef3ed107 PHP Warning removal. 2016-04-14 16:54:59 -07: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
486f3d4961 Issue #1356 - PHP7 Fixes. 2016-02-14 12:15:55 -08:00
Cameron
39aac804df Fix for corrupted page totals due to SEF URLs and shortened array keys. Requires more testing. BACKUP FIRST! 2016-01-21 13:36:02 -08:00
Cameron
cffb369751 Issue #1109, Fixes #830, Fixes #731, Fixes #710, Fixes #608, Fixes #1012 : v1 -> v2 Upgrade-Routine fixes (including forum plugin) 2015-08-24 17:39:28 -07: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
7bdb2ef48f Additional check added before creating plugin folders in LOG directory. 2015-04-16 00:57:24 -07:00
Cameron
1740161a49 Corrected drag-n-drop sorting. Now increments correctly. 2015-04-02 12:33:15 -07:00
Cameron
3ed8e426e0 Admin-log speed optimization and minor enhancements. 2015-03-08 11:12:42 -07:00
Cameron
027a74f5b0 Code cleanup 2015-02-15 02:37:36 -08:00
Cameron
e576370e57 Remove some references to deprecated functions/methods. 2015-02-14 23:34:15 -08:00
Cameron
25b96411e0 Fixes #651 - Media-Manager - Uploaded file does not display in selection. 2015-02-07 11:57:28 -08: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
238864b66a Fixes #771 - System Log preferences not being saved. 2014-10-14 16:23:16 -07:00
Cameron
dcb54aee7c Basic Admin-UI activity logging added. 2014-01-17 16:46:24 -08:00
Cameron
1fc86ddd51 Search config minor changes to spec. 2014-01-13 11:08:08 -08:00
Cameron
1b7cf701e8 Corrected and tested news ping services feature. Now throws messages correctly to the admin , as well as logs correctly to both the e107_system/logs folder and the admin-log. 2014-01-12 08:06:29 -08:00
Cameron
479a9c503b Improved admin-log message on deprecated save_prefs() function. 2014-01-10 09:32:14 -08:00
Cameron
b859d1cf8d Admin Log function fixes. Preference saving details stored correctly. 2014-01-10 07:36:54 -08:00
Cameron
29f74508c2 Forum quick-reply fix. 2013-06-19 19:54:29 -07:00
Cameron
7c4043122a Site-Statistics plugin fixes, cleanup etc. 2013-06-03 14:17:08 -07:00
Cameron
e989acb8f9 Removed unnecessary header from log when using append mode. 2013-06-02 14:31:25 -07:00
Cameron
693b5bea75 Improved logging options and file-naming. 2013-06-01 04:36:58 -07:00
Cameron
8d94fa8b23 Possible fix for 'Anonymous' showing in logs, when admin is logged in. 2013-05-31 18:36:43 -07:00
Cameron
f07b1a70ab Prevent empty log files. 2013-05-15 16:07:10 -07:00