1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

951 Commits

Author SHA1 Message Date
camer0n
7f65fd8f74 Issue #5465 Make sure LAN constants are converted for inline tooltips. 2025-06-06 13:26:58 -07:00
camer0n
b7bb3b931e Issue #5489 Linkwords now has a pref for who should be able to delete items. 2025-05-03 11:39:09 -07:00
camer0n
3f9dc94d12 Issue #5473 Changed Column options icon. Specified some admin-menu icons. 2025-04-26 09:20:23 -07:00
camer0n
13b3c2c76e Issue #5443 Trigger a warning for a missing 'title' key. 2025-04-17 05:42:07 -07:00
camer0n
31e7d1d3b0 Issue #5465 Core language files converted. (excluding plugins) 2025-04-04 18:29:07 -07:00
camer0n
d340c7f465 Issue #5432 - button styling. 2025-02-14 11:22:44 -08:00
camer0n
f772ab0b98 Issue #5432 Styling 2025-02-07 14:01:34 -08:00
camer0n
b25e60888b Closes #5365 Image alt attribute management via Media Manager. Test added. 2024-12-19 13:17:32 -08:00
camer0n
c4f2abb85c Fixes #5271 Poll fatal error. 2024-07-26 13:08:19 -07:00
camer0n
7871b9d0f1 Issue #5292 datetimepicker() minuteStep and showMeridian options added. 2024-06-29 13:05:36 -07:00
camer0n
c4b270c005 Closes #5292 - update Bootstrap datetimepicker 2024-06-29 12:59:38 -07:00
camer0n
baa171cfb8 Closes #5269 Optgroup class identifiers. 2024-05-31 13:36:18 -07:00
camer0n
145d1dea80 Fixes #5214 form help icon fix. DST test fixes. 2024-04-05 17:29:17 -07:00
Jimako
fa62e89a5f #5176 "ip" text box 45 characters
CLOSES #5176
2024-01-30 13:14:11 -06:00
camer0n
100e28ed2b Issue #5093 - Precaution in case an array is parsed. 2023-11-01 13:20:51 -07:00
camer0n
f037d6e688 Issue #5079 - Avoid division by zero. 2023-11-01 10:43:54 -07:00
camer0n
faa2f8ad34 Fixes #5093 - True/False labels on <select> options. 2023-11-01 08:07:30 -07:00
camer0n
322eaa972f Fixes #5090 - default value can now be set if the value is 0 or empty. 2023-10-16 16:23:52 -07:00
camer0n
1a019e671d Fixes #5089 - Admin-UI: custom true/false values when inline editing is disabled. 2023-10-13 10:51:44 -07:00
camer0n
dd9c011fdd Closes #4804 - Conversion of diacritics in name2id() 2023-09-28 09:36:31 -07:00
camer0n
26f393b7ab Issue #5083 - Inline editor order fix for userclasses etc. 2023-09-25 10:07:48 -07:00
camer0n
23df6c1072 Issue #5016 - Avoid sending 'Array' in hidden field. 2023-06-20 10:04:07 -07:00
Cameron
e6dc147074 Closes #4952 - Update selectize.js to v0.15.2 2023-01-13 10:04:39 -08:00
Cameron
ec68c88910 Closes #4927 Extra options added to bbarea() 2022-12-18 18:36:36 -08:00
Cameron
2f4fdf9520 Closes #4906 - Allow for override of visibility for primary-id field during create/edit. 2022-11-06 09:16:25 -08:00
Cameron
c494c04c7e Fixes #4806 - news keyword maxlength limitation fix. 2022-06-30 19:01:52 -07:00
Cameron
52cf8f5bfa Closes #4783 Added Page Meta-Title field and synced with Page title.
Issue #6 global LAN_META_DESCRIPTION and LAN_META_TITLE added and replacements made throughout.
2022-06-08 18:29:37 -07:00
Cameron
94bf1efda2 Issue #4783 Added new field for meta-news-title. New prefs added for SEO Title and Description character limits. 2022-06-06 17:28:23 -07:00
Cameron
327616002e Fixes #4761 - Related Summary parsing as BODY instead of SUMMARY. 2022-04-21 15:35:42 -07:00
Cameron
4d6a5ea310 Fixes #4758 Admin-UI hidden field $parms were not being applied. 2022-04-19 07:15:23 -07:00
Cameron
f8b04b64d4 Fixes #4751 - Form tabs issue. Test added. 2022-04-07 13:11:56 -07:00
Cameron
196f952db8 Closes #4514 Theme developers can now set the default style, just as they would with the default layout. 2022-04-06 08:37:13 -07:00
Cameron
55980a29a8 Generated PHPDoc for all classes in e107_handlers where one was missing. toNumber() updated to always return int or float. 2022-04-04 10:54:24 -07:00
Cameron
e801b02dee Closes #4744 - Media-Manager default set to Grid. New CSS grid added. Extra tests added for toGlyph(). Added wildcard mime-type filters in Media-Manager. 2022-04-02 09:34:06 -07:00
Jimmi08
64dcf0c056 #4665 load bbcode buttons only if HTML is allowed for user
CLOSES #4665

