1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00

554 Commits

Author SHA1 Message Date
Cameron
14862f0463 PHP8 Warning removal. 2021-01-01 10:45:26 -08:00
Cameron
8906cf1e26 When using Bootstrap 5 and no template is found, fallback to bootstrap 4 template if present in core folder. 2020-12-31 11:46:53 -08:00
Cameron
072c2a129a Bootstrap5 tweaks. Added support for Brazilian Portuguese. 2020-12-30 07:16:18 -08:00
Cameron
10ad436e28 Support for Bootstrap5. Clear cache in theme manager when choosing themes. 2020-12-29 12:43:25 -08:00
Cameron
94f772577a trackback plugin removed. 2020-12-29 10:04:33 -08:00
Cameron
6ed9ad3e0d Simplified inAdminDir(). 2020-12-27 12:13:51 -08:00
Cameron
026415b476 Moved the "in admin area" check into its own method. Added a test for it. Removed the outdated user/usersettings check. 2020-12-27 11:25:48 -08:00
Cameron
51df14c054 Code optimization 2020-12-27 09:50:21 -08:00
Cameron
7dfac0dcfa Issue #4299 - PHP8 compatibility fixes. 2020-12-25 10:23:56 -08:00
Cameron
812b7cbcb3 Code cleanup. Moved checkvalidtheme() out of class2.php and into e_theme as initTheme() 2020-12-21 17:46:32 -08:00
Cameron
630f3f415f Improved detection of deprecated functions/methods and display in DEBUG mode: deprecated. 2020-12-21 10:00:28 -08:00
Cameron
153cf33aa7 Fix test for PHP 5.6 2020-12-20 13:44:18 -08:00
Cameron
bdb4104f9c Moved parseheader() to e107 class as renderLayout() Added test. 2020-12-20 13:25:03 -08:00
Cameron
b0fc50890b Code optimization 2020-12-19 09:50:29 -08:00
Cameron
5b82c292b1 Code cleanup 2020-12-18 19:55:12 -08:00
Cameron
f5153bf640 Updating of deprecated method usage. Removal of old files. Log tests added. 2020-12-18 09:39:02 -08:00
Cameron
44e260b121 Code cleanup and optimization 2020-12-14 16:21:48 -08:00
Cameron
a8c79eda5b e107::wysiwyg() test. Still needs some work for reliable result. 2020-12-12 20:10:41 -08:00
Cameron
c1f5a6f8dc Increase speed of TinyMce footer. 2020-12-12 12:40:26 -08:00
Cameron
cf14705535 Code speed optimization 2020-12-12 11:32:23 -08:00
Cameron
f605ddc552 Code optimization and cleanup. 2020-12-10 15:52:48 -08:00
Cameron
7229aa6c50 Preparations for WebP conversions. e107::title() added to eventually replace defining e_PAGETITLE. 2020-12-08 18:15:08 -08:00
Cameron
b4596dda47 Old PHPThumb class removed. (Replaced by Intervention) 2020-12-06 11:33:09 -08:00
Cameron
86690cee65 Parser staticUrl() test and JS manager addLink() test added. 2020-12-03 14:20:34 -08:00
Cameron
69cb52e848 staticUrl() to always returns a full path. 2020-12-03 10:31:19 -08:00
Cameron
f621aeaa56 e107::link() now supports a plain HTML string. Useful for font preloading.
eg. e107::link('rel="preload" href="{THEME}fonts/fontawesome-webfont.woff2?v=4.7.0" as="font" type="font/woff2" crossorigin');
Bootstrap automatic font preload added.
2020-12-03 08:22:51 -08:00
Cameron
c9bc789b79 Added an option for pre-loading of library assets. More info: https://web.dev/uses-rel-preload/ 2020-12-02 13:17:23 -08:00
Nick Liu
52ecd679e6
Replaced JavaScript minifier with one that works with PHP 8.0
(Looks like tedivm/jshrink is abandoned)
2020-11-30 12:55:03 +01:00
Nick Liu
f256b924ce
Fix all PHP 8.0 test failures 2020-11-30 12:55:00 +01:00
Cameron
cc223aa7f6 Fixes #4262 - Inaccurate "include" path debug message. 2020-11-02 10:30:41 -08:00
Cameron
be958eb708 Allow SEF-URL generation to function in CLI mode without 'e_MOD_REWRITE' enabled. (must still be 'active' in prefs) 2020-08-12 14:09:42 -07:00
Cameron
0c8668ee51 PHP Error removal when using CLI. 2020-08-11 09:57:39 -07:00
Cameron
38cdc473fb Removed redundant PHP tags from LAN files. 2020-08-11 09:36:21 -07:00
Nick Liu
339765bf0e
e_db_pdo: Throw exception instead of fatal erroring on connect fail
Now e_db_pdo failures to connect to the database are catchable
2020-06-19 11:15:56 -05:00
Cameron
c5347d1210 Some class renaming. 2020-06-13 13:18:37 -07:00
Nick Liu
82587d8708
core_image.phar was being looked up at the wrong path
Correcting a regression from e7a79edcd0993f8a4078ceb0321290ac7864ceba

