Commit graph

259 commits

Author SHA1 Message Date
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
Thomas Willingham
7a079cd7dc Make [observer.baseurl] more reliable using connurl which will change
less often than xchan_url, which can break the regex and might not
even contain the baseurl at all, plus a bit of doco clean up.
2014-06-30 16:23:42 +01:00
friendica
4c669be2ef minor changes 2014-06-29 20:09:06 -07:00
friendica
525daa7475 fix space around brackets changing. 2014-06-19 20:38:38 -07:00
friendica
466fe725bc start to build out the apps 2014-05-18 18:21:20 -07:00
RedMatrix
b4fd20c624 Merge pull request #455 from encyclomundi/master
correct minor typo
2014-05-11 07:38:01 +10:00
Charles
3f5852c30e correct minor typo 2014-05-10 12:50:20 -07:00
root
80796c78f5 Merge branch 'master' of https://github.com/chriswinstead/red 2014-05-10 10:55:50 -07:00
Michael Johnston
0e336fc092 add support for h1, h2, etc. to bbcode 2014-05-10 00:54:59 -04:00
root
711719ce0c Made some changes to img tags to enforce max-width everywhere, and to the page headers to allow user scaling. 2014-05-07 12:01:12 -07:00
friendica
bdbda6074c add message_id to reshared items so that we can eventually notify the original poster via an activity that their item was shared. 2014-05-05 16:16:32 -07:00
friendica
57a9ba4574 this is a mess and makes a complicated security model that one can probably drive a truck through. It will have to be fixed. It does make youtubes work again. 2014-03-31 15:56:58 -07:00
friendica
b00478d3b5 revise the sandbox 2014-03-30 15:01:51 -07:00
friendica
ecb2e52a74 little fixes of hopefully nil significance 2014-03-16 20:34:21 -07:00
marijus
34fd387438 this commit is an attempt to make conv items better scalable on smaller screens. also save some horizontal space. 2014-03-10 17:17:49 +01:00
friendica
44d7047fce SECURITY: do not automatically open an iframe which points into the local website. 2014-02-20 21:15:35 -08:00
friendica
d4d44f9878 oops - still using the !@#$ youtube bbcodes 2014-02-12 19:59:24 -08:00
friendica
bff92e7a21 remove some obsolete bbcode tags 2014-02-12 19:57:22 -08:00
friendica
7c0101899d another bbcode addition for the demo, however this one is potentially useful for other purposes 2014-02-12 13:45:11 -08:00
friendica
e47035f85a bbcode element of where you are on a site. perhaps this is less than generally useful but I plan to use it in a demo video where there is no other way to accomplish this 2014-02-12 11:42:33 -08:00
Christian Vogeley
c9192991c9 Add class to bookmark links to make it better them able
E.g.: css (not yet included)
.bookmark-identifier{
display:none;
}
.bookmark:hover:before{
text-decoration:none;
content:"#^";
color:#000000;
background:#FFFFFF;
}

