Ecosyste.ms: OpenCollective

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

github.com/casbin/xorm-adapter

Xorm adapter for Casbin
https://github.com/casbin/xorm-adapter

feat: Contextadapter (#59)

* feat: context adapter

* feat: context adapter

* feat: context adapter

1089d551d1211e2450d3bebc4a7e713381442c58 authored about 1 year ago by 鱼竿钓鱼干 <[email protected]>
feat: fix bug in Postgres dialect where if a table already exists then it would give error (Invalid query) (#58)

047522b422b51ea5f3c8a91abe7d97e150291c7e authored about 1 year ago by Vishal Bihani <[email protected]>
fix: fix broken links (#57)

2bfc45306f3963dbebce1c603e364a5fa9d4ecdb authored about 1 year ago by YunShu <[email protected]>
fix: update major version in go module path (#55)

c1890c6b0ecacfc0ca11a80bed06ab19c7882076 authored about 2 years ago by WangGuan <[email protected]>
fix!: Rename `p-type` column to `ptype` & PType to Ptype (#54)

BREAKING CHANGE: Rename `p-type` column in the database to `ptype` and Filter.PType to Filter.P...

84f074b653548dc3b83d8815197c3a6d953826fc authored about 2 years ago by Ter <[email protected]>
docs: upgrade installation instruction to v2 version (#52)

fix: https://github.com/casbin/xorm-adapter/issues/51

7a90dd8bfb2e70b3a768479c866162b4d2a4cb7b authored about 2 years ago by Ter <[email protected]>
docs: fix postgres sample code (#50)

Signed-off-by: Abaw Chen <[email protected]>

efcd2bf1db6b96ad395d5cba54242288b6431fff authored over 2 years ago by abawchen <[email protected]>
fix: remove underscore (#48)

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

eadfe045b52f90eb635d0a097dafdb2ef53e75ed authored over 2 years ago by Bingchang Chen <[email protected]>
feat: table prefix (#47)

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

a77f89266281dc1f919077df5b6cec675c275ef0 authored over 2 years ago by Bingchang Chen <[email protected]>
Merge pull request #45 from tangyang9464/master

feat: add UpdateFilteredPolicies method

2ea99d3d5243b834e6528113b9e0e660d62edb7f authored about 3 years ago by Yang Luo <[email protected]>
feat: add UpdateFilteredPolicies method

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

5678dab8094ec58b6f947de63efc99505c1a4983 authored about 3 years ago by tangyang9464 <[email protected]>
Merge pull request #43 from closetool/master

fix: add github action

6fc8c432b3fe09407b70b4f63db19e0ce727c02f authored over 3 years ago by hsluoyz <[email protected]>
fix: add github action

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

7f5ee0088d4af92e35c946dfbd64799bdc4c4da1 authored over 3 years ago by closetool <[email protected]>
Merge pull request #41 from tson1111/master

fix: add empty policy check in SavePolicy function.

01aca29244b5ce757fd5faf101114afc5b672f2b authored over 3 years ago by hsluoyz <[email protected]>
fix: add empty policy check in SavePolicy function.

Signed-off-by: Cong Ding <[email protected]>

1a949104d2512f8a4b5cff11977116d80a62cf51 authored over 3 years ago by Cong Ding <[email protected]>
Merge pull request #39 from closetool/master

fix: missing method UpdatePolicies(#38)

66091b9ab5fb35956305507d4dad793db265097f authored over 3 years ago by hsluoyz <[email protected]>
fix: missing method UpdatePolicies(#38)

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

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

feat: add UpdatePolicy(#36)

03d3f2c3ebfb80b5d7078a7e34c7c6b43a756066 authored over 3 years ago by hsluoyz <[email protected]>
feat: add UpdatePolicy(#36)

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

87b7d8c3f1b3ce28e7fed389071289f9ce6d3578 authored over 3 years ago by closetool <[email protected]>
Merge pull request #35 from dawndiy/fix_tableName

Fix table name while query list

5c98582943386abf6fdd29e87fdb63f887fbac01 authored about 4 years ago by Yang Luo <[email protected]>
repair broken go.mod go.sum

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

3abf9b3c846074c2dcce6b25f398fc08d02f939e authored about 4 years ago by dawndiy <[email protected]>
fix custom tablename while query list

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

86c1750a98c863c3f3c9867e05037f0f54d65bed authored about 4 years ago by dawndiy <[email protected]>
Merge pull request #34 from Blank-Xu/master

improve filterQuery func and format codes.

f4aab12c85f2d2c0c3926f4fd8d6cce923264af5 authored about 4 years ago by Yang Luo <[email protected]>
improve filterQuery func and format codes.

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

e3cef73d44c8dd5884a4e75eff27fd23832f6134 authored about 4 years ago by Blank <[email protected]>
add RemovePolicies and AddPolicies (#32)

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

57e277376e5dd185e392436d311c65aadc7376f8 authored about 4 years ago by Pin Dude <[email protected]>
ci: update travis (#33)

Signed-off-by: Zixuan Liu <[email protected]>

283549edb2fc6a139d52a3727ec53ae5ce024b8a authored about 4 years ago by Zixuan Liu <[email protected]>
Add custom tablename support (#30)

* Fix custom tablename support

0ca20dc2bb09df054049df3155096f13264373d4 authored over 4 years ago by CyJaySong <[email protected]>
Merge pull request #31 from dovics/loadFilteredPolicy

feat: add LoadFilteredPolicy

0bb458fe3451dfb664990a4f4e1890e715b7dae1 authored over 4 years ago by Yang Luo <[email protected]>
feat: add LoadFilteredPolicy

299dcecb30b89c9f0c09512202dec4e0b5196b6a authored over 4 years ago by dovics <[email protected]>
Merge pull request #29 from dovics/master

fix: change the way of loadPolicyLine

695d84de0d262c204a583e4a3fb1a59e04fd0b37 authored over 4 years ago by Yang Luo <[email protected]>
fix: change the way of loadPolicyLine

51c7996bd9692c6dbdf5949fc29654ce747f4e11 authored over 4 years ago by dovics <[email protected]>
Merge pull request #24 from mrchar/master

fix issues#22

79a2aa54a016320eb29cf90090f642183827750b authored almost 5 years ago by Yang Luo <[email protected]>
fix issues#22

declares the module as "github.com/casbin/xorm-adapter/v2."

c8c2b2cb5be301c7a5fafe35b602e7c27d98a363 authored almost 5 years ago by char <[email protected]>
Merge pull request #20 from mousedownmike/feature/xorm_project_moved

Update xorm project location

26747826035016c67ef5a381263da206504f959a authored almost 5 years ago by Yang Luo <[email protected]>
Update to point to new xorm project location https://gitea.com/xorm

1fbe0b2e847a088996b12ad951c280f67ba57d71 authored almost 5 years ago by Mike Dalrymple <[email protected]>
Merge pull request #19 from luochuanyuewu/master

fix import path for xorm, xorm is moving to gitea.com

f11f9b23cc3de66ee2c4e3e3670ab85dc96c3b86 authored almost 5 years ago by Yang Luo <[email protected]>
fix import path for xorm, due to the fact that xorm is on longer avaliable on github soon.

6291f6be0df8a0828010df49ac30d5f5823b7d14 authored almost 5 years ago by luochuanyuewu <[email protected]>
Fix typo.

0629743c28574a2e97ea62421ffda3ddfb691ce2 authored about 5 years ago by Yang Luo <[email protected]>
Add postgresql service to Travis CI.

af09ce67e18640937cd62cbf0960daa71795d1a9 authored about 5 years ago by Yang Luo <[email protected]>
Update README to Casbin 2.x

072487b281494a0fb8f86bead6941e975d85593d authored about 5 years ago by Yang Luo <[email protected]>
Merge pull request #16 from ctxnop/master

Updated to casbin v2 and use strings.Builder

8905dad95f4f052d31c10cd825c53530a61bf878 authored about 5 years ago by Yang Luo <[email protected]>
Updated to casbin v2 and use strings.Builder

Updated imports to be used with casbin v2.
Also, use a strings.Builder when building some string...

ebef68566824a8c2980e359cf2401793fe424148 authored about 5 years ago by Loïc Collignon <[email protected]>
Merge pull request #15 from Blank-Xu/improve

Improve Efficiency

a317737a1007f1b445874e23f6487527df0c12a8 authored over 5 years ago by Yang Luo <[email protected]>
Improve Efficiency

d9bce66133ee9916c59b8248f9658c8791d00e30 authored over 5 years ago by Blank <[email protected]>
Use error instead of panic.

bb179984e46ca7f51f8d5f55bfd63ab2e5063b1c authored over 5 years ago by Yang Luo <[email protected]>
Update to Casbin 2.x

48bf9c36e25296d21f6b8adbb7f1c2439d0c794e authored over 5 years ago by Yang Luo <[email protected]>
Merge pull request #13 from ch3lo/master

Added NewAdapterByEngine

9b17d80119cb29c6d09806fbe3dc97fcbec3c01e authored over 5 years ago by Yang Luo <[email protected]>
Merge pull request #12 from OGKevin/patch-1

Fix sqlite3 compatibility.

8e63783e2864c40076fbb4b62041c3ee51496258 authored over 5 years ago by Yang Luo <[email protected]>
Fix sqlite3 compatibility.

See explanation: https://github.com/casbin/gorm-adapter/pull/10#issue-261883480

Basically for s...

52185c5e175fca4ff9b53a7256754a09a812a126 authored over 5 years ago by Kevin Hellemun <[email protected]>
Added NewAdapterByEngine

fa6c6f81271d0666121db5eff7a06c32cfc83a52 authored over 5 years ago by Marcelo Salazar <[email protected]>
Handle PostgreSQL duplicated db error better, fix: https://github.com/casbin/xorm-adapter/issues/8

e40cbd17d53fd7a5cee646cc1083631432bce8ee authored almost 6 years ago by Yang Luo <[email protected]>
Add t.Helper() to test.

6d86407ce2631ca1f6f6943374c6129c5b03e190 authored over 6 years ago by Yang Luo <[email protected]>
Add SQL index to gain speed.

6d28ef80f4e64d865081a63145757101326af8fd authored about 7 years ago by Yang Luo <[email protected]>
Simplify the code.

31e0574e2a58738e37fcd424e91965250752c36c authored about 7 years ago by Yang Luo <[email protected]>
Rename the table name from "line" to "casbin_rule".

f6d928fb731b27e3bfa87b700ecd200dba8a5b83 authored about 7 years ago by Yang Luo <[email protected]>
Add dbSpecified to NewAdapter().

6d58ad0ffc38c7b3a467eef7e0f3bfd34b2e1a5e authored about 7 years ago by Yang Luo <[email protected]>
Fix a typo.

4da985c6bd8780cd08cf3a586dc0af3396a57c44 authored about 7 years ago by Yang Luo <[email protected]>
Add comments to auto-save functions.

9bc5b4ee03a833e0dfb152bb19a0534b36732025 authored about 7 years ago by Yang Luo <[email protected]>
Rename testAdapter() to testSaveLoad().

9b26d5726c665d378fe7f1c338c01eb002717f31 authored about 7 years ago by Yang Luo <[email protected]>
Add TestAutoSaves().

ae3806f48c95c8b8a6671d25de1d77f8b0399643 authored about 7 years ago by Yang Luo <[email protected]>
Merge TestMySQLAdapter(), TestPostgresAdapter() into TestAdapters().

479942d7cc2224613b0de62c481ea3d2afd10574 authored about 7 years ago by Yang Luo <[email protected]>
Merge initMySQLPolicy(), initPostgresPolicy() into initPolicy().

63073f9db61cf0e768f482e0b7320cee40a9cc51 authored about 7 years ago by Yang Luo <[email protected]>
Implement RemoveFilteredPolicy() in the new token way.

5571f858cb1d204097f2ef524322b45efe426040 authored about 7 years ago by Yang Luo <[email protected]>
Rename V1-V6 to V0-V5.

f54d943bf5b7cae5d1b02dc0299ce5d8bc9dadce authored about 7 years ago by Yang Luo <[email protected]>
Implement AddPolicy() and RemovePolicy() in the new token way.

8aff01e2f220a4d5c2f53a1d67836eea10d96ad0 authored about 7 years ago by Yang Luo <[email protected]>
Refactor out savePolicyLine().

eb61370e62396097bce18f7cdbc83503ff14a7c6 authored about 7 years ago by Yang Luo <[email protected]>
Store the rule in tokens.

f4e850fe4d766bd302946366eb481612b9cef0e6 authored about 7 years ago by Yang Luo <[email protected]>
Replace loadPolicyLine() with persist.LoadPolicyLine().

9818914023f3410e24894e47050d372fdd8acae5 authored about 7 years ago by Yang Luo <[email protected]>
Describe supported databases in README.

1080fab96344c351f49c9b0c229461f2a7d3151e authored about 7 years ago by Yang Luo <[email protected]>
Implement the RemovePolicy() function.

08a6e7a1004036c946179081606d2a2905e11eba authored about 7 years ago by Yang Luo <[email protected]>
Refactor out initMySQLPolicy() and initPostgresPolicy().

ea8902039d4407f85cd2923921df51caf358aa83 authored about 7 years ago by Yang Luo <[email protected]>
Implement the AddPolicy() function.

26b6191b3f28017c8f167c4f7c7c37f4c85ec05c authored about 7 years ago by Yang Luo <[email protected]>
Rename Rule struct to Line.

67b597e52fae6b0e33101bfd62fb2630b55af1d7 authored about 7 years ago by Yang Luo <[email protected]>
Rename the policy parameter to rule.

3479819434f30d1a75475951a9a86704f6c37a86 authored about 7 years ago by Yang Luo <[email protected]>
Use finalizer to close the DB. Do not open/close the DB for multiple times.

0c7a2d3aaf7d61e55a58398dcfa0fb65ca40230f authored about 7 years ago by Yang Luo <[email protected]>
Provide empty implementation for three optional methods.

ac9a9de0f87931cebb299f2b22f1f6d3990653f2 authored about 7 years ago by Yang Luo <[email protected]>
Fix a typo in README.

8bae039068a9ab431e28172e10d39615582f6fdc authored over 7 years ago by Yang Luo <[email protected]>
Merge pull request #1 from sadayuki-matsuno/use_postgres_backend

use postgres backend

2a760040bb7e634571011fdf7cd86b394d40f89d authored over 7 years ago by Yang Luo <[email protected]>
use postgres backend

8f023c8bec2c5599c1bfedf264448a9fddb69035 authored over 7 years ago by Sadayuki Matsuno <[email protected]>
Add Travis CI and coverage.

b268c2e21d6457cc09d49dec13fae0d3a21760e5 authored over 7 years ago by Yang Luo <[email protected]>
Add README.

77e8205e3a7e44d2a5f455b13ec581be8bb2e306 authored over 7 years ago by Yang Luo <[email protected]>
Add the code.

bb0206128e95ebae4ea0f78c85023a492058c2fe authored over 7 years ago by Yang Luo <[email protected]>
Ignore IDEA files.

b84420d25b0a22ad1de545251e8a60d23d538e05 authored over 7 years ago by Yang Luo <[email protected]>
Initial commit

d966731489197e55b769c73991d946ea2162f882 authored over 7 years ago by Yang Luo <[email protected]>