Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#509 closed defect (fixed)

Extract media file submission logic into common library

Reported by: joar Owned by: Elrond
Priority: major Milestone: 0.3.3
Component: programming Keywords:
Cc: Parent Tickets:

Description

Take a look at the views for /submit/ and /api/submit/.

The media file submission logic between them is largely duplicated.

This logic should be moved to mediagoblin.tools.submit.

This logic should be adapted so that it covers both the /submit/ and /api/submit use-case.

The /submit/ and /api/submit/ views should be adapted to use library tool for media file submission.

Change History (3)

comment:1 by Christopher Allan Webber, 12 years ago

Milestone: 0.3.20.3.3

comment:2 by Elrond, 12 years ago

Owner: set to Elrond
Status: newaccepted

Okay, I have this in a local branch.

I would love to have #575 resolved first, because it would help make sure I haven't mixed up things.

comment:3 by Elrond, 12 years ago

Resolution: fixed
Status: acceptedclosed

Okay, I think, this is done mostly.

I'll close it.

Note: See TracTickets for help on using tickets.