Roland Haeder
32ffe4a711
more spaces/curly braces added
...
Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-04-05 22:40:09 +02:00
Roland Haeder
a4773a1ac0
added more spaces + fixed tpzo: occurence
...
Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-04-05 22:34:35 +02:00
Roland Haeder
03571f6e74
added spaces + some curly braces + some usage of dbm::is_result()
...
Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-04-04 19:46:56 +02:00
Hypolite Petovan
7b352f3f74
Revert "Coding convention applied - part 1"
2017-03-21 12:02:59 -04:00
Roland Häder
951006dd10
more spaces + some curly spaces added
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-03-19 00:51:54 +01:00
Roland Häder
41a36606c6
added spaces + some curly braces
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-03-19 00:50:19 +01:00
Matthew Exon
96aadb23f8
Change $allowed_src_protocols to static
2017-01-31 03:44:32 +00:00
Matthew Exon
ce10a9aa7f
Break out list of acceptable protocols in "src" attribute into separate variable similar to "href" attributes
2017-01-30 15:48:12 +00:00
Matthew Exon
d99a96ef49
Global is an integer, do not set it to an empty string
2017-01-30 00:56:21 +00:00
Roland Haeder
6c0c9d542a
Continued with coding convention:
...
- added curly braces around conditional code blocks
- added space between if/foreach/... and brace
- rewrote a code block so if dbm::is_result() fails it will abort, else the id
is fetched from INSERT statement
- made some SQL keywords upper-cased and added back-ticks to columns/table names
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-12-20 21:16:49 +01:00
Roland Häder
884f44ce94
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-19 14:27:16 +01:00
Hypolite Petovan
cd354d3a57
Adding default protocols on missing config value for backward compatibility
2016-12-07 23:18:10 -05:00
Hypolite Petovan
2b75ad5e0a
src and href attributes sanitization touchups
...
- Use Config::get
- Add default to config call
- Add always allowed protocol to href
- Remove relative root URLs from allowed forms
2016-12-04 21:33:29 -05:00
Hypolite Petovan
979fc6d38a
Add protocol whitelist for href/src attributes
...
- Add strict URL checker for src attributes
- Add protocol whitelist for href attributes
- Add error styling if URL fails to pass filter
- Add doc for new htconfig value
- Add emphasis to config key names in htconfig doc
2016-12-03 14:19:57 -05:00
Hypolite Petovan
003e6a7371
Improve BBCode javascript stripping regex
2016-11-19 18:01:45 -05:00
Hypolite Petovan
aff467adf2
bbcode documentation: improve cleancss
2016-11-01 23:08:26 -04:00
Hypolite Petovan
63b1e822cd
bbcode documentation: improved webfinger profile regexp
2016-10-31 00:00:12 -04:00
Michael Vogel
50dc7a6047
Bugfix: Handle attachments with bbcode inside/handle the [p] bbcode
2016-08-23 07:40:16 +02:00
Michael Vogel
fc25e605cb
Logging for feeds improved, new "process id" for logging
2016-07-07 20:32:13 +02:00
Michael Vogel
f1af0fe360
Obly use the profile data in shares if there is data
2016-07-02 17:51:16 +02:00
Michael Vogel
0b1188b7fe
Imrpoved avatar handling when storing them/partly use of "micro"
2016-06-25 13:56:55 +02:00
Michael Vogel
65b541413f
Merge remote-tracking branch 'upstream/develop' into 1606-contact-id
2016-06-20 07:28:47 +02:00
Michael Vogel
e512a83ecc
Massively updated avatar handling
2016-06-19 01:07:20 +02:00
rabuzarus
0167a2bd61
port of Hubzillas code highlight feature
2016-06-16 11:38:12 +02:00
Michael Vogel
aad00ddc04
Renamed template
2016-06-08 07:11:16 +02:00
Michael Vogel
e2e32eecac
New template for shared content instead of hardcoded stuff in source
2016-06-07 22:29:50 +02:00
rabuzarus
33f7513ff3
Merge pull request #2554 from annando/1606-mention-class
...
Mentions are now having an own class
2016-06-04 09:45:42 +02:00
Michael Vogel
46659f15d3
One div too much
2016-06-01 21:58:50 +02:00
Michael Vogel
09e63e616a
Shared content now has a surrounding div
2016-06-01 21:57:08 +02:00
Michael Vogel
0b766b86ba
By setting the "userinfo" class the hovercard in frio works with mentions
2016-06-01 17:10:43 +02:00
Michael Vogel
85f42ad26d
Tags are now supported as well
2016-06-01 16:19:53 +02:00
Michael Vogel
5090ec1500
Mentions are now having an own class
2016-06-01 16:04:31 +02:00
Michael Vogel
1aa3aa21b3
Avoid warning messages at "strstr"
2016-05-05 20:36:23 +02:00
Michael Vogel
bed4799728
Some more beautification.
2016-05-03 21:57:08 +02:00
Michael Vogel
a7aaf7cc98
Shared links to Diaspora should look better now
2016-05-03 20:12:13 +02:00
Michael Vogel
93347d3279
Bugfix DFRN and bookmark detection
2016-04-24 17:00:19 +02:00
Michael Vogel
bb5421d925
Bugfix: The function to remove parts of attachments forgot about the rest
2016-04-20 00:12:27 +02:00
Michael Vogel
26f62a97fd
Bugfix: Missing include added
2016-04-18 06:11:29 +02:00
Michael Vogel
81bcafe28f
Improved handling of photos
2016-04-17 23:38:29 +02:00
Michael Vogel
49d52faab5
Use the "attachment" element instead of a mixture of several elements
2016-04-17 20:43:41 +02:00
Michael Vogel
791ce24cd5
Bugfix: Avoid warning with non object OEmbed data
2016-03-22 23:24:07 +01:00
Michael Vogel
bc283a5316
The "abstract" has moved after the "nobb" part in bbcode.
2016-02-23 07:21:40 +01:00
Michael Vogel
8ec833f808
New BBCode element "abstract" for network depending messages.
2016-02-22 23:20:59 +01:00
Michael Vogel
23731fc9aa
Bugfix: The display hadn't fetched the correct contact for the uid.
2016-01-10 15:44:23 +01:00
fabrixxm
6da04d16bd
get rid of unwanted <br>s in items with oembed
...
fix video thumbnail in quattro, vier, duepuntozero themes
2015-12-28 18:07:31 +01:00
Michael Vogel
bb45112544
OStatus: Picture posts are reformatted
2015-12-04 05:57:33 +01:00
Michael Vogel
32fa5d185c
Before the comparism the entities must be removed
2015-11-28 10:28:14 +01:00
Michael Vogel
643e228d6b
Bookmark links are now looking again like bookmark links
2015-11-28 07:37:02 +01:00
Michael Vogel
a9b2b48d08
Some small improvements to the OStatus export
2015-11-27 23:16:54 +01:00
Michael Vogel
8395f67351
Events on Diaspora now looking okay.
2015-10-17 09:41:58 +02:00
Michael Vogel
1f0b759e2f
Added resize possibility to proxy function
2015-10-07 08:25:10 +02:00
Michael Vogel
2676a0f0e5
The proxy function sometimes kills embedded pictures ...
2015-10-05 22:19:34 +02:00
fabrixxm
2d75e1f422
add support for oneline,in-text code tag
2015-08-20 15:08:55 +02:00
Michael Vogel
a8a21da6f5
Some steps for a better screen reader compatibility
2015-08-06 08:13:15 +02:00
Michael Vogel
43f98bc854
When posting to Diaspora, now the contact names are containing the link to the user profile.
2015-07-04 23:49:52 +02:00
fabrixxm
8e800af306
Merge pull request #1659 from annando/1506-ostatus-enclosures
...
Many OStatus improvements
2015-06-10 09:23:42 +02:00
Michael Vogel
f34135f34d
OStatus: Attachment links are now added as enclosures
2015-06-06 13:15:37 +02:00
Tobias Diekershoff
c00f73c836
uncomment replacement
2015-06-03 10:17:54 +02:00
Michael Vogel
939e5abfee
BBCode: In [url] the removing of unknown protocols is disabled
2015-06-02 16:16:40 +02:00
Michael Vogel
d732d9d1a8
OStatus replies should now work even if the thread starter isn't in the mentions.
2015-05-31 00:26:11 +02:00
fabrixxm
6258a21434
map bbcode tag from Red
2015-05-15 20:41:10 +02:00
Michael Vogel
be96b1eaa4
rich content in oembed now replaces the content in attachments
2015-05-01 10:42:43 +02:00
Michael Vogel
7c0c56d20b
The conversion of Repeated posts to markdown had a problem with a missing linefeed before the quote.
2015-04-03 12:37:29 +02:00
hauke
b2a86ceeaa
bugfix #1307
2015-03-22 10:02:00 +01:00
Michael Vogel
e2965c9ec5
Removed the timestamp for parser.
2015-03-08 03:25:32 +01:00
Michael Vogel
dbe8275ae5
Added some more timestamp measuring
2015-03-07 23:14:26 +01:00
Michael Vogel
30548dfeed
Improving performance measuring for the bbcode parser.
2015-03-07 21:08:22 +01:00
Michael Vogel
bf0f7c3d0a
New bbcode elements h1 to h6 for a better conversion of Diaspora content
2015-03-01 20:07:56 +01:00
Michael Vogel
4a6a6ca937
Bugfix for spaces in links
2015-02-22 20:06:13 +01:00
Michael Vogel
2f46675a89
New routines for markdown to html and html to markdown.
2015-02-22 17:38:28 +01:00
Michael Vogel
7e9ae24511
Moved several settings from .htconfig.php to the admin settings page.
2015-02-08 20:35:40 +01:00
Michael Vogel
46dd453e5b
Diaspora internal GUID links are now converted correctly.
2015-02-02 20:26:05 +01:00
Michael Vogel
848c09935a
The contact list in mails now contains not only the name but also the address.
2015-01-27 08:04:24 +01:00
Michael Vogel
beaca70126
OStatus: Replies now arrive their target.
2015-01-12 00:14:51 +01:00
Michael Vogel
bf147ca9d9
Hashtags in attached link description now don't create misformatted text anymore.
2015-01-02 01:43:31 +01:00
Michael Vogel
e475cf131d
When a post contains a picture then a picture in the added information is displayed only as a small preview picture.
2014-12-01 22:49:35 +01:00
Michael Vogel
3eed5bbd3e
Further improvement for newlines after attachments
2014-11-02 18:39:23 +01:00
Michael Vogel
14ea4b972e
BBCode: Newlines under attachments are now removed
2014-11-02 17:35:49 +01:00
Michael Vogel
778ed772d2
Diaspora: Repeated items from twitter to Diaspora now only include a link, since Diaspora is showing the whole tweet.
2014-09-27 23:39:06 +02:00
Michael Vogel
7af5c3c560
The useragent string doesn't contains of the words "Mozilla" anymore - but the name "Friendica" and the base url
2014-09-07 10:47:37 +02:00
Michael Vogel
b4e8ec2806
bbcode: mask "[" and "]" for attachments.
2014-08-28 01:11:43 +02:00
Michael Vogel
4ad2bbddc7
If a post is a pure reshare, then show the profile of the original author on the display page.
2014-08-26 17:10:46 +02:00
Michael Vogel
4976b1c153
BBCode: Add a linefeed between a picture and the following text. This is important for exports (e.g. to pumpio)
2014-08-25 23:40:18 +02:00
Michael Vogel
c5cc99c716
BBCode: Depending upon the image size of the preview picture for a link, the image is displayed differently
2014-08-25 14:08:26 +02:00
Michael Vogel
2769089120
bbcode: Don't use a preview picture in the "attachment" element if it is a video attachment.
2014-08-21 00:51:18 +02:00
Michael Vogel
d4b2d3bf8a
Moved "privacy_image_cache" into the core. Enabled by default, can be disabled in the page settings.
2014-08-13 00:13:13 +02:00
Michael Vogel
2e75e37c93
There seems to be problems with encoding - this should fix it.
2014-08-07 21:55:17 +02:00
Michael Vogel
e974e586cc
Unified user agent string when fetching data.
2014-08-07 07:58:20 +02:00
Michael Vogel
72eee45b92
The title of bookmark links is now taken instead of the data that was fetched via oembed
2014-07-27 16:10:09 +02:00
Michael Vogel
46c7cb5b72
bbcode: New mode for conversion of shared content that will be used for g+ and facebook export.
2014-07-24 22:51:28 +02:00
Michael Vogel
cd7f05801a
bbcode: Changed the format of repeated messages once more.
2014-07-10 23:12:07 +02:00
Michael Vogel
431a4d40eb
using the recycle sign instead of "RD" for statusnet.
2014-07-10 00:16:03 +02:00
Michael Vogel
31dbf23c47
bbcode: Shared posts to app.net will now have an @ before the username.
2014-07-10 00:12:12 +02:00
Michael Vogel
d9f6f5181f
Using @ before username when repeating messages to twitter and statusnet
2014-07-10 00:00:09 +02:00
Michael Vogel
c32735cde6
bbcode: Use shorter method for shared content to networks where size matters.
2014-07-09 23:33:38 +02:00
Michael Vogel
5ed5773f57
The temporary paths (temp, lock, itemcache) are now detected automatically when used.
2014-06-23 01:24:39 +02:00
Michael Vogel
4c9a6ed2fb
BBCode: Support for preview parameter in attachment, rearranged code for share
2014-06-15 01:57:31 +02:00
Michael Vogel
c5f993eb42
Added support for detecting app.net profiles
2014-06-10 20:20:51 +02:00
Michael Vogel
d3878d717c
bbcode: new element "attachment" for attached links.
2014-06-02 23:45:32 +02:00
tobiasd
d3db9365cb
Merge pull request #983 from annando/master
...
"red"-bookmarks and better plaintext export
2014-05-18 20:01:29 +02:00