Commit Graph

95 Commits

Author SHA1 Message Date
ee81807f49 Add error text to exception when an error was logged 2022-12-02 13:20:24 +01:00
bd4310a080 Downgrade required ruby version to 2.3
since we test it on Github Actions now
2022-12-02 12:09:07 +01:00
f4d85e439e CI: Add Github actions 2022-12-02 12:02:51 +01:00
5a07820472 Fix compat with ruby < 2.5 2022-12-02 08:05:42 +01:00
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
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
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
ead4404c54 Add "temp" dir to "rake clean" 2022-11-30 13:15:09 +01:00
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
917e716d38 Instead of adding a new config option, use range retrieval when member_attribute includes ;range 2022-08-24 14:47:56 +08:00
d833228547 Support synchronize groups with over 1500 users in Active Directory server 2022-08-24 12:04:10 +08:00
f818161fc0 Merge pull request #33 from ppuetsch/master
Fix Typo in doc
2022-04-14 19:14:02 +02:00
13316479a4 Fix Typo in doc 2022-04-14 12:57:08 +02:00
0ac1e03ba7 Add CHANGELOG entry for version 0.3.0 2022-01-18 11:31:24 +01:00
2e3e592af6 Require ruby-2.4+ in gemspec
Since we don't test older rubies.
2022-01-17 16:10:57 +01:00
d22a67b0e7 Use do-end syntax for multiline blocks
This is more standard these days.
2022-01-17 16:08:40 +01:00
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
c6c6562ac4 Bump VERSION to 0.3.0 2022-01-17 15:03:13 +01:00
d8ea157c66 Add config option :bothcase_name 2022-01-17 14:48:49 +01:00
8034957d28 Update CI-Link to travis.com 2022-01-17 14:13:51 +01:00
bf1137ff11 CI: Update ruby and PostgreSQL versions 2022-01-17 14:04:15 +01:00
98c0d5328f Relax gem dependencies 2022-01-17 13:37:33 +01:00
52ca5fc323 Update predefined roles for PostgreSQL-14 2022-01-17 13:37:09 +01:00
49a03915a7 Update README regarding the use of bundler [ci skip] 2018-03-14 10:04:56 +01:00
83a59119ea Fix headings in CHANGELOG 2018-03-14 09:56:42 +01:00
68680a5a21 Rename History.txt to CHANGELOG.md 2018-03-14 09:54:26 +01:00
30a8854eed Update History to 0.2.0 release 2018-03-14 09:53:49 +01:00
d2fce3f9a9 Remove Rubinius from README [ci skip]
pg gem is not compatible to Rubinius
2018-03-14 09:45:21 +01:00
5552268e40 Remove feature of using postgres-pr gem from README
See commit 5169177b97
2018-03-14 08:34:27 +01:00
6c143d74c2 Fix tests on Windows 2018-03-13 16:56:14 +01:00
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
d9cb63ed98 Separate tests into one operation per test 2018-02-12 22:09:00 +01:00
0632dae5eb README: Add path to initdb as an example 2018-02-10 20:29:31 +01:00
02d7ad6756 Convert README from rdoc to markdown
Also add CI badges
2018-02-06 23:21:26 +01:00
be9a5a7531 Update net-ldap dependency to get rid of the github vulnerability message 2018-02-06 23:09:21 +01:00
7480afcfbd Add CI tests on Travis-ci and Appveyor 2018-02-06 23:03:32 +01:00
e55b6305f7 Fix minitest assertion 2018-02-06 22:31:40 +01:00
3d676d20d1 Exclude default roles of PostgreSQL-10 2018-02-06 22:31:06 +01:00
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
e73cdd52a9 Merge branch 'master' of github.com:larskanis/pg-ldap-sync 2018-02-06 22:00:56 +01:00
bab7a9c952 Fix compatibility with PostgreSQL-10 2018-02-06 21:59:27 +01:00
2d700214af Add pg_ldap_sync --version 2018-02-06 21:58:53 +01:00
611abf1594 Move from Hoe to Bundler
This adds a gemspec and a Gemfile to the repository.
2018-02-06 21:56:53 +01:00
752cefa9c3 Merge pull request #20 from martinkangur/master
Update application.rb
2018-02-06 14:57:02 +01:00
6294c7e883 Update application.rb
@pgconn is already defined, so lets us it
2018-02-06 15:55:20 +02:00
0e5a997f3f Merge pull request #19 from martinkangur/master
Fix compat with pg-1.0
2018-01-31 12:35:36 +01:00
2f24829bc5 Use PG everywhere instead of PGconn 2018-01-31 13:14:43 +02:00
9cbb8e9e87 Update application.rb
Use PG.connect instead of PGconn.connect
2018-01-31 12:47:28 +02:00
ffb2ea1323 Update README.rdoc 2016-01-13 16:45:40 +01:00
e528db6ef6 Add links to config files on github in README. 2014-03-06 14:16:25 +01:00