Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-10Update ThemingController.phprakekniven
Improved translation string. Reported at Transifex. See https://www.transifex.com/nextcloud/nextcloud/translate/#de/$/121491256?issue=yes
2018-02-25Remove null checkKyle Fazzari
Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
2018-02-21theming: handle not being in the serverrootKyle Fazzari
Currently, the theming app assumes it's in the serverroot. However, with Nextcloud's flexibility regarding configurable app paths, this is not a safe assumption to make. If it happens to be an incorrect assumption, the theming app fails to work. Instead of relying on the serverroot, just use the path from the AppManager and utilize relative paths for assets from there. Fix #8462 Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
2018-02-14Remove unused import statementsMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-19Theming: adjust background image resizingJulius Härtl
Support high resolution login images by resizing only images that are wider than 4096px fixes #7459 Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-01-09Fix SCSS processing when undoing theming valuesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-01-05Fix faulty path in theming scss generationJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-11-06Update license headersMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-10-03Theming: Add tests for mimetype and upload error checksJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-10-03Theming: Check valid image format also for logoJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-10-03Theming: Handle errors on uploaded files properlyJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-09-12Add themed manifest.json to theming appJulius Härtl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2017-08-10Provide "server.css" URL in ThemingController responseDaniel Calviño Sánchez
Pull request #5429 made cached SCSS files depend on a hash of the base URL, so the "/css/core/server.css" file does no longer exist. The "server.css" URL must be known by the Theming app in order to update the stylesheets when previewing the changes to the theme, so the DataResponse from the controller now provides the full URL to the "server.css" file that has to be reloaded (if any). The "server.css" URL provided by the response will be taken into account by the JavaScript front-end in a following commit. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-05-18Inject FileAccessHelper for proper testingJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-05-17Add proper Content-Type to iconsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-05-17Fallback to default faviconJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-05-08Fix tests for theming backgroundColorJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-05-08Theming app: Add plain background color optionJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2017-04-30Delete theming images when logo/background is reset to defaultJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-04-29Code cleanup and preview for undo actionsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-04-29Use generated SCSS for theming previewJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-04-25Implement scss variable injection by OC_DefaultsJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net> Add Scss variables to example theme and theming app Signed-off-by: Julius Haertl <jus@bitgrid.net> Use SCSSCacher to build theming css Signed-off-by: Julius Härtl <jus@bitgrid.net> Update theming.scss Signed-off-by: Julius Härtl <jus@bitgrid.net> Code cleanup Signed-off-by: Julius Härtl <jus@bitgrid.net> Fix tests Signed-off-by: Julius Härtl <jus@bitgrid.net> Inject SCSSCacher for easier testing Signed-off-by: Julius Härtl <jus@bitgrid.net> Fix typehint Signed-off-by: Lukas Reschke <lukas@statuscode.ch> Generate absolute URLs Signed-off-by: Lukas Reschke <lukas@statuscode.ch> Fix tests to always use absolute urls for theming images Signed-off-by: Julius Härtl <jus@bitgrid.net> MailheaderColor -> ColorPrimary Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-04-20Fix theming testsJoas Schilling
Trying to configure method "shouldReplaceIcons" which cannot be configured because it does not exist, has not been specified, is final, or is static Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-04-10Move OC_Defaults to OCP\DefaultsMorris Jobke
* currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-29rename confusing getMailHeaderColor to getColorPrimary, ref #3491Jan-Christoph Borchardt
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-02-16Use ::class in tests and correct importJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2017-02-16Move theming images to AppDataJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2017-01-20Merge pull request #3144 from nextcloud/use-data-download-responseMorris Jobke
Use DataDownloadResponse
2017-01-19theme app navigation menu highlight colorMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-01-18Use DataDownloadResponseLukas Reschke
1. As documented 2. No need to show this inline, downloading has security advantages Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-09Check if image files for theming are emptyJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-22Workaround for PHP bug when calling imagescaleJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Merge pull request #840 from nextcloud/theming-icon-endpointMorris Jobke
Add dynamic icon creation
2016-11-18Merge pull request #768 from nextcloud/s3-objectstoreRobin Appelman
Add S3 objectstore backend
2016-11-18Error handling and tests if file was not foundJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Sanitize input and small fixesJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Replace null return with NotFoundExceptionJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Fix icon-folder cssJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Improve cachingJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Caching for icon files using AppDataJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Theming: Code cleanup and cache buster for mime iconsJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Check if dynamic icons can be usedJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Add IconBuilder class to encapsulate icon generationJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Improve unit tests for image generationJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Theming: Add IconController testsJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Fix IconController after rebaseJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Theming: Add icon cachingJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Theming: Add colorized icon css from icons.cssJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Theming: Fix default parameters in icon routesJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>
2016-11-18Theming: Add PHPdoc and icon fallback to theming logoJulius Haertl
Signed-off-by: Julius Haertl <jus@bitgrid.net>