1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 04:12:00 +02:00

19 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
c8ba5fe30a Shortcode tests for list_new, pm, rss_menu, signin and simpleParse() 2021-01-08 17:00:23 -08:00
Cameron
0e90d4aa66 Code optimization and cleaning 2020-12-17 13:13:29 -08:00
Cameron
ca5f33655b BC Fixes for some old plugins. 2017-12-11 17:11:22 -08:00
Cameron
c57fe51ad8 Fixes #1530 - PHP Warning in debug mode. 2016-04-13 16:50:07 -07:00
Cameron
2e067dfdf7 Private Message: Issue #1423, #1434 - v2.x fixes/updates. Improved user-file upload handling. 2016-03-30 19:10:00 -07:00
Moc
eaa070a489 PM class code clean-up 2014-08-02 13:28:09 +02:00
Moc
69805f65c3 Fixes #720 - PM's are now actually removed from the outbox when marked as deleted. PM is no longer deleted from sender's outbox when receiver deletes the PM from inbox. 2014-08-02 13:26:21 +02:00
Moc
b6da517bd5 Fixes #547 - PM plugin issuse (outbox messages not rendering, outbox count, and outbox date) 2014-05-18 16:37:11 +02:00
Cameron
2036cc7172 Private Message plugin working again to some extent. 2013-01-31 19:13:50 -08:00
secretr
4fecfffddd svn keywords added (v0.8) 2010-02-10 18:18:01 +00:00
e107steved
17b98ac017 Another attack on globals and notices 2009-12-17 22:47:20 +00:00
CaMer0n
1377b23532 Fix copyright info. 2009-11-18 01:06:08 +00:00
marj
8d6c82d860 reencode some files to UTF-8 2009-11-17 13:48:46 +00:00
e107steved
295ea6a60f Bugtracker #4549 - query incorrect 2008-10-21 19:06:12 +00:00
e107steved
17d0f353a0 Bugtracker #4537 - eliminate surplus queries 2008-10-13 19:06:55 +00:00
e107steved
8c320ad1de Notice removal, eliminate DB queries 2007-08-08 19:34:52 +00:00
e107steved
f4fc7edcdb Notice removal 2007-05-28 11:18:19 +00:00
mcfly
e149b35fcc new module creation 2006-12-02 04:36:16 +00:00