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

13866 Commits

Author SHA1 Message Date
Nick Liu
43792c4505
Tests: Fix "September" behavior difference in testBuildDateLocale()
Whether "Sep" or "Sept" is the short month name for "%h" apparently
depends on `DateTime` or ext-intl, not on whether Microsoft Windows is
used.  Or something like that.  PHP is weird…
2022-12-29 21:55:12 +01: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
Nick Liu
9abac0970b
Tests: Correct Codeception method signature in \Helper\Base::_before() 2022-12-29 16:54:11 +01:00
Cameron
bed9c3d5df
Merge pull request #4931 from Deltik/fix/4929
Fixes #4929: Fix type mismatch in usage of `e107forum::getForumClassMembers()`
2022-12-26 10:58:07 -08: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
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
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
Cameron
6bad3580a8 Issue #4923 Tweaked to prevent conflict with <button value=''> . Allow HTML for FontAwesome icons. 2022-12-16 11:32:52 -08: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
Nick Liu
25a8b68753
Tests: Opt out of Git mitigation of CVE-2022-24765
We are always a single user when running unit tests in the container.

Suppresses this error:

```
$ git submodule update --init --recursive --remote
fatal: detected dubious ownership in repository at '/__w/e107/e107'
To add an exception for this directory, call:

	git config --global --add safe.directory /__w/e107/e107
```
2022-12-14 17:57:52 -06:00
Cameron
3f73b9ccca Issue #4918 Missing LANs. 2022-12-14 14:38:42 -08:00
Cameron
8e813f840b Issue #4922 - Tweaked event test output. 2022-12-14 14:26:08 -08:00
Cameron
83518a3078 Fixes #4923 - data-modal-submit attribute. Also setting data-modal-close to 'false' will hide the close button in the modal window footer. 2022-12-14 14:24:08 -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
0ae82a7d78
Merge pull request #4921 from Deltik/hotfix/tests/unit
Hotfix for tests failing after PHP 8.2 released
2022-12-11 10:18:23 -08:00
Nick Liu
8ae4fe15c0
Tests: Add new service versions: MariaDB 10.6, MariaDB 10.10
PHP 8.2: Not yet because of a segmentation fault:

```
php: /tmp/php-build/source/8.2.0/Zend/zend_builtin_functions.c:763: zif_get_object_vars: Assertion `!(((__ht)->u.flags & (1<<2)) != 0)' failed.
```
2022-12-10 19:50:02 -06:00
Nick Liu
0251897e41
Tests: Pin Xdebug 3.1.6 for PHP 7.2 through PHP 7.4
Xdebug 3.2.0 and newer dropped support for PHP 7.2 through PHP 7.4.

Source: https://bugs.xdebug.org/bug_view_page.php?bug_id=00002014
2022-12-10 17:24:38 -06:00
Nick Liu
9d4aba8438
Tests: Disable broken acceptance tests
Planning to add them back when I make them more robust…
2022-12-10 17:06:34 -06: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
aba1b27108 Fixes #4842 Removed PHP Warning. 2022-12-10 07:23:14 -08:00
Cameron
7c8ceea891 Fixes #4904 HTML markup 2022-12-10 07:17:42 -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
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
2e04931775 Fixes #4915 - uiAlert not displaying within admin area. 2022-12-05 14:19:36 -08:00
Cameron
a367b34aeb
Merge pull request #4913 from Deltik/fix/4912
Tests: MDEV-29446 workaround: Ignore COLLATE clause in SHOW CREATE TABLE
2022-12-01 12:48:06 -08:00
Nick Liu
ae3c57a5b4
Tests: MDEV-29446 workaround: Ignore COLLATE clause in SHOW CREATE TABLE
https://jira.mariadb.org/browse/MDEV-29446 changes the output of
`SHOW CREATE TABLE`, which MySQL and MariaDB 10.2 and older do not do.

To tolerate the new behavior, this change strips the `COLLATE` clause
from the `SHOW CREATE TABLE` output to ignore it.

Fixes: https://github.com/e107inc/e107/issues/4912
2022-11-30 17:57:48 -06: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
c50d1cf34c Issue #4900 - Tweak code. 2022-10-29 08:56:19 -07:00
Cameron
051161a61f Closes #4900 - Allow plugins to override the check_email() function. 2022-10-29 08:40:21 -07: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
Cameron
b90ed712f9
Merge pull request #4896 from Jimmi08/patch-1
Fixes #4895 - incorrect message within chatbox plugin
2022-10-29 08:26:51 -07:00
Cameron
ff18c0071d Updated default cURL user-agent. 2022-10-28 13:01:14 -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
322e57eeda Closes #4887 - Updated plupload to v2.3.9 2022-10-19 10:14:35 -07:00
Cameron
c41d2f44e8 Fixes #4890 - Quick fix for PHP8 undefined constant error. 2022-10-19 09:51:41 -07:00
Cameron
ae6c117509
Merge pull request #4884 from Jimmi08/patch-1
Closes #4883 added wrapper support on fpw page.
2022-10-12 15:05:50 -07: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
Cameron
8f93c945f1
Merge pull request #4877 from e107inc/dependabot/composer/e107_tests/twig/twig-3.4.3
Bump twig/twig from 3.4.1 to 3.4.3 in /e107_tests
2022-10-12 15:01:53 -07:00