.bookmark:hover{
	color: #FFFFFF;
	background: #3465A4;
}
2014-02-09 01:37:09 +01:00
marijus
a606fc0ba3 add a sanitized style tag to bbcode 2014-02-05 14:34:25 +01:00
marijus
75022367e5 minor whitespace cleanup 2014-01-30 00:15:13 +01:00
marijus
fe2b6f3dfb add image floating to bbcode 2014-01-30 00:01:19 +01:00
friendica
3dfd38021f SECURITY: remove style and class bbcodes 2014-01-28 16:35:10 -08:00
friendica
3490604926 add zid to audio/video (again) 2014-01-23 23:46:43 -08:00
friendica
357ddd1bf7 display a somewhat more pleasant hovertip on qr codes 2014-01-23 15:53:29 -08:00
friendica
ab6b6794b4 fix marital partner linking 2014-01-23 15:43:35 -08:00
friendica
c6b9e44353 fix table bbcode 2014-01-09 00:53:33 -08:00
friendica
29db236981 qr enhancements 2014-01-08 14:11:39 -08:00
friendica
8b93881ce7 qr code support 2014-01-07 20:36:16 -08:00
friendica
e635dcb309 bbcode convenience variables for producing documentation. 2014-01-06 23:54:40 -08:00
friendica
63a42480c7 add account_level, is_foreigner and is_member functions; convert all e2ee user input and prompts to hex to avoid javascipt's lame handling of quotes. !!This breaks all prior encrypted posts.!! 2013-12-23 15:13:09 -08:00
friendica
435e2dae0e display encrypted text inline 2013-11-11 00:21:00 -08:00
friendica
3a10e698c9 Didn't finish it. Gotta' pee. 2013-11-10 19:58:08 -08:00
friendica
fc317172d5 more e2ee infrastructure - at this point if somebody wants it they're going to have to work for it. 2013-11-07 20:18:52 -08:00
zottel
09d5fa6a64 Use only one regex for title matching in rpost tag 2013-10-31 00:08:32 +01:00
zottel
4cae5249d4 Allow setting of title in rpost tag with [rpost=title]body[/rpost] 2013-10-30 22:29:25 +01:00
friendica
75ba7ae116 rpost bbcode tag 2013-10-29 18:46:51 -07:00
Thomas Willingham
b25d2e0d12 Slightly modify reshares so they can be themed as a whole. 2013-10-02 05:03:09 +01:00
zottel
5092ae9e2b Fix observer=1 tag. Using only observer without =1 won't work anymore now. 2013-09-24 14:35:47 +02:00
friendica
1f916adfb8 spice this up a little bit... 2013-09-23 18:38:08 -07:00
zottel
e79bc29244 add [observer] tags and [observer.baseurl] 2013-09-23 13:26:23 +02:00
friendica
d194ee091a encode and decode channel names containing HTML special characters and quotes so they will survive a reshare without mangling 2013-09-06 05:25:10 -07:00
friendica
c6e527f6fe when using the bbcode mimetype a space is just a space. A return is a return. But as opposed to HTML, two spaces are now non-breaking. A tab (assuming you can figure out how to enter one in a text field) is now four non-breaking spaces. This should let us insert code snippets with much more readable indentation. 2013-08-27 05:02:40 -07:00
friendica
2e72b136c5 fix profile change activity where the change is a solitary url - and includes a stray right quote 2013-08-26 17:48:05 -07:00
friendica
2f2a316b27 regex patch 2013-08-26 03:54:27 -07:00
Christian Vogeley
d2d1e54bfe Check existance of bbcode tags before executing regexes, to avoid unnecessary execution 2013-07-28 02:28:35 +02:00
friendica
b841f825b5 linkify the non-embeddable video 2013-06-21 21:50:02 -07:00
friendica
2fbc78e6cd fix non-embeddable videos by returning plain links 2013-06-21 21:39:06 -07:00
friendica
9fda0a3fd5 add support for zmg bbcode tag (img with class=zrl) which will eventually get turned into a zid link when rendered for display. TODO - turn photo items and photos uploaded into posts into zmg, then run all incoming bbcode posts through a filter to see if there's a photo from a known hubloc (with an http(s): src attr - not data:) and if so turn it into a zmg. Then fix the zidify functions to look for class="zrl" and we're done. 2013-05-27 21:23:43 -07:00
friendica
db038c5654 turn naked links in posts into zrl's if we've got a hubloc for the site 2013-04-18 17:55:35 -07:00
friendica
ab5151c470 more Friendica removals 2013-04-14 22:44:11 -07:00
friendica
e411a4bdc2 IMPORTANT: magic-auth protocol update, plus 'zrl' bbcode tag for the privacy-is-more-important-than-ease-of-use folks. 2013-04-14 20:41:58 -07:00
friendica
022316fd49 tell it like it is 2013-03-12 01:55:25 -07:00
friendica
f3f341eb8d tell it like it is. 2013-03-12 00:55:29 -07:00
friendica
6c9db5a1cf make reshares translateable 2013-03-11 21:29:43 -07:00
friendica
f988213af8 fix typos 2013-03-11 18:22:40 -07:00
friendica
d568f4d029 class def for reshared content 2013-03-11 16:50:24 -07:00
friendica
b86277b0ff dangerous typo that removes all your hublocs, fix reshare formatting 2013-03-11 16:13:09 -07:00
friendica
70e766c2bf xss attack vector in bbcode.php - check for proc_open being disabled for security reasons in install 2013-02-26 19:41:44 -08:00
friendica
46a89910ae partial port of embedded shares 2013-02-25 19:06:31 -08:00
friendica
ea3940c4b0 start formatting for Doxygen 2013-02-25 17:09:40 -08:00
friendica
d8c667288e this seems to cut load times in half 2013-02-09 03:40:56 -08:00
friendica
8a983a82ec remove recursive share tags 2012-11-03 03:59:37 -07:00
friendica
a7abe24382 more file cleanup 2012-10-22 19:46:18 -07:00
friendica
ef22c1a9b3 prevent tag recursion on shared posts 2012-10-08 18:04:12 +11:00
friendica
e4f3e96b65 remove targeted windows 2012-09-09 21:26:36 -07:00
friendica
f6d198ce5d trim a bit of fat 2012-08-29 23:03:03 -07:00
friendica
2f81fb4385 upstream fixes 2012-08-20 06:34:54 -07:00
friendica
184cf51d2f reduce duplication - only provide one system language setting 2012-08-12 20:56:23 -07:00