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

13520 Commits

Author SHA1 Message Date
Cameron
ce70a5944a Bootstrap5 forum dropdown styling fix. 2021-10-18 10:18:24 -07:00
Cameron
9ac051f2a6 Bootstrap5 layout styling 2021-10-18 10:01:19 -07:00
Cameron
d49f53677b More bootstrap5 layout fixes 2021-10-18 09:53:49 -07:00
Cameron
95ea56bb89 Forum navigation layout fix. 2021-10-18 09:09:01 -07:00
Cameron
3f48d17c95 plupload styling 2021-10-18 07:57:35 -07:00
Cameron
9aee6b7509 Issue #4530 Set default send-to class to members. 2021-10-17 09:00:22 -07:00
Cameron
73dfbf0d74 Issue #4299 - PHP8 fatal error fixes 2021-10-17 08:43:07 -07:00
Cameron
8d968d2ee3 e107.org URL updates. 2021-10-16 13:18:45 -07:00
Cameron
455551d10f Fix for legacy news image paths. 2021-10-16 10:03:28 -07:00
Cameron
cbb8315417 Prevent e-ajax from firing multiple times. 2021-10-14 08:58:05 -07:00
Cameron
d6b0391a2d Fixed corruption of carousel attributes and other 'data-' keys. Test added. 2021-10-14 08:08:43 -07:00
Cameron
78d72fa139 Added 'defer' to bootstrap5 and fontawesome5 <script> tags. 2021-10-12 08:00:41 -07:00
Cameron
0442ba138a addJs() method cleanup. Work-in-progress. 2021-10-11 19:06:03 -07: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
Cameron
da219c31ae Fix forum replies/topic count styling on sub forums. 2021-10-10 09:15:16 -07:00
Cameron
fd116c177a Meta PHP warnings fix. 2021-10-10 09:03:07 -07:00
Cameron
5e83895c8f Fixes #4544 - SubForum missing global value. LAN shortcode now parsed correctly. 2021-10-10 08:55:16 -07:00
Nick Liu
840e818f40
e_form: Allow HTML attribute "value" keys with blank values
Otherwise, something like `<option>Nope</option>` will get a value of
"Nope" instead of "" as in `<option value=''>Nope</option>`.
2021-10-08 18:03:44 -05:00
Cameron
091145c1fe
Merge pull request #4589 from Deltik/fix/form-builder-escaping
Fix most `e_form` form builder escaping problems
2021-10-07 16:10:44 -07:00
Nick Liu
2fa9d10c57
e_form: Handle attribute HTML entities properly for most form elements
The result is a much more consistent form experience with less fear that
some values put into an `e_form` method will break the web page.

This commit covers the most common uses of `e_form` with HTML attribute
quoting via `e_form::attributes()`.
2021-10-06 20:14:51 -05:00
Nick Liu
2080c772c1
Simplify e_form::get_attributes()
Reduce code duplication without changing behavior

Introduce helper `e_form::attributes()` to generate HTML attributes
2021-10-06 13:07:30 -05:00
Nick Liu
19f48180dc
Restore htmlspecialchars() for e_parse::filter(…, 'str')
Fixes regression from 20882920a0b68937570264949512acc0c4841dbd where
data would get inserted into the database with literal quotation marks,
but e107 has always expected `&quot;` and `&#39;` to come directly from
the database
2021-10-06 13:06:31 -05:00
Cameron
d4d0a74858 Make sure to use property attribute on og:type 2021-10-06 07:34:28 -07:00
Cameron
1351435a7c Added some missing canonical values. 2021-10-04 11:56:30 -07:00
Cameron
7171ca8e3d Fixes #4580 - Some BBCodes were not functioning. 2021-10-04 10:18:00 -07:00
Cameron
34ad8bc1d8 More jQuery.once() to jQuery.one() replacements. 2021-10-03 11:03:23 -07:00
Cameron
9aa6d16f2c Make sure news author avatar has an image. 2021-10-02 13:02:28 -07:00
Cameron
80294ba65b Fix typo in last commit. 2021-10-01 08:58:21 -07:00
Cameron
fc2db726f2 Make sure og:type always has a value. 2021-10-01 08:47:18 -07:00
Cameron
e06069459f Add og:title by default. Set open-graph data for frontpage. 2021-10-01 08:35:54 -07:00
Cameron
4f5eb66048 Moved title tag directly under html tag. Changed separator to pipe | and added an option for processing the title in theme::title(). 2021-10-01 07:18:37 -07:00
Cameron
e5b139e91a Set og:url and twitter:url when e107::canonical is called. Twitter card meta added to news posts and pages. 2021-09-29 18:43:20 -07:00
Cameron
567b5022f2 Fix for customfields Youtube video preview not displaying after selection. 2021-09-29 10:44:21 -07:00
Cameron
8167f5eb6e
Merge pull request #4569 from Deltik/hotfix/4547
Fixes #4547: Strip BBCode from `download_shortcodes` JavaScript alerts
2021-09-29 09:49:23 -07:00
Cameron
f42ac5a8e8 Replaced e_PAGETITLE with e107::title(); 2021-09-28 13:15:53 -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
8c0b216ffd Linkwords upgrade should now complete correctly. 2021-09-28 09:21:49 -07:00
Cameron
06e88e5fb7 Linkwords plugin update.
Fixes issue with admin preferences not being respected or no linking occurring.
Prefs now moved out of core and into plugin prefs.
Test page added to admin area.
Relationship field added.
e_tohtml.php deprecated in favor of e_parse.php
Tests updated.
2021-09-28 08:56:54 -07:00
Cameron
5ecc0beca6 Issue #6 LANS added. Clear system cache before checking for updates. Extra checks to e_parse to avoid possible errors. 2021-09-28 08:13:27 -07:00
Cameron
c15adc1f20 Intervention updated to v2.6.1
PHPMailer updated to v6.5.1
2021-09-27 10:48:29 -07:00
Cameron
320287f6ad Fix PHP error on some legacy themes that are missing meta-data. e107_tests composer update. 2021-09-27 10:45:06 -07:00
Cameron
c7dc227e24
Merge pull request #4575 from Deltik/fix/4574
Add index to database session handler for session expiry
2021-09-27 10:30:06 -07:00
Cameron
66d8081580 Added new field to navigation links table: link_rel 2021-09-27 10:22:14 -07:00
Cameron
5fd8fdc92b Fixed e107 v1 to v2 forum migration adding check for deprecated files. Fixed breadcrumb subforum visibility and URL when SEFURL is disabled. 2021-09-26 10:43:33 -07:00
Nick Liu
54ed823aba
Add index to database session handler for session expiry
Greatly improves garbage collection performance

Fixes: #4574
2021-09-25 15:15:33 -05:00
Cameron
69d5b49525 Fixed news tag query 2021-09-25 11:43:19 -07:00
Cameron
5cf3f9d57b Fix for news tag links containing spaces. 2021-09-25 10:25:04 -07:00
Cameron
af0b5dcb84 More rel="noopener" and og: changes. 2021-09-25 09:57:18 -07:00
Cameron
5d0db673e3 Moved help tip to correct field. 2021-09-25 09:38:50 -07:00
Cameron
3a241727f8 Keep FB scraper up-to-date with changes. 2021-09-24 13:19:06 -07:00