1
0
Fork 0
Commit graph

19 commits

Author SHA1 Message Date
6db244f476 Fix over-aggressive lowercasing of url, title, image, and preview fields 2023-03-18 21:52:53 -04:00
3859b7ba10 Move /parse_url module to /parseurl
- Update oexchange module to use BBCode::embedURL instead of a self-request
- Remove mod/parse_url.php file
- Restrict ParseUrl module to authenticated users
2021-02-18 09:06:27 -05:00
6c36fd9e01
Move Config::get() to DI::config()->get() 2020-01-19 21:21:13 +01:00
39d0735236 Update linkPreview to allow using a generic selector
- The individual textareas still need an id attribute to be set
2019-11-28 12:54:56 -05:00
088eb3391e Move urlRegex JS constant to main.js 2019-10-11 19:59:28 -04:00
3670e7f9c8 Remove unevenly supported lookbehind from link preview regular expression
- Simplify link preview condition
2019-08-29 21:12:53 -04:00
895faddf82 Prevents linkPreview to match on URLs lead by an equal sign
- Prevent automatic link preview matching on inserted image BBCode
2019-08-16 23:04:46 -04:00
BinkaDroid
2dbeae701f
fixing error "json not defined" in frio
when trying to attach video-link to post
2019-04-11 21:37:58 +02:00
rabuzarus
b7573a94ee linkPreview - workaround for mising 's' flag ins js regex 2019-02-13 22:26:56 +01:00
rabuzarus
f6691c138a bugfix: linkPreview - remove s flag from regexp because FF don't support it 2019-02-13 15:14:56 +01:00
29fcb2e7ee typo 2019-02-12 13:59:33 +01:00
173a17d0e0 tagged the JS files in view/js with their licenses 2019-02-12 11:29:50 +01:00
rabuzarus
b0372e5e93 attachment preview: fix a bug if inserted text did contain a new line between content and url 2019-02-04 01:23:30 +01:00
rabuzarus
ba03ec857a attachment preview: some small corrections 2019-02-03 16:26:13 +01:00
rabuzarus
dcf072e77d attachment preview: handle content with attachment bbcode inside (show preview of this attachment) 2019-02-02 23:06:11 +01:00
rabuzarus
b065356c28 attachment preview: add destroy method to linkPreview.js 2019-02-02 02:27:41 +01:00
rabuzarus
132e0b83c4 attachment preview: mv some js functions from frio to the linkPreview to make linkPreview available for other themes 2019-02-01 23:48:14 +01:00
rabuzarus
a6322b1c4e attachment preview: some backend work in the item module:
- convert attachment to bbcode and
- add the attachment bbcode to the item body
2019-02-01 23:42:36 +01:00
rabuzarus
07d1932efc attachment preview: frontend work (works with frio) 2019-02-01 19:18:08 +01:00