1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 04:38:27 +01:00

1599 Commits

Author SHA1 Message Date
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
4308bf1583 Issue #5079 PHP error. 2023-11-15 16:59:58 -08:00
camer0n
1b69719330 Closes #5106 - system notification consolidation. 2023-11-15 16:26:24 -08:00
camer0n
64cf23a06e Closes #5062 - common favicon method for frontend and backend. 2023-10-17 10:22:11 -07:00
camer0n
00a66eaadd Fixes #5087 - Outdated javascript enable instructions link. 2023-09-26 14:04:06 -07:00
Nick Liu
1e601fbc03
#4991: Fix improper array access in sc_signup_extended_user_fields
Fixes: https://github.com/e107inc/e107/issues/4991
2023-04-16 00:25:14 -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
4bad7825df Related to Issue #3927 {NEWS_IMAGE: alt=description} now includes the alt value when included in a news body. 2023-03-11 09:50:31 -08:00
Nick Liu
a500035172
news: Fix category link in both breadcrumb and menu
Fixes: #4982
2023-02-19 23:49:40 +01:00
Nick Liu
4800e4ccbb
Revert "Fix for broken news category URL in news_categories_menu"
This reverts commit ba18155c345b66d825804219d1b2e8db0e9860ec.
2023-02-19 23:40:20 +01:00
Cameron
f5096ae47d Closes #4978 - {NEWS_MODIFIED} shortcode added. 2023-02-11 09:09:16 -08:00
Cameron
d960829532 Issue #4918 - Undefined constants cleanup. 2022-12-10 07:06:47 -08:00
Cameron
c4bcf0a663 Fixes #4826 - redirect dynamic content on static domain. 2022-07-19 16:32:33 -07:00
Cameron
5eb0168140 Fixes #4807 Pagination on mobile. 2022-07-01 11:24:38 -07:00
Cameron
ebd85318d6 Issue #4805 - News pagination fix. 2022-06-30 19:03:07 -07:00
Cameron
c494c04c7e Fixes #4806 - news keyword maxlength limitation fix. 2022-06-30 19:01:52 -07:00
Cameron
149a2686ad Closes #4276 - auto-generate all popular favicon formats from site icon pref. 2022-06-29 11:55:51 -07:00
Cameron
89cf872bb5 Fixes #4802 - Navbar item highlighting was failing in Bootstrap 4/5 2022-06-29 10:27:23 -07:00
Cameron
52cf8f5bfa Closes #4783 Added Page Meta-Title field and synced with Page title.
Issue #6 global LAN_META_DESCRIPTION and LAN_META_TITLE added and replacements made throughout.
2022-06-08 18:29:37 -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
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
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
483c737237 Fixes #3947 - Removed deprecated menu prefs. 2022-04-07 13:30:34 -07:00
Cameron
9b5a76cd0f Corrected theme install pref defaults. Theme Manager now prompting again about default content and display modified prefs when detected. 2022-04-07 08:15:30 -07:00
Cameron
93b2926227 Removed SEF Url config from Bootstrap5. Added missing prefs to default install. Moved popup tips during installation to their own icon. Adjusted acceptance test. 2022-04-07 07:15:30 -07:00
Cameron
dd7af9b222 Update acceptance test for BS5. 2022-04-06 19:33:03 -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
6eff4cb5f7 Closes #4748 - Bootstrap5 Theme enhancements. Bootswatch 5. 2022-04-05 19:49:08 -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
f922456a8f Fixes #4706 'quote' bbcode in TinyMce and fixes fatal error under PHP 8.1 (LAN_WROTE) 2022-03-29 13:59:25 -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
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
06de1752d4 Optimized search form template for Bootstrap5 and Bootstrap3. 2022-03-07 11:39:09 -08:00
Cameron
c17b985441 Experimental schema template 2022-02-04 12:04:21 -08:00
Cameron
c3d65075d0 Extracted toGlyphEmbed() method from toGlyph() and fixed some backward compatibility issues. 2022-01-27 16:50:42 -08:00
Cameron
26afb93b4e Fixes #4682 - Dasherize News Tag SEF URL. 2022-01-27 10:49:53 -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
Moc
1779170933
Improved accessibility in Search (labels)
HTML is now valid
2021-12-21 11:53:29 +01:00