1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

5400 Commits

Author SHA1 Message Date
Nick Liu
6b75f341ad
#4938: Workaround for PHP 8.2.0 segmentation fault / assertion error
Casting a `SimpleXMLElement` to an array should be equivalent to
`get_object_vars(…)` as far as I can tell.  At least all existing
tests pass and I don't see any visual regressions upon making this
change.

By replacing `get_object_vars(…)` with a cast to array, we sidestep
this PHP 8.2.0 bug: https://github.com/php/php-src/issues/10200

Fixes: https://github.com/e107inc/e107/issues/4938
2023-01-02 14:24:57 +01:00
Cameron
bdcdf5cf27 Fixes #4933 - Cron Last-Run value missing. 2022-12-31 10:12:14 -08:00
Nick Liu
cd5c94ecb4
eShims::strftime(): Ensure callable from format map is a closure
Otherwise, one might encounter `is_callable("dd")` and a
`function dd(…)` is defined, leading to that function being called
instead of the string being used directly as the replacement.
2022-12-29 21:52:47 +01:00
Cameron
08ad3170aa
Merge pull request #4926 from Jimmi08/patch-1
Issue #4925 Missing national character from toAscii()
2022-12-26 10:54:29 -08:00
Cameron
ec68c88910 Closes #4927 Extra options added to bbarea() 2022-12-18 18:36:36 -08:00
Jimako
86562b628e
missing national character from toAscii()
part fix for national https://github.com/e107inc/e107/issues/4925
2022-12-18 20:47:57 +01:00
Moc
159fc98009
Add label to rating template 2022-12-18 14:39:09 +01:00
Nick Liu
90ab73d9cc
PHP bug 66773 workaround in Hybridauth
In PHP 7.0.12 and earlier, a class could not be loaded with the same
name as another class in a different namespace.  This commit patches the
Hybridauth dependency to avoid PHP bug 66773.  Unfortunately, the fix
will be rolled back any time Hybridauth is updated or overwritten.

PHP bug link: https://bugs.php.net/bug.php?id=66773

(cherry picked from commit 539c3f1a672330d460a8cffa63adc63902ae4da4)
(cherry picked from commit 7994746dabe1ecfe15cc89c1fa14b7848113dc90)
2022-12-16 12:25:23 -06:00
Cameron
bc6d371942 Closes #4924 - sendEmail() updated. 2022-12-15 22:11:05 -08:00
Cameron
5f84a8253e Vendor folder upgrades:
- Upgrading hybridauth/hybridauth (v3.8.0 => v3.8.2)
- Upgrading guzzlehttp/psr7 (1.8.5 => 1.9.0)
- Upgrading matthiasmullie/minify (1.3.68 => 1.3.70)
- Upgrading phpmailer/phpmailer (v6.6.0 => v6.7.1)
2022-12-15 20:46:33 -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
f85de1ba5b Issue #3701 Tweaked code output. 2022-12-12 15:16:00 -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
9f7560ba37 Issue #4917 Possible fix for e_url_list distortion. Removed use of deprecated save_addon_prefs() method in favor of buildAddonPrefLists(). 2022-12-09 08:27:58 -08:00
Cameron
83d29f3114 Issue #4907 - tweaked cursor style, removed row hover. 2022-11-12 11:19:20 -08:00
Cameron
4c2ff6c37e Closes #4907 - Improved interface on database table verification form. 2022-11-12 11:14:37 -08:00
Cameron
ca32c2fbcc Issue #4906 - Added option for custom list button. 2022-11-07 13:05:18 -08:00
Cameron
2f4fdf9520 Closes #4906 - Allow for override of visibility for primary-id field during create/edit. 2022-11-06 09:16:25 -08:00
Cameron
ff18c0071d Updated default cURL user-agent. 2022-10-28 13:01:14 -07:00
Cameron
c41d2f44e8 Fixes #4890 - Quick fix for PHP8 undefined constant error. 2022-10-19 09:51:41 -07:00
Cameron
a1f6de6a37
Merge pull request #4873 from Jimmi08/patch-4
Fixes #4872 Add support for wrapper in custom menus
2022-09-29 12:21:25 -07:00
Cameron
43153ab662
Merge pull request #4865 from Deltik/fix/4779
Fixes: #4779 Login flow consistency: Do not use redirect in admin area login box
2022-09-29 12:14:12 -07:00
Jimako
26a1e070e1
Add support for wrapper in custom menus
Solves #4872
2022-09-11 17:36:47 +02:00
Nick Liu
00b1d754b0
Login flow consistency: Do not use redirect in admin area login box
The non-admin login flow does not perform a redirect, but the admin
login flow did. This led to an inconsistency in how the authentication
error message was passed.

Fixes: https://github.com/e107inc/e107/issues/4779
2022-09-07 12:32:02 -05:00
Jimako
782c416cb4
Fix for #4860 and correct fix for #3983 - correct second authorization
with continue on second auth there was no invalid login

CLOSES #4860
CLOSES #3983
2022-09-07 13:28:09 +02:00
Cameron
a181afcbd8 Issue #4826 Corrected static redirection. 2022-07-26 12:35:06 -07:00
Cameron
dbd8cee77e Closes #4827 - Page/Menu delete perm added. 2022-07-21 13:43:29 -07:00
Cameron
c4bcf0a663 Fixes #4826 - redirect dynamic content on static domain. 2022-07-19 16:32:33 -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
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
9c99f98940 Fixes #4792 - safestr fields were not being included in search queries. 2022-06-12 11:56:39 -07:00
Cameron
ce3f0be05a Fixes #4790 - e_DEBUG not defined. 2022-06-12 11:05:05 -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
782c51ff18 Issue #4783 Set SEO title/description limits high. 'cache_clear_all' event added. 2022-06-07 17:48:29 -07:00
Cameron
8bf3481eaf Added e107::getEvent()->triggered() for manually checking if an event has already been triggered. 2022-06-07 12:33:50 -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
fb529a536d Added aria-hidden to FontAwesome svg. 2022-06-05 17:56:32 -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
7c31d17f25 #4784 Fixes LiteSpeed compatibility with mod-rewrite flag. Corrected 'cache_clear' event trigger. 2022-06-02 13:46:15 -07:00
Cameron
5ddc27766d Composer update 2022-05-29 12:08:49 -07:00
Cameron
6f34dc9f29 Issue #4778 - Additional date-filter options added. 2022-05-22 13:19:21 -07:00
Cameron
9a198e4cc6 Removal of binary files. 2022-05-17 16:07:50 -07:00
Nick Liu
7994746dab
PHP bug 66773 workaround in Hybridauth
In PHP 7.0.12 and earlier, a class could not be loaded with the same
name as another class in a different namespace.  This commit patches the
Hybridauth dependency to avoid PHP bug 66773.  Unfortunately, the fix
will be rolled back any time Hybridauth is updated or overwritten.

PHP bug link: https://bugs.php.net/bug.php?id=66773

(cherry picked from commit 539c3f1a672330d460a8cffa63adc63902ae4da4)
2022-05-11 21:41:01 -05:00
Cameron
903f51561f Fixes #4766 User-audit login event data. 2022-05-10 10:21:05 -07:00