Moc
d32e87f875
Revert "Also add LAN_TAG and LAN_TAGS to lan_admin.php"
...
This reverts commit a951e66f35 .
2021-04-19 20:19:11 +02:00
Moc
a951e66f35
Also add LAN_TAG and LAN_TAGS to lan_admin.php
2021-04-19 20:17:21 +02:00
Moc
0584c1a35d
Add some generic LAN to English.php
2021-04-19 20:13:27 +02:00
Moc
f16e2ad340
#4490 - Should fix autofill in usersettings (new password)
2021-04-19 19:29:33 +02:00
Moc
4ef740674c
Update placeholder image link
...
Apparently placehold.it has been replaced with placeholder.com
2021-04-17 14:04:52 +02:00
Nick Liu
dc3ac65a70
Fix implementation of e_front_model::sanitize()
...
Handles recursive data field validation now
2021-04-17 02:57:10 -05:00
Nick Liu
ce7f3b5d56
Add: e_parse::toFlatArray() and e_parse::fromFlatArray()
...
Utility functions to convert multi-dimensional arrays to slash-delimited
single-dimensional arrays and vice versa
2021-04-17 02:56:12 -05:00
Cameron
f6f63b680f
Merge pull request #4473 from Deltik/fix-tests
...
Fix failing tests since 2021-01-10
2021-04-16 13:46:52 -07:00
Nick Liu
bdc5c20df2
pluginsTest::testPluginScripts(): Standard sort file order
2021-04-16 15:46:14 -05:00
Cameron
51024a5e8e
Fix PHP errors under some circumstances.
2021-04-16 13:43:26 -07:00
Nick Liu
d83c31fb8c
Stub e_date::computeLapse() in e_parse_shortcodeTest
...
Prevents this flaky error:
---------
1) e_parse_shortcodeTest: User shortcodes
Test tests/unit/e_parse_shortcodeTest.php:testUserShortcodes
{USER_DAYSREGGED} != sc_user_daysregged()
Failed asserting that two strings are equal.
- Expected | + Actual
@@ @@
-'3 years, 2 months, 1 day, 5 hours, 17 minutes, 16 seconds ago'
+'3 years, 2 months, 1 day, 5 hours, 17 minutes, 15 seconds ago'
#1 /__w/e107/e107/e107_tests/tests/unit/e_parse_shortcodeTest.php:1591
#2 /__w/e107/e107/e107_tests/tests/unit/e_parse_shortcodeTest.php:767
2021-04-13 15:12:39 -05:00
Nick Liu
687db04bcb
Revert "Removed failing test with no assertions"
...
This reverts commit 22e3f5383e5a62a3a8a1b6f7828c515402aa8123.
2021-04-13 15:03:37 -05:00
Nick Liu
7cfc79d335
Tests: Removed weird 17 rows threshold for clearing user_extended_struct
...
Should fix rare flaky
e107_user_extendedTest::testUserExtendedAllShortcode()
2021-04-13 15:03:37 -05:00
Nick Liu
e261e4fb2d
Fix undefined constants when e107Test::testGetCoreTemplate() runs first
...
---------
1) e_navigationTest: Admin links plugins
Test tests/unit/e_navigationTest.php:testAdminLinksPlugins
Error: ;1m [Error] Undefined constant "E_16_PLUGMANAGER"
#1 /__w/e107/e107/e107_handlers/sitelinks_class.php:882
#2 /__w/e107/e107/e107_tests/tests/unit/e_navigationTest.php:528
---------
2) e_navigationTest: Admin links legacy
Test tests/unit/e_navigationTest.php:testAdminLinksLegacy
Error: ;1m [Error] Undefined constant "E_32_MAIN"
#1 /__w/e107/e107/e107_handlers/sitelinks_class.php:735
#2 /__w/e107/e107/e107_handlers/sitelinks_class.php:887
#3 /__w/e107/e107/e107_tests/tests/unit/e_navigationTest.php:374
---------
3) e_formTest: Render value
Test tests/unit/e_formTest.php:testRenderValue
Error: ;1m [Error] Undefined constant "ADMIN_TRUE_ICON"
#1 /__w/e107/e107/e107_tests/tests/unit/e_formTest.php:943
---------
4) scriptsTest: Admin scripts
Test tests/unit/scriptsTest.php:testAdminScripts
Error: ;1m [Error] Undefined constant "E_32_MAIN"
#1 /__w/e107/e107/e107_handlers/sitelinks_class.php:735
#2 /__w/e107/e107/e107_handlers/sitelinks_class.php:887
#3 /__w/e107/e107/e107_admin/includes/infopanel.php:110
#4 /__w/e107/e107/e107_admin/includes/flexpanel.php:66
#5 /__w/e107/e107/e107_admin/admin.php:63
#6 /__w/e107/e107/e107_tests/tests/unit/scriptsTest.php:140
#7 /__w/e107/e107/e107_tests/tests/unit/scriptsTest.php:27
---------
5) e_formTest: Render value inline
Test tests/unit/e_formTest.php:testRenderValueInline
Error: ;1m [Error] Undefined constant "ADMIN_FALSE_ICON"
#1 /__w/e107/e107/e107_handlers/form_handler.php:5829
#2 /__w/e107/e107/e107_tests/tests/unit/e_formTest.php:1029
---------
6) e_navigationTest: Admin links sub
Test tests/unit/e_navigationTest.php:testAdminLinksSub
Error: ;1m [Error] Undefined constant "E_32_MAIN"
#1 /__w/e107/e107/e107_handlers/sitelinks_class.php:735
#2 /__w/e107/e107/e107_handlers/sitelinks_class.php:887
#3 /__w/e107/e107/e107_tests/tests/unit/e_navigationTest.php:418
---------
7) e_parse_shortcodeTest: Admin shortcodes
Test tests/unit/e_parse_shortcodeTest.php:testAdminShortcodes
Error: ;1m [Error] Undefined constant "E_16_NEWS"
#1 /__w/e107/e107/e107_core/shortcodes/batch/admin_shortcodes.php:518
#2 /__w/e107/e107/e107_core/shortcodes/batch/admin_shortcodes.php:602
#3 /__w/e107/e107/e107_handlers/shortcode_handler.php:1130
#4 e_parse_shortcode->doCode
#5 /__w/e107/e107/e107_handlers/shortcode_handler.php:996
#6 /__w/e107/e107/e107_handlers/e_parse_class.php:823
#7 /__w/e107/e107/e107_tests/tests/unit/e_parse_shortcodeTest.php:1588
#8 /__w/e107/e107/e107_tests/tests/unit/e_parse_shortcodeTest.php:220
---------
8) scriptsTest: Admin includes
Test tests/unit/scriptsTest.php:testAdminIncludes
Error: ;1m [Error] Undefined constant "E_32_MAIN"
#1 /__w/e107/e107/e107_handlers/sitelinks_class.php:735
#2 /__w/e107/e107/e107_handlers/sitelinks_class.php:887
#3 /__w/e107/e107/e107_admin/includes/categories.php:22
#4 /__w/e107/e107/e107_tests/tests/unit/scriptsTest.php:140
#5 /__w/e107/e107/e107_tests/tests/unit/scriptsTest.php:36
--
There was 1 failure:
---------
1) e107Test: Load admin icons
Test tests/unit/e107Test.php:testLoadAdminIcons
E_16_FACEBOOK is missing from admin_icons_template
#1 /__w/e107/e107/e107_tests/tests/unit/e107Test.php:1054
2021-04-13 15:03:36 -05:00
Nick Liu
c68604b971
Don't assume an empty table in e_db_abstractTest::testIsEmpty()
2021-04-13 15:03:36 -05:00
Nick Liu
99aa39a8e5
e107_tests: Removed usages of var_dump()
2021-04-13 15:03:36 -05:00
Cameron
b06e0e16fb
Fixes #4484 - Modification of extended field of type EUF_ADDON causes corrupted data.
2021-04-13 11:28:25 -07:00
Cameron
7e6c077462
HybridAuth PHP5.6 compatibility patch.
2021-04-12 14:32:46 -07:00
Cameron
ee464286e0
BC Fix for contact LANs.
2021-04-12 14:31:27 -07:00
Cameron
8f7ab86413
Fixes #4486 - Invalid attributes not being fully filtered.
2021-04-12 11:13:37 -07:00
Cameron
444d8d6dc0
Issue #4486 - iframe accepted attributes updated
2021-04-12 11:01:58 -07:00
Cameron
096bfb2dc4
Removed unused package.
2021-04-12 10:37:15 -07:00
Cameron
9e091aedf4
Added new hybridauth providers. (Apple, Pinterest etc)
2021-04-12 10:32:24 -07:00
Cameron
826b777174
Vendor packages update.
2021-04-12 10:00:18 -07:00
Cameron
2862e18db9
Issue #4471
2021-04-06 18:41:15 -07:00
Cameron
920a881898
Issue #2898 - comment btn-sm class missing.
2021-04-06 12:14:40 -07:00
Cameron
240c088eff
Issue #4478 - Fixes decorate_download_location() and check_download_limits() 'missing function' errors.
2021-04-06 10:40:58 -07:00
Cameron
6d0810af0d
Fixes #4468 - quick debugging of json data using type: 'text' and hidden() field fix.
2021-03-31 15:14:58 -07:00
Cameron
5ed2440272
Issue #4473 - some merged code from Deltik
2021-03-31 13:04:20 -07:00
Cameron
8ff427cfc4
#Issue #4473 - some merged code.
2021-03-31 12:35:26 -07:00
Cameron
90ba858059
Added HTTP 503 header to sitedown.php and additional bot to robots list.
2021-03-31 12:14:18 -07:00
Cameron
2904f1e792
All Unit tests passing locally.
2021-03-31 12:11:23 -07:00
Cameron
05df416dbd
Bootstrap 5 tweaks
2021-03-29 17:52:19 -07:00
Cameron
0876e0d43b
Contact LANs updated to v2 specifications. BC fix included.
2021-03-29 17:50:51 -07:00
Cameron
dbefbe4630
Removed legacy contact info default.
2021-03-29 16:27:32 -07:00
Cameron
d7ef419553
Fix for social icons not displaying on maintenance 'site down' page.
2021-03-29 16:19:12 -07:00
Cameron
b7bb4cd3d2
Fixes #4470 Incorrect ajax output in theme manager.
2021-03-29 12:16:12 -07:00
Cameron
9053e6170f
Fixes #4465 Some nested comments were not displaying. The number of DB queries when nested comments is active has now been dramatically reduced. Comments unit test added.
2021-03-25 13:52:05 -07:00
Cameron
56d4855192
Fixes #4464 - Updated comment render() example to match functionality.
2021-03-25 11:23:47 -07:00
Cameron
87521f330f
Issue #4458 NULL value example added to blank plugin's admin-ui.
2021-03-23 11:05:04 -07:00
Cameron
283b9340b5
Fixes #4459 $HEADER and $FOOTER within a class/method when old themes in use. Disable BS5 in admin area
2021-03-23 10:17:22 -07:00
Moc
2c8ed5b80c
Fix PHP fatal error
...
Occurred when performing a v1 to v2 upgrade
2021-03-22 21:27:52 +01:00
Moc
0057d24ede
Fix upgrade routine
...
Was broken in 402d1f4126 (addslashes was default with WriteArray())
2021-03-22 21:27:22 +01:00
Moc
cdc61c90ee
Forum update fixes (duplicate SEF & logging)
2021-03-22 20:31:07 +01:00
Cameron
79ded794b1
Initial Bootstrap 5 theme added.
2021-03-22 11:43:13 -07:00
Cameron
c33b91ee5c
Issue #4368 Fixed hardcoded string for 'related' content. Now uses tablerender(). Shortcode processing of {---CAPTION---} added.
2021-03-22 11:26:51 -07:00
Cameron
21f8fdcbf6
Fixes #2392 - Theme-Manager > Tools > Create (ie. theme-copy tool) updated to work with libraries, layouts, prefs etc.
2021-03-21 20:15:03 -07:00
Cameron
ad946e6a04
Merge pull request #4457 from Serios/patch-16
...
Fixing an issue with gallery prettyPhoto plugin
2021-03-21 17:55:53 -07:00
Cameron
307a8208c7
Merge pull request #4456 from Serios/patch-15
...
Fixing an issue with multilanguage values in Theme preferences
2021-03-21 17:54:19 -07:00
Serios
d17eeab43c
Fixing an issue with gallery prettyPhoto plugin
...
.size() function was deprecated as of jQuery 1.8. And removed in jQuery 3.0. More information [here](https://api.jquery.com/size/ )
Using it, is causing prettyPhoto not to work, with newer versions of jQuery. It must be replaced with .length property
2021-03-20 10:31:18 +02:00