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
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
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
Joas Schilling
85153e8923
Fix unit tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-10 19:36:57 +01:00
Daniel Kesselberg
6235175b6d
Make TAG_FAVORITE public
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-02-12 15:11:58 +01:00
Christoph Wurst
6127c288e8
Fix license headers
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-13 14:23:49 +01:00
John Molakvoæ (skjnldsv)
22079347ea
Fix webdav url
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-10 12:13:05 +01:00
Julius Härtl
445274cf93
Add pending share list to frontend
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-07 19:35:45 +01:00
Christoph Wurst
5bf3d1bb38
Update license headers
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05 15:38:45 +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
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
Robin Appelman
4621a42020
fix tests for background file scan job
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-11-06 15:10:15 +01:00
John Molakvoæ (skjnldsv)
a48359ac02
Adjust unit tests to new OCA.Sidebar
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:08 +01:00
Julius Härtl
5e4eda1ae0
Remove deprecated legacy file actions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-14 19:19:16 +02:00
Roeland Jago Douma
606b4d5bf3
Add new LoadAdditionalScriptsEvent
...
This adds a new event that is in the new style of event dispatching.
This should allow more lazy loading and better sepeartion of concerns
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-23 10:09:57 +02:00
Daniel Kesselberg
fda7f5edb4
Revert "Fix usage view tests"
...
This reverts commit 7da7acd0
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-07-02 19:50:32 +02:00
Roeland Jago Douma
7da7acd0a5
Fix usage view tests
...
Follow up to #16049
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-07-02 15:50:36 +02:00
John Molakvoæ (skjnldsv)
ff164db935
Add link icon for public link too
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-03-21 08:16:00 +01:00
Joas Schilling
c6a69ba925
Remove the upload and memory setting
...
* Remove unneeded private method phpFileSize()
* Bump autoloader
* Remove setUploadLimit tests
* Remove integrity check hacks for upload limit
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-04 12:14:22 +01:00
Joas Schilling
01b4db62fb
Add dispatcher events to User and Group objects
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-01 20:56:59 +01:00
Tomasz Grobelny
701f7902d2
Fix unit tests
...
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
2019-02-20 23:07:38 +01:00
Tomasz Grobelny
08919eb193
Merge branch 'master' into operation_progress_improvements3
...
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
2019-01-29 21:26:44 +01:00
Morris Jobke
a938f0ea9d
Add abort stub in JSUnit
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-12-06 12:00:09 +01:00
Tomasz Grobelny
04d326f95f
Fix unit tests
...
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
2018-11-24 23:57:13 +01:00
John Molakvoæ (skjnldsv)
1deda8fd65
Rollback to default list view
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-15 20:29:10 +01:00
Morris Jobke
c09560627f
Enhance jsunit tests
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-15 13:40:05 +01:00
Julius Härtl
c48722c201
Fix file move tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-07 11:14:19 +01:00
John Molakvoæ (skjnldsv)
cac2f7f4d6
Fix tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-06 16:05:34 +01:00
Tomasz Grobelny
41687ef00f
Fix move related tests
...
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
2018-11-03 23:01:32 +00:00
Jan-Christoph Borchardt
39ff82f707
Use grid view in other file views too
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-18 13:44:05 +02:00
Julius Härtl
c316eb6b97
Tests: Properly compare the file action label
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-15 19:18:20 +02:00
Joas Schilling
16817f3743
Make activity events strict
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-10-12 12:12:12 +02:00
Christoph Wurst
9af69ca2a5
Fix usage of deprecated OC.webroot
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-09 13:53:59 +02:00
Michael Weimann
7e92b52974
Fixes empty favorite names for trailing slashes
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-09-19 17:43:55 +02:00
Michael Weimann
2de34d7778
Improves the tests
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-08-17 20:35:23 +02:00
Michael Weimann
f18fc851c0
Adds a test to check that the sorting isn't stored without an user
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2018-08-17 20:08:57 +02:00
Morris Jobke
a96137ef0b
Merge pull request #10310 from nextcloud/accessibility-header
...
Accessibility fixes for header and global elements
2018-07-25 00:07:37 +02:00
Jan-Christoph Borchardt
a2ad1b9aa9
Fix ability to open file or folder via keyboard, fix #10008
...
Before, the file or folder was opened when clicking on the name span,
but not when clicking on the link that contains the name; clicking on
the link highlighted the file and opened the sidebar, just like clicking
on the file size or date. Now clicking on the link opens the file or
folder, so the unit tests that tested clicks on the link were changed to
test clicking on the file size instead.
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-07-24 18:58:35 +02:00
John Molakvoæ (skjnldsv)
84bc30200e
Phpunit tests fixes
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-07-24 11:01:11 +02:00
John Molakvoæ (skjnldsv)
8d3f58c391
Jsunit fixes 1
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-07-20 23:38:04 +02:00
John Molakvoæ (skjnldsv)
a349f2a9f5
Fixed phpunit
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-07-13 14:47:00 +02:00
Roeland Jago Douma
49a701eabf
No draggable list anymore
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-07-12 20:22:35 +02:00
Roeland Jago Douma
999dc64c72
Fix tests
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-07-12 17:50:06 +02:00
John Molakvoæ (skjnldsv)
bd1929a3b1
Fixed tests
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-07-12 16:49:39 +02:00
Roeland Jago Douma
a1a845693b
Fix tests
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-07-05 12:43:57 +02:00