John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
před 3 roky
Roeland Jago Douma
11a9bd3e19
Some OCS result psalm fixes
For #25641
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
před 3 roky
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>
před 4 roky
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
před 4 roky
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
před 4 roky
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
před 4 roky
Joas Schilling
ba87db3fcc
Fix others
před 8 roky
Lukas Reschke
aba539703c
Update license headers
před 8 roky
Roeland Douma
9b05f37fad
lib/private/ocs to PSR-4 (#24558)
* Move OC_OCS_XX to legacy
* Move \OC\OCS to PSR-4
* OC_OCS_xx to \OC\OCS\xx
* Moved OC_OCS_xx to proper namespace
* OC_OCS_xx is still there for legacy reasons as a wrapper
* No calls to OC_OCS_xx in \OC\OCS\
před 8 roky
Thomas Müller
682821c71e
Happy new year!
před 8 roky
Morris Jobke
b945d71384
update licence headers via script
před 8 roky
Thomas Müller
e589226f58
fix PHPDoc
před 9 roky
Thomas Müller
2c8eaacec7
Merge headers of ocs results
před 9 roky
Thomas Müller
1d219cf799
With V2 we should ensure that the status codes are kept in sync
před 9 roky
Thomas Müller
0595c05200
Adding header support to class OC_OCS_Result
před 9 roky
Jenkins for ownCloud
b585d87d9d
Update license headers
před 9 roky
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
před 9 roky
Jenkins for ownCloud
6a1a4880f0
Updating license headers
před 9 roky
Lukas Reschke
4f0f7e35ca
Fix unexisting class and PHPDoc
You can't add int here as hint...
před 9 roky
Robin McCorkell
87b548ed91
Fix all PHPDoc types and variable names, in /lib
před 10 roky
tomneedham
6b017201b8
Only accept success as 100 like the OCS spec does
před 10 roky
Bjoern Schiessle
dc53c83e7b
getData() always needs to return an array
před 10 roky
Thomas Müller
9c9dc276b7
move the private namespace OC into lib/private - OCP will stay in lib/public
Conflicts:
lib/private/vcategories.php
před 10 roky
kondou
9e8a6b704d
Add _many_ newlines at the end of files
před 11 roky
Tom Needham
7eb6cc62f8
Make class properties protected instead of private to allow subclassing
před 11 roky
Tom Needham
934735043b
API: Remove api response structure from OC_OCS_Result, handle multiple registered methods for api calls
před 11 roky
Bart Visscher
5bfe4adbaa
Whitespace cleanup
před 11 roky
Tom Needham
218a5ea890
Remove unused methods
před 11 roky
Tom Needham
228a75ebaa
API: Include totalitems and itemsperpage meta data when needed.
před 11 roky
Tom Needham
140141edf2
API: Further tidying, implement OC_OCS_Result object for api results.
před 11 roky