Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript to fetch mimetype icons #16724

Merged
merged 2 commits into from
Jul 6, 2015
Merged

Javascript to fetch mimetype icons #16724

merged 2 commits into from
Jul 6, 2015

Commits on Jul 6, 2015

  1. Javascript mimetype icon resolver

    This makes it possible to retrieve the icon for mimetypes in javascript.
    It makes no additional queries to the server to retrieve the mimetype.
    
    * config/mimetypealiases.json added
    * mimetype.js: this is where the logic resides to convert from mimetype
      to icon url
    * mimetypelist.js: generated file with a list of mimetype mapping (aliases)
      and the list of icon files
    * ./occ maintenance:mimetypesjs : new command for occ to gernerate
      mimetypes.js
    * unit tests updated and still work
    * javascript tests added
    * theming support
    * folder of the theme is now present in javascript (OC.theme.folder)
    rullzer committed Jul 6, 2015
    Configuration menu
    Copy the full SHA
    c8145cd View commit details
    Browse the repository at this point in the history
  2. Share app no longer use the OCS API icon

    Switch to new javascript mimetype resolver
    rullzer committed Jul 6, 2015
    Configuration menu
    Copy the full SHA
    868bc42 View commit details
    Browse the repository at this point in the history