RE: library sexfully

From: Dylan Douglas <dylan_at_mediadefender.com>
Date: Tue, 1 May 2007 02:33:12 -0700
You should now be able to call edit_history.php with the account, hash, and status=adel/udel (auto/user) when someone deletes something from their library or the app has to delete something to clear space.  It returns the history, but not the library.
 
Also, edit_queue.php responds to status=error, which moves the hash from the queue to the history like status=complete, but marks it as a download error.
 
Tomorrow I'll update the history.php to return the status of the items in the history.  They will be in a var "status", having the values: "complete", "error", "u_del", "a_del".  (In case you are up coding at 5 in the morning again.)
 
-D
 
 
 
----------
Dylan Douglas
MediaDefender


From: Stefan Kaczmarek
Sent: Mon 4/30/2007 9:12 PM
To: Dylan Douglas
Cc: Ben Ebert; Ivan Kwok; Jay Mairs; Nainesh Solanki; Sergio Alvarez; Ty Heath
Subject: Re: library sexfully

We need to do something to get library delete working ... It's currently broken.

I need to tell you that the file is being deleted, and I need to tell the app to delete it. Maybe I should do this:

1. Tell the app to delete the file. (This is what it already does.)
2. Once I get a success from the app, tell the server to delete the file from the library.
3. Once I get confirmation from the server, I then refresh the library. (Or the return from the server can be the refreshed library that I just display.)

So, I need a function to tell the server to delete something from the library.

- Z

On Apr 30, 2007, at 9:07 PM, Dylan Douglas wrote:

Is anyone else having a problem when they delete something from their library, the next screen is empty?  But, if you reload, it's fine.  Maybe I'm not returning something, but I don't know what Z would be calling if not the "show me my library" again.
 
----------
Dylan Douglas
MediaDefender


From: Stefan Kaczmarek
Sent: Mon 4/30/2007 8:54 PM
To: Dylan Douglas
Cc: Ben Ebert; Ivan Kwok; Jay Mairs; Nainesh Solanki; Sergio Alvarez; Ty Heath
Subject: Re: library sexfully

Ok, so when you have no files in your library or no locked files or 
no soon to be deleted files, it says "No files found."

TADA!

- Z

On Apr 30, 2007, at 6:02 PM, Dylan Douglas wrote:

> So the library is now very sexfully working.  It has the locking-ness
> and "oh shit I'm going to loose this file soon"-ness.  It only 
> displays
> the files that are close to being deleted, so if you aren't near the
> limit, it's not going to show anything.
>
> Z, please display something that says, "you don't have any files that
> are going to be delete soon, fuck off" when you don't get anything 
> back
> from a query that used "warn".
>
> -----
> Dylan Douglas
> MediaDefender
>
>
>
> <winmail.dat>


Received on Fri Sep 14 2007 - 10:55:59 BST

This archive was generated by hypermail 2.2.0 : Sun Sep 16 2007 - 22:19:47 BST