camer0n
4467ad32b8
Fixes #5091 Fixes PHP Notices/Warnings and sends some cron execution errors to error_log.
2023-10-25 18:01:17 -07:00
camer0n
64cf23a06e
Closes #5062 - common favicon method for frontend and backend.
2023-10-17 10:22:11 -07:00
camer0n
322eaa972f
Fixes #5090 - default value can now be set if the value is 0 or empty.
2023-10-16 16:23:52 -07:00
camer0n
1a019e671d
Fixes #5089 - Admin-UI: custom true/false values when inline editing is disabled.
2023-10-13 10:51:44 -07:00
camer0n
dd9c011fdd
Closes #4804 - Conversion of diacritics in name2id()
2023-09-28 09:36:31 -07:00
camer0n
720ea0c03d
Fixes #5080 - Undefined constant.
2023-09-26 14:12:55 -07:00
camer0n
26f393b7ab
Issue #5083 - Inline editor order fix for userclasses etc.
2023-09-25 10:07:48 -07:00
camer0n
cb1bbc7f3c
#5079 PHP 8.2 notice removal
2023-09-18 13:43:43 -07:00
Nick Liu
dd36fbd51d
Unify logic of e_user_model::checkAdminPerms() and getperms()
...
Along with extensive documentation, `getperms()` is now deprecated and
its replacements now have first-class support:
* `e_user_model::checkAdminPerms()` and `getperms()` both use
`e_userperms::simulateHasAdminPerms()`.
* `e_user_model::checkPluginAdminPerms()` and `getperms('P', …, …)`
both use `e_userperms::simulateHasPluginAdminPerms()`.
----
Partially reverts: https://github.com/e107inc/e107/commit/44526b43
Reverts: https://github.com/e107inc/e107/commit/001799cb
Fixes: https://github.com/e107inc/e107/issues/5064
2023-09-09 12:03:14 +02:00
camer0n
44526b435c
Issue #5064 - Draft fix for user impersonation (getperms())
2023-09-08 14:18:06 -07:00
camer0n
1ef0cc3352
PHPDoc fix.
2023-09-01 07:31:52 -07:00
camer0n
3af99c70cd
HybridAuth patch for PHP5.6
2023-08-24 17:18:22 -07:00
camer0n
9aa8de4f7d
Issue GHSA-92fr-7h4f-22pp
2023-08-22 13:28:10 -07:00
camer0n
9949a297f6
HybridAuth upgrade v3.9.0 => v3.10.0
2023-08-22 12:10:30 -07:00
Nick Liu
b623868756
db_verify::getIndex(): Support index_col_name optional parts
...
In the MariaDB `CREATE TABLE` [`index_definition`](https://mariadb.com/kb/en/create-table/#index-definitions ),
the `index_col_name` could have an optional length and a sort order:
```
index_definition:
{INDEX|KEY} [index_name] [index_type] (index_col_name,...) [index_option] ...
{{{|}}} {FULLTEXT|SPATIAL} [INDEX|KEY] [index_name] (index_col_name,...) [index_option] ...
{{{|}}} [CONSTRAINT [symbol]] PRIMARY KEY [index_type] (index_col_name,...) [index_option] ...
{{{|}}} [CONSTRAINT [symbol]] UNIQUE [INDEX|KEY] [index_name] [index_type] (index_col_name,...) [index_option] ...
{{{|}}} [CONSTRAINT [symbol]] FOREIGN KEY [index_name] (index_col_name,...) reference_definition
index_col_name:
col_name [(length)] [ASC | DESC]
index_type:
USING {BTREE | HASH | RTREE}
index_option:
[ KEY_BLOCK_SIZE [=] value
{{{|}}} index_type
{{{|}}} WITH PARSER parser_name
{{{|}}} COMMENT 'string'
{{{|}}} CLUSTERING={YES| NO} ]
[ IGNORED | NOT IGNORED ]
reference_definition:
REFERENCES tbl_name (index_col_name,...)
[MATCH FULL | MATCH PARTIAL | MATCH SIMPLE]
[ON DELETE reference_option]
[ON UPDATE reference_option]
reference_option:
RESTRICT | CASCADE | SET NULL | NO ACTION
```
`db_verify::getIndex()` didn't handle this possibility, leading to a
database validity check failure despite the index actually existing.
Fixes: https://github.com/e107inc/e107/issues/5054
2023-08-17 17:27:26 +02:00
Cameron
0b6b28b455
Merge pull request #5048 from Jimmi08/patch-12
...
Fixes #4474 Admin-UI checkboxes with filter and batch.
2023-08-16 06:18:33 -07:00
Nick Liu
96666f176f
e_user_provider: Replace "${var}"-style string interpolation
...
Deprecated in PHP 8.2:
https://www.php.net/manual/en/migration82.deprecated.php#migration82.deprecated.core.dollar-brace-interpolation
Discussed in Gitter:
https://matrix.to/#/!srhnCKlMgxFeuSPXPb:gitter.im/$4QOsTBHp8DKFsmHotpHAzuAAX1Ky3m0n2R-jIsVlxUg
2023-08-08 13:53:34 +02:00
Jimako
724ee1be06
fix for type checkboxes and filtering #4474
...
FIX #4474
2023-07-28 20:29:29 +02:00
Cameron
2e81e37ca1
Merge pull request #5033 from Jimmi08/patch-10
...
Fixes #4517 UEF settings in plugin.xml - fix for parms
2023-07-10 12:24:24 -07:00
Cameron
1ee2e9f492
Merge pull request #5032 from Jimmi08/patch-9
...
Fixes #5031 for false error when deleting plugin DB field
2023-07-10 12:23:32 -07:00
Cameron
044481ab80
Merge pull request #5014 from Jimmi08/patch-6
...
Fixes #5013 False Error if UEF type DBField has no records
2023-07-10 12:21:13 -07:00
Jimako
43f0e1bcf1
Fix #4517 UEF settings in plugin.xml - fix for parms
2023-07-02 17:59:57 +02:00
Jimako
46a063a8f5
fix for false error when deleting plugin DB field #5031
...
https://github.com/e107inc/e107/issues/5031
2023-07-02 10:57:53 +02:00
Jimako
dd6bff4e76
partial fix for 4517 - fix for settings of plugin.xml
...
#4517
2023-07-02 09:09:25 +02:00
Nick Liu
714e9f9abe
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 539c3f1a67 )
(cherry picked from commit 7994746dab )
2023-06-22 12:31:28 -05:00
camer0n
7d8c6ad073
Fixes #5020 Error message removal.
2023-06-22 09:49:32 -07:00
camer0n
4cc9d8b085
Updated vendor packages:
...
hybridauth/hybridauth (v3.8.2 => v3.9.0)
ifsnop/mysqldump-php (v2.9 => v2.12)
guzzlehttp/psr7 (1.9.0 => 1.9.1)
matthiasmullie/minify (1.3.70 => 1.3.71)
phpmailer/phpmailer (v6.7.1 => v6.8.0)
2023-06-22 09:47:35 -07:00
camer0n
23df6c1072
Issue #5016 - Avoid sending 'Array' in hidden field.
2023-06-20 10:04:07 -07:00
Jimako
bfa76f2270
Update user_extended_class.php
...
fix for #5013
2023-06-15 19:27:55 +02:00
Cameron
c2bc635774
Fixes #5005 GET values containing arrays are no longer corrupted.
2023-06-06 15:46:50 -07:00
Cameron
3b4c583531
Upgraded Bootstrap to v5.2.3
2023-04-21 11:17:43 -07:00
Cameron
14f5142c66
Fixes #4994 - Canonical URL domain should always be the same.
2023-04-17 15:06:00 -07:00
Cameron
c3517641e0
Fontawesome updated to 5.15.4
...
Bootswatch updated to 5.2.3 in Bootstrap5 theme and fontawesome loading switched to css. (instead of js)
2023-04-12 15:32:48 -07: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
3feccca0ec
Fixes #4799 . Powerpoint file-types added. Issue #4986 Added critical error constant as example to e107_config.php during installation.
2023-03-24 13:06:30 -07:00
Cameron
4d1f1173dd
Issue #4986 Added option to send an email when a critical error occurs. (one email per day)
...
Usage: Add the following to e107_config.php, replacing the email address with your own.
define('e_EMAIL_CRITICAL', 'myemail@somewhere.com ');
2023-03-23 10:56:56 -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
Jimako
28134cd1a4
deprecated static::method() calls for PHP 8.2
...
discussed in #4987
2023-03-08 20:20:33 +01:00
Cameron
b57a431855
Issue #4778 - Corrected calculation of date search period.
2023-02-27 09:48:35 -08:00
Nick Liu
a500035172
news: Fix category link in both breadcrumb and menu
...
Fixes : #4982
2023-02-19 23:49:40 +01:00
Cameron
d320ee926e
Issue #4969 Added support for FontAwesome v6
2023-02-05 13:48:50 -08:00
Cameron
e6dc147074
Closes #4952 - Update selectize.js to v0.15.2
2023-01-13 10:04:39 -08:00
Cameron
fe8fb34cb4
Closes #4941 - Support for cURL POST, PUT, JSON.
2023-01-04 09:31:58 -08:00
Cameron
3bdb545b07
Merge pull request #4939 from Deltik/fix/4938
...
#4938 : Workaround for PHP 8.2.0 segmentation fault / assertion error
2023-01-03 09:11:59 -08:00
Cameron
1b578652c4
Fix for debug info failing in some cases.
2023-01-03 08:46:19 -08:00
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