Commit Graph

104 Commits

Author SHA1 Message Date
Lars Kanis
ccb3a1f889 Add comment about config option "grant_options" 2022-12-22 18:30:18 +01:00
Lars Kanis
72505bf061 Switch back to ruby-ldapserver gem
No need to use git any longer since ruby-ldapserver-0.7.0
2022-12-06 10:39:50 +01:00
Lars Kanis
37b1bc17a0 Add ruby-version as a comment 2022-12-03 12:23:26 +01:00
Lars Kanis
7e5e24e922 Bump VERSION to 0.4.0 2022-12-02 16:47:58 +01:00
Lars Kanis
f1ee6e38ce Add CHANGELOG entry for VERSION 0.4.0 2022-12-02 16:34:46 +01:00
Lars Kanis
f43d18d46a Retrieve only necessary attributes from LDAP server 2022-12-02 14:04:43 +01:00
Lars Kanis
eebbb159ea Add CREATE USER, GROUP statements as comments 2022-12-02 14:04:14 +01:00
Lars Kanis
ff6d6cce22 Fix logging with WARN, INFO, DEBUG level 2022-12-02 14:03:45 +01:00
Lars Kanis
40661830a4 Exclude internal role of PostgreSQL-15 2022-12-02 13:27:35 +01:00
Lars Kanis
ee81807f49 Add error text to exception when an error was logged 2022-12-02 13:20:24 +01:00
Lars Kanis
bd4310a080 Downgrade required ruby version to 2.3
since we test it on Github Actions now
2022-12-02 12:09:07 +01:00
Lars Kanis
f4d85e439e CI: Add Github actions 2022-12-02 12:02:51 +01:00
Lars Kanis
5a07820472 Fix compat with ruby < 2.5 2022-12-02 08:05:42 +01:00
Lars Kanis
81473fb2b4 Re-add support for attribute ranges
This is an alternative implementation of #37 .
It doesn't need additional configuration, but enables range retrieval automatic.
It also add some testing.

Fixes #32
2022-12-01 15:27:40 +01:00
Lars Kanis
f5b9587eb7 Revert "Support synchronize groups with over 1500 users in Active Directory server"
This reverts commit d833228547.
2022-11-30 13:24:29 +01:00
Lars Kanis
f83b32f8d9 Revert "Instead of adding a new config option, use range retrieval when member_attribute includes ;range"
This reverts commit 917e716d38.
2022-11-30 13:24:27 +01:00
Lars Kanis
ead4404c54 Add "temp" dir to "rake clean" 2022-11-30 13:15:09 +01:00
Lars Kanis
1eeeefd8df
Merge pull request #37 from jingwen-yang-yjw/supportMemberRangeRetrivalForAD
Support synchronize groups with over 1500 users in AD server
2022-09-23 13:54:31 +02:00
Jingwen Yang
917e716d38 Instead of adding a new config option, use range retrieval when member_attribute includes ;range 2022-08-24 14:47:56 +08:00
Jingwen Yang
d833228547 Support synchronize groups with over 1500 users in Active Directory server 2022-08-24 12:04:10 +08:00
Lars Kanis
f818161fc0
Merge pull request #33 from ppuetsch/master
Fix Typo in doc
2022-04-14 19:14:02 +02:00
ppuetsch
13316479a4
Fix Typo in doc 2022-04-14 12:57:08 +02:00
Lars Kanis
0ac1e03ba7 Add CHANGELOG entry for version 0.3.0 2022-01-18 11:31:24 +01:00
Lars Kanis
2e3e592af6 Require ruby-2.4+ in gemspec
Since we don't test older rubies.
2022-01-17 16:10:57 +01:00
Lars Kanis
d22a67b0e7 Use do-end syntax for multiline blocks
This is more standard these days.
2022-01-17 16:08:40 +01:00
Lars Kanis
791f9dc72c Fix memberships of bothcase-users
Only one of both users was recognized as a member of the LDAP group.
2022-01-17 16:05:51 +01:00
Lars Kanis
c6c6562ac4 Bump VERSION to 0.3.0 2022-01-17 15:03:13 +01:00
Lars Kanis
d8ea157c66 Add config option :bothcase_name 2022-01-17 14:48:49 +01:00
Lars Kanis
8034957d28 Update CI-Link to travis.com 2022-01-17 14:13:51 +01:00
Lars Kanis
bf1137ff11 CI: Update ruby and PostgreSQL versions 2022-01-17 14:04:15 +01:00
Lars Kanis
98c0d5328f Relax gem dependencies 2022-01-17 13:37:33 +01:00
Lars Kanis
52ca5fc323 Update predefined roles for PostgreSQL-14 2022-01-17 13:37:09 +01:00
Lars Kanis
49a03915a7
Update README regarding the use of bundler [ci skip] 2018-03-14 10:04:56 +01:00
Lars Kanis
83a59119ea
Fix headings in CHANGELOG 2018-03-14 09:56:42 +01:00
Lars Kanis
68680a5a21
Rename History.txt to CHANGELOG.md 2018-03-14 09:54:26 +01:00
Lars Kanis
30a8854eed
Update History to 0.2.0 release 2018-03-14 09:53:49 +01:00
Lars Kanis
d2fce3f9a9
Remove Rubinius from README [ci skip]
pg gem is not compatible to Rubinius
2018-03-14 09:45:21 +01:00
Lars Kanis
5552268e40
Remove feature of using postgres-pr gem from README
See commit 5169177b97
2018-03-14 08:34:27 +01:00
Lars Kanis
6c143d74c2 Fix tests on Windows 2018-03-13 16:56:14 +01:00
Lars Kanis
257b1a5e49 Whole bunch of changes
Run sync within a SQL transaction, so that no partial sync happens

Don't abort on SQL errors, but print ERROR notice

Exit with code 1 when any ERRORs were logged

Silence the test suite, so that test runs are more clearly

Use PG queries instead of psql in test. This is more flexible
than parsing text outputs per Regexp.
2018-03-13 16:34:50 +01:00
Lars Kanis
d9cb63ed98
Separate tests into one operation per test 2018-02-12 22:09:00 +01:00
Lars Kanis
0632dae5eb
README: Add path to initdb as an example 2018-02-10 20:29:31 +01:00
Lars Kanis
02d7ad6756
Convert README from rdoc to markdown
Also add CI badges
2018-02-06 23:21:26 +01:00
Lars Kanis
be9a5a7531
Update net-ldap dependency to get rid of the github vulnerability message 2018-02-06 23:09:21 +01:00
Lars Kanis
7480afcfbd
Add CI tests on Travis-ci and Appveyor 2018-02-06 23:03:32 +01:00
Lars Kanis
e55b6305f7
Fix minitest assertion 2018-02-06 22:31:40 +01:00
Lars Kanis
3d676d20d1
Exclude default roles of PostgreSQL-10 2018-02-06 22:31:06 +01:00
Lars Kanis
5169177b97
Remove possibility to use postgres-pr
It is no longer maintained and doesn't work with current PostgreSQL versions.
2018-02-06 22:29:48 +01:00
Lars Kanis
e73cdd52a9
Merge branch 'master' of github.com:larskanis/pg-ldap-sync 2018-02-06 22:00:56 +01:00
Lars Kanis
bab7a9c952
Fix compatibility with PostgreSQL-10 2018-02-06 21:59:27 +01:00