1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-27 08:14:46 +02:00

4206 Commits

Author SHA1 Message Date
Moc
93132395b8 Closes #5081 - Add confirmation dialog when deleting single PM 2023-11-29 22:19:34 +01:00
Nick Liu
d790faa049 Convert and run e107 using the MySQL/MariaDB utf8mb4 character set and
InnoDB storage engine

Components affected:
* `db_verify` now checks and corrects the table storage engine
* `db_verify` now checks and corrects the table default character set
  * Note: Field character sets can still be overridden
  * Note: When correcting, the entire table is converted to the target
    charset.
* The alt_auth plugin now connects via PDO using the e107 default
  charset, utf8mb4
* `e_db_pdo` now sets the charset to utf8mb4. This is currently not
  customizable because it was previously not customizable.
* `install.php` now generates an `e107_config.php` file with
  `$mySQLcharset = 'utf8mb4';`, though this option is not actually used.
* `install.php` now removes plugin tables before installing plugins.
* `e_db_mysql` now only accepts the `utf8mb4` charset. Previously, it
  only accepted the `utf8` charset.
* `e_db_mysql` now configures `mysqli_real_escape_string` to match the
  new default charset, `utf8mb4`.
* Plugin installations now use the preferred MySQL table storage engines
  and charsets.

The preferred MySQL table storage engines are now mapped like so:
* If `ENGINE=MyISAM` is specified, the actual storage engine set will be
  the first available of: InnoDB, Aria, Maria, MyISAM
* If `ENGINE=Aria` is specified, the actual storage engine set will be
  the first available of: Aria, Maria, MyISAM
* If `ENGINE=InnoDB` is specified, the actual storage engine set will be
  the first available of: InnoDB, XtraDB
* If `ENGINE=XtraDB` is specified, the actual storage engine set will be
  the first available of: XtraDB, InnoDB

The preferred MySQL character set is now aliased like so:
* `utf8`    => `utf8mb4`
* `utf8mb3` => `utf8mb3`
* `utf8mb4` => `utf8mb4`

Fixes: #4501
2021-05-22 00:46:35 -05:00
camer0n
caddf3c95d Closes #5107 Prevent duplicate. 2023-11-23 06:57:09 -08:00
camer0n
4a18306311 Issue #5107 Alt-auth 2023-11-20 15:35:06 -08:00
camer0n
f62050cd01 Fixes #5108 - newsfeed image field length fix. 2023-11-20 14:31:52 -08:00
camer0n
d50f3c7c61 #5079 RSS feed fatal error in PHP 8.1 2023-11-16 13:50:10 -08:00
camer0n
e2527d594d Issue #5079 RSS feed fatal error in PHP 8.1 2023-11-16 12:20:53 -08:00
camer0n
552af19c54 Issue #5079 - PHP 8.2 Deprecated error removal 2023-10-26 16:20:22 -07:00
Cameron
4eafc42f88 Merge pull request #5015 from Jimmi08/patch-7
Fixes #4866 RSS logo image
2023-08-14 10:00:16 -07:00
Nick Liu
5196c4f56d Fix #5025: Type error when sending a PM without the attachment field 2023-07-01 14:01:26 -05:00
Jimako
3e6349a5c4 fix for feed logo image 2023-06-17 22:21:14 +02:00
Jimako
8324e24776 PM class - fix PHP 8 #4998
fix for #4998 Fatal error: Uncaught TypeError: count()

Pull request: https://github.com/e107inc/e107/pull/5006
2023-06-14 14:37:56 -05:00
Cameron
5f492a8441 Merge pull request #4984 from Deltik/hotfix/4982
news: Fix category link in both breadcrumb and menu
2023-04-03 17:11:06 -07:00
Cameron
9c3b90d5fa Fixes #4966 - IMODE not defined. 2023-03-20 16:21:31 -07:00
Cameron
e596aa94d7 Fixes #4765 - Tagcloud CSS. 2023-03-19 14:51:32 -07:00
Cameron
5d18df638a Partial Fix for Issue #4959 - TODO: unchecked checkboxes are not posted. ie. not saved/updated. 2023-03-18 12:31:23 -07: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
Cameron
bd9f62675b disclaimer tweak. 2023-01-14 19:07:31 -08:00
Nick Liu
566cde0f4c #4929: Fix type mismatch in usage of e107forum::getForumClassMembers()
Also, `e107forum::getForumClassMembers()` is now documented and
deprecated because it has unintuitive return values.

