Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
před 7 měsíci
Arthur Schiwon
8e8acf2d90
LDAP to no register new users when outside of fair use or over limits
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
před 1 rokem
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
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
14c996d982
Use elseif instead of else if
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
Arthur Schiwon
373a1d5391
more consistent naming
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
před 6 roky
Arthur Schiwon
8fe914f07e
LDAP backend to emit announce and revoke signals on mapping changes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
před 6 roky
Roeland Jago Douma
3dac15a891
Move calls to \OCP\JSON to private \OC_JSON
They should be properly fixed at some point.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
před 6 roky
Joas Schilling
813f0a0f40
Fix apps/
před 8 roky
Lukas Reschke
aba539703c
Update license headers
před 8 roky
Thomas Müller
682821c71e
Happy new year!
před 8 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
a7df23ceba
Manually type-case all AJAX files
This enforces proper types on POST and GET arguments where I considered it sensible. I didn't update some as I don't know what kind of values they would support :see_no_evil:
Fixes https://github.com/owncloud/core/issues/14196 for core
před 9 roky
Arthur Schiwon
ec0f80fee9
Split mapping from Access and Helper classes into it's own. Fully test them, too.
remove unused methods
split mapping methods off from Access class
fix DB query handling
move 'clear mapping' methods from static helper to new mapping class
add tests
test directly with DB
finishing tests and fix return value from setDNbyUUID
add corresponding class for groups and make abstract test class neutral. helper tests is now obsolete as the tested functions were moved to the new mapper class.
add missing info to PHPDoc
add unmap method
fix namespaces
fix test inheritance
PHPDoc and a small code restructure for scrutinizer, no effective changes
PostgreSQL does not accept LIMIT in DELETE queries
phpdoc fixes, no code changes
před 9 roky
Robin Appelman
d0266c0bf8
Use public api for getting l10n
před 9 roky
kondou
9e8a6b704d
Add _many_ newlines at the end of files
před 11 roky
Arthur Schiwon
796ee8c4c0
LDAP: Implement clear mappings functionality
před 11 roky
Bart Visscher
5c4a804ddb
Fix SpaceBeforeOpenBrace errors
před 11 roky
Thomas Mueller
a17a7f5cdb
adding l10n support to user_ldap
před 11 roky
Arthur Schiwon
a557522037
LDAP: send back error message properly
před 11 roky
Arthur Schiwon
6bc7256966
LDAP: forgotten file for deleteConfig feature
před 11 roky
Arthur Schiwon
06c284f6cc
LDAP settings: read configuration when another server config is chosen
před 11 roky
Arthur Schiwon
6d84aa93d3
Ajaxifiy Settings Save
před 11 roky
Arthur Schiwon
a53addf825
LDAP: first basics for multiserver config ui
před 11 roky
Arthur Schiwon
0784bcb8d7
introduce configPrefix to allow settings for multiple LDAP servers
před 11 roky
Sam Tuke
8b01286a5d
Merged branch 'master'
před 11 roky
Arthur Schiwon
6fbed6a588
LDAP: add Test Configuration functionality in the settings
před 12 roky
Thomas Tanghus
748fcabba4
Added CSRF checks to files_versions. Expect some error messages - and report them ;)
před 12 roky
Bjoern Schiessle
e248412ca9
use getStorage() to get versions location
update routine implemented
version number of files_versions increased
Conflicts:
apps/files_versions/lib/hooks.php
před 12 roky
Sam Tuke
a775deaf22
Moved hooks and versions.php into new lib directory
Part-ported filesystem operations to OC_FilesystemView
Refactored Storage class to depend on an OC_FsV object and have fewer static classes
před 12 roky
Sam Tuke
72215a818d
added new user settings interface for deleting old file versions
fixed OCA_VersionsexpireAll() to use native PHP readdir()
removed local storage implementation of readdir()
před 12 roky
Thomas Mueller
583dce5276
removing executable bit - again
před 12 roky
Frank Karlitschek
1945cd6946
ported the oc_template class
před 12 roky
Frank Karlitschek
43caa3b3b9
ported oc_json
před 12 roky
Thomas Tanghus
f6fefe9a36
Contacts: Ensure TYPE parameters on email aren't deleted on edit. They are still not shown in the UI.
Remove an obsolute file and did some cleanup.
před 12 roky
Georg Ehrke
69ee0efc0b
remove the require_once lib base from all (or nearly all) files
před 12 roky
Thomas Tanghus
31dab0372d
Added some fixes for what to show when address books are (de)selected, all contacts deleted etc. Still need some cleaning up.
před 12 roky
Thomas Tanghus
ae426ad115
Added some check for when addinf deleting contacts.
před 12 roky
Thomas Tanghus
0c5eb542bd
Fixed broken "Add new" contact.
Possible fix for cards with missing 'FN' property added through DAV.
Misc. UI cleanups.
před 12 roky
Thomas Tanghus
c0c6b5310e
Added files for new contact editor/viewer.
před 12 roky
Thomas Tanghus
feeb0c742a
Misc. changes after review by bartv.
před 12 roky
Thomas Tanghus
b3661adf02
Various fixes to multiple address books handling
před 12 roky
Bart Visscher
7e990a8e5c
Contacts: refactor common ajax functions to OC_Contacts_App
před 12 roky
Bart Visscher
247146f703
Contacts: refactor rendering of part.details template
před 12 roky
Tom Needham
dd7a411f9a
Disable save button while saving. Streamlined code.
před 12 roky