Michael Vogel
07bc8ca166
fetch_url: Logging the data only when at the "data" loglevel
7 years ago
Michael Vogel
e974e586cc
Unified user agent string when fetching data.
7 years ago
Michael Vogel
6f5bc8d9a7
Setting the user agent to "Mozilla/5.0 (compatible; Friendica)"
7 years ago
Michael Vogel
6a28ae8b52
Just some better handling of tracker variables (url encoding)
7 years ago
Michael Vogel
135a403cec
Added some tracking variables from facebook in the function to clean up URLs.
7 years ago
Michael Vogel
5ae9c5e538
Added some logging
7 years ago
Michael Vogel
6b461a74cb
Cleaning up tracking parameters in urls.
7 years ago
Michael Vogel
426e0045ee
The function "short_url" is used in several addons, so it deserves a central place.
7 years ago
Michael Vogel
a64948b7f7
New function "original_url" (moved from an addon) that follows all redirects to the original url.
7 years ago
Michael Vogel
8c1d31decc
Showing "view full size" is now configurable
7 years ago
fabrixxm
ad5a47aecf
add fetaure switch for acl-automention
7 years ago
Mats Sjöberg
19de78e511
Fixed subscription problem with new GNU Social.
8 years ago
Michael Vogel
759015e5fd
Removed many "limit 1" at update and delete queries since they were superflous und generated massiv logfile entries
8 years ago
Matthew Exon
11163c6fb3
Allow calls to fetch_url to specify a cookiejar file, for sites that refuse to deliver content without setting a cookie
8 years ago
Matthew Exon
6a38705567
Replicate redirect URL building logic for post requests
8 years ago
Matthew Exon
eb9bd03ef8
If the header returns an absolute path as a redirect, don't simply append the path to the old URL, remove the old absolute path first.
For example, original URL:
http://www.theregister.co.uk/2013/07/28/birmingham_uni_car_cracker_muzzled_by_lords/print.html
Redirect from header:
/Print/2013/07/28/birmingham_uni_car_cracker_muzzled_by_lords/
Incorrect result:
http://www.theregister.co.uk/2013/07/28/birmingham_uni_car_cracker_muzzled_by_lords/print.html/Print/2013/07/28/birmingham_uni_car_cracker_muzzled_by_lords/
Correct result after this patch:
http://www.theregister.co.uk/Print/2013/07/28/birmingham_uni_car_cracker_muzzled_by_lords/
8 years ago
friendica
886c3d1472
bad checkin
8 years ago
Matthew Exon
5b158dbcfb
Make the content type available after calling fetch_url
8 years ago
Matthew Exon
c7cfc6b170
Use filter_var instead of parse_url to validate URLs, since the latter returns true even for invalid URLs, in particular the empty string
8 years ago
Matthew Exon
c53bdfb163
Restore redirect functionality removed by change 452ff19d
8 years ago
friendica
615b060352
rev update
8 years ago
Michael Vogel
fdee002f73
Several improvements for performance measuring
8 years ago
Michael - piratica.eu
2c93067682
Performance: Adding several variables for performance measuring.
8 years ago
Michael - piratica.eu
7ab335c9d6
Diaspora: Auto-adding users as friend who already sharing with us
8 years ago
Michael Vogel
452ff19d73
Redirects sometimes only seems to send the hostname and no path. "fetch_url" respects this.
8 years ago
Michael Vogel
5501dd0759
Searching for tags has been enabled in all places. The tag detection has been improved for imports with missing line feeds.
8 years ago
Michael Vogel
a8aa992102
Vier: Design issues with preview fixed
8 years ago
Michael Vogel
46c5a97a20
New caching system for photos
8 years ago
Michael Vogel
e36c30d285
Vier: Margin problems with code fixed.
9 years ago
Michael Vogel
f17377e6de
New cache system with subdirectories
9 years ago
friendica
621e737826
fix angle char storage and transmission, rev update
9 years ago
Michael Vogel
fc27edb6d7
network: Caching of images
9 years ago
Michael Vogel
6456c2484e
scale_external_images: Fix: Hadn't looked for pictures in the format [img=XxY]
9 years ago
Michael Vogel
47c48aa438
DBA: Possibility to log the database speed
9 years ago
Michael Vogel
e9d7f85297
network: Small changes
9 years ago
friendica
dd71f9446b
config to disable email validation
9 years ago
Zach Prezkuta
90f8454190
allow linking to Diaspora's scaled-down images
9 years ago
Fabio Comuni
7cc8c369cb
Add support for PNG images with alpha
9 years ago
friendica
4f0e26759c
bring in the *much better* xml parser from the original zot branch
9 years ago
Fabio Comuni
52915c6e68
validate_url() and validate_email() validate also IP address.
9 years ago
Tobias Hößl
720c8324c7
Some Bugfixes, and variable checks
9 years ago
Fabio Comuni
67a2d5be77
validate_url allow naked subdomain if is "localhost"
9 years ago
friendica
14d68a0dc0
set default on get_avatar
9 years ago
Klaus Weidenbach
1f9fe8b5ee
Remove Gravatar from core and add new hook avatar_lookup.
This patch removes all occurances of Gravatar from friendica's core and adds a new hook "avatar_lookup" inside the function avatar_img($email) where the new *avatar-plugins should hook in.
I haven't touched the language files yet. Are they updated automatically somehow?
9 years ago
Klaus Weidenbach
93ffba58cc
Rename gravatar_img() more generic to avatar_img().
I would like to extend the Gravatar support to also use Libravatar, a decentralized avatar service.
First step to extract Gravatar from core and put it into its own plugin. Later the Libravatar plugin can be done, too as a plugin.
9 years ago
friendica
5d0d9f8772
make contact ssl_policy change a function since it is used in a few places
9 years ago
friendica
e6fd6bfd89
more error handling
9 years ago
friendica
67fd539f53
bug #337 , call template_unescape() only at the end of template processing
9 years ago
friendica
bdb14d5aad
relative link redirects
9 years ago
friendica
2c7da5d0de
scale external images
9 years ago