Commit Graph

55055 Commits

Author SHA1 Message Date
Morris Jobke c449d54204
Merge pull request #22304 from nextcloud/techdebt/noid/matching-param-names
Use matching parameter names form interfaces and implementations
2020-08-19 19:34:02 +02:00
Morris Jobke 4c6eb96471
Merge pull request #22280 from nextcloud/bugfix/noid/429-on-brute-force-maximum
Send "429 Too Many Requests" in case of brute force protection
2020-08-19 18:21:01 +02:00
Morris Jobke 4db7829f43
Better psalm CI output
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 18:16:35 +02:00
Morris Jobke fedf9c69d9
Use matching parameter names form interfaces and implementations
Found by Psalm 3.14.1

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 18:16:35 +02:00
Morris Jobke 60be722ee8
Merge pull request #22288 from nextcloud/techdebt/noid/fix-oc_image-invalid-scalar-arguments
Cast float/char to int to avoid invalid scalar argument warning
2020-08-19 17:55:56 +02:00
Julius Härtl 93e671e812
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:31 +02:00
Julius Härtl e2f71fd322
Only show app store link if user is admin
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 1c3e95670d
Dashboard: fix visual glitch when clicking on active background
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Julius Härtl 2b51b62f94
Add previews
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 8eff3f02b6
Dashboard: Adjust for dark and high contrast themes
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 3a3fa036e6
Dashboard: Adjust for dark and high contrast themes
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt 6e92c7212e
Dashboard: Finish image list and attribution
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Jan C. Borchardt d1a2482dda
Dashboard: Add more feedback for selected background
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +02:00
Julius Härtl 9a7f7ea5e7
Fix php cs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl a4ebef75e9
Fix const visibility
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl 1e61cf617a
Add active indicator to background selector
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl d288a11cee
Only invert header buttons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl 551d435f89
Make it possible to define theme header styling per background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Jan C. Borchardt 5932376333
Dashboard: fix HTML structure of background picker
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:28 +02:00
Julius Härtl 135ceb4a9d
Fix late night errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl d02a92e870
WIP: Start off with attribution for shipped backgrounds
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl 5661775568
Allow to set a primary color background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl fa2072e36b
Fix keyboard navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Jan C. Borchardt 38afee82bd
Dashboard: Customize modal design improvements
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:28 +02:00
Julius Härtl 8d22d02422
Remove old shipped background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 9a90351435
Add images
Signed-off-by: Julius Härtl <jus@bitgrid.net>

update images

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 4118cb0be6
Do not reset background on every save
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 338f09b04b
Push widget metadata to callback
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl b49f814faa
Implement background reset and proper shipped setting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 2535e0ec04
Fix loading as guest
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:26 +02:00
Julius Härtl 4ec0afd0e7
Allow to set a custom background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:26 +02:00
Morris Jobke e93bf71369
Fix the return type of OC_Template->fetchPage() to be string only
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 16:48:06 +02:00
Roeland Jago Douma 2bbb848c31
Add legacy scanning command
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-19 15:45:45 +02:00
Morris Jobke 603d7dab5e
Add setup check that links to the migration documentation
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 15:45:45 +02:00
Roeland Jago Douma 8928bbe969
Make legacy cipher opt in
* Systems that upgrade have this enabled by default
* New systems disable it
* We'll have to add some wargning in the setup checks if this is enabled

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-19 15:45:45 +02:00
Georg Ehrke e6433eeb02
Typecast parameter of getAddressBookById
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-08-19 15:30:13 +02:00
Julius Härtl 1e043d5a24
Move customize button to the bottom
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 13:55:08 +02:00
Julius Härtl a3bcf73408
Sticky header background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 13:55:07 +02:00
Joas Schilling a9f22ac7b1
More test fixing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 12:40:25 +02:00
Roeland Jago Douma bc2b422508
Merge pull request #22299 from nextcloud/enh/noid/show-disabled-user-count-in-userreport
Show disabled user count in occ user:report
2020-08-19 11:23:27 +02:00
Joas Schilling 6f5f71d100
Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:21:02 +02:00
Joas Schilling 41d8a7e05f
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling 35a8519591
Fix CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling 770381c0c6
Correctly return ms delay when at max
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling 931aca2fee
Add missing default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling d9c4c9eb99
Simplify array filter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling dfeee3b850
Fix wrong doc + type hint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling 8376c4891f
Only throw when also the last 30 mins were attacking
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling 6f751d01db
Make the throttling O(2^n) instead of O(n^n)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00
Joas Schilling 64539a6ee1
Make Throttler strict
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-19 11:20:36 +02:00