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

135 Commits

Author SHA1 Message Date
Nick Liu
f256b924ce
Fix all PHP 8.0 test failures 2020-11-30 12:55:00 +01:00
Cameron
072c1b3a90 Fixes #4268 - missing field in table definition. Tests added. 2020-11-29 14:05:14 -08:00
Cameron
5f43f5159c Fixes #2003 LAN_PLUGIN_PAGE_NAME and LAN_PLUGIN_DOWNLOAD_NAME were displayed on admin search page after clean install. 2020-11-28 12:44:00 -08:00
Nick Liu
7c2860bec2
Composer 2 compatibility: Installed package manifest format change 2020-11-02 13:05:10 -06:00
Cameron
80f0899771 Fix for Table alias detection failure when using more than 1 alias character. 2020-10-01 18:34:54 -07:00
Nick Liu
317f4f2a04
Removed intentionally malicious code from e_fileTest.php
To eliminate a malware scan false positive

Related: #4248
2020-09-28 02:16:38 -05:00
Nick Liu
4fbf4a93ca
Do not trigger user_login event if authentication fails
Related: #4236
2020-08-25 00:24:31 -05:00
Nick Liu
55882c75cb
Do not populate e_user_model as a logged in user if login failed
Fixes: #4236
2020-08-24 23:40:25 -05:00
Cameron
370fdb13f6 Test fixes. Email arraySet() test added. 2020-08-11 08:30:00 -07:00
Cameron
23f6a52f08 Issue #4206 - news category menu {active} shortcode typo fix. 2020-07-03 13:49:12 -07:00
Cameron
99016f5b4a Fix for error: session_start(): Failed to decode session object under some circumstances when 'db' method is used.
'session' set as default user tracking.
2020-07-01 13:02:58 -07:00
Cameron
582bd3f72c Fixes #4200 - check theme version is compatible and disable installation if necessary. 2020-07-01 13:00:34 -07:00
Cameron
e392d8c598 Extra parser test for script access. 2020-06-22 13:05:58 -07:00
Nick Liu
b074ad21b0
Updated tests to use v2.3.0 database fixtures 2020-06-19 11:15:54 -05:00
Cameron
c5347d1210 Some class renaming. 2020-06-13 13:18:37 -07:00
Cameron
1c8e755edf Fixes #3726 - legacy shortcode wrapper conflict with email template. 2020-06-01 17:37:49 -07:00
Nick Liu
3b0a679524
Updated third-party PHP libraries
* phpmailer/phpmailer has been updated to fix an attachment filename
  escaping issue.
* hybridauth/hybridauth has been updated to add Patreon as a social
  login provider.
* ifsnop/mysqldump-php has been updated just 'cause.
2020-05-27 12:45:33 -05:00
Cameron
41056cb12a Improved e_date::computerLapse() test. 2020-05-18 09:32:58 -07:00
Cameron
1f502ce459 Fixes #4155 - database verification was failing when field name ended in a digit. 2020-05-16 13:14:29 -07:00
Cameron
d9037999dd Fixes #4166 - Check-all checkbox class conflict. 2020-05-15 11:47:07 -07:00
Cameron
bf00c3ad83 Bootstrap 4 Fixes on Usersettings page. 2020-05-13 13:31:43 -07:00
Cameron
0f2ab37d47 Backward compatibility fixes. 2020-05-06 16:15:52 -07:00
Cameron
25f580ce2f Fixes #3793 TinyMce video tags fix and expansion of allowed attributes. 2020-05-05 10:14:38 -07:00
Cameron
14e8a28d2d Debug Test. 2020-05-04 12:30:15 -07:00
Cameron
ad7caf78e8 Fix for theme render test. Disabled debug routines when inactive. Bootstrap3 moved modal to footer. Code cleanup. 2020-05-04 12:10:22 -07:00
Cameron
db356fdc51 Issue #4058 - More tests added. 2020-05-01 13:02:07 -07:00
Cameron
e4de8502c5 Fixes #3926, #4135 - support for attributes onchange, onclick etc. when script access is enabled. 2020-04-30 14:52:44 -07:00
Cameron
c7fe56f525 Issue #4058 Pre/Code tag TinyMce line-break issue and tests. 2020-04-29 12:46:33 -07:00
Nick Liu
01404fa9c6
Blank out core_image.php in repo
This file is basically always going to be outdated in the development
tree. Use the build artifact files for integrity verification.

Tests have also been modified not to use this file.
2020-04-29 11:43:25 -05:00
Cameron
87a717dac3 Addon validation check moved to separate method. Test added. 2020-04-24 11:58:51 -07:00
Cameron
6677e75fcb toImage() Added support for native image lazy-loading. See https://addyosmani.com/blog/lazy-loading/ for more info. 2020-04-17 12:02:10 -07:00
Cameron
4424c9906b LandingZero theme removed from core and moved to its own repo: https://github.com/e107inc/landingzero 2020-04-13 16:43:25 -07:00
Cameron
1d4bc0e95a Corrected internal parser conflict when code/pre tags contained curly brackets. 2020-04-12 12:03:03 -07:00
Cameron
6068cf1d63 Form test update. 2020-04-11 11:04:07 -07:00
Cameron
bd647b1514 Improved debugging info on social login update failure. 2020-04-09 10:03:42 -07:00
Nick Liu
d53f4f6338
e107_tests: Dependency pinning to PHP 5.6 2020-04-03 22:02:05 -05: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
00d171473e
Validation bits improvement for e_file_inspector
Now File Inspector detects old files regardless of their hash value.
2020-03-27 17:06:15 -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
Nick Liu
b8ed70693f
Restored JSON core image generator for performance
PDO SQLite was performing unacceptably poorly.
Let's just load the entire integrity image into RAM…
2020-03-27 17:06:13 -05:00
Nick Liu
90bdc88d55
Performance of e_file_inspector_sqlphar::pathToDefaultPath()
Optimized performance of e_file_inspector_sqlphar::pathToDefaultPath()
by eliminating expensive method calls
2020-03-27 17:06:13 -05:00
Nick Liu
bb1c32489c
Add a version filter to e_file_inspector::getPathIterator() 2020-03-27 17:06:12 -05:00
Nick Liu
0494000356
Rewrote e_file_inspector validation constants
Now uses bit flags, as the previous approach of "overriding" the
validation code may hide information.  Previously,
e_file_inspector::VALIDATION_FAIL could be overridden by
e_file_inspector::VALIDATION_OLD.  Now, e_file_inspector::VALIDATED_HASH
and e_file_inspector::VALIDATED_UPTODATE provides information about
both.
2020-03-27 17:06:12 -05:00
Nick Liu
0e7ad8a1b0
Rewrite e_file_inspector implementation: Use SQLite phar 2020-03-27 17:06:11 -05:00
Deltik
20dbdefb77
Began work on the core_image.php reader 2020-03-27 17:06:10 -05:00
Cameron
852ab5a32f Related to Issue #3741 - Incorrect encoding of a plugin language file could cause json encoding to fail. 2020-03-24 13:57:05 -07:00
Cameron
5471a84746 Fixes #4111 Inconsistent results under some circumstances with e107::getDb()->retrieve(). Tests have been added to this commit. 2020-03-13 15:06:26 -07: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
429a61a6ee Added another date test for the future. 2020-03-07 10:02:32 -08:00