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
2022-04-21Start theming providersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-26Migrate deprecated toolip methodsMichaIng
With Bootstrap v4, the tooltip methods "fixTitle" and "destroy" have been removed. Only core/src/Polyfill/tooltip.js keeps them methods valid by translating them. Signed-off-by: MichaIng <micha@dietpi.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2020-07-20Use DOMContentLoaded and fix sharebymail loading issueJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-06-05Move theming js to initial stateRoeland Jago Douma
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>
2019-07-31Validate urls in theming settings and properly handle error messagesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-29prevent potential XSS via unchecked use innerHTMLMax Fichtelmann
Signed-off-by: Max Fichtelmann <max.fichtelmann@procilon.de>
2018-10-24Remove replace call which does not replace anythingStefan Weil
The original code replaced / by /. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-02Manually instantiate jscolor to avoid csp errorsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-05-25also add a privacy linkArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-05-11fix undo for url-typed inputsArthur Schiwon
and minor adjustments Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-05-09allow to specify a link to a legal noticeArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-04-19Remove unneeded preview image handlingJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19Fix undo preview and remove duplicate codeJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19Use generic image upload in theming JSJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-02-27Empty name not allowedSagorika Das
Do not allow empty name in theming app. Signed-off-by: Sagorika Das <sagorika1996@gmail.com>
2017-12-08Allows adding of hex color to the theme-colorAbijeet
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>
2017-10-03Theming: Fix message/loading display on errorsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-08-10Fix preview of themingDaniel 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; 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>
2017-08-10Refactor reloadStylesheets to receive absolute URLsDaniel Calviño Sánchez
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>
2017-07-02Simplified Nextcloud logo iconMarin Treselj
Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-05-12Don't open the dialog for logo and backgroundJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-05-12Clicking on theming preview triggers fileupload dialogMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-05-08Theming app: Add plain background color optionJulius Haertl
Signed-off-by: Julius Haertl <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>
2016-08-30Theming: Show loading spinner while uploading filesJulius Haertl
2016-08-27Increase theming performanceLukas Reschke
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.
2016-08-26Theming: Preview for page titleJulius Haertl
2016-08-26Theming: Hide undo button on default valuesJulius Haertl
2016-08-26Theming: Add preview for login screenJulius Haertl
2016-07-27Theming: Cleanup and remove opacity from checkbox/radiobuttonJulius Haertl
2016-07-27Theming: Generate colorized radio buttons dynamicallyJulius Haertl
2016-07-27Theming: Colorize radio buttons and append new styles on previewJulius Haertl
2016-07-27Theming: Preview for colorized checkboxesJulius Haertl
2016-07-25Theming: Fix preview and center alignment of logoJulius Haertl
2016-07-16Theming: Fix image paths for caret iconJulius Haertl
2016-07-15Theming: Fix spaces in settings-admin.jsJulius Haertl
2016-07-15Theming: Implement swapping the foreground color for bright colorsJulius Haertl
2016-06-27Only save when value changed or enter is pressedLukas Reschke
2016-06-27Add tooltipLukas Reschke
2016-06-27make sure that the preview gets updated every time a new image gets uploadedBjoern Schiessle
2016-06-27scale preview imageBjoern Schiessle
2016-06-27Disable drop zoneLukas Reschke
Otherwise dropping something somewhere can by mistake upload the file and make it available
2016-06-27Migrate logic to dynamic controllerLukas Reschke
Also adds support for having custom login backgrounds
2016-06-27add some visual feedback if the operation was succesful or notBjoern Schiessle
2016-06-27write theme settings to databaseBjoern Schiessle
2016-06-27initial commit for the theming appBjoern Schiessle