1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00

52 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
f055b49d91 PHP8 Plugin code cleanup 2021-01-21 09:38:38 -08:00
Cameron
5b82c292b1 Code cleanup 2020-12-18 19:55:12 -08:00
Cameron
0e90d4aa66 Code optimization and cleaning 2020-12-17 13:13:29 -08:00
Cameron
f605ddc552 Code optimization and cleanup. 2020-12-10 15:52:48 -08:00
Cameron
09fb747374 Code cleanup 2020-12-05 14:13:18 -08:00
Cameron
e1593de8ee Removed redundant PHP closing tags. 2020-08-10 15:49:44 -07:00
Tijn Kuyper
c06a66dfda
FAQ plugin - code clean-up
Co-Authored-By: Jimako <jimmi08@users.noreply.github.com>
2019-10-02 09:39:04 +02:00
Tijn Kuyper
ca74ff4460
Fixes #2822 - FAQ classic layout fixed 2019-09-30 15:56:03 +02:00
Cameron
1dbc90143f Case cleanup toHtml() should be toHTML() 2019-02-26 12:22:36 -08:00
Cameron
9eaab96373 FAQs frontend LANS renamed to match specifications. Filter alert removed and replaced with Filter in breadcrumb. 2017-10-18 17:00:40 -07:00
Cameron
02e80f50de Parser cleanup 2017-09-19 16:19:39 -07:00
MikeyGMT
ed8183cc7c FAQ - further correction
FAQ - further correction
2017-01-04 08:32:40 +00:00
MikeyGMT
caeba315fd Notice Removal - FAQ
Notice Removal - FAQ
2017-01-02 15:36:25 +00:00
MikeyGMT
c435f68d50 Incorrect Apostrophe - Fixes #2238
Incorrect Apostrophe - Fixes #2238
2017-01-02 15:08:33 +00:00
MikeyGMT
ef7962481c Text to LANS #6 - More FAQ
Text to LANS #6 - More FAQ
Still more to do. Added new Pref tab to split FAQ and Category
Add/Edit/Delete
2016-12-30 21:39:45 +00:00
MikeyGMT
340e2ed732 Text To LANS #6 - FAQ
Text To LANS #6 - FAQ
Taking care here - there is more to do.
Cannot see where to test some of the legacy code.
Seems to work on Bootstrap and e107v4 front end.
2016-12-30 19:48:05 +00:00
Cameron
6b37c95b74 Issue #1185 - Possible fix for broken FAQs loop. 2016-04-22 08:46:34 -07:00
Cameron
be309cd7b8 FAQs: SEF URL fixes. 2016-01-26 16:07:35 -08:00
Cameron
af53d2dd3d Issue #6 - LANs: Replace all references to "Comments" with LAN_COMMENTS 2015-07-07 18:02:16 -07:00
Cameron
0d3a6f6f4c FAQs language fixes for frontend. 2015-06-08 00:45:21 -07:00
Cameron
f90e09114a Encoding fixes. FAQ title/description and social 'email' share body. 2015-06-07 18:47:51 -07:00
Cameron
590df058b3 FAQs enhancements and fixes. FAQ search menu added. 2015-06-07 18:15:23 -07:00
Cameron
6efbb4ab33 FAQ fixes/enhancements 2015-05-29 17:14:09 -07:00
Cameron
51c7c67947 FAQ improvements. 2015-05-28 09:48:44 -07:00
Cameron
76d7a802c6 FAQs: 'faq-new' css class added for recently added FAQs. 2015-05-11 14:07:11 -07:00
Cameron
077489bb72 Plugin FAQs: Added "Ask a Question" limit preference 2015-04-02 12:34:32 -07:00
Cameron
24f2b22e6a FAQs now supports submitted questions from anonymous users and improved tag search/urls. 2015-03-31 06:26:06 -07:00
Cameron
05c8f263d1 FAQs enhancement and support for faq-category SEF urls. (work in progress) 2015-01-28 02:29:26 -08:00
Cameron
a74a4bace3 Added simple e_url.php example. 2015-01-23 15:26:23 -08:00
Cameron
bbc47da906 Fix for empty search results. 2014-09-09 20:51:55 -07:00
Cameron
58d18da177 Added basic FAQ breadcrumb. More work to do. 2014-09-09 20:22:59 -07:00
Cameron
542fe9252d Raw option added for {FAQ_CATEGORY} for name without link. 2014-09-09 04:38:06 -07:00
Cameron
f96f755318 Deprecated function include_lan() cleanup. Replaced with e107::lan(); 2014-02-07 07:03:05 -08:00
Cameron
b8cdc71795 Correction of shortcode global issue. As per e107 v1.x - shortcodes should only ever be registered globally using e_shortcode.php or xxx.sc files. 2013-05-31 18:40:56 -07:00
SecretR
d0dec8fd27 FAQs initial rewrite done 2013-03-07 15:19:43 +02:00
Cameron
caebb368af Language file cleanup 2013-02-23 16:21:00 -08:00
Cameron
846dafa3ce FAQs language-file path clean-up. 2013-02-22 21:31:16 -08:00
Tijn Kuyper
3793b27822 More notice removals, again. 2012-12-08 20:22:05 +01:00
Tijn Kuyper
f07434a3cb And more notice removals.
Also some plugin GUI clean-up (rss, tagwords, trackback)
2012-12-08 15:52:40 +01:00
CaMer0n
586af71243 More shortcode cleanup. 2012-11-02 01:50:28 +00:00
CaMer0n
f2c7bad663 Updated FAQs plugin to use the right shortcode methods. 2012-11-02 00:23:59 +00:00
CaMer0n
a6613cb515 Minor fixes and sync with 0.7 2011-07-24 20:57:48 +00:00
secretr
4fecfffddd svn keywords added (v0.8) 2010-02-10 18:18:01 +00:00
CaMer0n
6cfbdf01f5 category userclass setting was not being respected. 2010-02-09 01:33:41 +00:00
CaMer0n
0a1b0e066c Search-related fixes and path fixes 2009-12-23 11:32:09 +00:00
CaMer0n
087c37fafb small fixes 2009-12-12 10:30:33 +00:00
bugrain
5029fe527b Remove 'debug' code 2009-12-02 22:34:58 +00:00
CaMer0n
2e635fd3b4 Various fixes. deprecated e_linkgen in favour of e_sitelink. Easy and dynamic creation of links. Some common functions added to make loading of e_xxx config() functions easier. 2009-11-20 05:01:51 +00:00
CaMer0n
1377b23532 Fix copyright info. 2009-11-18 01:06:08 +00:00