-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure default AppProvider is top of list and keep mime type order fr…
…om config (#2138) * Default AppProvider always on top of the list when asking for mime type list. Providers are ordered according to the config. Changed config from using a map to a list, for keeping the order. * Add tests * Add changelog * Fix AppRegistry tests * Simplified code
- Loading branch information
Showing
6 changed files
with
917 additions
and
274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Enhancement: Default AppProvider on top of the providers list | ||
for each mime type | ||
|
||
Now for each mime type, when asking for the list of mime types, | ||
the default AppProvider, set both using the config and the | ||
SetDefaultProviderForMimeType method, is always in the top of the | ||
list of AppProviders. | ||
The config for the Providers and Mime Types for the AppRegistry changed, | ||
using a list instead of a map. In fact the list of mime types returned by | ||
ListSupportedMimeTypes is now ordered according the config. | ||
|
||
https://github.com/cs3org/reva/pull/2138 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.