zotlabs
72e5e64d89
allow escaped quotes in vidoe posters
2019-04-01 12:23:48 -07:00
zotlabs
503456cc1c
incorrect logic function in item_permissions_sql, fix video poster
2019-03-19 15:23:45 -07:00
zotlabs
80463d4754
add video with poster option to bbcode
2019-03-17 20:49:54 -07:00
zotlabs
c9c26fba1c
parsing issue with prismo
2018-11-12 19:38:21 -08:00
zotlabs
5ea011b0ce
remove the spoiler blocks
2018-11-11 17:44:01 -08:00
zotlabs
60bb243081
handle at least some basic friendica attachment bbcodes
2018-10-24 19:01:43 -07:00
zotlabs
cd2c3f7127
share issue on zot6 side
2018-10-17 15:51:23 -07:00
zotlabs
bc06233d10
Merge branch 'red'
2018-08-20 22:24:44 -07:00
zotlabs
57e75d9332
add affinity app and start some serious refactoring of mod_photos
2018-08-16 23:01:31 -07:00
zotlabs
12f4787b67
issue with mdpost addon and archive.org links which contain a full url as a path/query component
2018-08-13 23:11:10 -07:00
zotlabs
564aa2f134
pass render options to code highlight
2018-07-16 18:12:03 -07:00
zotlabs
cc90f71230
trim features (e2ee and bookmarks)
2018-07-08 22:28:15 -07:00
zotlabs
5b084c759e
more app work
2018-07-05 22:27:44 -07:00
zotlabs
fd4ea47503
move libzot to class
2018-05-31 19:42:13 -07:00
zotlabs
7b445a5b39
where possible strip zid parameter from links that get pasted into posts so that they will get a correct zid when rendered
2018-04-26 20:27:14 -07:00
zotlabs
2fa9645dfc
channel delegation: push current identity and pop it on logout from the delegated channel. This fixes the known issue of being forced to log back in after leaving the delegated channel.
2018-04-11 17:40:04 -07:00
zotlabs
fe401203bd
bbcode() - ensure that $options is always an array, as the interface has changed slightly
2018-04-04 23:14:41 -07:00
zotlabs
f748139606
allow the link target attribute to be modified in bbcode() from much further up the call stack in prepare_page() which will usually refer to a local item.
2018-04-04 16:33:11 -07:00
zotlabs
91b710b07d
add auth flag to share attributes so we can make a costly determination to use zid at post submission time instead of making multiple calls to is_matrix_url() at render time
2018-03-15 17:51:24 -07:00
Mario Vavti
6c709551ce
do not always zid share links. add missing <
2018-03-15 14:31:50 +01:00
zotlabs
c3920116f2
more work on federated polls
2018-03-03 13:52:55 -08:00
Mario Vavti
43992dc463
do not show summary if it is equal to body and some styling for the summary/article toggle links
2018-02-19 14:11:58 +01:00
Andrew Manning
c444e40c01
Update code tag styling so bbcode [code] blocks and wiki markdown inline code render nicely.
2018-02-18 10:09:05 -05:00
zotlabs
56d1614ea6
provide a default video image if nothing else is available. Allow sites to change it.
2018-01-28 20:35:05 -08:00
zotlabs
e3c7200b6f
don't do any bbcode translation within code blocks (except baseurl, observer, and linefeeds)
2018-01-25 16:18:16 -08:00
zotlabs
014a1f0158
add summary bbcode tag
2018-01-15 20:47:32 -08:00
Mario Vavti
64fe15b6f5
remove additional linebreaks after headings
2017-12-21 09:07:37 +01:00
zotlabs
adec67d5fa
hubzilla-addons issues #73
2017-12-09 12:49:28 -08:00
zotlabs
91e3c5c34e
render installable elements as buttons instead of links
2017-12-03 19:30:36 -08:00
zotlabs
a99ebd42ec
change to bbcode calling parameters: important: will require pulling addons;
...
also some extra checking of server headers in upload functions
2017-11-23 15:21:50 -08:00
zotlabs
6c178d4485
article feature
2017-11-22 15:39:06 -08:00
zotlabs
9b19e40a74
hubzilla issue #901 - unicode characters in urls tripping up url regexes - these regexes have been modified to accept unicode "letters" which may preclude emojis and control sequences and symbols in url links; but should suffice for most legal URLs containing language context "text" glyphs.
2017-11-09 21:26:18 -08:00
zotlabs
05654e4980
card embed improved
2017-09-04 21:02:44 -07:00
zotlabs
e2b6464f83
escape 'http' inside code blocks so it doesn't trigger an oembed
2017-08-29 20:07:26 -07:00
zotlabs
bee09a6d8b
minor activitypub rendering stuff
2017-08-02 22:11:46 -07:00
zotlabs
fce68f1a39
add rel=noopener to all external target _blank links
2017-06-13 18:29:08 -07:00
zotlabs
dfc0d4cf59
move code syntax highlighting to plugin
2017-05-30 19:50:41 -07:00
zotlabs
bfad624528
re-arrange a few functions
2017-05-30 18:36:19 -07:00
zotlabs
5c8a911c93
this looks like a slightly cleaner solution to the unicode dl issue
2017-05-14 21:04:34 -07:00
zotlabs
2cc1844d97
hubzilla issue #777
2017-05-14 20:51:15 -07:00
zotlabs
e059efb4c4
handle mastodon urls in markdown/bbcode conversion
2017-05-08 19:10:08 -07:00
zotlabs
83c4dd6bda
typo
2017-05-01 22:56:11 -07:00
zotlabs
c533c62c64
some event work
2017-03-05 14:47:20 -08:00
zotlabs
7b065365e0
consolidate hubloc storage
2017-01-30 15:01:22 -08:00
Hubzilla
9acd3ebd42
observer.language!={something} for completeness
2017-01-20 15:30:08 -08:00
Hubzilla
0368b6730f
language aware content
2017-01-20 13:36:37 -08:00
Andrew Manning
13768fdb9b
Zot structures doco integrated into the Zot page. Added nowrap option to [code] BBcode tag.
2016-12-28 14:58:25 -05:00
Andrew Manning
1a5dd5c87c
Updated markup language support doco. Modified parseIdentityAwareHTML BBcode parsing to support the BBcode reference which is now in /help/member/bbcode.html. Add Bootstrap classes to tables for BBcode tables that have the border=0 or border=1 options set.
2016-12-26 08:58:40 -05:00
zotlabs
d2cc7df7db
allow tel: links on mobile devices
2016-12-19 18:59:40 -08:00
zotlabs
ca2e2f5f45
deprecate bb_iframe
2016-12-18 22:33:23 -08:00
Mario Vavti
161572b292
leave toc title for the author
2016-12-04 14:31:45 +01:00
Mario Vavti
b12d4c03cb
fixes for toc bbcode and bbcode wiki toc
2016-12-04 12:51:23 +01:00
zotlabs
59aae20aea
bb_highlight: if somebody enters an unsupported language for code syntax highlighting (like fortran or cobol or whatever) use 'php' instead of returning a completely unformatted code block. This choice was somewhat arbitrary. It could be difficult to analyse the intention which could be literally anything and provide the closest match.
2016-12-01 19:04:29 -08:00
zotlabs
6552ccc477
issue #607 parens not recognised inside urls
2016-12-01 02:44:01 -08:00
zotlabs
175ae58563
highlight
2016-11-29 14:27:55 -08:00
Andrew Manning
678239424a
Integrating lots of member guide content
2016-11-27 16:46:24 -07:00
Andrew Manning
369dc295b1
Add some identity-aware parsing to HTML content using parseIdentityAwareHTML()
2016-11-27 14:48:06 -07:00
Mario Vavti
1ad8f20bce
only turn [] and [x] into checkboxes if it is found inside a checklist
2016-11-16 20:49:58 +01:00
zotlabs
863ee9e6dd
bbcode event formatting issue
2016-10-31 21:48:00 -07:00
zotlabs
cfc61a69ef
bbcode: remove the inserted <br /> between list elements due to linefeeds in the textarea.
2016-10-12 15:25:48 -07:00
redmatrix
48f70e55aa
try naked embed before submission instead of at render time
2016-10-06 15:59:27 -07:00
redmatrix
3250d75320
new hook bbcode_filter
2016-10-05 17:37:18 -07:00
redmatrix
2c1cd99738
issue #170
2016-09-29 19:26:58 -07:00
redmatrix
dca4db9d4d
convert oembed tools to use json arrays rather than json objects
2016-09-24 05:15:06 -07:00
redmatrix
0998a108ea
wrong operator
2016-09-03 19:43:11 -07:00
Mario Vavti
24192ff1ef
introduce checklist BBcode for checklists
2016-09-01 13:57:45 +02:00
redmatrix
ea0be8ea1a
provide techlevels in the pro server role. Should have no visible effect on other roles.
2016-08-31 17:49:22 -07:00
Mario Vavti
2b9322fc7d
provide a possibility to create checklists in bbcode [x] creates a checked checkbox, [] creates an unchecked checkbox
2016-08-31 09:38:47 +02:00
redmatrix
5243dd153b
use config system.server_role and deprecate 'UNO'
2016-08-07 17:29:35 -07:00
redmatrix
e2de2f65d5
issue #442 , tables contain too much whitespace (there's a definite issue here, but I should note the offending example was full of carriage returns as well as linefeeds; which exacerbated the problem).
2016-06-26 20:15:42 -07:00
redmatrix
2793086c0d
1. string update, 2. pretty print json blobs
2016-06-17 14:58:03 -07:00
redmatrix
bc5f73e6c3
provide a default for undefined languages
2016-06-15 20:51:55 -07:00
redmatrix
1dc35db1fe
ignore case in language names and add 'js' as an alias for 'javascript'
2016-06-15 20:25:19 -07:00
redmatrix
fa48de33c2
provide syntax based [colour] highlighting on code blocks for popular languages. I'm not happy with the line height on the list elements but couldn't see where this was defaulted. This uses the syntax [code=xxx]some code snippet[/code], where xxx represents a code/language style - with about 18 builtins.
2016-06-15 19:44:15 -07:00
redmatrix
1e68d4fb75
deprecate the item_id table - replace with iconfig. A possibly useful function in the iconfig class would be a search which takes a service id and type and uid, matches against an item and returns the iid. That could save a bit of code duplication.
2016-06-13 19:58:24 -07:00
redmatrix
a6012af00d
For emojis in posts, extend smilies and save a lot of duplication of effort
2016-06-04 17:06:12 -07:00
redmatrix
20a79c7acf
allow bbcode emojis (at least the single unicode character forms)
2016-06-03 22:00:53 -07:00
Mario Vavti
d1efb59fcd
render code bbcode inline if there are no linebreaks in the text.
2016-05-30 16:12:48 +02:00
redmatrix
2f64684299
some event fixes, also change jquery-textcomplete to un-minified since the minified version appears to require a mapping file and causes a lot of server fetch errors trying to load it.
2016-05-25 20:06:21 -07:00
redmatrix
66b6f8c0ff
app rendering issues, typo in class name and could not find icon 'fa-arrow-circle-o-down-alt'; using 'fa-arrow-circle-o-down' instead
2016-05-25 17:30:15 -07:00
redmatrix
80f2ba640e
code cleanup
2016-05-24 20:49:23 -07:00
redmatrix
2d06663490
move apps to zlib
2016-05-22 19:25:27 -07:00
redmatrix
b6e0d8dee0
clean up some cruft
2016-05-08 20:19:23 -07:00
redmatrix
b371c028ad
more security stuff
2016-05-02 22:28:27 -07:00
Treer
b5b21ecad7
improve whitespace control around definition list ([dl]) bbcode
2016-04-30 02:03:38 +10:00
Treer
9d079e5d2b
Add definition lists to bbcode
2016-04-30 01:13:34 +10:00
Mario Vavti
3446e68ac2
move spoiler= and quote= bbcode handling from prepare_body() to bbcode() and add open tag to bbco_autocomplete
2016-04-26 11:41:08 +02:00
redmatrix
5cb3143c04
issue #331 use timeago.js for reshared publish date instead of relative_date() which does not play well with other networks.
2016-04-10 21:30:35 -07:00
redmatrix
9abd95fad3
static App
2016-03-31 16:06:03 -07:00
redmatrix
1cd3b41825
deprecate $a->get_baseurl()
2016-03-30 22:13:24 -07:00
jeroenpraat
107f80892a
UNO: Hide bookmark tools in items (#^ and in menu)
2016-03-10 19:40:28 +01:00
Mario Vavti
2d45f9f385
provide footer bbcode
2016-02-29 23:58:32 +01:00
redmatrix
37368bda65
change _newwin to _blank because the window named _newwin may be hard to find if you have lots of windows/tabs open.
2015-11-20 12:49:38 -08:00
redmatrix
001e4276d3
first cut at some much better hook documentation derived from bamfic's automated list (doc/hooks.html)
2015-11-05 16:08:18 -08:00
ken restivo
1b30210120
Save bandwidth on mobile networks.
2015-10-29 20:50:52 -07:00
redmatrix
eb947acebe
set link target window for many links that are included in posts, but not in rest of application
2015-10-21 18:34:09 -07:00
redmatrix
fae43010c5
nit
2015-09-14 21:35:41 -07:00
redmatrix
ea63f3312f
personal oembed black/white list
2015-08-04 20:07:55 -07:00
redmatrix
c1a953f960
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
util/messages.po
2015-07-31 15:45:13 -07:00
redmatrix
acc9a8e43b
escape $ in events
2015-07-30 22:29:10 -07:00
redmatrix
6916c1076c
Merge branch 'master' of https://github.com/redmatrix/redmatrix
2015-07-13 17:43:10 -07:00
redmatrix
b7d3eb1605
Only let local logins install webpage elements
2015-07-11 16:36:58 -07:00
redmatrix
a3d7e8456a
undo the disabling of browser_prefetch and for the time being revert the HTML cache until we can isolate all the zid and observer calls. Also get rid of youtube and vimeo bbcode tags which we should not be using any more.
2015-06-25 20:07:10 -07:00
redmatrix
70975dda4a
remove all QR-code stuff from core - now in qrator addon
2015-06-25 19:05:49 -07:00
redmatrix
7cbc504874
Merge branch 'master' of https://github.com/redmatrix/redmatrix
2015-06-02 17:47:47 -07:00
redmatrix
c1e139a550
error in directory bbcode image filter
2015-05-31 22:22:37 -07:00
redmatrix
f3b95f591a
Merge branch 'master' of https://github.com/redmatrix/redmatrix
2015-05-31 19:26:00 -07:00
redmatrix
5cc5e0fafd
some basic background work for activitystreams-json-ld-2.0 conversions
2015-05-31 18:35:35 -07:00
redmatrix
cd3284d081
Merge https://github.com/redmatrix/redmatrix into pending_merge
2015-05-30 15:04:11 -07:00
redmatrix
edd228decb
strip images from directory text entries
2015-05-30 15:03:44 -07:00
Mario Vavti
b8d3280763
some fixes to make menu sharing work and expose it in the ui.
2015-05-29 13:08:01 +02:00
redmatrix
3763f74a10
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
include/items.php
include/text.php
mod/item.php
view/nl/messages.po
2015-05-20 20:49:06 -07:00
Mario Vavti
578d21120a
make design elements translateable
2015-05-20 08:34:40 +02:00
redmatrix
c78869e437
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
view/nl/messages.po
view/nl/strings.php
2015-05-19 17:36:11 -07:00
Mario Vavti
3471e98989
remove dbg code
2015-05-19 21:09:35 +02:00
Mario Vavti
5641d81f03
be verbose about what type of element (block, layout, webpage) is beeing installed
2015-05-19 21:07:43 +02:00
redmatrix
90591bcbc9
missed one...
2015-05-06 22:56:08 -07:00
redmatrix
d01206af5a
forgot to save
2015-05-06 21:43:52 -07:00
redmatrix
e85593e970
Hopefully this will make item_cache the default
2015-05-06 21:43:15 -07:00
Mario Vavti
ad7a629b96
remove obsolete linebreak
2015-05-04 15:04:21 +02:00
friendica
097002910e
just a test, please do not try to implement this as there are severe security issues
2015-04-30 17:52:34 -07:00
friendica
d9807e34e5
don't warn folks about the webaddress observer tag. We need it in constructed urls.
2015-04-09 22:35:04 -07:00
Klaus Weidenbach
f03a937c4e
Renamed some functions to match other names in bbcode.php.
...
Some documentation.
Removed unused variables.
Removed empty spaces at line endings.
2015-04-07 22:47:36 +02:00
friendica
3c05af6553
make open tag work correctly for multiple invocations in the same text
2015-04-06 21:26:40 -07:00
friendica
41e7552225
open bbcode tag
2015-04-01 12:30:03 -07:00
friendica
63683734a2
make the channel item query match recent changes to network item query (and some slightly older changes in display item query), and allow '@' in linkified urls.
2015-03-18 19:06:05 -07:00
friendica
1b3fee05e6
turn parse_url into the definitive url attaching mechanism
2015-03-11 18:04:43 -07:00
friendica
65ffd209d4
allow urls using the zot: or zots: URL schemes to exist without getting filtered away.
2015-03-10 19:43:15 -07:00
friendica
53e908d7b7
when fixing "naked links" make sure not to double link double urls as seen in archive.org - which has the complete unescaped target url, scheme and all, as part of its own.
2015-03-06 20:45:26 -08:00
RedMatrix
4a75d2d754
Merge pull request #900 from einervonvielen/doc_dev_beginner_corrections
...
Changed bbcode [toc] and changed doc for beginning deveopers
2015-02-19 13:40:23 +11:00
friendica
a5f7df4667
issue #860 , replace br html element with linefeed between table rows
2015-02-15 19:15:55 -08:00
Einer von Vielen
6ed8fb30b8
Changed bb code [toc] to make it more flexible
...
This usage is know closer to the original usage of
http://ndabas.github.io/toc/
Changed:
- jquery.toc.js: Do not check for empty headings
- bbcode.php: Added processing of [toc] with parameters
- main.js: Use the default params for jquery.toc.js
- bbcode.html: Added more help for [toc] and corrected some html
2015-02-14 20:33:51 +01:00
friendica
331c72b3be
author profile photo in reshare wasn't linked
2015-02-05 14:46:08 -08:00
friendica
219fe3a8e7
bring back inline images
2015-01-29 18:13:14 -08:00
friendica
4776f62be9
recognise opus as an audio file
2015-01-25 12:41:08 -08:00
09129cbe5f
Added a table of content as bbcode element [toc] for webpages
...
- Included jquery.toc.js (http://www.apache.org/licenses/LICENSE-2.0 )
- Modified jquery.toc.js to work with the webpages of the red#matrix
- Added info to the help
2015-01-14 22:47:54 +01:00
Einer von Vielen
43b877caa1
Test
...
...with table of content.
jquery.tableofconent.js works bunt not properly
2015-01-13 00:06:44 +01:00
Stefan Parviainen
fac6963444
Add title to bb_observer tags to further clarify a bit what's going on
2015-01-06 14:00:31 +01:00
Stefan Parviainen
fffc7dffba
Fix typo
2014-12-28 11:28:54 +01:00
Stefan Parviainen
f08ee3bab9
Make spaces work in [audio] and [video]. Fixes #774
2014-12-28 11:22:58 +01:00
friendica
d3830aea96
provide last successful poll run time (using relative time) in siteinfo so that we can tell folks that have no idea what we're talking about that their poller definitely isn't running and this is probably why nothing works correctly.
2014-12-21 18:40:25 -08:00
friendica
cc0df5bc24
ability to generate arbitrary map with [ map=lat/lon] and also free form location using [ map]somewhere[/map] but the second one currently has no plugins available to generate it.
2014-12-17 14:12:19 -08:00
friendica
789e025eab
Add [ map ] element to bbcode, no closing tag. Requires a map generator plugin (like openstreetmap which was just updated) and also requires that the author has browser location enabled.
2014-12-16 15:50:20 -08:00
friendica
e9ba2ba600
theme the observer tags so they stick out like a sore thumb. Too much bad juju.
2014-11-24 18:02:36 -08:00
friendica
4634049549
allow (our own) ajax urls to pass through bbcode intact.
2014-10-09 20:59:33 -07:00
friendica
03bbbdaf10
shareable design elements
2014-10-06 17:47:17 -07:00
Thomas Willingham
ffe6d20dc0
BBCode - $1 wrote doesn't make sense as a spoiler. $1 spoiler does.
2014-09-28 03:20:49 +01:00
friendica
8b1f9b1425
bbcode sup and sub
2014-08-05 04:32:48 -07:00
friendica
9e500494ff
standards compliance
2014-07-22 21:05:18 -07:00
friendica
233e4e1363
remove some code duplication
2014-07-14 01:38:16 -07:00