Commit Graph

70 Commits

Author SHA1 Message Date
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 436520dc92 Add screen icon for plugin upgrade. Props demetris. fixes #9410
git-svn-id: https://develop.svn.wordpress.org/trunk@10850 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-30 16:26:48 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Peter Westwood 5203c03197 Focus on the first blank field when asking for credentials for upgrade/install. Fixes #9061 props rmccue.
git-svn-id: https://develop.svn.wordpress.org/trunk@10628 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-22 21:49:48 +00:00
Ryan Boren 55216d87ac Reset port when saving credntials. Props dwenaus and DD32. fixes #8580 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10198 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-12 20:12:16 +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
Andrew Ozz 161d70aeb9 Remove extra screen icons, fixes #8514
git-svn-id: https://develop.svn.wordpress.org/trunk@10093 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 01:55:06 +00:00
Ryan Boren 1c84611441 Allow override of default file permissions with FS_CHMOD_DIR and FS_CHMOD_FILE. Props DD32. see #8478
git-svn-id: https://develop.svn.wordpress.org/trunk@10050 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 21:58:46 +00:00
Ryan Boren 2e8d387c34 Use binary mode for fopen in download_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@10048 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 21:47:45 +00:00
Andrew Ozz 4194adcfd3 Fix field labels in file.php, fixes #8456
git-svn-id: https://develop.svn.wordpress.org/trunk@10018 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-03 01:43:11 +00:00
Ryan Boren 0bd7e4aa71 Fix upload error codes. Props sekundek. fixes #8310
git-svn-id: https://develop.svn.wordpress.org/trunk@9930 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-27 21:19:12 +00:00
Andrew Ozz 0b85e05cda More screen icons and fixes, includes patch by johnconners, fixes #8380
git-svn-id: https://develop.svn.wordpress.org/trunk@9912 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 23:35:23 +00:00
Ryan Boren fab4e5a68e Unused var fixes. Props DD32. see #8220
git-svn-id: https://develop.svn.wordpress.org/trunk@9716 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-15 18:10:35 +00:00
Ryan Boren 2dc15c5a81 Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9699 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 23:01:16 +00:00
Ryan Boren a070a5e38f Revert [9523]. fixes #8195 see #7395
git-svn-id: https://develop.svn.wordpress.org/trunk@9664 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 18:48:54 +00:00
Andrew Ozz f587fabad8 Store uploads according to the parent post date when using year/month sub-directories
git-svn-id: https://develop.svn.wordpress.org/trunk@9663 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 18:22:00 +00:00
Ryan Boren eb10add065 Increase memory limit when unzipping. fixes #8149
git-svn-id: https://develop.svn.wordpress.org/trunk@9612 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-11 19:11:48 +00:00
Andrew Ozz 464fdd9e4d Add missing "button" class, props Simek, fixes #8067
git-svn-id: https://develop.svn.wordpress.org/trunk@9527 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-05 18:14:22 +00:00
Ryan Boren 742c91322a Support installation of plugins living in a subdir in svn. Props DD32. fixes #7395
git-svn-id: https://develop.svn.wordpress.org/trunk@9523 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-05 17:07:45 +00:00
Ryan Boren 20addd1346 IF copy fails, chmod target to 0644 and try again
git-svn-id: https://develop.svn.wordpress.org/trunk@9493 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-03 17:16:41 +00:00
Ryan Boren 15392065d3 Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@9460 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-01 06:57:00 +00:00
Ryan Boren 9e262e7d0f Pass along POST info when requesting credentials
git-svn-id: https://develop.svn.wordpress.org/trunk@9459 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-01 06:56:38 +00:00
Ryan Boren 3db8a45955 Give downloads a longer timeout. see #7793
git-svn-id: https://develop.svn.wordpress.org/trunk@9186 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-15 16:38:17 +00:00
Ryan Boren 1bd22eb542 Report curl errors
git-svn-id: https://develop.svn.wordpress.org/trunk@9185 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-15 16:35:35 +00:00
Ryan Boren 335bea59ba Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@9165 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-14 16:37:08 +00:00
Ryan Boren 5b794466f4 Use set_time_limit() to buy some time during upgrade. see #5560
git-svn-id: https://develop.svn.wordpress.org/trunk@9164 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-14 16:36:43 +00:00
Ryan Boren c1d3d0cf35 Convert download_url() to http api. Props DD32. see #7793
git-svn-id: https://develop.svn.wordpress.org/trunk@9142 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-13 23:41:03 +00:00
Ryan Boren f885a9f93a phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9053 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 01:03:26 +00:00
Ryan Boren d39e61cd74 ssh2 fs fixes from ShaneF and DD32. see #7690
git-svn-id: https://develop.svn.wordpress.org/trunk@8880 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-13 18:06:20 +00:00
Ryan Boren d25dc6aa54 Handle ssh keys in ssf2 fs. Props ShaneF. see #7690
git-svn-id: https://develop.svn.wordpress.org/trunk@8865 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-11 17:44:43 +00:00
Andrew Ozz 291dfd9a4e SSH2 filesystem improvements, props ShaneF, see #7690
git-svn-id: https://develop.svn.wordpress.org/trunk@8852 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-09 03:24:05 +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 761360fa68 Add names for attachment templates, fix page template name extraction. See #7576.
git-svn-id: https://develop.svn.wordpress.org/trunk@8718 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-23 09:49:52 +00:00
Ryan Boren dd385234e4 Use WP_CONTENT_PATH to find find files. Props Terragg. fixes #7575 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8716 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-22 22:55:30 +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
Ryan Boren 7d958a43d1 Automatic upgrade, first cut. see #5560
git-svn-id: https://develop.svn.wordpress.org/trunk@8595 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 22:49:35 +00:00
Ryan Boren 80a4ec8e37 Fix bad bracketing in unzip_file()
git-svn-id: https://develop.svn.wordpress.org/trunk@8580 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-07 19:15:04 +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 f56c238807 Image sideloader fix from noel. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@8192 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-25 16:45:04 +00:00
Ryan Boren 8712abb23c Delete plugin confirmation from DD32. see #7091
git-svn-id: https://develop.svn.wordpress.org/trunk@8095 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-16 18:35:48 +00:00
Ryan Boren c9fe66f9c8 Use WP_CONTENT_DIR to fix theme editor file loading. Props ionfish. fixes #7097
git-svn-id: https://develop.svn.wordpress.org/trunk@8053 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-05 16:39:20 +00:00
Ryan Boren 3d6cc17ced Press This enhancement from noel. see #7066
git-svn-id: https://develop.svn.wordpress.org/trunk@8048 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-04 16:13:55 +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 9faab00411 Add some page template validation
git-svn-id: https://develop.svn.wordpress.org/trunk@7921 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-12 23:51:54 +00:00
Ryan Boren b8799eb470 Use full path to fs abstraction class. Props DD32. fixes #6912
git-svn-id: https://develop.svn.wordpress.org/trunk@7895 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-05 17:06:29 +00:00
Ryan Boren b1629f1455 tempnam workarounds from DD32. see #6465
git-svn-id: https://develop.svn.wordpress.org/trunk@7840 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 21:34:54 +00:00
Ryan Boren 32e9822516 Use error handler instead of die when moving files to upload dir fails. Props simonwheatley. fixes #6450 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7644 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:01:59 +00:00
Ryan Boren 69139c4672 Return WP_Error from download_url() on HTTP Errors. Fix cases where current plugin filename differs from the WordPress.org slug. Props DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7547 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 07:36:30 +00:00
Ryan Boren e6c6a44a6c Enable wpfs auto selection. Props DD32. seee #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7414 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-20 06:08:27 +00:00