Michael Vogel
8cabcda5e0
Always parse the first title element
2016-06-22 21:00:58 +02:00
Michael Vogel
26e1c4d458
Avoid SQL errors because of existing entries
2016-05-03 19:20:58 +02:00
Michael Vogel
3e76ad7793
Bugfix: ' in titles were a problem.
2016-04-18 20:57:01 +02:00
Michael Vogel
49d52faab5
Use the "attachment" element instead of a mixture of several elements
2016-04-17 20:43:41 +02:00
fabrixxm
b202e02fbf
Revert "Updated modules to allow for partial overrides without errors"
...
This reverts commit db949bb802
.
2016-02-07 15:11:34 +01:00
Andrej Stieben
db949bb802
Updated modules to allow for partial overrides without errors
...
Only define functions if they have not been defined before, e.g. in themes. This makes it possible to override parts of a module and still use the other functions.
2016-02-05 21:52:39 +01:00
Michael Vogel
32c7896c5d
Merge remote-tracking branch 'upstream/develop' into 1601-network-performance
2016-01-18 18:49:04 +01:00
Michael Vogel
5ec2c7e965
When a server isn't reachable there were timeout problems with fetching image data
2016-01-18 15:38:38 +01:00
Michael Vogel
268467fe04
Add the creation date to the cache tables
2016-01-15 00:58:57 +01:00
Michael Vogel
d5e1f33506
OEmbed and parse_url are now cached in dedicated tables
2016-01-14 23:59:51 +01:00
rabuzarus
3df5c17124
reformat todo according to doxygen style
2015-12-25 23:17:34 +01:00
Michael Vogel
20befee9ed
Dupilcated tags shouldn't happen anymore when parsing a webpage.
2015-11-28 13:15:00 +01:00
Michael Vogel
b52bc71c6c
Now you can define the duration of the cache entries.
2015-08-24 17:24:14 +02:00
root
54a5a80b24
Poco: New fields for last contact and last failure of a contact.
2015-07-17 01:08:28 +02:00
Michael Vogel
539a93b3f1
The timestamp was at the wrong place
2015-04-06 13:49:57 +02:00
Michael Vogel
aea83f0bec
The order for the page parsing is changed.
2015-04-05 20:40:31 +02:00
fabrixxm
250b466ed3
Fix blank reponse if no siteinfo are fetched
2015-03-22 11:03:46 +01:00
fabrixxm
1cc9e7db0f
Add scheme if missing to url inserted by user in 'insert link' jot
...
button
2015-03-22 10:59:00 +01:00
Michael Vogel
dbe8275ae5
Added some more timestamp measuring
2015-03-07 23:14:26 +01:00
Michael Vogel
011f5b9cae
Bugfix: Postings disappeared due to a small variable ...
2015-01-05 14:28:17 +01:00
Michael Vogel
47129c01f8
Check for filesize before trying to fetch site infos.
2015-01-04 20:04:59 +01:00
Michael Vogel
9124d922e9
In "parse_url" now links with [ or ] are replaced with shortened versions to avoid parsing problems.
2014-12-01 22:54:01 +01:00
Michael Vogel
3600289262
New hook "getsiteinfo", separating fetching site info from generating bbcode
2014-10-20 08:03:47 +02:00
Michael Vogel
759f199b6f
Created hashtags from keywords now are links. URL are cleaned from tracking data.
2014-10-03 13:02:15 +02:00
Michael Vogel
904f8ac422
Creating hashtags from keywords of a feed, when additional data should be fetched.
2014-10-03 12:18:33 +02:00
Michael Vogel
459fc2fabd
Security issue: Encoding of GUID in itemcache to avoid directory bypassing with a malificious formatted GUID.
2014-09-27 12:49:00 +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
e974e586cc
Unified user agent string when fetching data.
2014-08-07 07:58:20 +02:00
Michael Vogel
dbcfe58ea8
parse_url: Removing of warnings with invalid charsets
2014-07-24 22:50:56 +02:00
Michael Vogel
bb5f797047
Preventing an endless loop while fetching site infos
2014-07-14 08:37:40 +02:00
Michael Vogel
6f5bc8d9a7
Setting the user agent to "Mozilla/5.0 (compatible; Friendica)"
2014-07-10 23:13:07 +02:00
Michael Vogel
53d925095f
Added some functionality if oembed isn't working. (Should be extended in the future)
2014-05-29 11:45:32 +02:00
Michael Vogel
c41b1c2d55
Building a central functionality to export postings to all networks that only support plaintext postings. In near future this will replace the similar code in the several addons.
2014-05-03 12:04:54 +02:00
Michael Vogel
12866209e8
parse url: Emtpy values in meta headers are now ignored. Oembed data has priority. Videos are embedded with some further information.
2014-04-04 10:58:31 +02:00
Michael Vogel
b013537124
parse url: Improvements for detecting the page type
2014-03-16 17:48:28 +01:00
Michael Vogel
37edb3079d
parse_url: Trim the content of the description field.
2014-03-02 01:00:36 +01:00
Michael Vogel
608d5255ec
Support for twitter cards (in both directions)
2014-02-22 15:46:19 +01:00
Michael Vogel
7cba752f8a
parse url: Characters like < and > has to be escaped when showing the parsed output.
2014-02-16 17:35:01 +01:00
Michael Vogel
aed28a24f1
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
mod/crepair.php
2014-01-05 16:22:42 +01:00
Michael Vogel
bae844e367
New style for shared links. Preparation for changes in some addons
2013-12-08 16:49:07 +01:00
Michael Vogel
4f38969148
Optional parameter for parseurl to only fetch data from meta information
2013-12-02 20:24:41 +01:00
Michael Vogel
028dc3c3b4
Switching the user agent because CloudFlare has blocked the old one
2013-10-15 01:11:01 +02:00
Michael Vogel
2866f62c88
Suppoorting Open Graph and Dublin Core when displaying single item
...
Following link shorteners in parse_url
2013-03-02 14:46:06 +01:00
Michael Vogel
c35feb27f2
community: Only show top postings, no comments
...
parse_url: Follow location in "meta"-header
2013-02-24 12:54:53 +01:00
Zach Prezkuta
74caf1a4a7
* Add MIME types for file attachments
...
* Restore translatability to mood phrases
* Prevent casting of "false" in html2plain
* Allow attachments with a comma in the filename
* Fix/optimize ACL img data-src jQuery search
* Fix bug when uploading files with a comma in the name using Chrome/Chromium
* Babel nicer output formatting
* Remove obsolete "plaintext" check in mod/parse_url
* Restore TinyMCE live insertion of images
* Smarty conversion script: add --no-header option to suppress warning headers in Smarty template files
2013-01-12 06:31:32 -07:00
friendica
8ab24858fb
fix "insert web link" for those without richtext feature enabled
2012-12-03 16:31:28 -08:00
friendica
20938d07cd
typo on previous checkin - set max number of images for an inserted link, default 2.
2012-09-13 23:01:10 -07:00
friendica
1478229abc
allow comments on other folks wall-to-wall postings
2012-09-05 18:24:06 -07:00
friendica
3968dc932f
update writable for dfrn contacts when using local delivery
2012-09-05 16:26:11 -07:00
Michael Vogel
6d0f0e6273
parse_url: Fixed a problem in the detection if there was an image or not. Additionally removed some test content.
2012-08-02 10:25:08 +02:00
Vasudev Kamath
863617013c
Access image part of siteinfo only if $siteinfo["images"] is actually set. The current
...
code didn't check this so I was getting an error
Warning: Invalid argument supplied for foreach() in /home/vasudev/Public/friendica/mod/parse_url.php on line 305
Implemented a check before accessing $siteinfo["images"] with this commit and now warning doesn't come when giving URL of a site which doesn't have image from link button of post area
2012-07-22 12:41:07 +05:30
Michael Vogel
222635d15a
parse_url: Just added a comment for future elements that should be added as well.
2012-07-18 21:06:38 +02:00
Michael Vogel
72f430ae58
parse_url: Problem when resizing images
2012-07-14 13:59:42 +02:00
Michael Vogel
5f400c4a97
API: Now returns a real 404 when a function isn't implemented
...
parse_url: Image handling improved
2012-07-13 23:23:31 +02:00
Michael Vogel
02a1fc9cd0
parse_url: Further improvements of the new method to fetch page data
2012-07-12 23:41:04 +02:00
Michael Vogel
09034ce0ee
parse_url: Fetch multiple pictures so that the user can decide what to take.
2012-07-12 08:20:27 +02:00
Michael Vogel
48f67ead9b
parse_url: complete new code for fetching website information
2012-07-12 01:17:33 +02:00
friendica
0ecba60503
undefined fn
2012-06-28 21:15:43 -07:00
Fabio Comuni
7cc8c369cb
Add support for PNG images with alpha
2012-06-07 17:42:13 +02:00
Alexander Kampmann
355c42cb30
Merge branch 'master' of https://github.com/friendica/friendica
...
Conflicts:
include/config.php
update.php
2012-04-05 13:39:15 +02:00
Tobias Hößl
02a9fd5dc1
A 'PHP Fatal error: Call to a member function getElementsByTagName() on a non-object in mod/parse_url.php on line 191' occurred when the linked HTML-File doesn't have a HEAD. The HTML-file couln't be link to in the editor therefore.
2012-03-03 10:44:34 +00:00
friendica
c6cdad946e
more fixes for textmode
2012-02-07 00:13:16 -08:00
friendica
8aa2552372
add remove_user hook (it looks like dreamhost changed all my file permissions, this will make a nasty commit)
2012-01-18 16:21:30 -08:00
Friendika
e5992003e8
better handling of remote urls - especially FB opengraph
2011-10-28 02:50:00 -07:00
Friendika
01164c8c2f
fix various html parse errors
2011-10-20 16:48:07 -07:00
Friendika
1c8e89bd03
social bookmark API, oexchange enhancements
2011-09-20 16:31:45 -07:00
Friendika
8a11cec61a
allow setting all the bookmarked URL fields via script/API
2011-09-19 22:21:55 -07:00
Friendika
82f7f33cf5
bookmarks + bug #140
2011-09-04 19:58:03 -07:00
Friendika
9ff1a3444e
add timezone convert module, several other minor or in progress fixes
2011-09-04 00:48:45 -07:00
Friendika
f0af4de4a7
wrap text from imported link in [quote]
2011-08-04 19:19:51 -07:00
Friendika
2a65d01ce2
several fixes to parse_url
2011-07-11 17:23:42 -07:00
Friendika
35edf79abe
bug #102
2011-07-09 15:06:53 -07:00
Friendika
24d41e2c6e
purify html before trying to parse wild urls. This way at least it should parse.
2011-07-04 23:02:04 -07:00
Fabio Comuni
7c5a7a94d4
Add oembed user option for use oembed instead of standard yotube embedding.
...
Remove global option and parse_url use of oembed.
2011-05-23 10:37:09 +02:00
fabrixxm
ef64c5187d
add config [system][embed_all] to use oembed with links and youtube. Url parse fallback to default if url has not an oembed rappresentation.
2011-05-23 09:14:57 +02:00
Friendika
bc2297d933
don't insert link summaries containing javascript bug #75
2011-05-21 05:27:53 -07:00
Friendika
2fffec912c
leave extra line between imported url and content
2011-05-10 18:15:45 -07:00
Friendika
58508201a5
bug #37 , ampersand + everything following in url is stripped when using link icon to share link
2011-04-10 03:36:12 -07:00
Friendika
f6556e0a72
more plugin hooks
2010-12-25 15:01:02 -08:00
Friendika
ddec422de6
begin plugin api
2010-12-20 19:38:34 -08:00
Friendika
2d9718fee9
do a slightly better job at finding relevant content from scraping submitted links
2010-12-19 19:04:37 -08:00
Friendika
0afc71a95a
trim trailing LF in imported link
2010-12-06 16:26:32 -08:00
Mike Macgirvin
7a07a2cf31
enhance url parse
2010-07-22 23:17:41 -07:00
Mike Macgirvin
36b66dccb6
ajaxify the wall poster
2010-07-22 22:41:45 -07:00