Ko-
393bdf97f9
Fix filename of group_sql.php
2018-05-30 13:02:53 +02:00
Marcin Łojewski
7649d23052
Manage limit and offset in usersInGroup function
...
Since user_sql apps don't manage limit and offset in **usersInGroup** function:
`$rows = $this -> helper -> runQuery('getGroupUsers', array('gid' => $gid), false, true);`
The unshareFromGroup function of **Activity** app start a infinity loop :
```
while (!empty($users)) {
$this->addNotificationsForGroupUsers($users, 'unshared_by', $share->getNodeId(), $share->getNodeType(), $share->getTarget(), $share->getId());
$offset += self::USER_BATCH_SIZE;
$users = $group->searchUsers('', self::USER_BATCH_SIZE, $offset);
}
```
to fix that, just add offset and limit params to runQuery :
```
$rows = $this -> helper -> runQuery('getGroupUsers', array('gid' => $gid), false, true, ['limit' => $limit, 'offset' => $offset]);
```
2018-05-11 18:28:37 +02:00
Marcin Łojewski
ebcdaa813b
crypt_type 'drupal' for Drupal 7 authentication
2018-02-18 18:53:33 +01:00
Nullcaller
b456f6c921
Add options for Courier authlib authentication to user_sql.php
...
Availible options:
courier_md5 – base64-encoded md5
courier_md5raw – hexadecimal md5
courier_sha1 – base64-encoded sha1
courier_sha256 – base64-encoded sha256
2018-02-10 04:21:12 +03:00
Horst Knorr
78a0247898
code for supervisor mode removed, because functionality exists in official nextcloud app "impersonate" with better GUI
2018-01-30 19:42:37 +01:00
Horst Knorr
cf98f74ba7
code cleanup
2018-01-29 17:52:51 +01:00
Horst Knorr
02b47f4e67
added image and nextcloud 13 bugfixes for group_sql
2018-01-28 14:48:04 +01:00
Horst Knorr
396c9f0968
bugfixed for Nextcloud 13
2018-01-28 14:41:28 +01:00
Horst Knorr
2e1179e035
added:
...
* Nextcloud 12 & 13 support
* added SALT support for password algorithms "system" and "password_hash"
* added security fix for password length sniffing attacks
* moved files to be more on the standard places
* renamed some files to be more standard like
* source code changes to be more standard like (max 80 characters)
2018-01-28 14:25:04 +01:00
Marcin Łojewski
105f5b6762
Autocomplete for PostreSQL
2017-12-30 10:23:52 +01:00
Marcin Łojewski
fc7932819a
Merge branch 'master' into master
2017-12-21 12:09:40 +01:00
Patrik Novotný
e02b05dc7d
Supervision support added.
2017-12-20 17:50:47 +01:00
Patrick Valsecchi
96c9bfeba8
Better getGroups implementation
2017-12-19 20:33:36 +01:00
Patrick Valsecchi
031b588255
Add countUsersInGroup
2017-12-19 20:13:03 +01:00
Patrick Valsecchi
c8f1051193
Better settings validation
2017-12-19 12:19:12 +01:00
Patrick Valsecchi
f95ca2753a
Allow views and tables
2017-12-19 11:28:33 +01:00
Patrick Valsecchi
3a21b2ddaf
Add support for groups
2017-12-19 11:28:20 +01:00
Bonomani
425c3e3729
Save and verify bug correction
2017-09-16 10:10:52 +02:00
lojewskimarcin
01f2aff0ae
Fix to work with nexcloud version 12.
2017-06-18 11:33:13 +02:00
Marcin Łojewski
02b53fad1a
Fix to work with nextcloud version 11.
2017-02-04 09:22:32 +01:00
Marcin Łojewski
956df86e0a
copy of https://www.aboehler.at/hg/user_sql/archive/v.2.3.1.tar.gz
2017-02-04 08:58:47 +01:00