Commit Graph

46 Commits (master)

Author SHA1 Message Date
Alex 7aa15f58a2
Merge pull request #20 from selukov/master
Gitea api has been changed since 1.16, Owner team is no longer presen…
2022-05-27 12:45:36 -07:00
andrew b7831d8ae1 Gitea api has been changed since 1.16, Owner team is no longer present in the list 2022-05-28 01:58:03 +07:00
Alex 2845d9bd4b
Merge pull request #19 from toshywoshy/noowner0
newer gitea doesn't always return owner as the first team
2022-05-27 11:32:09 -07:00
Toshaan Bharvani 963227f51c newer gitea doesn't always return owner as the first team
We cannot presume that owner will be the first team listed
so we need to run through all of the teams
After a lot of debugging, the old presumption that the Owner team,
will be the first team and therefor we can skip the first
returned team is not valid.
As a consequence if you have a LDAP group with the name Owner,
you will need to be carefull.

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
2022-05-25 11:36:36 +02:00
dependabot[bot] a90f987211 Bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: gopkg.in/yaml.v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 10:16:10 +02:00
Alex e370723c71
Update README.md 2021-06-21 18:11:47 -07:00
Alex ae3af71c35
Create docker-publish.yml 2021-06-21 17:57:20 -07:00
Alex e281e7e876
Update docker-compose.yml 2021-06-21 17:53:23 -07:00
Alex 128828e21d
Update README.md 2021-06-21 16:00:34 -07:00
localleon 1b64b4ee1f Adding Dependabot 2021-06-15 08:41:08 +02:00
localleon 643c8efc90 Added Go.sum to project 2021-06-14 11:00:07 +02:00
localleon 281cd9584a
Merge pull request #13 from markusstoll/feature/allow-anonymous-bind
Feature/allow anonymous bind
2021-06-14 10:35:10 +02:00
Markus Stoll 44a7868ce0 Fix code indentation 2021-06-13 14:05:04 +02:00
Markus Stoll 0801c2993e Add comment in config file 2021-06-12 15:13:18 +02:00
Markus Stoll e730579b14 Implementation for anonymous bind 2021-06-12 15:10:32 +02:00
Alex 032c41ea20
Merge pull request #10 from localleon/actions
Adding Github Actions CI
2021-01-26 16:50:34 -08:00
localleon a310606327
Adding Github Actions CI
- Linting of Go-Code 
- Building the Project
2020-12-31 11:06:54 +01:00
alexattws 29ccce7879
Added LICENSE
Closes #8
2020-10-22 13:59:39 -07:00
selukov 30f12a9ad2
Merge pull request #7 from localleon/config
Config Files
2020-10-02 08:04:16 +07:00
localleon cb5d805706 Config Check, cleanup 2020-09-30 19:38:33 +02:00
localleon 22cc747cf0 Yaml Config File, Config File Flag and documentation of the feature 2020-09-28 16:40:27 +02:00
localleon f428ac2623 Creating a Config Structure for better readability. 2020-09-28 16:01:20 +02:00
Selukov Andrey 92cd9ecb26 update to goland 1.14 2020-06-27 21:37:16 +07:00
alexattws 15f704b623
Merge pull request #5 from Ingomancer/master
Added go.mod dependency management
2020-06-12 19:38:26 -07:00
Ingo Junefjord 44e48f276c Added go.mod dependeny management 2020-06-12 20:24:42 +02:00
alexattws 2f4580e3d8
Merge pull request #4 from Ingomancer/master
Fixed missing assignment of ldapUserFullName
2020-06-05 19:19:23 -07:00
ingo.junefjord 54360cca8d Fixed erroneous assignment of ldapUserIdentityAttribute instead of ldapUserFullName 2020-06-05 15:27:53 +02:00
Selukov Andrey 05a780be00 added variables LDAP_USER_IDENTITY_ATTRIBUTE and LDAP_USER_FULL_NAME 2020-04-19 19:39:50 +07:00
alexattws cf44f02442
Update README.md 2020-04-17 19:44:29 -07:00
alexattws aec9157824
Update run.sh 2020-04-17 19:04:18 -07:00
alexattws f098f5068f
Update docker-compose.yml 2020-04-17 19:00:46 -07:00
Alex R 8d6cca56ef Merge branch 'master' of https://github.com/thoscut/gitea-group-sync
# Conflicts:
#	gitea-group-sync.go
2020-04-17 18:47:22 -07:00
alexattws 310446996a
Merge pull request #2 from ykorzikowski/master
added support for non tls ldap
2020-04-17 18:13:03 -07:00
Yannik Korzikowski 7225deb7e1
added support for non tls ldap 2020-04-17 17:40:50 +02:00
Thomas Scheel f7619d6a9f Search by login instead of full name 2020-02-06 12:49:25 +01:00
thoscut ba0245b47c Add LDAP_USER_LOGIN_ATTRIBUTE parameter 2020-02-06 03:48:43 +01:00
thoscut 2159920ec5
Move dependencies to start of dockerfile 2020-02-05 21:58:01 +01:00
Selukov Andrey 1117269937 add Image9 Ldap setting 2019-11-30 11:23:07 +07:00
Andrew Selukov 7d79bdcb28 Update 'README' 2019-11-28 17:27:10 +00:00
Selukov Andrey acc2f12acc have a good time 2019-11-28 23:40:43 +07:00
Andrew Selukov 6a908b2adc Update README 2019-11-28 16:20:10 +00:00
Selukov Andrey 68f1cbfd1a Add Image2 2019-11-28 23:15:12 +07:00
Selukov Andrey 581dae8b33 Merge remote-tracking branch 'origin/master' 2019-11-28 22:53:50 +07:00
Selukov Andrey 24817aaafc add Image1 2019-11-28 22:53:22 +07:00
Andrew Selukov e21da4f3de Update 'README.md' 2019-11-28 15:48:56 +00:00
Gitea-Group-Sync 41e463d9ed Initial commit 2019-11-28 12:45:00 +00:00