Commit graph

30 commits

Author SHA1 Message Date
friendica
c05586fbe7 begin the grand unification for 3.0. Start by splitting DAV into a web accessible component and a DAV accessible component so that we can eliminate the http-auth prompts for web-accessed resources. 2015-01-06 11:55:42 -08:00
Klaus
5aae5862f2 A fix, but I have no case to verify.
I could not find out under which conditions this is relevant and therefore have no test case, but it must be of instance RedDAV\RedFile.
2014-10-12 21:10:04 +02:00
Klaus Weidenbach
dc4593f5b5 Moved classes from reddav.php into own files.
Finished moving classes out from include/reddav.php into own files. Also
continued with namespace for RedDAV.
Improved some docs and added some todos and fixmes.
2014-10-12 00:33:37 +02:00
friendica
ddcc0ad567 dav issue 2014-10-08 16:47:30 -07:00
Klaus Weidenbach
33394f58ff Moved RedBrowser class from reddav.php to it's own file.
First step on cleaning up ReadDAV classes and restructuring it bit in
preparation for adding some more DAV features, photo access, CalDAV, etc.
and hopefully also some PHPunits.
Add a PHP5.3 namespace for RedDAV classes. Any objections against this or
the vendor namespace?
Add some more documentation for RedBrowser.
2014-10-06 23:38:33 +02:00
Klaus Weidenbach
305498eb16 Some documentation for include/reddav.php and a bit code cleanup.
Removed some duplicate code in RedBasicAuth and restructured a bit.
Still work in progress.
2014-10-05 15:24:16 +02:00
friendica
28c43395dc derivative themes not loading parent theme includes when visiting /cloud 2014-07-28 21:31:30 -07:00
friendica
3a31ddea2b provide os_mkdir to workaround permission issues with php mkdir 2014-07-16 01:07:00 -07:00
Klaus Weidenbach
aacb293f2e Return a correct timestamp when a folder is empty.
If a folder was empty a zero timestamp was returned. Now it will
return the timestamp of the folder itself.
2014-06-29 21:15:37 +02:00
Paolo Tacconi
378aaf4a61 Display quota and translatable strings 2014-06-25 11:54:10 +02:00
friendica
ebd52368bb strip hard-wired zids from posted links as they will have the wrong identity when somebody tries to view the link 2014-02-16 14:13:26 -08:00
friendica
d296b02b0e The final piece of the DAV authentication puzzle. Provide a directory view to an un-auth'd person (without asking for a password) by adding a query parameter 'davguest=1'. This is a bit of a hack, but there was no response on the official forum about how to do this correctly so it will have to do. On the downside, if permission is denied, it won't ask for a password - but we're talking about unauthenticated folks who didn't go through magic auth so chances are even if they authenticate, permission will still be denied. 2014-01-26 14:15:57 -08:00
friendica
f90b3b60cb don't prompt guests for a password if they're accessing an embedded public file. 2014-01-26 02:58:03 -08:00
friendica
a13393fb23 seems you can't easily have a blank password for DAV guests, so the guest password is now +++ 2014-01-21 20:42:10 -08:00
friendica
35733ca013 create store directory if it's missing before initialising DAV 2014-01-21 00:02:25 -08:00
friendica
fdfea0a8e9 catch auth exceptions 2014-01-20 01:03:58 -08:00
friendica
82a5eb5d90 strip zid= from REQUEST_URI as well as QUERY_STRING - sabre uses both 2014-01-19 22:27:54 -08:00
friendica
359d798029 kill the ummagumma effect 2014-01-16 13:26:39 -08:00
friendica
18a40d0c37 prevent zid's from reaching the DAV core code. 2014-01-16 01:19:58 -08:00
friendica
3298768d95 directory creation error, display localtimes on cloud webpage, doc updates 2014-01-10 00:47:40 -08:00
friendica
49882f2be4 add cloud link to profile_tabs and Comanchify the sucker 2014-01-09 19:00:06 -08:00
friendica
daf5daa2d3 disable web browser post inputs if no storage write permission 2014-01-05 19:25:56 -08:00
friendica
061894d37f reddav - basic mkdir support - needs more work to be robust 2014-01-05 16:00:05 -08:00
friendica
85ed9404f9 the web browser interface for DAV has now got zot 2014-01-05 14:12:53 -08:00
friendica
475b24ca9e more dav work 2014-01-03 01:44:25 -08:00
friendica
a1c198814d basic browsing and file retrieval for webdav working - uploads not yet. A lot of permissions stuff is in place so it's marginally (but probably not completely) permission controlled 2014-01-02 17:49:39 -08:00
friendica
ad08561d84 some DAV tweaks before the next round of heavy lifting 2014-01-02 01:09:57 -08:00
friendica
057d885baf return to working on red-dav; This is a bit of a slog at the moment and the basic framework isn't even close to working. This does break the working test we did have (which was never connected to the Red backend). Now we're starting to connect Red and DAV together intimately. There will probably be some twists and turns along the way as we get the information we need into all the class objects that need them. But the important part is that the RedDirectory and RedFile classes are loading without throwing white screens and from here we can use logging to figure out what the DAV front end is trying to do and what it is passing to the backend and hopefully figure out what it expects to do with the results. Unless you're a competent developer with a strong background in OOP and are helping develop this code, you should keep it an arm's length away from any production site and don't even think of enabling it. By default it is turned off. 2014-01-01 16:07:36 -08:00
friendica
acca7893e8 move killme inside module function so that typo works 2013-10-22 17:41:54 -07:00
friendica
985d8091ad very early cloud demo code - READ THE FRICKIN NOTES and also THE CODE in mod/cloud.php - there is no other documentation. Use at your own risk. Send all bug reports to nobody@nowhere.com. 2013-10-22 17:34:39 -07:00