Commit Graph

71 Commits

Author SHA1 Message Date
Felix Epp a28f000610
Add icon for the theming app 2016-09-07 08:34:01 +02:00
Joas Schilling 9ac95be358
No background and logo in 10 2016-09-06 11:22:01 +02:00
Joas Schilling b626f710c1
php 5.4 and 5.5 compatibility 2016-09-06 11:19:08 +02:00
Joas Schilling ebaa49f76d
Add image URLs and tests 2016-09-06 11:10:27 +02:00
Joas Schilling 9f98cfceb4
Add theming information to capabilities for the client 2016-09-06 11:10:15 +02:00
Julius Haertl 6ce976e7f0
Theming: Show loading spinner while uploading files 2016-08-30 10:28:57 +02:00
Lukas Reschke 49da5267a9
Use temporary file as cache 2016-08-29 12:19:02 +02:00
Lukas Reschke d4d90a0b84
Increase theming performance
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-29 12:18:57 +02:00
Roeland Jago Douma b59f5fc725
Require a ThemingDefaults class again 2016-08-24 13:25:26 +02:00
Arthur Schiwon 0f3513afff
fixes registering of theming settings where server return OC_Defaults instead of ThemingDefaults 2016-08-22 13:24:08 +02:00
Lukas Reschke 436e6c1078
Use MockBuilder instead of createMock
CI uses an older PHPUnit
2016-08-16 21:10:47 +02:00
Lukas Reschke 687f5bee94
Add unit tests 2016-08-16 21:10:41 +02:00
Arthur Schiwon fe29483a9d
fix theming tests 2016-08-16 21:09:54 +02:00
Arthur Schiwon cd08307bb8
rename remaining occurences of OCA/Theming/Template 2016-08-16 21:09:46 +02:00
Bjoern Schiessle 4132319bae
rename "Tenmplate" to "ThemingDefaults" to make the auto loader happy" 2016-08-16 21:09:41 +02:00
Arthur Schiwon 3ae0a380ae
adjust Theming app 2016-08-16 21:07:09 +02:00
Julius Haertl 0b838b8eef
Theming: Add OCA.Theming Js for app interaction 2016-08-10 18:46:39 +02:00
Julius Haertl 5bf85b727b
Add css classes to allow app developers using the theming colors 2016-08-10 18:46:28 +02:00
Joas Schilling 7b3974501e
Increment the versions and adjust the capitilization 2016-08-08 16:48:00 +02:00
Joas Schilling 3d3614d233
Validate the input of the theming options 2016-08-03 09:15:00 +02:00
Joas Schilling 16b2d2d935
Fix tests 2016-08-03 09:14:52 +02:00
Joas Schilling eac3b8d992
Update routes.php 2016-08-03 09:14:44 +02:00
Joas Schilling 02773efe4f
Remove useless check 2016-08-03 09:14:34 +02:00
Joas Schilling 08ea343adb
Use the methods on the Response object 2016-08-03 09:14:24 +02:00
Joas Schilling d248fbde92
Use public API preferable 2016-08-03 09:14:15 +02:00
Joas Schilling 8bf034ffbf
Move classes to PSR-4 2016-08-03 09:14:04 +02:00
Jan-Christoph Borchardt a32d9bbc6e fix missing semicolon to fix themed logo on log in page 2016-08-01 18:16:32 +02:00
Bjoern Schiessle 35acbd6279
fix background id selector for the first run wizard 2016-07-28 17:44:23 +02:00
Bjoern Schiessle 39f88c74f9
fix unit tests 2016-07-28 17:44:01 +02:00
Bjoern Schiessle 6aede49ea1
re-use background color from theme in the firstrunwizard 2016-07-28 17:43:52 +02:00
Bjoern Schiessle 39712d1adc
apply theme to the firstrunwizard 2016-07-28 17:43:45 +02:00
Julius Haertl 4eb85f10a9
Theming: Cleanup and remove opacity from checkbox/radiobutton 2016-07-28 16:18:51 +02:00
Julius Haertl 1f3e55bc86
Theming: Generate colorized radio buttons dynamically 2016-07-28 16:18:50 +02:00
Julius Haertl b7024b454f
Theming: Colorize radio buttons and append new styles on preview 2016-07-28 16:18:50 +02:00
Julius Haertl aa4e133443
Theming: Clean up css generation and fix tests 2016-07-28 16:18:50 +02:00
Julius Haertl 49ef99474f
Theming: Colorize checkboxes depending on luminance 2016-07-28 16:18:47 +02:00
Julius Haertl 5c12c8cb02
Theming: Preview for colorized checkboxes 2016-07-28 16:17:53 +02:00
Morris Jobke c9b4a2b4cc Fix unit tests 2016-07-28 10:08:36 +02:00
Jan-Christoph Borchardt 12a35e46ce also adjust log in background color in theme 2016-07-28 10:08:02 +02:00
Jan-Christoph Borchardt 88560096d4 fix searchbox overlapping on mobile 2016-07-28 10:07:57 +02:00
Julius Haertl db755d7236
Theming: Fix preview and center alignment of logo 2016-07-26 13:24:41 +02:00
Lukas Reschke 9281b008c5
Adjust tests 2016-07-26 13:24:34 +02:00
Jos Poortvliet 148cb09e00
Update themingcontroller.php 2016-07-26 13:24:08 +02:00
Joas Schilling 23b205ed48
Run the license script 2016-07-22 11:40:41 +02:00
Björn Schießle ea470f8777 Merge pull request #405 from nextcloud/theming-fixes
Theming fixes
2016-07-18 15:59:47 +02:00
Julius Haertl 48ac845266
Theming: Fix image paths for caret icon 2016-07-16 09:18:34 +02:00
Julius Haertl 3f47138d27
Theming: Fix spaces in settings-admin.js 2016-07-15 14:45:05 +02:00
Julius Haertl 639be661c4
Theming: Add tests for inverted colors 2016-07-15 14:16:41 +02:00
Julius Haertl 387550be88
Theming: Implement swapping the foreground color for bright colors 2016-07-15 14:16:41 +02:00
Joas Schilling ec6f696978
Add unit tests 2016-07-15 11:54:47 +02:00