1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 07:36:32 +02:00

40 Commits

Author SHA1 Message Date
camer0n
31e7d1d3b0 Issue #5465 Core language files converted. (excluding plugins) 2025-04-04 18:29:07 -07:00
camer0n
cab361e76c Fixes #5160 Social plugin XURL updates. 2023-12-19 15:18:23 -08:00
Cameron
f5096ae47d Closes #4978 - {NEWS_MODIFIED} shortcode added. 2023-02-11 09:09:16 -08:00
Cameron
02a7e08902 Fixes #4750 - News image placeholder. Adds another news-grid layout. 2022-04-06 12:09:58 -07:00
Cameron
4032c2954f Issue #3778 - page/e_sitelink cleanup and optimization. Test added. Fixed bookNav() which should only return book links. 2022-03-11 18:01:56 -08:00
Cameron
9fffa59a01 Fixes #4586, Fixes #2774, Fixes #49 - Workaround added for page dropdown navigation. Use {CPAGENAV: tmpl=dropdown} in page_template.php 2021-11-24 13:48:20 -08:00
Cameron
81cbe51228 Remove PHP Warnings. Next/Prev test added. 2021-11-24 13:08:04 -08:00
Cameron
7755dd1743 Added option for themes to load only the css or js portion of a library via theme.xml attribute. See bootstrap5/theme.xml for an example.
Empty comments in glyphs removed due to conflict with Fontawesome JS. Tests updated.
2021-10-11 12:33:59 -07:00
Nick Liu
010492b67e Stub e_date::convert_date() in e_parse_shortcodeTest
Prevents this flaky error:

---------
1) e_parse_shortcodeTest: Forum shortcodes
 Test  tests/unit/e_parse_shortcodeTest.php:testForumShortcodes
{INFO} != sc_info()
Failed asserting that two strings are equal.
- Expected | + Actual
@@ @@
'Welcome e107-cli<br />There are no new posts since your last visit.<br />
You last visited at  <br />
-			It is now Tuesday 28 September 2021 - 16:25:39'
+			It is now Tuesday 28 September 2021 - 16:25:38'
#1  /__w/e107/e107/e107_tests/tests/unit/e_parse_shortcodeTest.php:1656
#2  /__w/e107/e107/e107_tests/tests/unit/e_parse_shortcodeTest.php:1147
#3  e_parse_shortcodeTest->testForumShortcodes
#4  {closure}
2021-09-28 12:27:09 -05:00
Cameron
64e705ced0 {SITELINKS_ALT} fix and test. 2021-08-07 12:26:23 -07:00
Nick Liu
7cef4264c6 #4512: faqs_shortcodes::sc_faq_count(): Return blank string instead of 0
Previously incorrect null coalesce returns 0 instead of a blank string

Fixes: #4512
2021-06-07 21:52:36 -05: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
Cameron
5ed2440272 Issue #4473 - some merged code from Deltik 2021-03-31 13:04:20 -07:00
Cameron
52a554987b PHP error fixes. 2021-02-22 12:22:50 -08:00
Cameron
7133d4bb6f Closes #4228 TinyMce can now load the frontend theme in the editor when 'wysiwyg' is found in the scope of a declared css file within theme.xml
Fixes #4371 - FontAwesome5 is now loaded in the TinyMce editor when detected in the frontend theme.
2021-02-11 16:39:50 -08:00
Cameron
0cd5381435 Fix theme shortcode login menu icons 2021-02-10 02:57:43 -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
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
1c98e5e341 Load admin icons during shortcode and plugins tests. 2021-01-25 12:18:38 -08:00
Cameron
a99300aed5 admin_icons_template.php reformatted to v2 standards. 2021-01-24 10:44:30 -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
b19f9ffbc3 Frontend scripts tests. (may break some things) 2021-01-19 18:52:56 -08:00
Cameron
419a0e727a Fix for HTML used on text_truncate(). Ignore setcookie() in CLI mode. 2021-01-18 07:40:17 -08:00
Cameron
bf17a010f5 Fixes a bug in drop-down navigation containing HTML. 2021-01-17 20:30:05 -08:00
Cameron
e51dfa1fc8 Test all e_shortcode.php files in core. PHP8 Fix for featurebox. 2021-01-14 10:30:22 -08:00
Cameron
aa3c267ef6 Issue #4345 - Fixes {NEWS_BODY=extended} 2021-01-14 07:54:16 -08:00
Cameron
992b7b4bfe Tests for SEF URLs. Search page fix. 2021-01-13 16:16:50 -08:00
Cameron
42fbd379d4 Tweaked and tested single shortcodes. Added batch shortcode files fpw_shortcodes and search_shortcodes. {SEARCH} shortcode template was updated to v2 standards. 2021-01-12 14:46:10 -08:00
Cameron
56f8389417 CoreTemplate tests. FPW BC constant fix. 2021-01-11 18:05:29 -08:00
Cameron
3d217bc49b Forum and User-extended shortcode improvements and test tweaks. 2021-01-11 08:45:08 -08:00
Cameron
d4df39bc75 More User Extended Tests. 2021-01-10 18:07:05 -08:00
Cameron
c8ba5fe30a Shortcode tests for list_new, pm, rss_menu, signin and simpleParse() 2021-01-08 17:00:23 -08:00
Cameron
eec9a163cb PHP8 fixes. Tests added for online shortcodes, page/e_shortcode.php 2021-01-08 11:46:30 -08:00
Cameron
3f5d3786b2 PHP8 fixes and shortcode tests for forum, gallery, hero and login_menu. admin-shortcode time fix. 2021-01-07 13:24:55 -08:00
Cameron
3d19db894b PHP8 Fixes and shortcode tests for chatbox_menu, download, faqs, forum and forum-post 2021-01-07 09:42:19 -08:00
Cameron
d365a8eda7 Core batch shortcode tests added. 2021-01-06 11:56:40 -08:00
Cameron
11c768d3c0 Fixes shortcode wrapper conflict within the same template. 2021-01-04 07:47:40 -08:00
Cameron
1c8e755edf Fixes #3726 - legacy shortcode wrapper conflict with email template. 2020-06-01 17:37:49 -07:00
Deltik
e49ee50d31 Preparation for merge with e107 repository
Moved all test files to e107_tests subdirectory
2019-11-27 11:18:53 -06:00