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

477 Commits

Author SHA1 Message Date
camer0n
85a65281b2 Issue #5465 Converted remaining English language file. 2025-04-29 08:25:29 -07:00
camer0n
9626bc6f07 Issue #5476 Fix. 2025-04-26 06:51:14 -07:00
camer0n
9455504dda Issue #5476 Use a navigation icon instead of an alert. 2025-04-26 06:43:06 -07:00
camer0n
a9d20d8e93 Issue #5443 Replaced with non-deprecated counterparts and made sure deprecated items are displayed after running unit tests. 2025-04-22 17:44:17 -07:00
camer0n
935218b851 Issue #5476 Emulation tweaks. 2025-04-21 18:23:45 -07:00
camer0n
effb433b1d Issue #5476 - Emulation mode. (beta) 2025-04-21 17:03:52 -07:00
camer0n
5a040b64e2 Issue #5465 Fixed fallback. Added user error warning for missing LANs. 2025-04-11 08:58:51 -07:00
camer0n
e96ccf7ced Issue #5120 Backward compatibility fix. 2025-04-01 06:43:11 -07:00
camer0n
d4fcbfe1ea Issue #5120 Fix customization of folder paths for handlers and plugins. Updated dependencies.
'defaultdb' is now deprecated in new e107_config.php. Use 'db' instead.
2025-03-31 16:02:46 -07:00
camer0n
5047731c9b Check for minimum version of PHP 8. 2025-03-31 07:28:46 -07:00
camer0n
52041d406f Issue #5443 - PHP 8.4 fixes. 2025-03-16 12:48:18 -07:00
camer0n
61104c5c8e Issue #5399 - Exclude CLI from user nav audit. 2025-01-18 11:55:28 -08:00
camer0n
c90fd538f2 Closes #5399 User audit navigation logging option. 2025-01-18 11:49:01 -08:00
camer0n
2730f16af4 Fixes #5097 Site redirection not working with www. Moved to method. Test added. 2024-12-19 15:33:28 -08:00
camer0n
8711f503a1 Issue #5120 Return to multi-dimensional format for multisite plugin compatibility. 2024-04-08 16:02:44 -07:00
camer0n
6f6418fb79 Fixes #5220 - Database warning issue. 2024-03-26 10:06:43 -07:00
camer0n
63d3c075c3 Issue #5120 Use static methods. 2023-12-18 14:38:04 -08:00
camer0n
2359d0e368 Issue #5120 - Prevent warnings. 2023-12-04 17:52:48 -08:00
camer0n
dbcc26544a Issue #5120 - Reworked as object for increased flexibility. Some tweaking still to be done. 2023-11-29 16:08:14 -08:00
camer0n
2055720f6b Issue #5120 - Work in progress. Subject to change. 2023-11-29 10:17:52 -08:00
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
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
001799cb5f Issue #5064 - Added user object vars. 2023-09-08 14:25:29 -07:00
camer0n
44526b435c Issue #5064 - Draft fix for user impersonation (getperms()) 2023-09-08 14:18:06 -07:00
camer0n
5ff319cd5c Fixes #5052, Issue #5041 - Usersettings update redirect. 2023-08-16 07:52:07 -07:00
Cameron
fbcef7a3c6 Issue #4918 - Undefined constant fix. 2023-01-14 19:01:52 -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
31389dc7ca Issue #4777 - Added option to set URL for after logout has occurred. 2022-05-22 11:18:17 -07:00
Cameron
c2fc8fce0a Issue #4757 Prevent infinite loop and possible PHP 8.1 errors. 2022-04-21 10:54:43 -07:00
Cameron
025ff07aab Fixes #4737 Removal of type="text/javascript" and type="text/css" 2022-03-31 08:24:34 -07:00
Cameron
0d8f3e9086 PHPDoc fixes and code optimization. 2021-12-03 14:58:33 -08:00
Cameron
b180ff8757 Merge pull request #4559 from Deltik/fix/4527
Disable `USERTHEME` when `e_MENUMANAGER_ACTIVE`
2021-09-10 14:40:15 -07:00
Nick Liu
ca326d5273 Disable USERTHEME when e_MENUMANAGER_ACTIVE
Fixes: https://github.com/e107inc/e107/issues/4527
2021-09-10 09:56:27 +02:00
Nick Liu
20882920a0 Fix all PHP 8.1 test failures
* `strftime()` has been replaced with a polyfill based on `DateTime`.
* Explicit type casts/assertions added where required by PHP 8.1
* `filter_var(…, FILTER_SANITIZE_STRING)` replaced with `strip_tags()`
  or HTML entity encoding of quotation marks, depending on a guess of
  what the intended "sanitization" was
