Download & Extend

private download method + anonymisation of file names

Project:Upload path
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

We extended uploadpath to work together with the private download method and fixed some bugs. We also implemented the possibility to anonymize the filenames. Shall we provide a patch or is our code too far away from the original code?

We use uploadpath together with upload_media (http://drupal.org/node/360123#comment-1364112)
for Indymedia linksunten:
English: http://linksunten.indymedia.org/en/node/770
German: http://linksunten.indymedia.org/de/node/438

AttachmentSize
uploadpath.linksunten.09_03_17.tar_.gz9.19 KB

Comments

#1

This should be submitted as a patch so that it can be looked over and applied to a sandbox and if ok, submitted to CVS

#2

Status:active» postponed (maintainer needs more info)

Please supply this update as a patch against current 6.x-1.x-dev version of uploadpath for testing.

thanks,

DT

#3

A patch is attached.

I must admit, I don't remember why we deleted

- if(is_object($file)){
- $file = (array)$file; // if object then type cast as array
- }

But I know why we did

- if ($file['new'] && !$file['remove']){
+ if (!$file['remove']) {

We are using upload_media, so we want to convert all attachments to nodes and reattach them through a cck node reference field.

AttachmentSize
uploadpath.module.anon_.patch 5.23 KB

#4

Status:postponed (maintainer needs more info)» needs review

Sorry, we forgot to update the status.

#5

Was this ever applied?

nobody click here