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