Commit Graph

49 Commits

Author SHA1 Message Date
Dion Hulse
244addfc0d Attempt to work around Mac FTP Server security implications of using '-a' in FTP. Props eoinomurchu. See #12232
git-svn-id: https://develop.svn.wordpress.org/trunk@13850 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 01:07:03 +00:00
Andrew Nacin
dd306def81 Remove redundant isset() and empty() checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:29:21 +00:00
Andrew Nacin
d7adf00e0e s/existant/existent/
git-svn-id: https://develop.svn.wordpress.org/trunk@13380 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:01:37 +00:00
Andrew Nacin
0fc1312800 Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
git-svn-id: https://develop.svn.wordpress.org/trunk@13132 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:27:19 +00:00
Dion Hulse
eff9f9e25b Standardise return values in WP_Filesystem::dirlist(), ::chmod() and ::exists()
git-svn-id: https://develop.svn.wordpress.org/trunk@12999 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:59:30 +00:00
Dion Hulse
c6aa08558a Reduce code duplication, Formatting cleanups, Reduce Chmod IO calls. See #10913 for excess IO calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@12998 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:31:40 +00:00
Dion Hulse
bb80851161 Fix recursive chmod for WP_Filesystem. Props reaperhulk for FtpExt. Fixes #11261
git-svn-id: https://develop.svn.wordpress.org/trunk@12997 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:12:29 +00:00
Ryan Boren
8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Dion Hulse
76592af8d8 Standardise WP_Filesystem_*::put_contents() arguments to support chmod reliably across all transports. Fixes #10889
git-svn-id: https://develop.svn.wordpress.org/trunk@12723 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 09:23:53 +00:00
Ryan Boren
8da73e044d Pass correct number of args to ftp_chdir(). Props Denis-de-Bernardy. see #10889
git-svn-id: https://develop.svn.wordpress.org/trunk@12369 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 23:03:25 +00:00
Ryan Boren
3821d10f89 Fix wpfs root dir location. Props dd32. fixes #11152
git-svn-id: https://develop.svn.wordpress.org/trunk@12268 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 21:52:13 +00:00
Andrew Ozz
707676f0ac Include 'hidden' directories in filesystem dirlist by default, props dd32, fixes #10774
git-svn-id: https://develop.svn.wordpress.org/trunk@11934 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-15 02:21:00 +00:00
Ryan Boren
43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Andrew Ozz
38ac50b6eb WP_Filesystem fixes and phpdoc, props hakre dd32, see #10304
git-svn-id: https://develop.svn.wordpress.org/trunk@11831 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 08:34:53 +00:00
Andrew Ozz
10cd9df0ae Add constants for ftp connections timeouts, props dd32, see #10522
git-svn-id: https://develop.svn.wordpress.org/trunk@11823 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-15 12:01:04 +00:00
Andrew Ozz
6e39ca2cb0 Fix WP_Filesystem_FTPext->exists(), props dd32, fixes #10060
git-svn-id: https://develop.svn.wordpress.org/trunk@11821 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-15 08:31:06 +00:00
Peter Westwood
89249d1f77 Fix plugin/theme upgrade issues when using ftp extension. Fixes #9980 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@11495 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-30 17:14:07 +00:00
Ryan Boren
d77d35e502 Check if not exists and not is_dir before bailing. Props st3ff3n. fixes #9274
git-svn-id: https://develop.svn.wordpress.org/trunk@11082 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-24 17:12:21 +00:00
Ryan Boren
603fba4ad4 consolidate plugin/theme/core upgrade/install functions. Props DD32. see #7875
git-svn-id: https://develop.svn.wordpress.org/trunk@11005 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-19 19:36:28 +00:00
Ryan Boren
077e5b20e9 Revert FTP parts of [10919]. fixes #9535 see #9525
git-svn-id: https://develop.svn.wordpress.org/trunk@10930 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-14 17:16:44 +00:00
Ryan Boren
99e1a865d0 WPFS cleanups. Props DD32. fixes #9525
git-svn-id: https://develop.svn.wordpress.org/trunk@10919 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-13 16:11:02 +00:00
Ryan Boren
baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Peter Westwood
cc2ad7b801 Switch the ftpext filesystem to use Passive FTP aswell. Fixes #7940 props mcs_trekkie.
git-svn-id: https://develop.svn.wordpress.org/trunk@9833 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-21 17:59:15 +00:00
Peter Westwood
55ebbd699f Autodetect binary files for FTP filesystems. Fixes #7568 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@8990 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-26 06:53:57 +00:00
Ryan Boren
eb093c7182 Don't append HTTPOnly if cookie domain is empty. see #7677
git-svn-id: https://develop.svn.wordpress.org/trunk@8811 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 05:35:58 +00:00
Peter Westwood
ab17f7283c phpdoc for wp-admin. See #7496 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8645 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-14 06:30:38 +00:00
Ryan Boren
2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Peter Westwood
0d522c3898 Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: https://develop.svn.wordpress.org/trunk@8540 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 21:01:09 +00:00
Ryan Boren
83ff7f5e58 Make WP_Filesystem work with new directory constants. Props DD32. fixes #7059
git-svn-id: https://develop.svn.wordpress.org/trunk@8009 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-29 17:29:32 +00:00
Ryan Boren
6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Ryan Boren
90571b05c1 FTP find_base_dir fixes from DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7443 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 05:15:21 +00:00
Ryan Boren
222de67dca Check return of tmpfile(). see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7403 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 20:36:23 +00:00
Ryan Boren
045e4af5d0 Fix typo in ftpext class. Handle safe mode errors. PRops DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7393 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 02:46:27 +00:00
Ryan Boren
7fa4f4fece Basedir location fixes for ftp fs from DD32. see #6245
git-svn-id: https://develop.svn.wordpress.org/trunk@7369 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-18 00:13:11 +00:00
Ryan Boren
f0b35af5b9 Fix var name. see #6236
git-svn-id: https://develop.svn.wordpress.org/trunk@7335 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-16 18:19:42 +00:00
Ryan Boren
4557a4440f find_base_dir fixes from DD32. see #6245
git-svn-id: https://develop.svn.wordpress.org/trunk@7328 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-16 09:50:35 +00:00
Ryan Boren
e9a73beaca FTP CWD fixes from DD32. see #6245
git-svn-id: https://develop.svn.wordpress.org/trunk@7327 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-16 09:49:10 +00:00
Ryan Boren
79f4ab9a35 i18n fixes from nbachiyski. fixes #6226
git-svn-id: https://develop.svn.wordpress.org/trunk@7300 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 19:56:43 +00:00
Ryan Boren
40da1d6412 Auto update fixes from DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7238 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 16:37:44 +00:00
Ryan Boren
16185d747b wpfs fixes from DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7164 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 06:06:13 +00:00
Ryan Boren
dc6c68d79a wp-fs fixes from DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7155 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 17:10:17 +00:00
Ryan Boren
6d7441c26e Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren
e05d09f0e6 Plugin updater updates. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7126 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-01 21:20:23 +00:00
Ryan Boren
a2af257bf4 gettext fixes from takayukister. fixes #6018
git-svn-id: https://develop.svn.wordpress.org/trunk@7063 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 17:19:58 +00:00
Ryan Boren
7e98ec2a8b Silence some exected warnings in ftpext. Props DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7039 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-26 18:35:01 +00:00
Ryan Boren
8a8ee94c63 Set eol-style to native
git-svn-id: https://develop.svn.wordpress.org/trunk@6919 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 00:12:48 +00:00
Ryan Boren
02b1e8d39d Fix ftpext dirlist for ftp servers that return 8 fields instead of 9. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@6914 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-19 08:22:42 +00:00
Ryan Boren
64cfa05c2e ftp fs tweaks. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@6785 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-11 08:46:11 +00:00
Ryan Boren
3064a1290c First cut at plugin update. Props DD32 for the filesystem abstraction. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@6779 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-11 05:45:54 +00:00