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
Deltik
bb16213b85
Fix for Codeception return code 1 with XML code coverage report
...
By explicitly excluding the tests folder from the coverage tokenizer
2020-03-06 19:17:16 -06:00
Cameron
91d69898df
Fix for e_form::name2id() when = and ? characters are detected is found.
2020-03-06 17:08:23 -08:00
Deltik
bdb78a186a
Fix for intermittently failing test involving LAN_SETSAVED
...
---------
1) lancheckTest: Is_utf8
Test tests/unit/lancheckTest.php:testIs_utf8
[PHPUnit_Framework_Exception] Constant LAN_SETSAVED already defined
#1 Codeception\Subscriber\ErrorHandler->errorHandler
#2 /__w/e107/e107/e107_languages/English/admin/lan_admin.php:262
#3 /__w/e107/e107/e107_handlers/e107_class.php:3156
#4 /__w/e107/e107/e107_handlers/e107_class.php:3182
#5 /__w/e107/e107/e107_admin/lancheck.php:18
#6 /__w/e107/e107/e107_tests/tests/unit/lancheckTest.php:18
#7 {closure}
2020-03-06 18:49:23 -06:00
Cameron
76dfad9311
Admin-UI: Fix for $adminMenu attribute 'modal-caption' not functioning. Use 'modal'=>true to enable first.
2020-03-06 14:18:57 -08:00
Cameron
6d0fb9e218
Fix for faulty srcset height value when using overrides and a default. Tests added.
2020-03-02 11:03:28 -08: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
Nick Liu
b3a30c0059
More logging for intermittent e_plugin test failures
2020-02-29 19:11:17 +01:00
Cameron
331aa5f99e
Interface fixes and refactoring to e107 conventions/standards.
2020-02-28 10:33:50 -08:00
Cameron
35e2e3b4aa
Merge pull request #4099 from Deltik/fix-3492
...
New 3rd-party PHP dependency manager for e107 core and HybridAuth upgrade.
2020-02-26 13:58:03 -08:00
Nick Liu
8c072e243b
social_setup upgrade renamed providers from HybridAuth 2 to Hybridauth 3
2020-02-25 14:34:29 +01:00
Nick Liu
a350eb41f6
Fixed errors in eIPHandlerTest::testAdd_ban() that broke all tests
2020-02-25 13:13:02 +01:00
Nick Liu
639943e7ed
Correct user_xup changed value in Steam social login provider
...
Info:
https://github.com/e107inc/e107/pull/4099#issuecomment-590579521
2020-02-25 12:48:00 +01:00
Cameron
22323b3c77
Added IPHandler test class.
2020-02-24 16:42:56 -08:00
Nick Liu
be84cf7c08
New interface for varied social login configuration fields
...
Uses the new e_user_provider::getFieldsOf() API
2020-02-24 22:50:48 +01:00
Nick Liu
f03e60dbd7
New API to get fields of each social login provider
...
(Not utilized in the admin frontend yet)
2020-02-23 21:47:36 +01:00
Nick Liu
379a963902
New API to detect if social login is enabled site-wide
...
The site-wide social login system is now backwards-compatible with how
the social_login_active core pref worked since commit
3b2d8333b62290688f64e061023669463fd8f04c.
social_login_active's least significant bit is now treated as a global
bit, so if it's not set, no other bits are allowed to be set. This
un-breaks all existing checks for whether social_login_active is empty.
Except in themes, the social_login_active check has been replaced with
an e_user_provider API to check if social login is enabled site-wide.
2020-02-22 23:55:20 +01:00
Cameron
ca61cd7de5
Issue #4086 Boolean admin-ui form element readParm/writeParm consistency.
2020-02-20 08:12:09 -08:00
Nick Liu
bc4ade5a27
Disable system/xup/test by default
...
Now guests can't snoop there unless the admin allows it.
Documentation has been improved accordingly.
2020-02-19 23:30:24 +01:00