Commit graph

15 commits

Author SHA1 Message Date
Hypolite Petovan
088eb3391e Move urlRegex JS constant to main.js 2019-10-11 19:59:28 -04:00
Hypolite Petovan
3670e7f9c8 Remove unevenly supported lookbehind from link preview regular expression
- Simplify link preview condition
2019-08-29 21:12:53 -04:00
Hypolite Petovan
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
Tobias Diekershoff
29fcb2e7ee typo 2019-02-12 13:59:33 +01:00
Tobias Diekershoff
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