Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use DOMContentLoaded and fix sharebymail loading issue | John Molakvoæ (skjnldsv) | 2020-07-20 | 1 | -1/+1 |
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | ||||
* | Move theming js to initial state | Roeland Jago Douma | 2020-06-05 | 1 | -0/+1 |
| | | | | | | | | A bit more elegant. Plus it will allow us to also write a proper @nextcloud/theming package. To make life easier down the line for all. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Validate urls in theming settings and properly handle error messages | Julius Härtl | 2019-07-31 | 1 | -3/+3 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | prevent potential XSS via unchecked use innerHTML | Max Fichtelmann | 2019-07-29 | 1 | -1/+1 |
| | | | | Signed-off-by: Max Fichtelmann <max.fichtelmann@procilon.de> | ||||
* | Remove replace call which does not replace anything | Stefan Weil | 2018-10-24 | 1 | -1/+1 |
| | | | | | | The original code replaced / by /. Signed-off-by: Stefan Weil <sw@weilnetz.de> | ||||
* | Manually instantiate jscolor to avoid csp errors | Julius Härtl | 2018-10-02 | 1 | -0/+4 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | also add a privacy link | Arthur Schiwon | 2018-05-24 | 1 | -1/+2 |
| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | fix undo for url-typed inputs | Arthur Schiwon | 2018-05-11 | 1 | -1/+2 |
| | | | | | | and minor adjustments Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | allow to specify a link to a legal notice | Arthur Schiwon | 2018-05-09 | 1 | -10/+13 |
| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | Remove unneeded preview image handling | Julius Härtl | 2018-04-19 | 1 | -3/+0 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Fix undo preview and remove duplicate code | Julius Härtl | 2018-04-19 | 1 | -28/+27 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Use generic image upload in theming JS | Julius Härtl | 2018-04-19 | 1 | -45/+17 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Empty name not allowed | Sagorika Das | 2018-02-27 | 1 | -5/+32 |
| | | | | | | Do not allow empty name in theming app. Signed-off-by: Sagorika Das <sagorika1996@gmail.com> | ||||
* | Allows adding of hex color to the theme-color | Abijeet | 2017-12-08 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | Fixes #7158. Adds a # on the color if missing. Increased maxlength, added hash:true for jscolor, and adding a # if not present on the change event. Since the input element now allows a hex code, changed values to hexcode. In addition, added a function to get RGB array from hex or rgb values. Calling it in both methods and using it to perform comparison. Also changed the way we were determining whether the jscolor component had loaded. Changed the control to use data-jscolor rather than defining opts in the class. Signed-off-by: Abijeet <abijeetpatro@gmail.com> | ||||
* | Theming: Fix message/loading display on errors | Julius Härtl | 2017-10-03 | 1 | -0/+2 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Fix preview of theming | Daniel Calviño Sánchez | 2017-08-10 | 1 | -5/+9 |
| | | | | | | | | | | | | | | | | 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; as the file can not be loaded the "Loading preview" message is never removed and the "Saved" message is never shown. As it now depends on the hash of the base URL the file to be reloaded can no longer be hardcoded, so the full URL to the "server.css" file that has to be reloaded (if any) is now got from the DataResponse provided by the controller. Fixes #5975 Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> | ||||
* | Refactor reloadStylesheets to receive absolute URLs | Daniel Calviño Sánchez | 2017-08-10 | 1 | -3/+3 |
| | | | | | | | This is a preparatory step for a following change in which reloadStylesheets will have to be able to receive absolute URLs. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> | ||||
* | Simplified Nextcloud logo icon | Marin Treselj | 2017-07-02 | 1 | -2/+2 |
| | | | | Signed-off-by: Marin Treselj <marin@pixelipo.com> | ||||
* | Don't open the dialog for logo and background | Joas Schilling | 2017-05-12 | 1 | -1/+2 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Clicking on theming preview triggers fileupload dialog | Morris Jobke | 2017-05-11 | 1 | -0/+7 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Theming app: Add plain background color option | Julius Haertl | 2017-05-08 | 1 | -8/+25 |
| | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net> | ||||
* | Code cleanup and preview for undo actions | Julius Härtl | 2017-04-29 | 1 | -33/+11 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Use generated SCSS for theming preview | Julius Härtl | 2017-04-29 | 1 | -40/+29 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Theming: Show loading spinner while uploading files | Julius Haertl | 2016-08-30 | 1 | -1/+10 |
| | |||||
* | Increase theming performance | Lukas Reschke | 2016-08-27 | 1 | -4/+4 |
| | | | | | | | | 1. Set proper caching headers (`Pragma: cache`) 2. Resize image proportionally to a max size of 1920px 3. Store images with progressive mode This resizes a previous 2.8 MB picture to 300kb and makes it rendering going down from 11 seconds to less than 1 here. And future requests won't have to download the file newly. | ||||
* | Theming: Preview for page title | Julius Haertl | 2016-08-26 | 1 | -0/+3 |
| | |||||
* | Theming: Hide undo button on default values | Julius Haertl | 2016-08-26 | 1 | -1/+29 |
| | |||||
* | Theming: Add preview for login screen | Julius Haertl | 2016-08-26 | 1 | -4/+15 |
| | |||||
* | Theming: Cleanup and remove opacity from checkbox/radiobutton | Julius Haertl | 2016-07-27 | 1 | -2/+1 |
| | |||||
* | Theming: Generate colorized radio buttons dynamically | Julius Haertl | 2016-07-27 | 1 | -6/+9 |
| | |||||
* | Theming: Colorize radio buttons and append new styles on preview | Julius Haertl | 2016-07-27 | 1 | -6/+10 |
| | |||||
* | Theming: Preview for colorized checkboxes | Julius Haertl | 2016-07-27 | 1 | -5/+18 |
| | |||||
* | Theming: Fix preview and center alignment of logo | Julius Haertl | 2016-07-25 | 1 | -4/+4 |
| | |||||
* | Theming: Fix image paths for caret icon | Julius Haertl | 2016-07-16 | 1 | -1/+1 |
| | |||||
* | Theming: Fix spaces in settings-admin.js | Julius Haertl | 2016-07-15 | 1 | -4/+4 |
| | |||||
* | Theming: Implement swapping the foreground color for bright colors | Julius Haertl | 2016-07-15 | 1 | -0/+33 |
| | |||||
* | Only save when value changed or enter is pressed | Lukas Reschke | 2016-06-27 | 1 | -9/+15 |
| | |||||
* | Add tooltip | Lukas Reschke | 2016-06-27 | 1 | -0/+1 |
| | |||||
* | make sure that the preview gets updated every time a new image gets uploaded | Bjoern Schiessle | 2016-06-27 | 1 | -2/+3 |
| | |||||
* | scale preview image | Bjoern Schiessle | 2016-06-27 | 1 | -3/+5 |
| | |||||
* | Disable drop zone | Lukas Reschke | 2016-06-27 | 1 | -0/+2 |
| | | | | Otherwise dropping something somewhere can by mistake upload the file and make it available | ||||
* | Migrate logic to dynamic controller | Lukas Reschke | 2016-06-27 | 1 | -8/+24 |
| | | | | Also adds support for having custom login backgrounds | ||||
* | add some visual feedback if the operation was succesful or not | Bjoern Schiessle | 2016-06-27 | 1 | -9/+19 |
| | |||||
* | write theme settings to database | Bjoern Schiessle | 2016-06-27 | 4 | -0/+2611 |
| | |||||
* | initial commit for the theming app | Bjoern Schiessle | 2016-06-27 | 1 | -0/+20 |