1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 17:50:12 +02:00

336 Commits

Author SHA1 Message Date
camer0n
07cfc9c23d Issue #5465 language loading fix. 2025-04-13 07:20:58 -07:00
camer0n
bea796463e Issue #5465 Plugin language file conversion. 2025-04-11 07:23:57 -07:00
camer0n
1b54602be1 Issue #5443 - PHP 8.4 test fixes. 2025-03-17 13:44:04 -07:00
camer0n
52041d406f Issue #5443 - PHP 8.4 fixes. 2025-03-16 12:48:18 -07:00
camer0n
b05fea833c #5422 Support for schema. News schema added and FAQs schema template simplified. 2025-01-31 11:54:19 -08:00
Nick Liu
92bb0519d3 Revert "Fix: news category breadcrumbs"
This reverts commit 6c2e2efc22.
2023-02-19 23:40:33 +01:00
Richard Barrell
6c2e2efc22 Fix: news category breadcrumbs
The breadcrumbs for news categories were previously pointing to the
category page but using the id of the news story instead of the id of
the category.

Previously, if you had two news stories with ids 1 and 2, and one
category with id 1, then news story 1 would link to its category,
but news story 2 would link to a 404 page.
2023-02-14 22:21:48 +00:00
Jimako
bd7e6a5baa Fix #4847 - mistypo in route 2022-10-03 19:29:15 +02:00
Jimako
39f46378f7 sef-url for RSS news - category news #4868
CLOSES #4868
2022-09-09 12:42:43 +02:00
Cameron
c4bcf0a663 Fixes #4826 - redirect dynamic content on static domain. 2022-07-19 16:32:33 -07:00
Cameron
5ff0bd71af Fixes #4822 - adds title and og:title on default news page. 2022-07-15 08:08:24 -07:00
Cameron
31d7002ff2 Issue #4805, Issue #4352 - News pagination fix. News canonical correction for page numbers and default news page. 2022-07-06 15:45:08 -07:00
Cameron
6e49ef013a Fixes #4809 - Search news_meta_keywords and news_meta_description fields. 2022-07-02 12:43:59 -07:00
Cameron
4f6b41d73e Fixes #4805 News pagination in 'page' mode. 2022-06-30 18:23:42 -07:00
Cameron
08eb2a37d9 Issue #4783 Site name was still being appended to the <title> tag. Site name has now been removed when using news_meta_title. 2022-06-06 19:15:41 -07:00
Cameron
94bf1efda2 Issue #4783 Added new field for meta-news-title. New prefs added for SEO Title and Description character limits. 2022-06-06 17:28:23 -07:00
Cameron
38207a0815 Issue #4786 - Set a unique cache ID when filtering current news item. 2022-06-03 09:54:09 -07:00
Cameron
8198d3371a Closes #4786 - Filter currently viewed news item out of latest news list. 2022-06-03 09:43:41 -07:00
Cameron
d672131d86 Fixes #4785 - og:image should be only rendered once. Moved all og meta code out of header_default.php and into social plugin. 2022-06-03 09:12:12 -07:00
Cameron
60359a7045 Fixes #4775 - News caching issue. 2022-05-21 13:54:22 -07:00
Cameron
aa63bcf922 Precaution. Add 'follow' to robots. 2022-05-03 09:43:46 -07:00
Cameron
fe8d27c51c Closes #4760 - Added image support to generated Google sitemaps. 2022-04-21 11:51:52 -07:00
Cameron
efb6dd0b96 SEF URLs can now by available directly after installation. Removed debug info from News pagination. Disabled news_months_menu in default install config. 2022-04-06 18:22:35 -07:00
Cameron
16354b3da0 Bootstrap 5 template tweaks. 2022-04-06 14:21:35 -07:00
Cameron
02a7e08902 Fixes #4750 - News image placeholder. Adds another news-grid layout. 2022-04-06 12:09:58 -07:00
Cameron
057cc8e35b Closes #4702 - Added news_modified field. 2022-03-14 14:03:34 -07:00
Cameron
53c8fb228b Invalid HTML markup cleanup. 2022-03-10 11:10:28 -08:00
Cameron
bdbc7e0dae Gsitemap default sitemap.xml URL fix. 2022-03-04 13:27:54 -08:00
Cameron
3592c5ae30 Fix for gsitemap SEF URL Aliases 2022-03-04 09:22:36 -08:00
Cameron
c889d666b9 Use separate SEF value. 2022-03-03 18:23:05 -08:00
Cameron
7254c87a04 Experimental: Dynamically generated news sitemap. 2022-03-03 18:13:50 -08:00
Cameron
0d8f3e9086 PHPDoc fixes and code optimization. 2021-12-03 14:58:33 -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
6d5b4f5c3a Moved experimental e_ROUTE constant to registry. 2021-11-01 15:46:39 -07:00
Cameron
f7a65ebb3c Prevent duplicate twitter:image meta tags. 2021-10-27 18:39:27 -07:00
Cameron
1351435a7c Added some missing canonical values. 2021-10-04 11:56:30 -07:00
Cameron
e06069459f Add og:title by default. Set open-graph data for frontpage. 2021-10-01 08:35:54 -07:00
Cameron
e5b139e91a Set og:url and twitter:url when e107::canonical is called. Twitter card meta added to news posts and pages. 2021-09-29 18:43:20 -07:00
Cameron
f42ac5a8e8 Replaced e_PAGETITLE with e107::title(); 2021-09-28 13:15:53 -07:00
Cameron
69d5b49525 Fixed news tag query 2021-09-25 11:43:19 -07:00
Cameron
5cf3f9d57b Fix for news tag links containing spaces. 2021-09-25 10:25:04 -07:00
Cameron
af0b5dcb84 More rel="noopener" and og: changes. 2021-09-25 09:57:18 -07:00
Cameron
3a241727f8 Keep FB scraper up-to-date with changes. 2021-09-24 13:19:06 -07:00
Cameron
c7be6a57e8 Open-graph improvements in news. 2021-09-24 13:08:45 -07:00
Cameron
9c2d7ec2d6 Prevent news item data being overwritten within latestnews_menu 2021-09-22 13:31:37 -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
Cameron
7973e10dea Debug code removal. Rel prev/next added. 2021-08-13 11:53:21 -07:00
Cameron
fe8ae40f30 Robot directive removed from default route. 2021-07-26 16:15:55 -07:00
Cameron
95fab15c02 Gsitemap: Display link visibility status while importing. 2021-07-22 13:51:35 -07:00