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

942 Commits

Author SHA1 Message Date
Cameron
e1f53e7d33 Added {CPAGEKEYWORDS} shortcode. 2022-05-17 15:59:03 -07:00
Cameron
3f1d428660 Fixes #4755 - {LAN} shortcode - prioritize constants beginning with "LAN_" 2022-04-19 11:09:58 -07:00
Cameron
16354b3da0 Bootstrap 5 template tweaks. 2022-04-06 14:21:35 -07:00
Cameron
22b9bd1721 Updated e107.org urls. 2022-04-04 14:46:42 -07:00
Jimmi08
2fa73df934 #4665 correct user last visit information
CLOSES #4665
2022-04-02 14:57:37 +02:00
Cameron
025ff07aab Fixes #4737 Removal of type="text/javascript" and type="text/css" 2022-03-31 08:24:34 -07:00
Cameron
632e434711
Merge pull request #4709 from Jimmi08/patch-32
Fixes #3908 - Template option for signature bbcodes
2022-03-22 10:04:09 -07:00
Cameron
3e3aff26a6 'raw' parm option added to cpage_body() 2022-03-21 12:01:52 -07:00
Jimako
d006114fd3
fix for templating signature bbcodes 2022-03-19 10:18:36 +01:00
Cameron
c3d65075d0 Extracted toGlyphEmbed() method from toGlyph() and fixed some backward compatibility issues. 2022-01-27 16:50:42 -08:00
Nick Liu
8e8622f12d
social_login_config::getSupportedConfiguredProviderConfigs()
is a better name than
`\social_login_config::getValidConfiguredProviderConfigs()` because the
method does not validate the provider configs.
2021-12-28 11:48:00 +01:00
Moc
f58734346e
Code clean-up
Formatting (tabs)
2021-12-27 21:13:24 +01:00
Moc
29b98ef9a6
Closes #3742 - Added perm check for PM icon in Admin Area 2021-12-27 21:12:59 +01:00
Moc
f426ffc729
Fixes #4194 - Use correct LAN for XUP login/register action 2021-12-22 14:24:04 +01:00
Moc
311308a6d9
Closes #4320 - Use radio_switch() for radio buttons in COPPA form 2021-12-21 18:00:37 +01:00
Cameron
0d8f3e9086 PHPDoc fixes and code optimization. 2021-12-03 14:58:33 -08:00
Cameron
852f2175f2 PHP 8.1 fix. 2021-12-01 12:11:14 -08:00
Cameron
2c9afc83ee More PHP 8.1 fixes. 2021-11-26 12:36:25 -08:00
Cameron
9d6a9611e2 PHP 8.1 fixes. 2021-11-25 10:18:53 -08:00
Cameron
4aa66c1732 strftime() added to php_compatibility_handler.php and all references updated. README updated. dateAlternativeTest updated to pass on Windows. (TBD) 2021-11-25 08:51:32 -08:00
Cameron
9fffa59a01 Fixes #4586, Fixes #2774, Fixes #49 - Workaround added for page dropdown navigation. Use {CPAGENAV: tmpl=dropdown} in page_template.php 2021-11-24 13:48:20 -08:00
Cameron
81cbe51228 Remove PHP Warnings. Next/Prev test added. 2021-11-24 13:08:04 -08:00
Cameron
db6035f844 Experimental embedding of FA svg. 2021-11-15 13:51:01 -08: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
66d8081580 Added new field to navigation links table: link_rel 2021-09-27 10:22:14 -07:00
Cameron
5cf3f9d57b Fix for news tag links containing spaces. 2021-09-25 10:25:04 -07:00
Cameron
9c2d7ec2d6 Prevent news item data being overwritten within latestnews_menu 2021-09-22 13:31:37 -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
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
3a71366954 Added {THEME} shortcode (path) to core shortcodes. 2021-06-01 16:07:38 -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
d7ef419553 Fix for social icons not displaying on maintenance 'site down' page. 2021-03-29 16:19:12 -07:00
Cameron
dc483708a7 Issue #4299 PHP8 compatibility. 2021-03-17 14:18:45 -07: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
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