Changes between Version 1 and Version 2 of Features/RemoteEditing


Ignore:
Timestamp:
03/16/11 10:27:46 (3 years ago)
Author:
Sewi
Comment:

Current state

Legend:

Unmodified
Added
Removed
Modified
  • Features/RemoteEditing

    v1 v2  
    33This feature has a partial implementation and it needs a better description how it should work. 
    44 
    5 Remote editing via FTP (#12), HTTP, and SSH 
     5Remote editing via FTP (#12), HTTP, SSH and other protocols 
    66 
    7 See ''File ->  Open... -> Open URL'' 
     7Use ''File ->  Open... -> Open URL'' to open a remote file. 
     8 
     9Examples of valid URLs: 
     10 
     11* http://padre.perlide.org 
     12 
     13* http://padre.perlide.org/trac/wiki/Features/RemoteEditing?action=edit 
     14 
     15* ftp://user:pass@perlide.org/pub/Makefile.PL 
     16 
     17Some parts have special behavior depending on the URL type. Example: The file-refreshed-on-disk check is done less often. 
     18 
     19== Current state == 
     20 
     21=== HTTP === 
     22 
     23* Currently read-only 
     24 
     25=== FTP === 
     26 
     27* Read/Write access 
     28 
     29* Supports anonymous ftp 
     30 
     31* Supports authenticated ftp (username/password) 
     32 
     33=== SSH === 
     34 
     35(Need to check) 
    836 
    937== Test == 
    1038 
     39Automated tests are in t/94.padre-file-remote.t but you have to set the environment variable PADRE_NETWORK_T to true to enable them. 
     40 
     41Manual test: Open the following URLs with ''File ->  Open... -> Open URL'': 
     42 
     43* http://www.google.com (Should give you the HTML source of the Google homepage) 
     44 
     45* http://padre.perlide.org/trac/browser/trunk/Padre/Makefile.PL?format=txt 
     46 * Should open the Padre Makefile.PL 
     47 * Should be discovered as Perl source (see status bar) 
     48 
    1149== TODO == 
     50 
     51* Build a better UI for the open dialog 
     52 * Good example: VLC open dialog with different tab's for each supported protocol (source for vlc) 
     53 
     54* Convert all Padre disk i/o to use Padre::File 
     55 
     56* Find a solution for syntax check and "run file" 
     57 * A file edited over SSH could be checked/run at the remote server 
     58 * HTTP/FTP don't easily support run, but FTP files might be run-able via HTTP (CGI scripts)