Hypolite Petovan
56ee734b00
Cleanup /format pre-move
3 years ago
Hypolite Petovan
9c53108a3e
Use Config::get instead of get_config
3 years ago
Hypolite Petovan
188d3a6f5e
Renamed check_domain_blocklist to blocked_url
- Remove debug
3 years ago
Hypolite Petovan
8d469c155a
Add check_blocklist to z_fetch_url and post_url
- Standard compliance
3 years ago
Hypolite Petovan
c7e1a8e871
Added check_domain_blocklist
3 years ago
Hypolite Petovan
7b352f3f74
Revert "Coding convention applied - part 1"
3 years ago
Roland Häder
951006dd10
more spaces + some curly spaces added
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
41a36606c6
added spaces + some curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Michael
ae64f6f7e2
z_fetch_url now always returns an array
3 years ago
Michael
da8a48f89e
Bugfix: the curl option CURLOPT_SSL_VERIFYHOST is problematic
3 years ago
Hypolite Petovan
58a444b430
Add original_url() param documentation
3 years ago
Hypolite Petovan
2c959b925d
Add param documentation
3 years ago
Hypolite Petovan
432587464c
Fix Diaspora link attachment probe
- Move analytics param stripping out of original_url
- Remove HEAD curl request in ParseUrl::getSiteInfo
- Replace original_url with strip_tracking_query_params in
ParseUrl::getSiteInfo to prevent massive curl fest in border cases
3 years ago
Hypolite Petovan
99cfae63d7
Clean trailing whitespaces
3 years ago
Michael
7324a661f1
Optimized timeouts during network operations
4 years ago
Michael
a2debaa68a
Download limit for fetching data via "z_fetch_url"
4 years ago
Roland Häder
f8a213e23b
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
a9bed1422e
added more curyl braces + spaces between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
3ffea45a1c
added more curyl braces + spaces between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
be35349495
added more curyl braces + spaces between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
e1f3661645
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
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>
4 years ago
Roland Häder
467cdfeb34
3 slashes for Doxygen, 2 are enough for PHP ... :-(
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
ba45a292c4
3 slashes for Doxygen, 2 are enough for PHP ... :-(
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
41db906dc4
Continued with #3010 :
- removed added debug messages (maybe they will come back in accordance to
code-style guidelines?)
- converted $a->get_baseurl() back to App::get_baseurl()
- reverted back other code I have touched/merged as this was double:
(substr($url, 0, 4) !== 'http') on $url = 'https://bla '; will be FALSE
(means found http at start), too.
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
23d4db5149
Continued with #3010 :
- removed added debug messages (maybe they will come back in accordance to
code-style guidelines?)
- converted $a->get_baseurl() back to App::get_baseurl()
- reverted back other code I have touched/merged as this was double:
(substr($url, 0, 4) !== 'http') on $url = 'https://bla '; will be FALSE
(means found http at start), too.
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Michael
5ef688f1d2
Case correction
4 years ago
Michael
3de7b6d6ce
Several shorteners doesn't work anymore
4 years ago
Michael Vogel
f27bc00464
Remove obsolote functions
4 years ago
Michael Vogel
4e5d335492
Removed the legacy function calls, removed unused functions
4 years ago
Roland Haeder
432f96b646
And even more logging.
Signed-off-by: Roland Haeder <roland@mxchange.org>
4 years ago
Roland Haeder
f18e493e32
More logging!
Signed-off-by: Roland Haeder <roland@mxchange.org>
4 years ago
Roland Haeder
f88345cbea
HTTPS support in validate_url()
Signed-off-by: Roland Haeder <roland@mxchange.org>
4 years ago
Roland Haeder
738e22d3eb
Some fixes:
- Letting $profile_link and $hcard always been overwritten with newly found
entries has caused DFRN network detectio to fail and "connect" is no longer
working. This fix makes sure that these both variables are only set if they
are still empty.
- added more debug lines to see which URL was it before and after webfinger "detection"
Signed-off-by: Roland Haeder <roland@mxchange.org>
4 years ago
rabuzarus
95f129d9b6
xml: rename convert_element_to_array to element_to_array
4 years ago
rabuzarus
89f7a91907
move xml related function to the xml class + some doxygen docu
4 years ago
rabuzarus
db581c08d0
rework autocomplete: some polishing
4 years ago
Michael Vogel
79fb05ff80
Removed moved function
4 years ago
rabuzarus
12479fb478
rework autocomplete: Access list of smilies over JSON
5 years ago
rabuzarus
9b3931e48a
xml: rename convert_element_to_array to element_to_array
4 years ago
rabuzarus
dbc39bea74
move xml related function to the xml class + some doxygen docu
4 years ago
rabuzarus
ce1faf17d1
rework autocomplete: some polishing
4 years ago
Michael Vogel
8027854886
Removed moved function
4 years ago
rabuzarus
5f7c5e6ab6
rework autocomplete: Access list of smilies over JSON
5 years ago
Matthew Exon
4ff8c9e3a1
Document new redirect_url return value
5 years ago
Matthew Exon
930da0aa44
Return redirect_url as part of the return array from z_fetch_url instead of via global state
5 years ago
Matthew Exon
3ada0093f9
Note the final URL used to retrieve content after all redirects
5 years ago
Matthew Exon
677903b316
Report errors during cURL fetch
5 years ago
Michael Vogel
5ec2c7e965
When a server isn't reachable there were timeout problems with fetching image data
5 years ago
rabuzarus
3df5c17124
reformat todo according to doxygen style
5 years ago