Commit Graph

92 Commits

Author SHA1 Message Date
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
Lars Kanis
2d700214af
Add pg_ldap_sync --version 2018-02-06 21:58:53 +01:00
Lars Kanis
611abf1594
Move from Hoe to Bundler
This adds a gemspec and a Gemfile to the repository.
2018-02-06 21:56:53 +01:00
Lars Kanis
752cefa9c3
Merge pull request #20 from martinkangur/master
Update application.rb
2018-02-06 14:57:02 +01:00
Martin Kangur
6294c7e883
Update application.rb
@pgconn is already defined, so lets us it
2018-02-06 15:55:20 +02:00
Lars Kanis
0e5a997f3f
Merge pull request #19 from martinkangur/master
Fix compat with pg-1.0
2018-01-31 12:35:36 +01:00
Martin Kangur
2f24829bc5 Use PG everywhere instead of PGconn 2018-01-31 13:14:43 +02:00
Martin Kangur
9cbb8e9e87
Update application.rb
Use PG.connect instead of PGconn.connect
2018-01-31 12:47:28 +02:00
Lars Kanis
ffb2ea1323 Update README.rdoc 2016-01-13 16:45:40 +01:00
Lars Kanis
e528db6ef6 Add links to config files on github in README. 2014-03-06 14:16:25 +01:00
Lars Kanis
67b50ae365 Use sample-config2 to show simple_tls parameters 2013-08-29 11:19:28 +02:00
Lars Kanis
40a32023ca Prepare for release 2012-11-15 17:02:55 +01:00
Lars Kanis
1df48950f5 Add ability to lowercase the LDAP name for use as PG role name 2012-11-14 11:03:50 +01:00