Fixes: https://github.com/e107inc/e107/issues/4929
2022-12-25 11:58:46 +01:00
Cameron
3f73b9ccca Issue #4918 Missing LANs. 2022-12-14 14:38:42 -08:00
Cameron
78d4809d15 Closes #4922 - Option for plugins to extend notification routing. 2022-12-13 18:30:12 -08:00
Cameron
05b1b040c8 Closes #4922 - Option for plugins to extend notification routing. 2022-12-13 18:23:48 -08:00
Cameron
d12d3f1333 Closes #3701 Plugin builder class moved to its own file. Default plugin icons are now created if an images/ folder is not found. Simple test added for detecting PHP notices etc. Some cleanup of generated code. 2022-12-12 15:00:30 -08:00
Cameron
93a05dc777 Closes #4919 - Enhancement: plugins may now use their own custom email templates with sendEmail(); 2022-12-10 08:47:01 -08:00
Cameron
d960829532 Issue #4918 - Undefined constants cleanup. 2022-12-10 07:06:47 -08:00
Cameron
60d9c29af3 Fixes #4916 - Undefined LAN. 2022-12-10 05:44:50 -08:00
Cameron
810599df5c Merge pull request #4898 from Jimmi08/patch-2
Closes #4897 class parameter for CB_AVATAR shortcode
2022-10-29 08:28:01 -07:00
Jimako
2c6e0839b6 #4897 class parameter for CB_AVATAR shortcode
Closes #4897
2022-10-27 11:34:46 +02:00
Jimako
78fb2c63a1 Fix for #4895 - wrong message chatbox plugin
CLOSES #4895
2022-10-27 09:51:28 +02:00
Cameron
e3fb2ce971 Merge pull request #4882 from Jimmi08/patch-5
Fixes #4847 - typo in news route
2022-10-12 15:03:55 -07:00
Moc
24f952a70a Fixes #4801 - Remove whitespace from LAN definition (PM plugin) 2022-10-08 15:33:11 +02:00
Jimako
bd7e6a5baa Fix #4847 - mistypo in route 2022-10-03 19:29:15 +02:00
Cameron
1985dcf85d Merge pull request #4870 from Jimmi08/patch-3
Fixes #4868 Sef-url for RSS news category
2022-09-29 12:15:41 -07:00
Cameron
0cf5768218 Merge pull request #4850 from Jimmi08/patch-1
Fixes #4849 Add support for wrappers in contact menu
2022-09-29 12:08:57 -07:00
Cameron
3d0df3a063 Fixes #4859 PHP8 Fatal error 2022-09-15 12:17:56 -07:00
Jimako
39f46378f7 sef-url for RSS news - category news #4868
CLOSES #4868
2022-09-09 12:42:43 +02:00
Moc
b95712578a #4687 - Cleanup download meta description
Not ideal yet. See comment by @CaMer0n: https://github.com/e107inc/e107/issues/4687#issuecomment-1215081731
2022-09-05 20:45:50 +02:00
Moc
35be0b7939 Closes #4841 - Added eventname to Featurebox 2022-09-05 20:17:19 +02:00
Moc
86b234fd11 Fixes #4837 - Fix Featurebox LAN issue
See 968a6d0a4f
2022-09-05 20:14:12 +02:00
Jimako
0b71c5a3b2 Add support for wrappers in contact menu
CLOSES #4849
2022-08-16 13:51:46 +02:00
Moc
2f87ec19d0 Clarify e_event examples in _blank plugin 2022-08-08 15:06:55 +02:00
Moc
fd45424e50 Clarify event documentation by adding examples 2022-08-03 11:14:40 +02:00
Cameron
c4bcf0a663 Fixes #4826 - redirect dynamic content on static domain. 2022-07-19 16:32:33 -07:00
Cameron
1792aee537 Merge pull request #4788 from yesszus/patch-2
Issue #6 LAN corrections
2022-07-15 08:10:29 -07:00
Cameron
5ff0bd71af Fixes #4822 - adds title and og:title on default news page. 2022-07-15 08:08:24 -07:00
Cameron
4104162179 Fixes #4820 - Removed possibility of broken tag links. 2022-07-14 10:22:59 -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
5e274b85e3 Closes #4810 - Allow plugins to add navigation links in areas other than 'Main' eg. footer navigation. Example added to _blank/plugin.xml 2022-07-02 12:49:57 -07:00
Cameron
6e49ef013a Fixes #4809 - Search news_meta_keywords and news_meta_description fields. 2022-07-02 12:43:59 -07:00