Nextcloud Server
Go to file
Arthur Schiwon 4fa39250e7 LDAP User Cleanup: Port from stable7 without further adjustements
LDAP User Cleanup

background job for user clean up

adjust user backend for clean up

register background job

remove dead code

dependency injection

make Helper non-static for proper testing

check whether it is OK to run clean up job. Do not forget to pass arguments.

use correct method to get the config from server

methods can be private, proper indirect testing is given

no automatic user deletion

make limit readable for test purposes

make method less complex

add first tests

let preferences accept limit and offset for getUsersForValue

DI via constructor does not work for background jobs

after detecting, now we have retrieving deleted users and their details

we need this method to be public for now

finalize export method, add missing getter

clean up namespaces and get rid of unnecessary files

helper is not static anymore

cleanup according to scrutinizer

add cli tool to show deleted users

uses are necessary after recent namespace change

also remove user from mappings table on deletion

add occ command to delete users

fix use statement

improve output

big fixes / improvements

PHP doc

return true in userExists early for cleaning up deleted users

bump version

control state and interval with one config.php setting, now ldapUserCleanupInterval. 0 will disable it. enabled by default.

improve doc

rename cli method to be consistent with  others

introduce ldapUserCleanupInterval in sample config

don't show last login as unix epoche start when no  login happend

less log output

consistent namespace for OfflineUser

rename GarbageCollector to DeletedUsersIndex and move it to user subdir

fix unit tests

add tests for deleteUser

more test adjustements

Conflicts:
	apps/user_ldap/ajax/clearMappings.php
	apps/user_ldap/appinfo/app.php
	apps/user_ldap/lib/access.php
	apps/user_ldap/lib/helper.php
	apps/user_ldap/tests/helper.php
	core/register_command.php
	lib/private/preferences.php
	lib/private/user.php

add ldap:check-user to check user existance on the fly

Conflicts:
	apps/user_ldap/lib/helper.php

forgotten file

PHPdoc fixes, no code change

and don't forget to adjust tests
2014-12-19 19:47:54 +01:00
.idea Add newline that was removed by 15be763d46 2014-12-10 09:38:32 +01:00
3rdparty@0ef909d444 Update 3rdparty submodule to restore PEAR5.php 2014-12-18 01:30:01 +01:00
apps LDAP User Cleanup: Port from stable7 without further adjustements 2014-12-19 19:47:54 +01:00
build cleaning up the build directory 2014-12-10 10:07:22 +01:00
config LDAP User Cleanup: Port from stable7 without further adjustements 2014-12-19 19:47:54 +01:00
core LDAP User Cleanup: Port from stable7 without further adjustements 2014-12-19 19:47:54 +01:00
l10n
lib LDAP User Cleanup: Port from stable7 without further adjustements 2014-12-19 19:47:54 +01:00
ocs OCS API for server-to-server sharing 2014-12-04 13:18:13 +01:00
search introduce inApps[] filter for search via ajax query, make file results show up in files app only 2014-12-10 15:51:59 +01:00
settings Merge pull request #12921 from owncloud/user-mail-user-management 2014-12-19 09:51:18 +01:00
tests Next step in server-to-server sharing next generation, see #12285 2014-12-19 15:20:24 +01:00
themes
.bowerrc
.gitignore Setup a docker container that holds a webdav instance to test files_external 2014-12-17 21:50:35 +01:00
.gitmodules
.htaccess
.jshintrc
.scrutinizer.yml bower jquery-ui - exported changes to a separate css file 2014-12-13 09:47:34 +01:00
.user.ini
AUTHORS
autotest-external.sh Setup a docker container that holds a webdav instance to test files_external 2014-12-17 21:50:35 +01:00
autotest-js.sh
autotest.cmd Restore the development config after running the tests 2014-12-02 12:41:33 +01:00
autotest.sh Correctly run all tests again when no file is specified 2014-12-09 16:36:41 +01:00
bower.json bower jquery-ui - exported changes to a separate css file 2014-12-13 09:47:34 +01:00
buildjsdocs.sh
console.php
CONTRIBUTING.md
COPYING-AGPL
COPYING-README
cron.php
db_structure.xml
index.html
index.php
indie.json
issue_template.md Also add secret 2014-12-19 10:57:46 +01:00
occ
public.php
README.md Add some fancy translation chart 2014-12-16 19:55:42 +01:00
remote.php
robots.txt
status.php reduce OC_Preferences, OC_Config and \OCP\Config usage 2014-12-08 22:42:37 +01:00
version.php

ownCloud

ownCloud gives you freedom and control over your own data. A personal cloud which runs on your own server.

Build Status on Jenkins CI

Git master: Build Status

Quality:

  • Scrutinizer: Scrutinizer Quality Score
  • CodeClimate: Code Climate

Installation instructions

http://doc.owncloud.org/server/7.0/developer_manual/app/index.html

Contribution Guidelines

http://owncloud.org/contribute/

Get in touch

Important notice on translations

Please submit translations via Transifex: https://www.transifex.com/projects/p/owncloud/

Transifex

For more detailed information about translations: http://doc.owncloud.org/server/7.0/developer_manual/core/translation.html