1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

1541 Commits

Author SHA1 Message Date
Cameron
6fb0d3f2bb Added missing {SITEDISCLAIMER} shortcode to Voux. 2021-11-23 13:45:32 -08:00
Cameron
db6035f844 Experimental embedding of FA svg. 2021-11-15 13:51:01 -08:00
Cameron
038d88aa2a Lazy loading added to bbcode images and avatar images by default. 2021-10-26 14:57:01 -07:00
Cameron
95ea56bb89 Forum navigation layout fix. 2021-10-18 09:09:01 -07:00
Cameron
73dfbf0d74 Issue #4299 - PHP8 fatal error fixes 2021-10-17 08:43:07 -07:00
Cameron
455551d10f Fix for legacy news image paths. 2021-10-16 10:03:28 -07:00
Cameron
7171ca8e3d Fixes #4580 - Some BBCodes were not functioning. 2021-10-04 10:18:00 -07:00
Cameron
9aa6d16f2c Make sure news author avatar has an image. 2021-10-02 13:02:28 -07:00
Cameron
e06069459f Add og:title by default. Set open-graph data for frontpage. 2021-10-01 08:35:54 -07:00
Cameron
4f5eb66048 Moved title tag directly under html tag. Changed separator to pipe | and added an option for processing the title in theme::title(). 2021-10-01 07:18:37 -07:00
Cameron
c7dc227e24
Merge pull request #4575 from Deltik/fix/4574
Add index to database session handler for session expiry
2021-09-27 10:30:06 -07:00
Cameron
66d8081580 Added new field to navigation links table: link_rel 2021-09-27 10:22:14 -07:00
Nick Liu
54ed823aba
Add index to database session handler for session expiry
Greatly improves garbage collection performance

Fixes: #4574
2021-09-25 15:15:33 -05:00
Cameron
5cf3f9d57b Fix for news tag links containing spaces. 2021-09-25 10:25:04 -07:00
Cameron
45bb6c2f35 Custom meta-image option added to Pages. 2021-09-23 12:01:26 -07:00
Cameron
9c2d7ec2d6 Prevent news item data being overwritten within latestnews_menu 2021-09-22 13:31:37 -07:00
Cameron
79e016a7f6 Using e107::title() will now automatically add an og:title meta value if one isn't already defined. 2021-09-22 12:23:30 -07:00
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