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

418 Commits

Author SHA1 Message Date
Cameron
b0d10199b7 Added getScope() to theme handler. Added more theme handler tests. Fixed duplicate entry in _blank/theme.xml 2021-02-11 08:51:02 -08:00
Moc
853cd70b88
Update help tooltip unit test so it passes
Changed in 5842e51f15
2021-02-10 19:27:24 +01:00
Cameron
0cd5381435 Fix theme shortcode login menu icons 2021-02-10 02:57:43 -08:00
Cameron
72c54371cc e107::getSession()->set will now accept multi-dimensional key format. Test added. Form-handler PHP8 fix. 2021-02-08 11:59:04 -08:00
Cameron
608c0c57b1 Extra test for e107::unserialize() with array input. 2021-02-08 08:49:39 -08:00
Cameron
c32e5bf1e2 e107::unserialize() will now return the array if the input is an array. Additional form-handler tests added for type: media, file and files. Admin-ui can now manage a change of field type from 'array' to 'json' without additional changes needed. 2021-02-08 08:44:44 -08:00
Cameron
0fd7ee6482 Fixes faulty parsing of _GET when debug is activated. Pref editor will now use var_export on arrays when debug mode is active. 2021-02-06 12:48:19 -08:00
Cameron
e121920d20 Fix for e_bbTest 2021-02-05 19:07:21 -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
5870fbdb84 "<div class='field-help'>" etc has been replaced by the $frm->help() method and is also used by the admin-ui. 2021-02-04 08:45:10 -08:00
Cameron
23b6ef4af7 FontAwesome upgraded to 5.15.2 2021-02-03 08:11:48 -08:00
Cameron
4b6d23dbf6 Issue #4356 Fixes a conflic with secureImage prefs. Added secureImage tests. 2021-02-02 19:18:44 -08:00
Cameron
d1f997ee2c Fix for multi-dimensional field saving. 2021-02-02 16:09:22 -08:00
Cameron
ed94389451 Fixes #4369 Reverted model multi-dimensional support for now. Added test for custom-fields scenario. 2021-02-02 07:34:36 -08:00
Cameron
0b1a84068f toGlyph() additional tests, Media-Manager includes bootstrap5 when detected and backward compatibility. 2021-01-31 13:09:53 -08:00
Cameron
2dedc8719f FontAwesome 5 added to admin area and bootstrap3 theme. $tp->toIcon() supports SVG sizing 2x, 3x etc. 2021-01-30 19:21:23 -08:00
Cameron
151396b1a3 Admin-ui: Support for multi-dimensional array field-names (useful for prefs). Use with caution, avoid matching field names. 2021-01-30 08:58:40 -08:00
Cameron
296bc650a7 Keep button class in a logical order e107::getForm()->button(); and admin_button() modified. Test added.
'button' has been removed when the action == 'button' in order to avoid BC css conflict. Use button[type="button"] if needed.
2021-01-28 09:36:27 -08:00
Cameron
d7aadf5012 Removed admin_template from bootstrap3. Using core template instead. Switched admin navigation parser to simpleParse() 2021-01-27 12:53:45 -08:00
Cameron
835e477147 Bootstrap 5 styling. (data-bs-toggle)
Signup shortcodes now automatically load the required template.
2021-01-26 15:08:58 -08:00
Cameron
184d920514 Extra checks added in the signup extended user fields shortcode.
Improved renderLayout test.
2021-01-26 11:59:57 -08:00
Cameron
76dbd4469e Fixed error in {XURL_ICONS} shortcode. Added a test. Fixed some warnings in the admin/language page. 2021-01-25 17:57:34 -08:00
Cameron
ef8844b019 Use e107:: in some parts of tests. 2021-01-25 13:29:39 -08:00
Cameron
46af21d105 Disable fixRegistry during testing. 2021-01-25 12:31:18 -08:00
Cameron
1c98e5e341 Load admin icons during shortcode and plugins tests. 2021-01-25 12:18:38 -08:00
Cameron
876212d518 Make sure admin icons are loaded during testing and when initializing form handler. 2021-01-25 12:04:59 -08:00
Cameron
d03ef3a670 Should fix the "Call to undefined function parse_admin()" test issue. 2021-01-25 10:43:17 -08:00
Cameron
55aadc29e9 Modified navigation test. (installed plugins may change) depending on the order of tests. 2021-01-25 10:16:19 -08:00
Cameron
aa1a19b1dd Disable TimeZone test. 2021-01-25 09:54:11 -08:00
Cameron
b77ae278dd Updated TimeZone test. 2021-01-25 09:38:40 -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
522d71d243 Reduced some memory usage. 2021-01-24 17:00:02 -08:00
Cameron
8508cabcad Admin shortcodes optimization and tests. 2021-01-24 16:18:50 -08:00
Cameron
26f0d4a0a8 Added test for loadAdminIcons and verified against previous template. 2021-01-24 15:33:39 -08:00
Cameron
a99300aed5 admin_icons_template.php reformatted to v2 standards. 2021-01-24 10:44:30 -08:00
Cameron
9487c620e3 Updated isBot() method. 2021-01-24 10:42:53 -08:00
Cameron
8b73cfee5c Theme manager now using e107::isCompatible() method. 2021-01-23 15:48:09 -08:00
Cameron
17a9aa2822 New e107::isCompatible() method added for checking plugins/themes are compatible with the current version of e107.
New parser method stripBlockTags($html) to remove p, div etc.
{CPAGEBODY: strip=blocks} shortcode option added (uses the method above)
2021-01-23 14:20:51 -08:00
Cameron
530183692a Reinitialize user-extended class before running shortcode test. 2021-01-22 17:34:36 -08:00
Cameron
93918849f4 Expanded on getperms() test. 2021-01-22 17:09:55 -08:00
Cameron
7557d07622 Rewrote getTemplate test and added example theme template override (bootstrap3) of plugin template (gallery) 2021-01-22 15:43:57 -08:00
Cameron
acc1a9af0d Plugin script tests and PHP8 fixes. 2021-01-22 13:44:10 -08:00
Cameron
4b0edad459 Various PHP8 Fixes 2021-01-22 06:32:59 -08:00
Cameron
aafd277331 Shuffling issue. Disable test. 2021-01-21 15:27:04 -08:00
Cameron
ead2416485 Test too specific for shuffle. Needs rework. 2021-01-21 15:12:48 -08:00
Cameron
27f26e59c0 Disable test. Needs rework to account for shuffling. 2021-01-21 15:00:50 -08:00
Cameron
9ddad9a44a Disabled incomplete test. 2021-01-21 13:15:29 -08:00
Cameron
f055b49d91 PHP8 Plugin code cleanup 2021-01-21 09:38:38 -08:00
Cameron
9e0d014e39 User-extended signup test. Switched off registry reset. 2021-01-21 08:18:54 -08:00
Cameron
2c88c8a1fe Enable truncate again. ;-/ 2021-01-20 13:12:48 -08:00