Roeland Jago Douma
|
0bde91600a
|
Fix theming test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
2018-02-02 21:26:33 +01:00 |
Julius Härtl
|
5dbf733395
|
Fix theming tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-01-26 20:13:28 +01:00 |
Julius Härtl
|
d4e106f2b3
|
More detailed theming capabilities
This will allow clients to easily check if a custom background is used
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-01-10 13:23:22 +01:00 |
Roeland Jago Douma
|
094d41937a
|
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
2017-12-18 21:06:52 +01:00 |
Lukas Reschke
|
8c915baa34
|
Merge pull request #6788 from staabm/master
Prevent XSS in links which open a new browser window
|
2017-11-08 18:55:35 +01:00 |
Morris Jobke
|
0eebff152a
|
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
2017-11-06 16:56:19 +01:00 |
Markus Staab
|
db34b59238
|
Prevent XSS in links which open a new browser window
|
2017-10-19 12:16:04 +02:00 |
Julius Härtl
|
81ef116bfb
|
Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2017-09-12 09:47:38 +02:00 |
Julius Härtl
|
8391ca8792
|
Use IAppManager instead of private API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2017-09-12 09:28:22 +02:00 |
Julius Härtl
|
b49ab065b7
|
Move theming related imagePath logic to ThemingDefaults
Signed-off-by: Julius Haertl <jus@bitgrid.net>
|
2017-09-12 09:22:57 +02:00 |
Julius Härtl
|
8f10cee3ff
|
Fix tests for primary element color
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2017-09-04 14:30:46 +02:00 |
Jan-Christoph Borchardt
|
badbab81ea
|
Update background image to the one used on the website
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
|
2017-08-29 16:04:11 +02:00 |
Morris Jobke
|
e48ca730fe
|
Add Android and iOS URLs to theming app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
2017-07-19 10:20:47 +02:00 |
Julius Härtl
|
52f10c436e
|
Scale logo only for custom ones
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2017-05-19 16:18:09 +02:00 |
Lukas Reschke
|
099234cf12
|
Add function to request SVG or regular fallback image
Fixes https://github.com/nextcloud/server/issues/4647
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
2017-05-08 14:51:55 +02:00 |
Julius Härtl
|
510f7cf1b6
|
Fix tests for theming backgroundColor
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2017-05-08 10:16:30 +02:00 |
Morris Jobke
|
ac04fb8277
|
Fix invalid theming URLs
* logo and background image had the cache buster applied twice:
background-image: url(http://192.168.99.100/server/core/img/logo.svg?v=0?v=0);
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
2017-05-05 00:37:32 -03:00 |
Julius Härtl
|
b436e43d68
|
Make sure that ThemingDefaults uses the correct default values from \OC_Defaults
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2017-04-29 00:40:15 -03:00 |
Joas Schilling
|
6448cf5748
|
Mock it
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2017-04-25 12:16:07 +02:00 |
Joas Schilling
|
bedd500884
|
Logo and background URLs must be relative
They are used way to often for such a change
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2017-04-25 11:43:06 +02:00 |
Julius Härtl
|
bc1efdf2e1
|
Fix theming tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2017-04-25 11:39:49 +02:00 |
Julius Haertl
|
68a63ad3f3
|
Implement scss variable injection by OC_Defaults
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-25 11:39:45 +02:00 |
Morris Jobke
|
d83c8e0271
|
ThemingDefaults append cacheBusterCounter to logo URL by default
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
2017-04-09 21:43:09 -05:00 |
Lukas Reschke
|
281ad406e8
|
Add support for theming
Add support for theming in generated emails and simplify API
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
2017-04-07 12:03:47 -05:00 |
Jan-Christoph Borchardt
|
9a75714c22
|
rename confusing getMailHeaderColor to getColorPrimary, ref #3491
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
|
2017-03-29 18:23:23 +02:00 |
Julius Haertl
|
2e8dd21815
|
Improve caching
Signed-off-by: Julius Haertl <jus@bitgrid.net>
|
2016-11-18 10:23:24 +01:00 |
Roeland Jago Douma
|
011364317a
|
Fix ThemingDefaults getMock deprecation
|
2016-08-31 20:33:18 +02:00 |
Joas Schilling
|
c7c53aefb2
|
Use the lazy root to make tests pass 🙈
|
2016-08-24 09:52:05 +02:00 |
Julius Haertl
|
80fe499707
|
Theming: Add logo and background to ThemingDefaults
|
2016-08-24 00:40:22 +02:00 |
Arthur Schiwon
|
0fdf801c25
|
fix theming tests
|
2016-08-12 16:58:59 +02:00 |
Bjoern Schiessle
|
18fd8ff70c
|
rename "Tenmplate" to "ThemingDefaults" to make the auto loader happy"
|
2016-08-12 15:32:28 +02:00 |