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