summaryrefslogtreecommitdiffstats
path: root/apps/theming
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3144 from nextcloud/use-data-download-responseMorris Jobke2017-01-192-7/+3
|\ | | | | Use DataDownloadResponse
| * Use DataDownloadResponseLukas Reschke2017-01-182-7/+3
| | | | | | | | | | | | | | 1. As documented 2. No need to show this inline, downloading has security advantages Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | theme app navigation menu highlight colorMorris Jobke2017-01-182-0/+5
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update app versions and requirementsJoas Schilling2016-12-131-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2588 from nextcloud/theming-check-emptyBjörn Schießle2016-12-092-1/+4
|\ | | | | Check if image files for theming are empty
| * Check if image files for theming are emptyJulius Haertl2016-12-092-1/+4
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | Add fallback to FILTER_LANCZOS for icon resizingJulius Haertl2016-12-091-1/+6
|/ | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Fix transparency of iconsJulius Haertl2016-12-041-0/+1
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Fix background border radiusJulius Haertl2016-12-041-1/+1
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Move sizing to renderAppIcon methodJulius Haertl2016-12-042-6/+7
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Workaround for PHP bug when calling imagescaleJulius Haertl2016-11-221-1/+3
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Merge pull request #840 from nextcloud/theming-icon-endpointMorris Jobke2016-11-1819-4/+1330
|\ | | | | Add dynamic icon creation
| * Use IAppManager instead of OC_AppJulius Haertl2016-11-185-36/+81
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Error handling and tests if file was not foundJulius Haertl2016-11-184-51/+96
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Sanitize input and small fixesJulius Haertl2016-11-187-45/+61
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Replace null return with NotFoundExceptionJulius Haertl2016-11-184-21/+27
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Fix icon-folder cssJulius Haertl2016-11-182-6/+6
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Fix svg resizing and remove deprecated method callJulius Haertl2016-11-182-4/+11
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Improve cachingJulius Haertl2016-11-185-31/+69
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Caching for icon files using AppDataJulius Haertl2016-11-186-93/+433
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Theming: Code cleanup and cache buster for mime iconsJulius Haertl2016-11-188-75/+33
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Check if dynamic icons can be usedJulius Haertl2016-11-182-37/+90
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Add IconBuilder class to encapsulate icon generationJulius Haertl2016-11-185-127/+341
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Improve unit tests for image generationJulius Haertl2016-11-1811-151/+207
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Theming: Add IconController testsJulius Haertl2016-11-182-19/+207
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Fix IconController after rebaseJulius Haertl2016-11-181-12/+12
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Theming: Add icon cachingJulius Haertl2016-11-181-3/+5
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Theming: Add colorized icon css from icons.cssJulius Haertl2016-11-182-0/+40
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Theming: Fix default parameters in icon routesJulius Haertl2016-11-182-3/+2
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Theming: Add PHPdoc and icon fallback to theming logoJulius Haertl2016-11-181-1/+26
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Theming: Add favicon-touch and fix icon creation with non svg imagesJulius Haertl2016-11-182-32/+72
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
| * Theming: Add dynamic icon and favicon endpointsJulius Haertl2016-11-182-0/+254
| | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | Merge pull request #768 from nextcloud/s3-objectstoreRobin Appelman2016-11-182-30/+46
|\ \ | |/ |/| Add S3 objectstore backend
| * Fix themeing unit testsRoeland Jago Douma2016-11-161-20/+29
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * fix theming images when using primary storageRobin Appelman2016-11-161-10/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #2151 from nextcloud/theming-fixesMorris Jobke2016-11-162-30/+53
|\ \ | | | | | | theming: move reset button into field and only show when focused
| * | theming: move reset button into field and only show when focusedJan-Christoph Borchardt2016-11-162-30/+53
| | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | | Revert "Fix #1782"Julius Haertl2016-11-162-5/+5
| |/ |/| | | | | | | | | This reverts commit bc5268bdc84c9c9f302914ebb1b5304b614dfc2e. Signed-off-by: Julius Haertl <jus@bitgrid.net>
* | Use 11.0 instead 9.2Lukas Reschke2016-11-151-1/+1
|/ | | | | | As discussed we're changing the version from 9.2 to 11.0 to make some more sense. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix #1782John Molakvoæ2016-11-022-5/+5
| | | | | | | | Fix checkbox left margin glitch Fix tests fix unit tests Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #1903 from nextcloud/fix-log-in-buttonLukas Reschke2016-10-312-10/+3
|\ | | | | remove slight transparency of primary action button, ref #1615
| * also fix log in button confirm arrow when theming, fix #1615Jan-Christoph Borchardt2016-10-252-0/+3
| | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
| * remove slight transparency of primary action button, ref #1615Jan-Christoph Borchardt2016-10-252-10/+0
| | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | Add ContentSecurityPolicyNonceManagerLukas Reschke2016-10-241-1/+1
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Add support for CSP noncesLukas Reschke2016-10-241-0/+1
|/ | | | | | | | | | | | | | | | | CSP nonces are a feature available with CSP v2. Basically instead of saying "JS resources from the same domain are ok to be served" we now say "Ressources from everywhere are allowed as long as they add a `nonce` attribute to the script tag with the right nonce. At the moment the nonce is basically just a `<?php p(base64_encode($_['requesttoken'])) ?>`, we have to decode the requesttoken since `:` is not an allowed value in the nonce. So if somebody does on their own include JS files (instead of using the `addScript` public API, they now must also include that attribute.) IE does currently not implement CSP v2, thus there is a whitelist included that delivers the new CSP v2 policy to newer browsers. Check http://caniuse.com/#feat=contentsecuritypolicy2 for the current browser support list. An alternative approach would be to just add `'unsafe-inline'` as well as `'unsafe-inline'` is ignored by CSPv2 when a nonce is set. But this would make this security feature unusable at all in IE. Not worth it at the moment IMO. Implementing this offers the following advantages: 1. **Security:** As we host resources from the same domain by design we don't have to worry about 'self' anymore being in the whitelist 2. **Performance:** We can move oc.js again to inline JS. This makes the loading way quicker as we don't have to load on every load of a new web page a blocking dynamically non-cached JavaScript file. If you want to toy with CSP see also https://csp-evaluator.withgoogle.com/ Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Svgo optimizationskjnldsv2016-09-271-4/+1
| | | | Signed-off-by: John Molakvoæ <fremulon@protonmail.com>
* Add icon for the theming appFelix Epp2016-09-071-0/+4
|
* Add image URLs and testsJoas Schilling2016-09-063-1/+225
|
* Add theming information to capabilities for the clientJoas Schilling2016-09-052-0/+63
|
* Fix ThemingDefaults getMock deprecationRoeland Jago Douma2016-08-311-5/+5
|