Opened 8 years ago

Closed 8 years ago

Last modified 6 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.

Subtickets

Change History (3)

comment:1 Changed 8 years ago by Christopher Allan Webber

Milestone: 0.3.20.3.3

comment:2 Changed 8 years ago by Elrond

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 Changed 8 years ago by Elrond

Resolution: fixed
Status: acceptedclosed

Okay, I think, this is done mostly.

I'll close it.

Note: See TracTickets for help on using tickets.