The Filefield Sources module allows the Filefield element to get files via ftp and other ways. When the Filefield is declared by a module, you have to implement these hooks.

Comments

aidanlis’s picture

Status: Active » Postponed (maintainer needs more info)

I read the whole issue but I didn't find anything which discussed or documented the new hooks ... if you can point me at some relevant documentation that'd be handy.

DrewMathers’s picture

The reason for this feature request is that Filefield Sources would allow Patch Manager to use patches pulled directly from URLs in the issue queues. The issue mentioned in the initial post only contains a mention of one of the hooks, but if you look in filefield_sources/sources/*.inc you will see several usage examples.

aidanlis’s picture

Status: Postponed (maintainer needs more info) » Postponed

I don't have time to hunt through and work out what needs to be done, so unless someone would like to provide a patch I'm going to mark this as postponed.

DrewMathers’s picture

Title: Support Filefield Sources » Pull patches from issue queues

I really should have opened this issue describing the desired result rather than a particular method.

aidanlis’s picture

Ahh yes ... this is the feature I want most.

DrewMathers’s picture

DrewMathers’s picture

Here is a test case you will sometimes see, multiple patches attached to one comment #1095782-5: Add a sum up column to report

aidanlis’s picture

Oh that's interesting, thanks.

paulgemini’s picture

subbing

aidanlis’s picture

Status: Postponed » Fixed

I've just tested this with the latest filefield sources and it seems to work without the hooks, hooray.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.