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-10-11Fix excessive increase of cachebuster valueChristopher Ng
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-14Move background settings from dashboard app to Appearance and accessibility ↵greta
settings Signed-off-by: greta <gretadoci@gmail.com> Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-16Allow to manually specify a theme to apply to a section of an appfix/theming-selectorJohn Molakvoæ
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-30Allow to override the default themeJohn Molakvoæ
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21Lint and psalm fixJohn Molakvoæ
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21Font fixes and design update for theme pickerJohn Molakvoæ
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21Migrating themes to Theming appJohn Molakvoæ
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21Fix twofactor loading and public imageJohn Molakvoæ
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21Start theming providersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-16Improve caching policyCarl Schwan
* Cache css with version in url. This makes most js and css requests to be cached by the browser * Force caching previews, the etag is in the url so that if the propfind gives a new etag, we will refresh it otherwise it's no use to try to fetch the new etag and do tons of DB queries Tested with firefox and 'debug' => false (important so that the js/css urls are generated with ?v= parameter) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-27Add better error handlingCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-27Fix registerEventListener issuesCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-26Fix psalm issues in theming appCarl Schwan
After this change, we are down to only one psalm warning for this app and related to the Application.php. This also make composer psam:update-baseline not silently ignore new errors. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-11-19App summary is optionalJoas Schilling
Fixing: Error: Undefined index: summary at /var/www/html/apps/theming/lib/Controller/ThemingController.php#392 Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-15Add support for Delegation Settings for more appsCarl Schwan
* This adds support for the sharing, groupware, theming and user_ldap app * This adds some code who disapeared during a rebase in the initial delegation PR (provisioning_api) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-09-30Fix translated app detailsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-24improve webmanifestszaimen
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-06-04Update php licensesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-12-16Update all license headers for Nextcloud 21Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-16manifest to report correct favicon sizenhirokinet
In the environment where php-imagick with SVG support is correctly installed, this endpoint returns 512x512 image. https://github.com/nextcloud/server/blob/d9015a8c94bfd71fe484618a06d276701d3bf9ff/apps/theming/lib/Controller/IconController.php#L146 The problem is in the environment without php-imagick or without SVG support, this will fall back to original, whose default is 128x128; but I thought this is a separate problem. (For this, default image may be enlarged. Should I create another issue if this is important one?) Signed-off-by: nhirokinet <nhirokinet@nhiroki.net>
2020-10-05Format code to a single space around binary operatorsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-24Add occ command to set theming valuesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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>
2020-04-29Update license headers for 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Format control structures, classes, methods and functionChristoph Wurst
To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31Update the license headers for Nextcloud 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26Remove unused importsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-01Don't try to resize a svg uploaded as background image.Daniel Kesselberg
image* are gd functions without support for svg hence we are not able to resize svg. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-12-05Update license headersChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-11-27Allow inline styles for theming imagesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-22Some php-cs fixesRoeland Jago Douma
* Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-07-31Validate urls in theming settings and properly handle error messagesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-17Don't require Same Site Cookies on assetsThomas Citharel
Which can be used for public iframe embeeding See https://github.com/nextcloud/calendar/issues/169 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-09-05Disables SVG favicon uploads when imagemagick is missing.Michael Weimann
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-06-20[theming] reload css variables instead of the whole server cssJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-15Merge pull request #9258 from nextcloud/theming-logo-pngMorris Jobke
Convert theming app logo to PNG to show it properly in emails
2018-06-13Fix possible test timing issues in IconControllerRoeland Jago Douma
Since the response now handles the caching. We need to provide a default ITimeFactory mock. Else you might have failing tests. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-06-07Mock the timefactory in the theming testsRoeland Jago Douma
Now that the cache logic is moved to the theming controller we must properly overwrite this service. Else it could do :boom: in tests. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-06-06Minor fixes and cleanupJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-05Use svg opt out as parameterJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-05Generate PNG version of the theming app logo for mailsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-04Fix usageRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-25also add a privacy linkArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-05-17Merge pull request #9437 from nextcloud/feature/noid/imprintRoeland Jago Douma
allow to specify a link to a legal notice
2018-05-17Add Content-Disposition headerJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-05-17Properly check mime type of the uploaded fileJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-05-09allow to specify a link to a legal noticeArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-04-19Fix theming testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19Add typehintsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-04-19Move to more generic image handling and add extra imagesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>