Commit Graph

251 Commits

Author SHA1 Message Date
Marcin Łojewski
b00f61193e Fix "Use of undefined constant" error for PHP below 7.2. 2018-06-13 19:31:56 +02:00
Marcin Łojewski
1028e5f0d6 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	README.md
#	lib/group_sql.php
2018-06-13 18:48:20 +02:00
Marcin Łojewski
3f4c5e2b05 dev version 2018-06-13 18:46:22 +02:00
Marcin Łojewski
d7b1e2f710 Merge branch 'release/v4.0.0-rc1' 2018-06-13 18:44:29 +02:00
Marcin Łojewski
525f788916 Merge tag 'v4.0.0-rc1' into develop
Tagging version v4.0.0-rc1 v4.0.0-rc1
2018-06-13 18:44:29 +02:00
Marcin Łojewski
ea6c5de9e7 Set version to 4.0.0-rc1 2018-06-13 13:22:07 +02:00
Marcin Łojewski
72600cc465 column order 2018-06-13 13:14:56 +02:00
Marcin Łojewski
2171127560 Hash algorithms desc 2018-06-13 13:11:07 +02:00
Marcin Łojewski
db6b5e0d2f Fix SSHA hash 2018-06-13 12:47:56 +02:00
Marcin Łojewski
1df4cebf76 Development chapter 2018-06-13 12:26:52 +02:00
Marcin Łojewski
dae53a49e2 Chapter levels 2018-06-13 09:49:19 +02:00
Marcin Łojewski
29f1fa0730 Fix bugs + new screenshot 2018-06-13 09:47:18 +02:00
Marcin Łojewski
e3e6aded01 Add TODOs 2018-06-13 09:12:38 +02:00
Marcin Łojewski
6d4c57193d Integration 2018-06-13 09:07:29 +02:00
Marcin Łojewski
fa4c540b38 fix anchors 2018-06-13 08:59:09 +02:00
Marcin Łojewski
302f647334 Integration description 2018-06-13 08:56:46 +02:00
Marcin Łojewski
f872cb8b29 Readme formatting 2018-06-13 08:38:07 +02:00
Marcin Łojewski
8986b9f0b4 New readme pt. 2 2018-06-13 08:26:19 +02:00
Marcin Łojewski
2bc0528656 New readme pt. 1 2018-06-12 23:45:53 +02:00
Marcin Łojewski
d0533e5edd Changelog updated 2018-06-12 22:34:06 +02:00
Marcin Łojewski
0ff0a54e8c Fixes 2018-06-12 21:56:08 +02:00
Marcin Łojewski
f2f3a897a5 Unit tests for Crypto package 2018-06-12 21:54:06 +02:00
Marcin Łojewski
97146d6429 New screenshot 2018-06-10 10:07:57 +02:00
Marcin Łojewski
8a50badca4 Hide password 2018-06-10 09:49:50 +02:00
Marcin Łojewski
28f7da0c0d admin site template 2018-06-10 09:40:18 +02:00
Marcin Łojewski
00db5f79d4 Merge pull request #37 from pedro-nonfree/patch-1
update Column Settings for wordpress
2018-06-01 12:09:02 +02:00
pedro-nonfree
8d1e9cddcb update Column Settings for wordpress
fixes #36
2018-06-01 10:58:25 +02:00
Marcin Łojewski
7dce81cc2c Merge pull request #35 from Ko-/master
Fix filename of group_sql.php
2018-05-31 11:09:48 +02:00
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
c1cc89f456 'lib' rewritten. 2018-03-25 20:57:31 +02:00
Marcin Łojewski
ed5ec82479 New hashing algorithms. 2018-03-02 21:56:13 +01:00
Marcin Łojewski
3d901e3fc2 Use hash_equals method to compare the hashes. 2018-02-28 23:53:33 +01:00
Marcin Łojewski
a6a502fe7c Courier hashes. New traits. 2018-02-28 23:45:28 +01:00
Marcin Łojewski
9c13804638 Singleton pattern trait. 2018-02-28 23:07:35 +01:00
Marcin Łojewski
7872d98dd6 SHA1 and MD5 hash implementation. 2018-02-28 21:43:42 +01:00
Marcin Łojewski
3251067b38 Set to default new logic. Add cleartext password hash implementation.
TODO:
- add new implementation of the rest of currently supported hashes
- create update.php changing hash names in the config
2018-02-28 21:31:42 +01:00
Marcin Łojewski
7672c66c75 New interface. This interface must be implemented by all supported hash algorithms. 2018-02-28 21:23:17 +01:00
Marcin Łojewski
936a831e5a - code formatting (PSR-2)
- removed all ownCloud references
- removed update.php as its supported version was never published on the app store
- updated info.xml
2018-02-28 20:09:12 +01:00
Marcin Łojewski
ebcdaa813b crypt_type 'drupal' for Drupal 7 authentication 2018-02-18 18:53:33 +01:00
Marcin Łojewski
135c1506e2 Update CHANGELOG.md 2018-02-11 18:35:53 +01:00
Marcin Łojewski
e17f521a04 Merge pull request #22 from Nullcaller/master
Add options for Courier authlib authentication
2018-02-11 18:33:32 +01:00
Nullcaller
f194c35503 Add new hash options to admin control panel 2018-02-10 04:33:25 +03: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
Marcin Łojewski
6a9349c02a Fix URLs 2018-02-07 11:01:54 +01:00
Marcin Łojewski
57c7785a93 Unreleased section in CHANGELOG.me 2018-02-06 22:09:10 +01:00
Marcin Łojewski
743d47f9ac Add required field "bugs", fields "repository", "screenshot" 2018-02-06 22:03:23 +01:00
Marcin Łojewski
2f14ec7832 Updated CHANGELOG.md, name fix 2018-02-06 21:36:50 +01:00
Marcin Łojewski
9e539de176 Merge pull request #21 from gpgmailencrypt/master
code for supervisor mode removed
2018-01-31 19:28:41 +01: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