1
0
mirror of https://github.com/e107inc/e107.git synced 2025-02-19 22:14:45 +01:00

25 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
522d71d243 Reduced some memory usage. 2021-01-24 17:00:02 -08:00
Cameron
b19f9ffbc3 Frontend scripts tests. (may break some things) 2021-01-19 18:52:56 -08:00
Cameron
992b7b4bfe Tests for SEF URLs. Search page fix. 2021-01-13 16:16:50 -08:00
Cameron
601df26d51 Code optimization for speed and reduced memory usage. 2020-12-20 11:50:10 -08:00
Cameron
44e260b121 Code cleanup and optimization 2020-12-14 16:21:48 -08:00
Cameron
a6a98a82ad Code cleanup. Incompatible plugin alert now links directly to uninstall page for each plugin found. 2020-06-26 13:58:59 -07:00
Nick Liu
524229ba0b
Fixed a bunch of PHP 7.4 syntax errors
- FIX: Removed pointless (and invalid) destructor in LinkedIn::__destruct()
- FIX: All files that trigger this deprecation notice in PHP 7.4:
       "Array and string offset access syntax with curly braces is deprecated"
2020-01-18 18:26:35 +01:00
Cameron
d2db9951a9 Issue #2478 - Search 2017-03-18 12:11:56 -07:00
Cameron
cd8ea61bd9 Theme options and fixes. Load Theme JS in the footer by default. New blockquote alt. style added to TinyMce. Updated news shortcodes. Option to hide search form from results page. 2016-06-01 18:36:16 -07:00
Cameron
3279283b6c Search Fixes, Forum Search fixes. 2016-02-02 14:28:59 -08:00
Cameron
d159763747 Search Fixes. Forum search upgraded to v2.x spec. 2016-02-01 20:29:46 -08:00
SecretR
5f75ba3144 Fulltext InnoDB support (MySQL v5.6+) 2014-06-02 04:49:24 +03:00
Cameron
3ca9052f69 Fixed PHP warnings in search class 2014-02-04 09:22:34 -08:00
Cameron
1fc86ddd51 Search config minor changes to spec. 2014-01-13 11:08:08 -08:00
Cameron
7deb681e68 Search now using default nextprev template. Debug info removed. 2014-01-12 05:35:27 -08:00
Cameron
45c485d6fe Search script cleanup - in progress. 2014-01-06 18:41:35 -08:00
Cameron
42c3588e29 Search upgrades - new e_search.php standard added. 2014-01-05 11:25:30 -08:00
SecretR
5bae035cf6 UTF-8 aware search rendering
Search view supports glyph (former bullet)
Some old paths corrected
2013-10-24 04:15:25 +03:00
secretr
4fecfffddd svn keywords added (v0.8) 2010-02-10 18:18:01 +00:00
e107steved
9ab38eed44 Don't need separate query for FOUND_ROWS() any more 2010-01-03 22:01:59 +00:00
CaMer0n
1377b23532 Fix copyright info. 2009-11-18 01:06:08 +00:00
marj
9a715e8246 charset and badchars 2009-11-12 15:11:17 +00:00
marj
9863e49cdb a bit of legacy BULLET code review 2009-08-23 10:57:51 +00:00
mcfly
e149b35fcc new module creation 2006-12-02 04:36:16 +00:00