filter functions based on file size

Bug #782759 reported by Danielle Foré
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Contractor
Confirmed
Wishlist
Unassigned

Bug Description

Some contracts may need to place a restriction on file size due to the services they work with, for example there is a maximum upload size for Facebook and you can't send a 3GB movie through gmail.

In this way, an application needs to be able to tell Contractor how large the target item is so that Contractor can either filter out or make insensitive services that can't take large files.

Related branches

Changed in contractor:
status: New → Confirmed
Changed in contractor:
importance: Undecided → Wishlist
Changed in contractor:
milestone: none → loki-beta1
Revision history for this message
Florian Angermeier (florian-angermeier) wrote :

As I am getting my feet wet with development in Vala and elementary I am implementing this feature request. But I have some questions before I can finish it:

The max file size should be a key in the appropriate .contract files right? Like: MaxFileSize=8M

There should be a D-Bus service method like 'get_contracts_by_mimetype_and_file_size' where the MIME type of the file in question and its file size are passed?

Changed in contractor:
milestone: loki-beta1 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.