* `http_build_query()` usage type mismatches fixed
* Removed usages of the `FILE_TEXT` constant
* To avoid breaking PHP 5.6 compatibility (function return types),
  `e_session_db` no longer implements `SessionHandlerInterface`.
  Instead, the alternative non-OOP invocation of
  `session_set_save_handler()` is used instead to apply the session
  handler.
* The shim for `strptime()` still calls the native function if available
  but now suppresses the deprecation warning.

* `e_db_pdo` explicitly asks for `PDO::ATTR_STRINGIFY_FETCHES` to
  maintain consistent behavior with past versions of PHP.
* `e_db_mysql` explicitly sets `mysqli_report(MYSQLI_REPORT_OFF)` to
  maintain consistent behavior with past versions of PHP.

* Removed pointless random number generator seed from `banner` plugin
* Workaround for `COUNT(*)` SQL query in
  `validatorClass::dbValidateArray()` without a proper API for avoiding
  SQL injection
2021-09-04 15:06:19 +02:00
Nick Liu
ccf0f037aa #4299: Wrap more potentially undefined constants
In:
* Forums
* /e107_admin/menus.php
2021-07-13 13:10:59 +02:00
Cameron
c4f76c3687 Issue #4270 - perform all webp conversion checks within e_thumbnail class. WebP conversion now works with SEF media URLS. 2021-06-18 09:31:45 -07:00
Cameron
7302803a75 Issue #4270 Added .webp browser-support detection. Media-Manager "Convert to webp during render" can now be safely enabled and will temporarily fallback to the regular image if the browser does not support webp images. 2021-06-18 08:43:53 -07:00
Cameron
e425349661 Issue #3912 - Reverse lookup e_ROUTE from e_url.php 'legacy' entry. 2021-02-21 14:10:47 -08:00
Cameron
b0300f93bf Changed load order of Menus and Theme Layout detection. 2021-02-13 18:55:44 -08:00
Cameron
2337b075a8 Fixes #4346 - TinyMce parser issue. Hide side-panel help icon on legacy admin theme. 2021-02-05 18:31:54 -08:00
Cameron
e45a3a7b55 Admin template upgraded to v2 standards. Admin boot, header, footer cleanup. 2021-01-27 12:20:58 -08:00
Cameron
c045f2874c Clock-menu removed from code. Extra logTime entries added. Debug performance highlighting tweaks. 2021-01-25 07:57:24 -08:00
Cameron
11de1fc0f4 Memory optimization and more speed logging. 2021-01-24 17:16:49 -08:00
Cameron
93918849f4 Expanded on getperms() test. 2021-01-22 17:09:55 -08:00
Cameron
2e301d2c73 Admin login page now using the same auth routine as the main site.
e_MULTISITE_MATCH check added to main cookie() function.
2021-01-21 08:06:20 -08:00
Cameron
e57b1a9b61 Issue #4352 Added canonical for home page and frontpage setting. 2021-01-19 13:31:20 -08:00
Cameron
911d41a402 e107table class moved out of class2.php to e_render_class.php and renamed to e_render. BC fix added. 2021-01-18 08:52:10 -08:00
Cameron
419a0e727a Fix for HTML used on text_truncate(). Ignore setcookie() in CLI mode. 2021-01-18 07:40:17 -08:00
Cameron
f97dd307af Issue #4350 theme.php class must now use init() and tablestyle() (not __construct() ) 2021-01-17 07:27:28 -08:00