Ecosyste.ms: OpenCollective

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

Casbin

An authorization library that supports access control models like ACL, RBAC, ABAC for Golang, Java, C/C++, Node.js, Javascript, PHP, Python, .NET (C#), Delphi, Rust, Dart/Flutter and Elixir
Collective - Host: opensource - https://opencollective.com/casbin - Website: https://casbin.org/ - Code: https://github.com/casbin

more converted examples

github.com/casbin/go-json-rest - ff4dfab8d2b8b64757a7cd3a2aaddb4927d7d70a authored over 9 years ago by antoine <[email protected]>
more example convertion to v3

github.com/casbin/go-json-rest-examples - 666f514898ab34a2efdf9227768ff35621417235 authored over 9 years ago by antoine <[email protected]>
more exmples converted to v3

github.com/casbin/go-json-rest - 2fdcddb4b6d49695a0846098b16f69c243283a55 authored over 9 years ago by antoine <[email protected]>
More examples converted to v3

github.com/casbin/go-json-rest - 79f20bba5be92b6b24a67d7995c2007a29c43f92 authored over 9 years ago by antoine <[email protected]>
three more examples converted to v3

github.com/casbin/go-json-rest-examples - dc9d3093cde9e6260151835377c98f46e0f627fa authored over 9 years ago by antoine <[email protected]>
regen the READMEN with v3 doc, and 2 less examples

github.com/casbin/go-json-rest - e1903abd7c8704fddeb7d7a8761e63aaa38cd115 authored over 9 years ago by antoine <[email protected]>
regen the README with some v3 examples

github.com/casbin/go-json-rest - c9782e3af57b61e8ccea2ec7be707d691c9d7e47 authored over 9 years ago by antoine <[email protected]>
Get all the "Basics" converted to v3

github.com/casbin/go-json-rest-examples - 843e47ceb64d714b1e397ca6faa650e2bb73f6be authored over 9 years ago by antoine <[email protected]>
More docstrings improvements

github.com/casbin/go-json-rest - 6e90b6b303a0311a49893da133cb0c2d3004fa79 authored over 9 years ago by antoine <[email protected]>
update the docstring example

github.com/casbin/go-json-rest - ca6ad2fe5dbda5a33b3826df0b67dce225d61f98 authored over 9 years ago by antoine <[email protected]>
write the tests in a consistent way

github.com/casbin/go-json-rest - 2494a60026a66e8758680ad9121b52d4808f7a01 authored over 9 years ago by antoine <[email protected]>
AccessLogJsonMiddlesware docstrings

github.com/casbin/go-json-rest - 1853d6425814346b70bbea610ffaa639f678fcb2 authored over 9 years ago by antoine <[email protected]>
defines the DefaultProdStack of middlewares.

github.com/casbin/go-json-rest - 7da49a11fa6de9ccd96d983027370705ee64f52e authored over 9 years ago by antoine <[email protected]>
better docstring for AccessLogApacheMiddleware

github.com/casbin/go-json-rest - 05b99a56e899be552e2fc4c77a27bc58a9d726be authored over 9 years ago by antoine <[email protected]>
docstring for MakeRouter

API with this new API so far.

github.com/casbin/go-json-rest - 804cb0487aeab994a20aa475fb0efa18c90c2759 authored over 9 years ago by antoine <[email protected]>
Fix the content type checker tests

github.com/casbin/go-json-rest - ad6ce3204ae9c44887242d3e5779f6214bce1887 authored over 9 years ago by antoine <[email protected]>
consistent names for the test functions

github.com/casbin/go-json-rest - 3514a4d78d6be53d5057e6113241ab52eca0d36d authored over 9 years ago by antoine <[email protected]>
Add tests for the content type checker

github.com/casbin/go-json-rest - a75dc7760cc472777868bcd2ddca0d5d8ef87035 authored over 9 years ago by antoine <[email protected]>
fix the status tests

github.com/casbin/go-json-rest - bd9cbcc31a9c0cb3835411c13f80e243d7753188 authored over 9 years ago by antoine <[email protected]>
link to the v3 work

github.com/casbin/go-json-rest - 8eb955c066e9d975e1fae3d71f6529da29816c53 authored over 9 years ago by antoine <[email protected]>
rewrite the status middleware tests

github.com/casbin/go-json-rest - 78f31f62d885a73eb91dace1a9538e993328380f authored over 9 years ago by antoine <[email protected]>
rewrite gzip middleware tests

github.com/casbin/go-json-rest - 79e08a857223d931e6c504dee4bc8fcde3d2d52f authored over 9 years ago by antoine <[email protected]>
rewrite the powered_by middleware tests

github.com/casbin/go-json-rest - 4658af7363689f6672d68692034ab54dd44f3d30 authored over 9 years ago by antoine <[email protected]>
polish recover middleware tests

github.com/casbin/go-json-rest - 73eb322b8cdd27ca6ad58285f8bc4659bb1afa8f authored over 9 years ago by antoine <[email protected]>
polish json_indent middleware tests

github.com/casbin/go-json-rest - 34ead956c8cd684f382646c9ad31fdd6db027a2c authored over 9 years ago by antoine <[email protected]>
polish the recorder middleware tests

github.com/casbin/go-json-rest - afa4a96b3ec02971345e8ae484e181fbc61acf45 authored over 9 years ago by antoine <[email protected]>
polish jsonp middleware unit tests

github.com/casbin/go-json-rest - 553d6ee2831f34bdee13c3f22f088452039cad4c authored over 9 years ago by antoine <[email protected]>
polish the access log middleware tests

github.com/casbin/go-json-rest - 2370f1d289df5816622177cec1dee7e9b095fcd0 authored over 9 years ago by antoine <[email protected]>
polish the timer test

github.com/casbin/go-json-rest - 6f0c6bf9e92cbda20697feb16422ed9bac574880 authored over 9 years ago by antoine <[email protected]>
Introduce AppSimple and MiddlewareSimple types.

Convenient to write simple apps and middlewares, especially in unit tests.

eg:

rest.NewApi(res...

github.com/casbin/go-json-rest - 3933816b9e3a8752b05093610fa5da77df4209c1 authored over 9 years ago by antoine <[email protected]>
Better way to write this unit test

testing the REMOTE_USER env variable in addition.

github.com/casbin/go-json-rest - d5093211a161ac9b1ad5915cdee28c9c09a93bef authored over 9 years ago by antoine <[email protected]>
Rewrite some unit tests in term of the new api.

github.com/casbin/go-json-rest - 69c9890fef039de551c2572e9c002be76287b7f3 authored over 9 years ago by antoine <[email protected]>
New router constructor

github.com/casbin/go-json-rest - 1cd8134153ab18b8bf5b55b4bd6de890c64e5fd0 authored over 9 years ago by antoine <[email protected]>
convert helloworld to the v3 api

github.com/casbin/go-json-rest-examples - 28db180ba7c353341ec04d0beebff8a84bb1e30f authored over 9 years ago by antoine <[email protected]>
Revert "convert helloworld to the v3 api"

This reverts commit e113f6459a6e6b88fdc6b1844f0883eb8887d1a8.

github.com/casbin/go-json-rest-examples - b1b38a2dcfe845dafeb536db608a5907572d8520 authored over 9 years ago by antoine <[email protected]>
convert helloworld to the v3 api

github.com/casbin/go-json-rest-examples - e113f6459a6e6b88fdc6b1844f0883eb8887d1a8 authored over 9 years ago by antoine <[email protected]>
unused import

github.com/casbin/go-json-rest - 8c228127a3500601d38f7a86a60794a0eacd86be authored over 9 years ago by antoine <[email protected]>
add a deprecation warning on the use of the ResourceHandler

github.com/casbin/go-json-rest - a66124586f5f6553e158374a165c991ce220a605 authored over 9 years ago by antoine <[email protected]>
this method was deprecated for months, it's now removed

github.com/casbin/go-json-rest - 1087feee8ee65fb5a91097efb474855177bee03e authored over 9 years ago by antoine <[email protected]>
Make all middlewares public

github.com/casbin/go-json-rest - f8abb91ef0a70fd316572830d6ddffed38aa1235 authored over 9 years ago by antoine <[email protected]>
Rename this private variable

github.com/casbin/go-json-rest - 48f0c6178682941966ff0e85706d8e0831c14a04 authored over 9 years ago by antoine <[email protected]>
Implementation branch for the v3

Spec here: https://github.com/ant0ine/go-json-rest/issues/110

This commit includes the new inte...

github.com/casbin/go-json-rest - 46e0dddf5857b3a076f09794e155260bb5037ef8 authored over 9 years ago by antoine <[email protected]>
Rewrite the statusMiddleware unit test without using ResourceHandler

preparation step for v3

github.com/casbin/go-json-rest - 4ccf516f9f602cf5dd45e70b8312cd6cd93027b2 authored almost 10 years ago by antoine <[email protected]>
Simplify the code of the access log unit tests ...

... by using the adapterFunc method

github.com/casbin/go-json-rest - f7344409ecc286ea06f3b888bfb9461e5dc0bfb7 authored almost 10 years ago by antoine <[email protected]>
Add a deprecation warning for RouteObjectMethod

github.com/casbin/go-json-rest - 822d81665be5856840344d51c170da48b9d55b76 authored almost 10 years ago by antoine <[email protected]>
Merge branch 'master' of github.com:ant0ine/go-json-rest

github.com/casbin/go-json-rest - b8b0cc9933df90a9865ec2ff6794926a26e866f0 authored almost 10 years ago by antoine <[email protected]>
Prepare GetStatus to be a public method.

Once the statusMiddleware is public, this method will be public too.
(preparation for v3)

github.com/casbin/go-json-rest - 18e155811e823227ea1789dc22e16aaa2704cb3a authored almost 10 years ago by antoine <[email protected]>
Merge pull request #122 from ant0ine/AuthBasicAuthorizator

New option on the AuthBasic Middleware to authorize the user.

github.com/casbin/go-json-rest - aacf1a54b233f4dc4f5475bac510df9922a0964a authored almost 10 years ago by Antoine Imbert <[email protected]>
New option on the AuthBasic Middleware to authorize the user.

This authorization happens after authentication, and can be based on
the current request.

Note:...

github.com/casbin/go-json-rest - b92871ab1ba2f49269b8d74c88b7a6cb7b7b7674 authored almost 10 years ago by antoine <[email protected]>
Merge pull request #121 from ant0ine/jsonIndentMiddlewareTake2

Introduce a new middleware jsonIndentMiddleware (take2)

github.com/casbin/go-json-rest - 292306917e87e33542951f55214e07667f3d0849 authored almost 10 years ago by Antoine Imbert <[email protected]>
Introduce a new middleware jsonIndentMiddleware

This is a way to replace the jsonAdapter option by a middleware option.
The jsonAdapter is now j...

github.com/casbin/go-json-rest - 93047807c15bc568e84232998465a51e7ccfe0f7 authored almost 10 years ago by antoine <[email protected]>
Merge pull request #120 from ant0ine/poweredByMiddleware

Introduce the poweredByMiddleware

github.com/casbin/go-json-rest - 658768d1e476c73fd42fa1e3e2fadd19954b264d authored almost 10 years ago by Antoine Imbert <[email protected]>
Introduce the poweredByMiddleware

It move the existing X-Powered-By feature from being an adapter option,
to being a dedicated mid...

github.com/casbin/go-json-rest - 8d12d0f346cf7782a8ba9b2d4229ea61c2898b06 authored almost 10 years ago by antoine <[email protected]>
Unit tests for RecoverMiddleware

github.com/casbin/go-json-rest - 2b6e8f63fce985c20719917229270dbbf8192b27 authored almost 10 years ago by antoine <[email protected]>
Fix the unit tests that were assuming UTC local time

Thanks @yannk for the report!

github.com/casbin/go-json-rest - 7583c13dc3901ba01e7a47f5217767dca5a20663 authored almost 10 years ago by antoine <[email protected]>
Fix bad copy paste from the gzip test

github.com/casbin/go-json-rest - bcc9f66233f4ebc7dbc16ba093f1e4874323e7e7 authored almost 10 years ago by antoine <[email protected]>
Make statusMiddleware looks like the other middlewares.

preparation step for the v3 where this middleware will be public.

github.com/casbin/go-json-rest - 9ad13be909f97340a9ebc2dd1e2e6f1994a8dd34 authored almost 10 years ago by antoine <[email protected]>
Middlewares docstrings.

preparation for the v3 where these middlewares will become public.

github.com/casbin/go-json-rest - 6496748fb93fc0f77700dbb5a57d72bb24d588e2 authored almost 10 years ago by antoine <[email protected]>
Docstrings for the recover middleware.

Preparation step for v3, this middleware will become public.

github.com/casbin/go-json-rest - 9cec235b6ac0cc4c832082f875711e996c8bc0a8 authored almost 10 years ago by antoine <[email protected]>
Rename error.go recover.go

github.com/casbin/go-json-rest - ebb0cf0063f2532869f55e7aba4dc6a3799fbbaf authored almost 10 years ago by antoine <[email protected]>
Rename errorMiddleware to recoverMiddleware

github.com/casbin/go-json-rest - 0401bb749df8f8195206fa8e8737a55edf6d0029 authored almost 10 years ago by antoine <[email protected]>
support ignore struct not show

github.com/casbin/bee - 27fecfbe753b32d0ade0028746e55dae62abe751 authored almost 10 years ago by astaxie <[email protected]>
Happy new year !

github.com/casbin/go-json-rest - d0781e007b59f4f9f4dc8d7acfdf01345a5b018d authored almost 10 years ago by antoine <[email protected]>
Merge pull request #109 from ant0ine/v3Preparation

Preparation Refactoring before v3 work.

github.com/casbin/go-json-rest - 4df45cc1553762cb672fa70206c0472fc6570145 authored almost 10 years ago by Antoine Imbert <[email protected]>
Preparation Refactoring before v3 work.

This does not introduce any API change.
It refactors the internal of ResourceHandler. The the lo...

github.com/casbin/go-json-rest - 9f6aa15c81e7b3d3e30bca0906742571623a72f8 authored almost 10 years ago by antoine <[email protected]>
Try to make the examples a little bit shorter

github.com/casbin/go-json-rest - 8cc310f7d4e12bf8677ff00a90986fe633d3ab24 authored almost 10 years ago by antoine <[email protected]>
Try to make the examples a little be shorter

github.com/casbin/go-json-rest-examples - 64571313152e050220dd393bf91d126c85941f89 authored almost 10 years ago by antoine <[email protected]>
pass go vet

github.com/casbin/go-json-rest - 82829a973e48210142c8f29206c757c6b216e9dd authored almost 10 years ago by antoine <[email protected]>
pass go vet

github.com/casbin/go-json-rest - b944ac79291285c1af852fbb9137ad159c371d1e authored almost 10 years ago by antoine <[email protected]>
Better error messages (getting more go vet compliant)

github.com/casbin/go-json-rest - e3064d02a40818560cff3c99ac55c2a3fd5654b0 authored almost 10 years ago by antoine <[email protected]>
Try new badges with http://shields.io/

github.com/casbin/go-json-rest - 2682c60ba972b9ec0b36dbafa17a76c8bfa7f9ab authored almost 10 years ago by antoine <[email protected]>
Merge pull request #107 from Tovkal/master

Fixed "using unaddressable value"

github.com/casbin/go-json-rest - 3b30c0bf4b57962a972544da73b51dec8228ac30 authored almost 10 years ago by Antoine Imbert <[email protected]>
Merge pull request #91 from areski/pr-fix-misc

Improve bee command lines

github.com/casbin/bee - 2e408fa881399f4981c83a922e2688791cae8818 authored almost 10 years ago by astaxie <[email protected]>
Fix the GORM example

This seems to be a change in the GORM api

github.com/casbin/go-json-rest-examples - dbc0889146684334a5b17f8eb668630ea397158d authored almost 10 years ago by antoine <[email protected]>
Improve bee command lines

Clean and improve some of the command option descriptions

github.com/casbin/bee - 6b85a2c475245dbbcdf246a15abb1e06b8ed386e authored almost 10 years ago by areski <[email protected]>
Merge pull request #90 from areski/pr-fix-gitignore

fix gitignore for golang

github.com/casbin/bee - c9e5e98b4ac19256da239f0efa3accc660f93fc3 authored almost 10 years ago by astaxie <[email protected]>
fix gitignore for golang

github.com/casbin/bee - 3c6b3884d730c0e4e8b525607bc6a6d97341361a authored almost 10 years ago by areski <[email protected]>
Fixed "using unaddressable value"

github.com/casbin/go-json-rest - 8a9baf383e93314836f69eb616547ce318db4c09 authored almost 10 years ago by Andrés P <[email protected]>
Remove Coveralls for now.

github.com/casbin/go-json-rest - 1b22f46b25269df25c6063d509df6a5f52eedcfa authored almost 10 years ago by antoine <[email protected]>
Fix link for stretchr/graceful

github.com/casbin/go-json-rest-examples - 72c1ceae397e5ea6ac7aebba54364441aa0a98ae authored almost 10 years ago by antoine <[email protected]>
Merge pull request #106 from hermanschaaf/master

Fix link to stretchr/graceful

github.com/casbin/go-json-rest - ec5a69b009372be1053b76f34d9684314ba13b3e authored almost 10 years ago by Antoine Imbert <[email protected]>
coveralls badge

github.com/casbin/go-json-rest - 46069d04dd4d50fc9089e5f9bb0d387399fdbd5f authored almost 10 years ago by antoine <[email protected]>
Fix link to stretchr/graceful

github.com/casbin/go-json-rest - e3175d14fb53adf180f06c05529c146eb47b783f authored almost 10 years ago by Herman Schaaf <[email protected]>
New example: Graceful Shutdown using github.com/stretchr/graceful

github.com/casbin/go-json-rest - 30c86ea2c1f60e297acc6404d84e43407b95eda7 authored almost 10 years ago by antoine <[email protected]>
New example: Graceful Shutdown

github.com/casbin/go-json-rest-examples - 9d6e2896d9c0db5526ee7e3075aed9ce99d65fdd authored almost 10 years ago by antoine <[email protected]>
Merge pull request #89 from tossp/go14

go1.4源码目录变更

github.com/casbin/bee - f00aeaed36d01e5affc81edd87a75edf093a013a authored almost 10 years ago by astaxie <[email protected]>
go1.4源码目录变更

github.com/casbin/bee - 5e3915099605d4afcf6bd7286d57a1939f5f7929 authored almost 10 years ago by TossPig <[email protected]>
try Go 1.4 on travis-ci

github.com/casbin/go-json-rest - 535011e953e10bf66271a1fc802c9d0787ed8bdf authored almost 10 years ago by antoine <[email protected]>
Remove perf/ from this repo ...

... made on a Virtual Machine they were not accurate anyway.

github.com/casbin/go-json-rest - 2b7b0c739af66f8daf8c12c2c9b03f1be2c09570 authored almost 10 years ago by antoine <[email protected]>
Docstring formatting for godoc.org

github.com/casbin/go-json-rest - 89c38b01334f5b09bc7417fe161cf482fdf308bb authored almost 10 years ago by antoine <[email protected]>
Merge pull request #87 from turingou/master

Update default scaffold landing page

github.com/casbin/bee - e147e3b132cd24fc3a8348c266ef12b5ab7b57bc authored almost 10 years ago by astaxie <[email protected]>
Update default scaffold landing page

github.com/casbin/bee - bba4e286b25740c276f744d8723022251fc0e763 authored almost 10 years ago by Guo Yu <[email protected]>