Tested scenarios:

- site wysiwyg on, html access  -  result tinymce
- site wysiwyg on,  no html access  - result bbcodes
- site wysiwyg off,  forum wysiwyg on,  no html access  - result bbcodes
- site wysiwyg off,  forum wysiwyg on,  html access  - result tinymce

It worked like this before too, but bbcodes were always rendered (not visible with tinymce)
2022-03-31 12:22:04 +02:00
Cameron
3d3b2ec85d PHP Notice fix. 2022-03-15 13:48:32 -07:00
Cameron
748fd4b9b6 Fixes #4700 - linkwords inconsistencies. 2022-03-12 11:50:27 -08:00
Nick Liu
169efa09b9 e_parse::toAttributes(): New API to concatenate HTML attributes
`e_parse::toAttributes()` is an expansion of the formerly private method
`e_form::attributes()`. Now, all client code can use
`e_parse::toAttributes()` to make it easy to concatenate variable-length
HTML attributes. Values are guaranteed to be encoded so that they cannot
escape an HTML attribute value.

All client code usages are encouraged to build HTML tags with this new
method to prevent cross-site scripting (XSS) attacks and prevent
breaking the HTML validity due to improperly escaped HTML attributes.

This new method is an extension to `e_parse::toAttribute()`, which
escaped one single HTML attribute value.
2022-02-06 16:49:56 +01:00
Nick Liu
754c29d230 #4661: Don't double-encode ampersand in e_form::thead()
I guessed the `filter_var(…, FILTER_SANITIZE_STRING)` intention
mentioned in 20882920a0.  I guessed wrong.
This fixes the guess to be just HTML tag removal.

Fixes: https://github.com/e107inc/e107/issues/4661
2022-01-17 13:20:34 +01:00
Cameron
d8ce385929 Fixes #4631 - Edit button modal caption and submit button issue. 2021-12-15 11:52:46 -08:00
Cameron
0d8f3e9086 PHPDoc fixes and code optimization. 2021-12-03 14:58:33 -08:00
Cameron
2c9afc83ee More PHP 8.1 fixes. 2021-11-26 12:36:25 -08:00
Nick Liu
fb420ccfb1 PHP 8.1: Fix some more null value issues
* `e_form::attributes()`
* `e_parse::toImage()`
2021-11-23 13:57:38 -06:00
Cameron
fea46ed7ee Fixes #4605 - Custom home icon support and fallback icon for non-FontAwesome breadcrumbs. 2021-11-17 15:21:10 -08:00
Cameron
35808e5eb9 Issue #4609 - Was still failing in earlier PHP versions. More tests added. 'empty' attribute added to news_render_type 2021-11-04 13:58:05 -07:00
Cameron
7930aba4ca Fixes #4609 - Quick fix for inconsistent drop-down behavior PHP7 -> PHP8. 2021-11-01 14:41:40 -07:00
Cameron
d6b0391a2d Fixed corruption of carousel attributes and other 'data-' keys. Test added. 2021-10-14 08:08:43 -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
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