Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/casbin/gorm-adapter-ex

Extended version of GORM Adapter, see original version of GORM Adapter at: https://github.com/casbin/gorm-adapter
https://github.com/casbin/gorm-adapter-ex

fix: fix broken links (#3)

* fix: fix broken links

* Update adapter.go

---------

Co-authored-by: hsluoyz <hsluoyz@...

474b4560365b406ea7cf008619a445fb7b5e24c7 authored about 1 year ago by YunShu <[email protected]>
Merge pull request #2 from JalinWang/rename

feat: rename module name

af6ff5012a57ac2f6c787fedfc2742aea58a0fe9 authored about 2 years ago by Ter <[email protected]>
feat: rename module name

40976909c50125d9c0fbaf626e972dc93cee6b7d authored about 2 years ago by Jalin Wang <[email protected]>
chore: update the introduction of gorm-adapter-ex

ee30a2f0ab244b24b37840c6e20ba573d1e9ae35 authored about 2 years ago by Jalin Wang <[email protected]>
feat: revert "fix: add column v6, v7" and restore columns up to v5 (#181)

This reverts commit 34e13d4d2dd3d88170d9e5a38c5f671e11328fb8.

e137c237d3b18b291b443be494294ad18b623ced authored about 2 years ago by Yang Luo <[email protected]>
feat: support multiple filters for LoadFilteredPolicy (#178)

41953ccacc36b649354104e7f8dd68aa144add89 authored about 2 years ago by Ter <[email protected]>
Merge pull request #172 from tangyang9464/fix#171

fix: db can't reuse

b3d592883e9e143791d60826b4d165a563ec9bd4 authored over 2 years ago by Yang Tang <[email protected]>
fix: db can't reuse

Signed-off-by: tangyang9464 <[email protected]>

368eb78dd0584a5f486a9a629e198dabb6b712c8 authored over 2 years ago by tangyang9464 <[email protected]>
fix: remove the return value of TurnOffAutoMigrate (#170)

Signed-off-by: tangyang9464 <[email protected]>

3d2fa84c0c5510ae9374c5da84b85e0b5f0c5b92 authored over 2 years ago by Yang Tang <[email protected]>
fix: empty slice found error (#164)

1bd95e09d066f8f7942055654fe1ceccd4bdbbd2 authored over 2 years ago by dirablue ( gaku ) <[email protected]>
fix: use TurnOffAutoMigrate instead of NewAdapterWithoutAutoMigrate (#163)

Signed-off-by: tangyang9464 <[email protected]>

edb446cae99dd8626321fec3e12941e34f3e890d authored over 2 years ago by Yang Tang <[email protected]>
docs: add sqlite support and turn off AutoMigrate description (#161)

Signed-off-by: tangyang9464 <[email protected]>

6248ffe5fd40c062346575faf29ee04115498756 authored over 2 years ago by Yang Tang <[email protected]>
feat: support NewAdapterWithoutAutoMigrate (#160)

* feat: support NewAdapterWithoutAutoMigrate

Signed-off-by: tangyang9464 <[email protected]...

956618ae6cc0ab8aa457b340aab3a006956daa21 authored over 2 years ago by Yang Tang <[email protected]>
feat: support SQLite by github.com/glebarez/sqlite (#158)

* feat: support SQLite by github.com/glebarez/sqlite

Signed-off-by: tangyang9464 <tangyang946...

b86e1398e1d4115784916217e7bb2f1732111c36 authored over 2 years ago by Yang Tang <[email protected]>
fix: add column v6, v7, update unit tests (#157)

34e13d4d2dd3d88170d9e5a38c5f671e11328fb8 authored over 2 years ago by Hao Liu <[email protected]>
feat: export manual db connection open and close (#149)

Signed-off-by: abingcbc <[email protected]>

7b3bc27c2b301e05607450cdf68aad047507943f authored over 2 years ago by Bingchang Chen <[email protected]>
fix: update gorm driver version (#143)

Signed-off-by: abingcbc <[email protected]>

a4afbc9298a9e38a71fe9107bf3cfc65db0d3fa8 authored almost 3 years ago by Bingchang Chen <[email protected]>
perf: execute saving all policies in batches of 1000 (#139)

Signed-off-by: Stijn De Haes <[email protected]>

80ea4311823264fbc8529dc506fdd09da47de5ad authored almost 3 years ago by Stijn De Haes <[email protected]>
fix: indirect dependancy vulnerability in jack/pgproto3 (#136)

* Update go.mod

Signed-off-by: Jason McNeil <[email protected]>

* Update go.sum

Signed-...

654f1842863cdd78256e86a9407c251eb807dc4a authored about 3 years ago by Jason McNeil <[email protected]>
Merge pull request #135 from tangyang9464/update

fix: update README.md about sqlite support

897243ab06cc5583d1fdc0122e5c62ec56947a31 authored about 3 years ago by Yang Luo <[email protected]>
fix: update README.md about sqlite support

Signed-off-by: tangyang9464 <[email protected]>

cee36d4c807c6623f354732781413758b8c413eb authored about 3 years ago by tangyang9464 <[email protected]>
Merge pull request #131 from tangyang9464/fix

fix: RemoveFilteredPolicy don't check empty parameter

379427f6a0d7272d3798b29eaa1306f429cff47a authored about 3 years ago by Yang Luo <[email protected]>
Merge pull request #132 from tangyang9464/batch

fix: change AddPolicies to batch insert

51b06eb41b171c7fa0b88061e4f9b9b2aea08000 authored about 3 years ago by Yang Luo <[email protected]>
fix: change AddPolicies to batch insert

Signed-off-by: tangyang9464 <[email protected]>

992ab3081563808fcf0b62af0737654777ba1122 authored about 3 years ago by tangyang9464 <[email protected]>
fix: RemoveFilteredPolicy don't check empty parameter

Signed-off-by: tangyang9464 <[email protected]>

275ad34e2cd8803bb6d165b9745cfb179ba72968 authored about 3 years ago by tangyang9464 <[email protected]>
Merge pull request #130 from tangyang9464/loadPolicyArray

feat: change LoadPolicyLine to LoadPolicyArray

8fe458ee7a093cf43e80ab63f90b12895a19e2c2 authored about 3 years ago by Yang Luo <[email protected]>
feat: change LoadPolicyLine to LoadPolicyArray

Signed-off-by: tangyang9464 <[email protected]>

ce5e28170b82fa9a48c3683baa163c6a94529787 authored about 3 years ago by tangyang9464 <[email protected]>
Merge pull request #124 from tangyang9464/master

fix: data can't contains comma ( , ) character

ed2cfa40c4091064e8cd06d44730f641baec76b7 authored about 3 years ago by Yang Luo <[email protected]>
Merge pull request #122 from qifengzhang007/pg

fix: PostgreSql create index occur error

bc167e64e6f0b4ccddf920cebc518c92cce1d381 authored about 3 years ago by Yang Luo <[email protected]>
fix: data can't contains comma ( , ) character

Signed-off-by: tangyang9464 <[email protected]>

c30a2e5f5a798c372c18d7e025b881526ff053e3 authored about 3 years ago by tangyang9464 <[email protected]>
fix: PostgreSql create index occur error

Signed-off-by: 张奇峰 <[email protected]>

232e0dc7643313c292a938136df55d933ed1e7af authored about 3 years ago by 张奇峰 <[email protected]>
Merge pull request #118 from closetool/pg

fix: delete dependency of jackc/pgconn

b1c668977bfb4c6e5586a011f915c9ba4d8d2bfa authored over 3 years ago by Yang Luo <[email protected]>
fix: delete dependency of jackc/pgconn

Signed-off-by: closetool <[email protected]>

b94bdbb7e5da5b8ee62b529ac84ffc0df351c476 authored over 3 years ago by closetool <[email protected]>
Merge pull request #113 from tangyang9464/master

fix: new adapter can't change custom table name

e966503844e379c35607d7a576c892ead3ac41d1 authored over 3 years ago by Yang Luo <[email protected]>
fix: new adapter can't change custom table name

Signed-off-by: tangyang9464 <[email protected]>

f11e80718c1721bea151771574678ac73c1c9cb8 authored over 3 years ago by tangyang9464 <[email protected]>
Merge pull request #111 from tangyang9464/master

feat: adds multiple databases support to gorm-adapter by DBResolver

9500f7f62d505c488deb4b98817fe07728e4b459 authored over 3 years ago by Yang Luo <[email protected]>
feat: adds multiple databases support to gorm-adapter by DBResolver

Signed-off-by: tangyang9464 <[email protected]>

2900499c81d5275596f6b1361549e076fe03f25d authored over 3 years ago by tangyang9464 <[email protected]>
Merge pull request #107 from closetool/master

fix: gorm dependency error

b448b9d5871c5c7f2b34cf7868da5e52d72e4e5a authored over 3 years ago by hsluoyz <[email protected]>
fix: gorm dependency error

Signed-off-by: closetool <[email protected]>

a4773c77fddb94d690d6644aa892760abe28d491 authored over 3 years ago by closetool <[email protected]>
Merge pull request #106 from closetool/master

fix: github action bot

65243a1111d6ea32826e70b8cdb0e9de96003465 authored over 3 years ago by hsluoyz <[email protected]>
fix: github action bot

Signed-off-by: closetool <[email protected]>

10ae09544056b7aae1ac9e224aedc84222648ce6 authored over 3 years ago by closetool <[email protected]>
Merge pull request #105 from closetool/master

fix: improve log support

6aa5aaaeca010630e5924fd08e01b01cd3b9059c authored over 3 years ago by hsluoyz <[email protected]>
fix: improve log support

Signed-off-by: closetool <[email protected]>

e5dd07343eee7908c707594caad2e32cbfb988fb authored over 3 years ago by closetool <[email protected]>
fix(UpdatableAdapter(add method UpdateFilteredPolicies)): upgrade cab… (#103)

* fix(UpdatableAdapter(add method UpdateFilteredPolicies)): upgrade cabin/v2 to v2.28.3, add the...

40a8c16e740da2594ac2990ec32c59565de2f49c authored over 3 years ago by Roger <[email protected]>
Merge pull request #99 from arafat-java/emhanced_error_msg

fix: Printing the supported DB name strings in error message

53e10dc5a358c0d8c1d4f5fcc7faff90d1959a95 authored over 3 years ago by hsluoyz <[email protected]>
fix: Printing the supported DB name strings in error message so that user knows the valid options to use in connection string

Signed-off-by: Arafat Nalkhande <[email protected]>

d1e5ce965792d14b9df3889712e6ebc437039af1 authored over 3 years ago by Arafat Nalkhande <[email protected]>
Merge pull request #97 from closetool/master

fix: postgres can not set timezone

6e03241516532bf162f9581ecaf8d23994d8080c authored over 3 years ago by hsluoyz <[email protected]>
fix: postgres can not set timezone

Signed-off-by: closetool <[email protected]>

48a73a8ac9527209bc63efebbd851e3a4027ce59 authored over 3 years ago by closetool <[email protected]>
Rename to Filter.Ptype

fa4239f79114122142bce7dfe60c09f8eef5c741 authored over 3 years ago by Yang Luo <[email protected]>
Add sqlite comment.

5d2303cb55355e71aef7b0cddec5d2f636d89708 authored over 3 years ago by Yang Luo <[email protected]>
Merge pull request #94 from closetool/master

fix: could not support sqlite in windows without cgo

f1b2de1399b7720cde68637c9a00cb0beb6d3f28 authored over 3 years ago by hsluoyz <[email protected]>
fix: could not support sqlite in windows without cgo

Signed-off-by: closetool <[email protected]>

3bc70f9a6f66778f841c29d3b96ddd82007ccce1 authored over 3 years ago by closetool <[email protected]>
Merge pull request #92 from closetool/master

fix: add method UpdatePolicies

d2a165c1d0d6a84818f004ac0b4f9f15a30fc378 authored over 3 years ago by hsluoyz <[email protected]>
fix: add method UpdatePolicies

Signed-off-by: closetool <[email protected]>

27269244d9b086b336ee2ba29ad01256f36a9e5f authored over 3 years ago by closetool <[email protected]>
Merge pull request #91 from closetool/master

fix: create index when using custom schema

fb0d7291b746e92aa964e0c3d87af089c3df2a4f authored over 3 years ago by hsluoyz <[email protected]>
fix: create index when using custom schema

Signed-off-by: closetool <[email protected]>

c1c559e1b1f2e7a3a48c8ecfb3e5047f38c7e019 authored over 3 years ago by closetool <[email protected]>
Merge pull request #89 from closetool/master

ci: github action ci and semantic release

ae4ce83ab26d5be81b859fc9d4d9bb15a8cf528d authored over 3 years ago by hsluoyz <[email protected]>
ci: github action ci and semantic release

Signed-off-by: closetool <[email protected]>

a7903233202050c0a76eaf7e7b6c5479154837f9 authored over 3 years ago by closetool <[email protected]>
Merge pull request #86 from closetool/master

fix: remove blank code block

e4604803c843b4399167ebab48b9b63e5027a9c5 authored over 3 years ago by hsluoyz <[email protected]>
fix: remove blank code block

Signed-off-by: closetool <[email protected]>

8f14dc9a7e8651eb02a3393502c590c8dfee420d authored over 3 years ago by closetool <[email protected]>
Update gorm to 1.21.4's HEAD.

5c851cf40b855d8d3cd3be580b334ff2ad71dd5d authored over 3 years ago by Yang Luo <[email protected]>
Sort imports.

ea6bb4d923917f9cf366e9e281ad9275ef2bd467 authored over 3 years ago by Yang Luo <[email protected]>
Add issue link to the notice.

115228287704942b18ceb28d0b5ae5860025bee7 authored over 3 years ago by hsluoyz <[email protected]>
Merge pull request #79 from closetool/master

fix: default table name

a91399fea5e4600ed87c068b7d41ae95b79998ca authored over 3 years ago by hsluoyz <[email protected]>
fix: default table name

Signed-off-by: closetool <[email protected]>

d2ddb95ae305d658d265d5faa0e6726420e536fb authored over 3 years ago by closetool <[email protected]>
[feature request]: support to create multiple adapters under same database with method `NewAdapterByDBUseTableName` (#77)

* Update adapter.go

remove unique_index tag on CasbinRule to support to create multiple adapt...

7b833fda90dc8db72ee8a183ac9a1aaa88560fcf authored over 3 years ago by Clare Yang <[email protected]>
Merge pull request #76 from closetool/master

feat: add sqlite support(#75)

7c0fc818c0ed43602f7e2f31f9f3c4c790a1aa52 authored over 3 years ago by hsluoyz <[email protected]>
feat: add sqlite support(#75)

Signed-off-by: closetool <[email protected]>

26afbfe0cecb434c5876130f79fb4ef89f3f3743 authored over 3 years ago by closetool <[email protected]>
Merge pull request #73 from Despire/custom_table

add custom table support

d4ad5d9aa5106ca2d6d979b195ea08d1c06c8fdd authored over 3 years ago by Yang Luo <[email protected]>
add custom table support

Signed-off-by: Matúš Mrekaj <[email protected]>

fix tests

Signed-off-by: Matúš Mrekaj <m...

dcb03ce0847d0cb1359382b4a8e16e4ff8cf8281 authored over 3 years ago by Matúš Mrekaj <[email protected]>
Merge pull request #70 from closetool/master

fix: modify column p_type to ptype(#67)

7f6a2112221f1b83f1f0e57a9f632c5e687feb71 authored over 3 years ago by Yang Luo <[email protected]>
fix: modify column p_type to ptype(#67)

Signed-off-by: closetool <[email protected]>

63d03fbfd550e7b3a5420ffb6dd4021ba91a99ec authored over 3 years ago by closetool <[email protected]>
Merge pull request #69 from hsluoyz/master

docs: switch CI to travis-ci.com

1e5f9f9645eff38aa3fc83ea47a037d8f9388206 authored over 3 years ago by Yang Luo <[email protected]>
docs: switch CI to travis-ci.com

7fc6ef139d56be49b137cbba64359b49a348f93a authored over 3 years ago by Yang Luo <[email protected]>
Merge pull request #66 from RobotHuang/dev

feat: implement UpdatePolicy() API

af18dc6e08dcd8495c4b26ae6a4b96130e9cfa73 authored over 3 years ago by Yang Luo <[email protected]>
feat: implement UpdatePolicy() API

Signed-off-by: RobotHuang <[email protected]>

5d78cf4aa5e392a966a329efa11dbb835cc28289 authored over 3 years ago by RobotHuang <[email protected]>
Merge pull request #64 from Despire/column_size

increase column size to 100

50cc1404ba8e4689df4e70c4c7bdaa82af8e5d12 authored over 3 years ago by Yang Luo <[email protected]>
increase column size to 100

Signed-off-by: Matúš Mrekaj <[email protected]>

8243c5f636d1088a660bfe1b4c737274dc6bb3a2 authored over 3 years ago by Matúš Mrekaj <[email protected]>
Merge pull request #62 from RobotHuang/dev

fix: add NewFilteredAdapter

ace0e84a769a15737d3e2e618c527b7f77a6100e authored almost 4 years ago by Yang Luo <[email protected]>
fix: add NewFilteredAdapter

Signed-off-by: RobotHuang <[email protected]>

8175c08d045798a135678c33deaa1b51b723e82f authored almost 4 years ago by RobotHuang <[email protected]>
update gorm to 1.20.7 (#59)

* update gorm to 1.20.7

Signed-off-by: thnt <[email protected]>

* Update adapter.go

Sig...

aad1b8cc520a7f883d73ddc0b78280265230d1aa authored almost 4 years ago by Pi Po <[email protected]>
add unique index (#54)

* feat: add unique index

Signed-off-by: 00LT00 <[email protected]>

* refactor: up...

dcbefd9ab8a71b76ce1c4e078878c861a36e63b2 authored about 4 years ago by Zi Lin <[email protected]>
Merge pull request #53 from 00LT00/master

style: format code

ff32b464cb13c6555753566550a7cc86939bd649 authored about 4 years ago by Yang Luo <[email protected]>
style: format code

Signed-off-by: 00LT00 <[email protected]>

172feca23e4ee4c0d9d913ac089cfaeb07242f74 authored about 4 years ago by 00LT00 <[email protected]>
Merge pull request #51 from miaolz123/master

add default TableName of NewAdapterByDB()

ff42705755823faef612b6c3393988a9b6fb4000 authored about 4 years ago by Yang Luo <[email protected]>
test: more adapter test cases

Signed-off-by: miaolz123 <[email protected]>

34590b60faa2178fb9caa281a936308bd754eab3 authored about 4 years ago by miaolz123 <[email protected]>
feat: use with-conditions session as db

Signed-off-by: miaolz123 <[email protected]>

a0a102ddb783ac8016ebfaa5f6d1790a8c7330ef authored about 4 years ago by miaolz123 <[email protected]>
style: format golang code

Signed-off-by: miaolz123 <[email protected]>

085a5f52b39258d81c4a696c4516fb0093ba20d8 authored about 4 years ago by miaolz123 <[email protected]>
add user define database (#43)

* add user define database

Signed-off-by: 00LT00 <[email protected]>

* fix go test

S...

9cc32f0fb415e9bb5bf152a2f8e06aa6f2d65ad2 authored about 4 years ago by 00LT00 <[email protected]>
Disable sqlite in code & test.

007a8c0e7ae1746f1abd21f01bc7c18e36c205b7 authored about 4 years ago by Yang Luo <[email protected]>
Utilize correct db error when the duplicate database is created (#39)

As per http://v2.gorm.io/docs/conventions.html#TableName TableName() suppose to generate static ...

81c2dc6dfc86f0a580dbee4b36eddfd55c593807 authored about 4 years ago by L1ghtman2k <[email protected]>
Update README.md

ac27d593238767fab2e4642da50454c2f1ade659 authored about 4 years ago by Zixuan Liu <[email protected]>
Added support for gorm/v2 (#36)

* Added support for gorm/v2

Signed-off-by: l1ghtman2k <[email protected]>

* Add gorm-ad...

57a0c400a4d943796ea6787124fe5540517545bc authored about 4 years ago by L1ghtman2k <[email protected]>
Merge pull request #33 from lucidhq/add-remove-policies

Add support for Casbin AddPolicies and RemovePolicies

9ebbe7ed18b8a5cd93c5fd3b9f8a9a3b6388e758 authored over 4 years ago by Yang Luo <[email protected]>
remove explicit tx.Rollback calls as this happens automatically on error, pass tx to rawDelete

632079e0b91b445a2653898cc4a3dc99e120a411 authored over 4 years ago by David Allen <[email protected]>
Use Gorm Transaction with rollback on error for Add/Remove multiple policies

cc74a79ecb27024b7b7d7ef4cbf5f0b3fc9f467f authored over 4 years ago by David Allen <[email protected]>
Add support for Casbin AddPolicies and RemovePolicies

1699fd4676f2a3e0b9997977e5f1be3a3c95a506 authored over 4 years ago by David Allen <[email protected]>
Merge pull request #31 from kuafou/bugfix/fix-readme-demo-error

fix: fix simple example error no handed

fbdb766301c905c1aeb83e5613a9987fe3c37255 authored over 4 years ago by Yang Luo <[email protected]>
fix: fix simple example error no handed

3d29e84079c8ac57b5e8348ff79b57ce81358028 authored over 4 years ago by Qi Jia <[email protected]>
Merge pull request #29 from snyh/master

feat: support empty policy field

6248da3524ed08bef8548c4e50eb6e95cd1f823f authored over 4 years ago by Yang Luo <[email protected]>