Fixes: #4164
2020-05-13 16:14:08 -05:00
Cameron
e7a79edcd0 Moved core-image to e107_system/ and renamed to core_image.phar 2020-05-11 13:28:01 -07:00
Cameron
8c254bccd6 Issue #4146 - Fixed user profile navigation (next/prev) for legacy, bootstrap3 and bootstrap4 themes.
Closes #4021 - Added support for independent core templates for legacy, bootstrap3 and bootstrap4 templates.
2020-05-08 14:34:34 -07:00
Nick Liu
7291ebc8b1
Fixes #4114 - Better file inspector corruption warning message
Now advises admins to reupload using binary mode if the admin uploads
files with FTP
2020-04-29 10:50:50 -05:00
Cameron
326305f5f2 Removed old deprecated global $e107_debug. Cleaned up debug_handler.php (e107_debug class) 2020-04-26 13:32:18 -07:00
Nick Liu
a04db4e2c8
Hotfix: Don't fatal error if core_image.php is corrupt 2020-03-29 15:56:33 -05:00
Nick Liu
6095c94de3
Minimum viable rewrite of File Inspector frontend 2020-03-27 17:06:14 -05:00
Nick Liu
6f6556178f
e_file_inspector_json_phar: Smaller core image
e_file_inspector_json_phar is an extended implementation of
e_file_inspector_json that encapsulates a JSON core image into a
gzip-compressed phar.

This results in space savings of over 60% compared to plain JSON.
2020-03-27 17:06:14 -05:00
Deltik
20dbdefb77
Began work on the core_image.php reader 2020-03-27 17:06:10 -05:00
Cameron
a200d312d8 Added e107::getThumb() to get thumbnailer class. Added a test for it. Styling fix for admin-ui grid. 2020-03-09 13:41:00 -07:00
Cameron
1925ce5264 Three dependencies updated and moved to vendor directory:
PHPMailer (upgraded to v6 - more testing required)
JsShink
Mysqldump-php
2020-02-29 11:56:05 -08:00
Cameron
331aa5f99e Interface fixes and refactoring to e107 conventions/standards. 2020-02-28 10:33:50 -08:00
Nick Liu
dc66b508bf
Factory for e_user_provider 2020-02-19 18:25:25 +01:00
Nick Liu
a91fa2c9b8
Don't duplicate Hybridauth config in e107::getHybridAuth() 2020-02-19 17:11:26 +01:00
Nick Liu
91bfc1df23
Core modifications to support Hybridauth 3
- MOD: Replaced e107::getPref('social_login') with
       SocialLoginConfigManager::getValidConfiguredProviderConfigs()
- FIX: signup_shortcodes updated with new social login providers
- MOD: e107::filter_request() code de-duplication: HTTP 400 exits
- MOD: Deprecated e107::getHybridAuth() to discourage direct access to
       third-party dependency Hybridauth
- FIX: Updated e_user_provider for Hybridauth 3
- FIX: e_user::tryProviderSession() and Hybridauth 3
- NEW: Dynamic auth provider support in social_adminarea
- NEW: Database migration for social plugin's social_login pref
2020-02-17 10:38:49 +01:00