Commit Graph

791 Commits

Author SHA1 Message Date
Nextcloud bot bccd13ffae
[tx-robot] updated from transifex 2020-04-15 02:17:12 +00: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 +02: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 +02: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 +02: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 +02: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 +02: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 +02:00
Christoph Wurst 85e369cddb
Fix multiline comments
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-08 22:24:54 +02: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 +02:00
Nextcloud bot 186d5ff5ed
[tx-robot] updated from transifex 2020-03-31 02:19:03 +00:00
Nextcloud bot 89710bbdcf
[tx-robot] updated from transifex 2020-03-29 02:20:14 +00:00
Nextcloud bot df463f90be
[tx-robot] updated from transifex 2020-03-28 02:18:15 +00:00
Christoph Wurst 463b388589
Merge pull request #20170 from nextcloud/techdebt/remove-unused-imports
Remove unused imports
2020-03-27 17:14:08 +01: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 +01: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 +01:00
Christoph Wurst 74936c49ea
Remove unused imports
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 22:08:08 +01:00
Nextcloud bot 82d4bdd770
[tx-robot] updated from transifex 2020-03-17 02:18:42 +00:00
Nextcloud bot 0d6c8a3476
[tx-robot] updated from transifex 2020-03-15 02:19:16 +00: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 +01:00
Nextcloud bot 921253033a
[tx-robot] updated from transifex 2020-02-24 02:19:17 +00:00
Nextcloud bot 6a82bb1f00
[tx-robot] updated from transifex 2020-02-08 02:18:22 +00:00
Nextcloud bot a4a05ee03d
[tx-robot] updated from transifex 2020-01-30 02:18:12 +00:00
Nextcloud bot 09f4b7a97a
[tx-robot] updated from transifex 2020-01-28 02:18:33 +00: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 +01:00
Roeland Jago Douma 6861286b25
Merge pull request #19054 from nextcloud/theming/use-fbicon
Use themed favicon-fb
2020-01-22 08:02:12 +01:00
Nextcloud bot 124f8b4c62
[tx-robot] updated from transifex 2020-01-22 02:18:03 +00:00
Julius Härtl 70e3fcea2c
Use themed favicon-fb
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-21 16:34:08 +01:00
Roeland Jago Douma 8728eab9d7
Fix app updates
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-21 14:00:58 +01:00
Nextcloud bot 434fd438d9
[tx-robot] updated from transifex 2020-01-19 02:17:21 +00:00
Nextcloud bot a61bad6ede
[tx-robot] updated from transifex 2020-01-18 02:18:30 +00: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 +01:00
Nextcloud bot e645c5d96a
[tx-robot] updated from transifex 2020-01-08 02:28:20 +00: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 +01: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 +01:00
Nextcloud bot f0df31081a
[tx-robot] updated from transifex 2019-12-24 02:27:40 +00:00
Nextcloud bot 1d8da461d5
[tx-robot] updated from transifex 2019-12-23 02:27:33 +00:00
Nextcloud bot c81e05db98
[tx-robot] updated from transifex 2019-12-22 02:28:34 +00:00
Christoph Wurst 1b46621cd3
Update license headers for 18
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-20 09:23:25 +01:00
Nextcloud bot 37fcf92bac
[tx-robot] updated from transifex 2019-12-09 02:16:28 +00:00
Nextcloud bot b41112a023
[tx-robot] updated from transifex 2019-12-07 02:16:37 +00:00
Christoph Wurst 5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05 15:38:45 +01:00
Nextcloud bot fae3ae8a2d
[tx-robot] updated from transifex 2019-12-05 02:16:52 +00:00
Roeland Jago Douma 069b938ab0
Fix the theming tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-04 09:07:24 +01: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 +01:00
Nextcloud bot 6725a4b746
[tx-robot] updated from transifex 2019-11-30 02:16:49 +00:00
Roeland Jago Douma 669302e570
Merge pull request #18064 from nextcloud/feature/php74
Add php7.4 support
2019-11-28 08:36:10 +01:00
Nextcloud bot 563f9153a2
[tx-robot] updated from transifex 2019-11-28 02:16:54 +00:00
Julius Härtl 9691360f6e
Allow inline styles for theming images
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-27 20:26:57 +01:00
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27 15:27:18 +01:00
Roeland Jago Douma c007ca624f
Make phpunit8 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27 13:34:41 +01:00
Roeland Jago Douma 2a2d0cd312
Merge pull request #18082 from nextcloud/design/style-update
Update style of log in page and header
2019-11-26 12:01:47 +01:00
John Molakvoæ fe6dc8082c
add var for theming images , advanced options (#16815)
add var for theming images , advanced options
2019-11-26 10:55:20 +01:00
Nextcloud bot 123c4aa4e0
[tx-robot] updated from transifex 2019-11-26 02:15:57 +00:00
Julius Härtl 067ee3150c
Adjust gradient to theming value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-25 16:29:29 +01:00
Roeland Jago Douma c7d5b8fc49
Merge pull request #18079 from nextcloud/fixes/phpcs
Some php-cs fixes
2019-11-25 14:07:00 +01:00
Daniel Kesselberg 6d883f3641
Remove some whitespace
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-11-24 21:51:44 +01:00
Guillaume COMPAGNON 761f331d1e
fix test for new css vars / logoheader and favicon
Signed-off-by: Guillaume COMPAGNON <gcompagnon@outlook.com>
2019-11-24 21:51:43 +01:00
Guillaume COMPAGNON ed399a31bd
add var for theming images , advanced options
Signed-off-by: Guillaume COMPAGNON <gcompagnon@outlook.com>
2019-11-24 21:51:43 +01:00
Jan-Christoph Borchardt 7edeac887b
Update style of log in page and header
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-11-23 19:16:59 +07:00
Nextcloud bot 4f2837017c
[tx-robot] updated from transifex 2019-11-23 02:16:07 +00:00
Roeland Jago Douma 68748d4f85
Some php-cs fixes
* 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-11-22 20:52:10 +01:00
Nextcloud bot 37ef64d24e
[tx-robot] updated from transifex 2019-11-21 02:16:02 +00:00
Nextcloud bot afa0f2c0d8
[tx-robot] updated from transifex 2019-11-20 02:16:19 +00:00
Nextcloud bot 9707fcf4fe
[tx-robot] updated from transifex 2019-11-19 02:17:47 +00:00
Nextcloud bot 18efe3bad3
[tx-robot] updated from transifex 2019-11-15 02:16:03 +00:00
Nextcloud bot 9a460f9e39
[tx-robot] updated from transifex 2019-11-12 02:16:12 +00:00
Nextcloud bot cd7c7d78d7
[tx-robot] updated from transifex 2019-11-10 02:16:59 +00:00
Robin Appelman ef2fb51065
remove missed manual Application instance constructions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-11-04 19:51:37 +01:00
Nextcloud bot 827a3c545a
[tx-robot] updated from transifex 2019-11-03 02:16:06 +00:00
Nextcloud bot 75b94cb5be
[tx-robot] updated from transifex 2019-11-01 07:46:26 +00:00
Roeland Jago Douma c280eff9b5
Merge pull request #17673 from nextcloud/fix/lang/locale/jshelper/mess
Fix jsConfigHelper lang/locale mixup
2019-10-26 12:13:58 +02:00
Nextcloud bot f9e323c188
[tx-robot] updated from transifex 2019-10-26 02:15:17 +00:00
Roeland Jago Douma e71f222082
Cleanup theming mess
* Do not do translations in the constructor. This gets called to early
so there is no user yet. Which means we can't obtain the locale. Which
means we store the wrong translation instance.

* Same for the theming app magic. Just use the parent call when needed.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-25 13:31:19 +02:00
Nextcloud bot 908f13e9b9
[tx-robot] updated from transifex 2019-10-22 02:15:41 +00:00
Roeland Jago Douma 2905e8d6cf
Merge pull request #17593 from nextcloud/ensure-valid-theming-image-route
make sure that the urls for theming images are valid
2019-10-21 12:07:00 +02:00
Nextcloud bot 560d9c3006
[tx-robot] updated from transifex 2019-10-21 02:15:49 +00:00
Nextcloud bot e0e938295e
[tx-robot] updated from transifex 2019-10-20 02:16:43 +00:00
Robin Appelman 512eb14d94
make sure that the urls for theming images are valid
In some circumstances the url generation seems to fail,
resulting in an empty image url which causes the browser to load the main
page multiple times, leading to issues with state tokens

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-10-18 18:12:06 +02:00
Sascha Wiswedel 126444d5a6
added documentation links on settings pages
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2019-10-17 15:09:49 +02:00
Nextcloud bot c99fcd63f8
[tx-robot] updated from transifex 2019-09-25 02:14:47 +00:00
Nextcloud bot 61d22ff6cf
[tx-robot] updated from transifex 2019-09-24 02:14:41 +00:00
John Molakvoæ (skjnldsv) 223046b079
Create color-primary-light variable
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-09-11 11:27:59 +02:00
Nextcloud bot 365f30b05b
[tx-robot] updated from transifex 2019-09-08 02:16:42 +00:00
Roeland Jago Douma 04ef434af0
Development is 18 now!
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-05 11:26:35 +02:00
Nextcloud bot 8072e3e568
[tx-robot] updated from transifex 2019-09-05 02:16:14 +00:00
Roeland Jago Douma 80743e1f85
CapabilitiesTests are not DB tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-04 20:32:34 +02:00
Nextcloud bot cb5c4cf98d
[tx-robot] updated from transifex 2019-08-29 02:14:52 +00:00
Nextcloud bot cdd491c706
[tx-robot] updated from transifex 2019-08-28 02:15:26 +00:00
Nextcloud bot 182517e0b3
[tx-robot] updated from transifex 2019-08-22 02:14:34 +00:00
Nextcloud bot b3880452bb
[tx-robot] updated from transifex 2019-08-18 02:15:40 +00:00
Nextcloud bot d60bd93641
[tx-robot] updated from transifex 2019-08-14 02:14:58 +00:00
Nextcloud bot 54f38375c8
[tx-robot] updated from transifex 2019-08-12 02:14:48 +00:00
Nextcloud bot cb83d0646a
[tx-robot] updated from transifex 2019-08-09 02:14:15 +00:00
Nextcloud bot 4327d275c1
[tx-robot] updated from transifex 2019-08-04 02:15:22 +00:00
Nextcloud bot bfcc3acc9a
[tx-robot] updated from transifex 2019-08-03 02:14:32 +00:00
Nextcloud bot 67f90cb682
[tx-robot] updated from transifex 2019-08-02 02:14:30 +00:00
Julius Härtl 47a0254bb3
Validate urls in theming settings and properly handle error messages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-31 10:20:57 +02:00
Max Fichtelmann 4977f235f6 prevent potential XSS via unchecked use innerHTML
Signed-off-by: Max Fichtelmann <max.fichtelmann@procilon.de>
2019-07-29 18:16:37 +02:00
Daniel Kesselberg 1b0f30b1ab
The array and string offset access syntax using curly braces is deprecated.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-07-21 21:19:15 +02:00
Nextcloud bot 8b31dbc5a4
[tx-robot] updated from transifex 2019-07-16 02:14:48 +00:00