Julius Härtl
9b7bdfef79
Fix setting images through occ for theming
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-19 08:31:24 +07:00
Julien Veyssier
f5ef2d7d58
override default dashboard background with theming one
...
fix getAppValue default value in theming app
fix cacheBuster value injection
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-13 06:51:26 +07:00
Nextcloud bot
98d1a3f34c
[tx-robot] updated from transifex
2020-11-10 02:18:44 +07:00
Morris Jobke
c7ff0c71b4
Shortcut to avoid file system setup when generating the logo URL
...
If an SVG is requested and the app config value for logoMime is set then the logo is there. Otherwise we need to check it and maybe also generate a PNG from the SVG (that's done in getImage() which needs to be called then).
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-09 10:01:34 +07:00
Morris Jobke
dd93532526
Cleanup ImageManager::getImage()
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-04 10:08:36 +07:00
Jacob Neplokh
ef8822d3c7
Add gif to if-statement to not convert
...
- SVGs are already there, so I just added it alongside it (as recommended by https://github.com/nextcloud/server/issues/16232#issuecomment-679920284 )
Signed-off-by: Jacob Neplokh <me@jacobneplokh.com>
2020-11-02 13:52:49 +07:00
Morris Jobke
b8ed997238
Remove ISection in favor of IIconSection
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-28 23:05:00 +07:00
John Molakvoæ (skjnldsv)
68f1f44e58
Enable theming background transparency
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-25 19:15:52 +07:00
John Molakvoæ (skjnldsv)
a7c4369941
Fix theming manifest tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-20 11:03:24 +07:00
nhirokinet
3a05334f18
manifest to report correct favicon size
...
In the environment where php-imagick with SVG support is correctly installed, this endpoint returns 512x512 image.
d9015a8c94/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-16 15:36:56 +07:00
Gary Kim
dfa17e9174
Allow setting favicon with a .ico file
...
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-10-14 18:19:23 +07:00
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 20:25:24 +07:00
Nextcloud bot
02e037174e
[tx-robot] updated from transifex
2020-09-25 02:18:49 +07:00
Julius Härtl
0daf097af3
Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-24 08:22:07 +07:00
Julius Härtl
aa95b3d71b
Add occ command to set theming values
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-24 08:22:07 +07:00
Nextcloud bot
d77d52d257
[tx-robot] updated from transifex
2020-09-21 02:17:24 +07:00
Joas Schilling
48761481eb
Bump versions
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-18 09:16:45 +07:00
Morris Jobke
f6c729a96c
Update .l10nignore for apps to exclude bundled JS files
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-15 12:28:43 +07:00
Nextcloud bot
b287760694
[tx-robot] updated from transifex
2020-08-25 02:17:40 +07:00
Christoph Wurst
2a054e6c04
Update the license headers for Nextcloud 20
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-24 14:54:25 +07:00
Morris Jobke
234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-12 13:55:19 +07:00
Nextcloud bot
0eed71870d
[tx-robot] updated from transifex
2020-08-04 02:16:30 +07:00
Morris Jobke
1326862d63
Merge pull request #21988 from nextcloud/enh/theming-guest
...
Combine body-login rules in theming and fix twofactor and guest styling on bright colors
2020-07-24 13:35:06 +07:00
Morris Jobke
340cd81d2f
Use IBootstrap for the app theming
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-24 12:23:16 +07:00
Julius Härtl
074b38d334
Combine body-login rules in theming and fix twofactor and guest styling on bright colors
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-24 08:59:28 +07:00
John Molakvoæ (skjnldsv)
6fcd075730
Use DOMContentLoaded and fix sharebymail loading issue
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-20 12:42:08 +07:00
Joas Schilling
f8641a6e55
Fix PHP CS
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 16:16:06 +07:00
Joas Schilling
be5176076e
Precalculate the primary element color for dark mode too
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 09:58:45 +07:00
Nextcloud bot
3487ac763d
[tx-robot] updated from transifex
2020-06-23 02:17:10 +07:00
Nextcloud bot
5339d6df02
[tx-robot] updated from transifex
2020-06-15 02:15:55 +07:00
Roeland Jago Douma
d67f627eba
Merge pull request #21058 from nextcloud/bug/set_serverBackground_custom_default
...
Set serverBackground if it is a custom background or default hub
2020-06-08 13:44:47 +07:00
Roeland Jago Douma
ea53423b90
Merge pull request #21198 from nextcloud/bugfix/19040
...
Only use background fade if nextcloud blue is set
2020-06-08 13:43:59 +07:00
GretaD
c31c995ff0
Set serverBackground if it is a custom background or default hub
...
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-06-08 11:23:34 +07:00
Nextcloud bot
e212908cec
[tx-robot] updated from transifex
2020-06-07 02:15:50 +07:00
Roeland Jago Douma
3f1b6e2ce9
Move theming js to initial state
...
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-06-05 11:01:49 +07:00
Julius Härtl
81de9e8e94
Only use background fade if nextcloud blue is set
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-03 09:17:15 +07:00
Nextcloud bot
ebd387e89a
[tx-robot] updated from transifex
2020-05-29 02:16:30 +07:00
Nextcloud bot
fda71a9979
[tx-robot] updated from transifex
2020-05-26 02:16:03 +07:00
Nextcloud bot
23080fcd9c
[tx-robot] updated from transifex
2020-05-23 02:16:22 +07:00
Roeland Jago Douma
4db4d8fc93
Merge pull request #21001 from rubo77/pngs
...
compress some images with tinypng.com
2020-05-22 16:37:58 +07:00
Ruben Barkow-Kuder
4ad622a720
compress some images with tinypng.com
...
Signed-off-by: Ruben Barkow-Kuder <github@r.z11.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-22 13:07:11 +07:00
Nextcloud bot
3b519f776a
[tx-robot] updated from transifex
2020-05-22 02:17:20 +07:00
Nextcloud bot
1b55119c85
[tx-robot] updated from transifex
2020-05-19 02:17:09 +07:00
Nextcloud bot
bf2e3c4619
[tx-robot] updated from transifex
2020-05-17 02:16:59 +07:00
Nextcloud bot
a84eec88e8
[tx-robot] updated from transifex
2020-05-16 02:17:14 +07:00
Nextcloud bot
d132f81d28
[tx-robot] updated from transifex
2020-05-15 02:17:17 +07:00
Nextcloud bot
75d50a55b8
[tx-robot] updated from transifex
2020-05-14 02:16:36 +07:00
Nextcloud bot
ab2df70e3a
[tx-robot] updated from transifex
2020-05-13 02:16:26 +07:00
Nextcloud bot
901110f068
[tx-robot] updated from transifex
2020-05-12 02:16:11 +07:00
Nextcloud bot
90e6b31059
[tx-robot] updated from transifex
2020-05-11 02:16:11 +07:00
Nextcloud bot
70114cfb91
[tx-robot] updated from transifex
2020-05-10 02:15:59 +07:00
Nextcloud bot
10f62eb2a4
[tx-robot] updated from transifex
2020-05-09 02:16:34 +07:00
Joas Schilling
af1dd9f152
Bump app versions and requirements
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-07 10:29:04 +07:00
Christoph Wurst
cb057829f7
Update license headers for 19
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-29 11:57:22 +07:00
Nextcloud bot
b1a90da347
[tx-robot] updated from transifex
2020-04-20 02:16:12 +07:00
Roeland Jago Douma
bb4dedb015
Provide the proper language to the mailer
...
Else we can't properly translate the footer in the recipients e-mail
language.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-16 09:04:13 +07:00
Nextcloud bot
bccd13ffae
[tx-robot] updated from transifex
2020-04-15 02:17:12 +07:00
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
...
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-04-10 14:19:56 +07:00
Christoph Wurst
bcd13296de
Make sure every file ends with an empty newline
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:11:50 +07:00
Christoph Wurst
44577e4345
Remove trailing and in between spaces
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:07:47 +07:00
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 13:54:22 +07:00
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
...
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 11:48:10 +07:00
Christoph Wurst
2fbad1ed72
Fix (array) indent style to always use one tab
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 10:16:08 +07:00
Christoph Wurst
85e369cddb
Fix multiline comments
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-08 22:24:54 +07:00
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31 14:52:54 +07:00
Nextcloud bot
186d5ff5ed
[tx-robot] updated from transifex
2020-03-31 02:19:03 +07:00
Nextcloud bot
89710bbdcf
[tx-robot] updated from transifex
2020-03-29 02:20:14 +07:00
Nextcloud bot
df463f90be
[tx-robot] updated from transifex
2020-03-28 02:18:15 +07:00
Christoph Wurst
463b388589
Merge pull request #20170 from nextcloud/techdebt/remove-unused-imports
...
Remove unused imports
2020-03-27 17:14:08 +07:00
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26 16:34:56 +07:00
Christoph Wurst
2ee65f177e
Use the shorter phpunit syntax for mocked return values
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 22:21:27 +07:00
Christoph Wurst
74936c49ea
Remove unused imports
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 22:08:08 +07:00
Nextcloud bot
82d4bdd770
[tx-robot] updated from transifex
2020-03-17 02:18:42 +07:00
Nextcloud bot
0d6c8a3476
[tx-robot] updated from transifex
2020-03-15 02:19:16 +07:00
Daniel Kesselberg
e35b76a12b
Don't try to resize a svg uploaded as background image.
...
image* are gd functions without support for svg hence we are not able to resize svg.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-01 21:19:07 +07:00
Nextcloud bot
921253033a
[tx-robot] updated from transifex
2020-02-24 02:19:17 +07:00
Nextcloud bot
6a82bb1f00
[tx-robot] updated from transifex
2020-02-08 02:18:22 +07:00
Nextcloud bot
a4a05ee03d
[tx-robot] updated from transifex
2020-01-30 02:18:12 +07:00
Nextcloud bot
09f4b7a97a
[tx-robot] updated from transifex
2020-01-28 02:18:33 +07:00
Christoph Wurst
30d985b639
Migrate leafo/scssphp to scssphp/scssphp
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-23 14:52:16 +07:00
Roeland Jago Douma
6861286b25
Merge pull request #19054 from nextcloud/theming/use-fbicon
...
Use themed favicon-fb
2020-01-22 08:02:12 +07:00
Nextcloud bot
124f8b4c62
[tx-robot] updated from transifex
2020-01-22 02:18:03 +07:00
Julius Härtl
70e3fcea2c
Use themed favicon-fb
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-21 16:34:08 +07:00
Roeland Jago Douma
8728eab9d7
Fix app updates
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-21 14:00:58 +07:00
Nextcloud bot
434fd438d9
[tx-robot] updated from transifex
2020-01-19 02:17:21 +07:00
Nextcloud bot
a61bad6ede
[tx-robot] updated from transifex
2020-01-18 02:18:30 +07:00
Roeland Jago Douma
36b5bb583a
Merge pull request #18726 from marius-wieschollek/bugfix/18661
...
[#18661 ] Always include custom login image in theming
2020-01-08 19:38:40 +07:00
Nextcloud bot
e645c5d96a
[tx-robot] updated from transifex
2020-01-08 02:28:20 +07:00
Marius David Wieschollek
bf94acfee7
[ #18661 ] Always include custom login image in theming
...
Signed-off-by: Marius David Wieschollek <git.public@mdns.eu>
2020-01-07 22:27:20 +07:00
Marius David Wieschollek
eec921ca78
[ #18645 ] Have custom login images cover the whole page
...
Signed-off-by: Marius David Wieschollek <git.public@mdns.eu>
2020-01-05 00:14:28 +07:00
Nextcloud bot
f0df31081a
[tx-robot] updated from transifex
2019-12-24 02:27:40 +07:00
Nextcloud bot
1d8da461d5
[tx-robot] updated from transifex
2019-12-23 02:27:33 +07:00
Nextcloud bot
c81e05db98
[tx-robot] updated from transifex
2019-12-22 02:28:34 +07:00
Christoph Wurst
1b46621cd3
Update license headers for 18
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-20 09:23:25 +07:00
Nextcloud bot
37fcf92bac
[tx-robot] updated from transifex
2019-12-09 02:16:28 +07:00
Nextcloud bot
b41112a023
[tx-robot] updated from transifex
2019-12-07 02:16:37 +07:00
Christoph Wurst
5bf3d1bb38
Update license headers
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05 15:38:45 +07:00
Nextcloud bot
fae3ae8a2d
[tx-robot] updated from transifex
2019-12-05 02:16:52 +07:00
Roeland Jago Douma
069b938ab0
Fix the theming tests
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-04 09:07:24 +07:00
Roeland Jago Douma
2b19da84d5
Merge pull request #18140 from nextcloud/bugfix/17814/csp-svg
...
Allow inline styles for theming images
2019-12-03 10:48:04 +07:00