1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-24 03:06:18 +02:00
Commit Graph

1574 Commits

Author SHA1 Message Date
Cameron
6fa4982d30 Added rel="noopener noreferrer" to external _blank target navigation links. 2021-09-15 12:51:39 -07: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
Moc
2c44c7602c Fixes #3980 - Remove duplicate random number on contact form
- Already called in secure_img::renderInput();
- Should also fix https://github.com/e107inc/visualcaptcha/issues/5
2021-08-30 20:40:09 +02:00
Cameron
0c30006b5f Prevent looping of non-existent array. 2021-08-12 11:53:40 -07:00
Cameron
c941e5b98d Issue #4024 - Pagination url option added to News preferences. Select between 'record' (legacy format eg. page=20, page=40 etc) or 'page' numbers (page=1, page=2 etc). Experimental - requires more testing. 2021-07-06 17:53:55 -07:00
Cameron
7beae22f44 Removed search shortcode parameter limitations. 2021-06-24 16:49:22 -07:00
Cameron
00d584f584 Experimental CSS filtering. 2021-06-24 12:29:47 -07:00
Cameron
a1e7d29661 Optional {NEWS_PAGINATION} shortcode added. 2021-06-14 14:42:17 -07:00
Cameron
f2966468ea Added missing breadcrumb item (page-title) when viewing a page for consistency with other breadcrumbs like News etc. 2021-06-12 16:53:59 -07:00
Cameron
aa6e449aee New shortcode added on News view page: {NEWS_AUTHOR_REALNAME}
Tagcloud menu can now be sorted via shortcode parms. eg. {MENU: path=tagcloud&order=tag,asc&limit=20}
Animate.css library loading example added to bootstrap5/theme.xml
2021-06-12 16:18:51 -07:00
Cameron
07f4e53932 Fix fatal error in PHP8 that occurred when building a plugin without database tables. Developer mode alert now uses the {ALERTS} shortcode for greater control of placement. 2021-06-03 09:56:00 -07:00
Cameron
3a71366954 Added {THEME} shortcode (path) to core shortcodes. 2021-06-01 16:07:38 -07:00
Cameron
6674beaf82 Added a button to allow closing of "Developer Mode" alert message. Fixed default button styling of some news buttons under Bootstrap 5. 2021-05-08 12:39:17 -07:00
Cameron
c11bd224f8 Prevent possible memory overload in Database > Export. Corrected {ALERTS} debug info when using theme.html. 2021-05-08 11:53:39 -07:00
Cameron
da3c207fa3 Removed auto-inserting of {WMESSAGE} when theme.html is detected. Improved theme layout debug message. 2021-05-07 10:57:05 -07:00
Moc
f16e2ad340 #4490 - Should fix autofill in usersettings (new password) 2021-04-19 19:29:33 +02:00
Cameron
920a881898 Issue #2898 - comment btn-sm class missing. 2021-04-06 12:14:40 -07:00
Cameron
0876e0d43b Contact LANs updated to v2 specifications. BC fix included. 2021-03-29 17:50:51 -07:00
Cameron
dbefbe4630 Removed legacy contact info default. 2021-03-29 16:27:32 -07:00
Cameron
d7ef419553 Fix for social icons not displaying on maintenance 'site down' page. 2021-03-29 16:19:12 -07:00
Cameron
283b9340b5 Fixes #4459 $HEADER and $FOOTER within a class/method when old themes in use. Disable BS5 in admin area 2021-03-23 10:17:22 -07:00
Cameron
c33b91ee5c Issue #4368 Fixed hardcoded string for 'related' content. Now uses tablerender(). Shortcode processing of {---CAPTION---} added. 2021-03-22 11:26:51 -07:00
Cameron
dc483708a7 Issue #4299 PHP8 compatibility. 2021-03-17 14:18:45 -07:00
Cameron
07faad666a Issue #2726, Issue #4452 - Added new e_print.php addon which uses v2.x standards. 2021-03-17 11:22:25 -07:00
Cameron
67b35ad088 Blank email template added. 2021-03-08 13:22:11 -08:00
Cameron
57c67fc1f1 Merge pull request #4436 from Jimmi08/patch-26
Issue #275 fix for Unlabeled form control with title for WAVE
2021-03-03 12:11:42 -08:00
Cameron
d7e4b4a665 Code cleanup and error fixes. 2021-03-03 12:06:24 -08:00
Jimako
b0bd003084 #275 fix for Unlabeled form control with title for WAVE - addition 2021-03-03 17:21:45 +01:00
Jimako
7fbba9e4ee #275 fix for Unlabeled form control with title for WAVE
contact form fields  if no labels are used
2021-03-03 17:13:04 +01:00
Cameron
8a4d9a729f Admin home nav styling. Popover styling. 2021-02-28 08:32:11 -08:00
Cameron
1a1a6f72a0 Updated navigation shortcode names. 2021-02-27 07:47:51 -08:00
Cameron
782f4903ac Fixes #4365 Navigation URLs to frontend now use the same shortcode. 2021-02-27 07:42:02 -08:00
Cameron
443c60cb52 News shortcode correction. 2021-02-24 15:43:58 -08:00
Cameron
58f129799b New feature: Previous/Next News item navigation. 2021-02-24 15:26:01 -08:00
Cameron
f30caaf18b Removed some LAN constant usage from core templates. 2021-02-23 12:58:51 -08:00
Cameron
76af210666 Issue #4332 - Bootstrap 5 styling fixes. 2021-02-23 11:11:35 -08:00
Cameron
973a446bb4 Issue #4332 Bootstrap5 styling. 2021-02-23 09:38:04 -08:00
Cameron
2ca7ec4597 Issue #4332 - Bootstrap 5 styling fixes on comments and news templates. 2021-02-23 09:01:40 -08:00
Cameron
52a554987b PHP error fixes. 2021-02-22 12:22:50 -08:00
Cameron
e03f7a34e2 Issue #4359 - Forum dropdown-menu fixes for Bootstrap 4/5. 2021-02-19 16:09:47 -08:00
Cameron
a136e3771c Added news to the global lan list. 2021-02-19 07:27:28 -08:00
Cameron
cae8cf1345 Fixes #4398 - Page breadcrumb. Disabled breadcrumb on frontpage. 2021-02-18 17:02:37 -08:00
Cameron
d45f54262f Styling fix for bootstrap3 books and chapters list view. 2021-02-18 09:24:10 -08:00
Cameron
d0404cb9b3 Issue #4372 Contact page code cleanup and 'layout' template added. 2021-02-17 19:07:45 -08:00
Cameron
e371da1785 e107::getFile()->send() now accepts optional type, encoding and disposition values.
HTMLTAG fallback for THEME_LAYOUT added.
2021-02-16 13:32:34 -08:00
Cameron
766b50338f Catch missing THEME_LAYOUT constant on very old themes. 2021-02-16 12:11:05 -08:00
Cameron
5b9ecd2200 Issue #4372 Extra fields. 2021-02-16 09:22:12 -08:00
Cameron
c94b1867a3 Issue #4372 - Enhancement: Contact page info. Requires database update. 2021-02-15 10:58:49 -08:00
Cameron
523fae8582 Fixes #4384 - Footer missing when required within a function. 2021-02-15 07:22:47 -08:00
Cameron
50e0445807 Issue #3184 Issue #3912 New Feature: can now use :(e_ROUTE) to switch theme layout visibility. 2021-02-14 10:36:45 -08:00