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

First pass on the docstring rewrite

(see the example auto-embed in the README)

github.com/casbin/go-json-rest-examples - b0fbac084c1006695ac19b3ea7ed5a2ed850cdfa authored over 10 years ago by antoine <[email protected]>
Remove the extra comment delimiters

github.com/casbin/go-json-rest - 8ce41e493161fe0b198d6376fddbce988decbe72 authored over 10 years ago by antoine <[email protected]>
Better auto-embedding of the examples

github.com/casbin/go-json-rest - b31a9fa1bf48c0dd0969430e5997214bf6bc173c authored over 10 years ago by antoine <[email protected]>
complete table of content

github.com/casbin/go-json-rest - 5a1725d14975f7d438f5c696104501735d689771 authored over 10 years ago by antoine <[email protected]>
Testing multi level lists

github.com/casbin/go-json-rest - b2d4d1509263e052c0ecfd4ba186293fdec0c5bb authored over 10 years ago by antoine <[email protected]>
normzlize markdown headers

github.com/casbin/go-json-rest - 812b757c819d959b4a25ebdd394856044b2cdaa2 authored over 10 years ago by antoine <[email protected]>
Working table of content ?

github.com/casbin/go-json-rest - 5fe97b72e9d7279552ccec9ba982078648e97bac authored over 10 years ago by antoine <[email protected]>
tentative of table of content

github.com/casbin/go-json-rest - 484548705ed56824685e078ef64fd20ab9ec833c authored over 10 years ago by antoine <[email protected]>
Fix the GAE example

github.com/casbin/go-json-rest - ac726e0507643e9dc0eab111d21351c8b72c5353 authored over 10 years ago by antoine <[email protected]>
README tweaks

github.com/casbin/go-json-rest - b8952cd11284a4775ab85762936e032530971dba authored over 10 years ago by antoine <[email protected]>
remove extra GA tag

github.com/casbin/go-json-rest - 8780c7124b5a941d8a672bb951f146ff4c2c2978 authored over 10 years ago by antoine <[email protected]>
Move the migration guide in the new README

github.com/casbin/go-json-rest - 7f0bfbec4e38238bea3cebfbf5d63a630fbe9de0 authored over 10 years ago by antoine <[email protected]>
Remove the simple example

github.com/casbin/go-json-rest - 9cda5dbc02898f60c21bad1cddff6f88e84607da authored over 10 years ago by antoine <[email protected]>
Remove the confusing 'simple' example

github.com/casbin/go-json-rest-examples - 5bf5233d54a83b4958123d610121085d8da21e6a authored over 10 years ago by antoine <[email protected]>
Reorder the migration guide

github.com/casbin/go-json-rest - e15585770deda715226c9fa33576237e88b8ceaa authored over 10 years ago by antoine <[email protected]>
Simplification of the Request utility methods

Better names, removed one that was confusing.
Overall, they provide the same features as before.

github.com/casbin/go-json-rest - 2a49bd7aeffa0b6d2bd2105e8a4afd3620677f23 authored over 10 years ago by antoine <[email protected]>
Start with the Hello World! example

github.com/casbin/go-json-rest - 8de36dffbd99d73944d8f49347648ca9985286f6 authored over 10 years ago by antoine <[email protected]>
Add the Hello World! example for the documentation

github.com/casbin/go-json-rest-examples - 04556dbdfebcf042c2502aa7f1fa928a8c58b38a authored over 10 years ago by antoine <[email protected]>
README and the tool to generate it

github.com/casbin/go-json-rest - f7540ddb42cc1e46ddc72705dbdcb13cc55b48ef authored over 10 years ago by antoine <[email protected]>
Generated README with examples inside

github.com/casbin/go-json-rest - 3fb81bfa734877fac2a7a9c3a4f9a7eea5d5ead0 authored over 10 years ago by antoine <[email protected]>
markdown formatting

github.com/casbin/go-json-rest - be5ba3b504b2354797c3007f2e59e139c75df32f authored over 10 years ago by antoine <[email protected]>
Better migration guide

github.com/casbin/go-json-rest - 5d79ab36909f68c1aa051d618940e66c20f7c610 authored over 10 years ago by antoine <[email protected]>
Add tests for GetCorsInfo()

github.com/casbin/go-json-rest - 24cdef59cebb21621879d1fbfb490b7d8487430a authored over 10 years ago by antoine <[email protected]>
Promote Vendoring

github.com/casbin/go-json-rest - ad3a9fef8435dfcce7498a1605228a4a16cdba4b authored over 10 years ago by antoine <[email protected]>
Promote Vendoring

github.com/casbin/go-json-rest - a43c42a9cac7d0afae9d639ce854eca1b41a549e authored over 10 years ago by antoine <[email protected]>
Link the new CORS example

github.com/casbin/go-json-rest - 1f50814a16c25e29a9d8130d963e1240b4650649 authored over 10 years ago by antoine <[email protected]>
Add a simple CORS example

github.com/casbin/go-json-rest-examples - e566a0d861dd3c5e7b5b4a79e9a86f583545d590 authored over 10 years ago by antoine <[email protected]>
add support for Access-Control-Expose-Headers

github.com/casbin/go-json-rest - 5757f294166f95545e949e809a05bc9b670c39b1 authored over 10 years ago by antoine <[email protected]>
New URL for the CORS example

github.com/casbin/go-json-rest - 4a04e181ebbf88ebc2a86951bbffa505c67fb88c authored over 10 years ago by antoine <[email protected]>
Make room for the new CORS example

github.com/casbin/go-json-rest-examples - f6e59dd8d655148031359f785eb3a61ae45a101e authored over 10 years ago by antoine <[email protected]>
Fix the example to reflect v2

github.com/casbin/go-json-rest - 57dce010a4c66445fcc0d3fa8ad92fbd05b76724 authored over 10 years ago by antoine <[email protected]>
Update and move the package doc to a dedicated file.

github.com/casbin/go-json-rest - e52b500abcc5f3ff76052c27c73f1127d84d554c authored over 10 years ago by antoine <[email protected]>
Make allowedMethods and Headers slices instead of maps.

And uppercase, normalize the values.

github.com/casbin/go-json-rest - 8daaec1f1d5c886d59416acb6f4603f6b0f48132 authored over 10 years ago by antoine <[email protected]>
First pass on the CORS middleware

github.com/casbin/go-json-rest - 1c968a6802aa4731fcdec6ccb89fdf92fccbca5b authored over 10 years ago by antoine <[email protected]>
Convert this header value to uppercase to avoid mistakes.

github.com/casbin/go-json-rest - 0d91eccea74050746a28621531bae0ce609cb18e authored over 10 years ago by antoine <[email protected]>
Advertise the v2

github.com/casbin/go-json-rest - 73b16f38d39080f85c6ba1a6d22e224130e3be54 authored over 10 years ago by antoine <[email protected]>
Migration guide improvements

github.com/casbin/go-json-rest - 3919fbec9fbe2ed1549650ef2427c5b0a7bf5b0f authored over 10 years ago by antoine <[email protected]>
markdown tweaks

github.com/casbin/go-json-rest - 792d1e862e94dd508ca0a98551f0fdf128e604a9 authored over 10 years ago by antoine <[email protected]>
markdown formatting

github.com/casbin/go-json-rest - 49bdec6f3a5091075fb07372575eef1a5e1c75a7 authored over 10 years ago by antoine <[email protected]>
Make the MigrationGuide a separated file

github.com/casbin/go-json-rest - 28617e15d88d5a54fc592f85b47743750dec3920 authored over 10 years ago by antoine <[email protected]>
Additional v2 migration step related to the import path

github.com/casbin/go-json-rest - 3e9fe4e7a71c2848a5e07327cd653fbbf9f8faad authored over 10 years ago by antoine <[email protected]>
Make go-json-rest compatible with goimports by moving everything under the rest/ directory.

github.com/casbin/go-json-rest - 896bfe131b5d113b20bf948b0f71f65b132935ec authored over 10 years ago by antoine <[email protected]>
More examples.

github.com/casbin/go-json-rest - 97bf9edcbd82f6787c78b5a1f2a07762979bf367 authored over 10 years ago by antoine <[email protected]>
New example. Demonstrate how to protect the status endpoint with basic authentication

github.com/casbin/go-json-rest-examples - acf022cd1f86683c2dca12dcf05eaa7ba6dd8f50 authored over 10 years ago by antoine <[email protected]>
curl example of an authenticated request

github.com/casbin/go-json-rest-examples - 071cbfcd90d584eeb49850e699a3030f0a0ad057 authored over 10 years ago by antoine <[email protected]>
Add an example that uses rest.AuthBasicMiddleware

github.com/casbin/go-json-rest-examples - 6ab2ef9d714cd2bcdb94bc310aa03b2e9e4b201f authored over 10 years ago by antoine <[email protected]>
rename this example to make room for the simpler auth basic example

github.com/casbin/go-json-rest-examples - 9ca23fbb9b87a3452ad263ea4dd5c16fe995429b authored over 10 years ago by antoine <[email protected]>
Add the AuthBasicMiddleware + tests

github.com/casbin/go-json-rest - fe95de42fa9ee069e20be3151fe75d3a45c0b34a authored over 10 years ago by antoine <[email protected]>
Capitalize the Env variables.

Avoid typo, and make it looks like os env variables.

github.com/casbin/go-json-rest - 9fce0309504de7bd145f745dcff19ce406ba88ed authored over 10 years ago by antoine <[email protected]>
go style fix

github.com/casbin/go-json-rest - d3d9919c7f37bd2fe3dfe09de238e2d8a0195180 authored over 10 years ago by antoine <[email protected]>
Reference the example

github.com/casbin/go-json-rest - f181d54901ee073c9cdd4596d0808491cbd91a43 authored over 10 years ago by antoine <[email protected]>
Update example to use the new Middleware mechanism.

github.com/casbin/go-json-rest-examples - a11b1da565578aef94dbfa1a66926bd0092feec7 authored over 10 years ago by antoine <[email protected]>
Update example to use the new Middleware mechanism.

github.com/casbin/go-json-rest-examples - 7b1ff262a1b33f03b4a30861e21c3f97deadf073 authored over 10 years ago by antoine <[email protected]>
README update

github.com/casbin/go-json-rest - 53959616dd7a74fa53dd5d61a3c672c4081d0826 authored over 10 years ago by antoine <[email protected]>
Redefine the notion of middleware and convert the internal middlewares.

A middleware is now defined like this:

type Middleware interface {
MiddlewareFunc(handler Hand...

github.com/casbin/go-json-rest - e67fbf91b5d2db4b1d9359ef92c865cea8e40f80 authored over 10 years ago by antoine <[email protected]>
Go style docstrings

github.com/casbin/go-json-rest - 98b39e07360b33b50e107c230953ba2e7c1ce04b authored over 10 years ago by antoine <[email protected]>
Reference the new status example

(actually in the v2-alpha branch right now)

github.com/casbin/go-json-rest - 03bb65271e5977b8c83d1aac3043551e39aeaa6f authored over 10 years ago by antoine <[email protected]>
Fix a bug in the ResponseWriter instantiation, and add a test

github.com/casbin/go-json-rest - b5db936272123f861b7b9619e47c813a217341a6 authored over 10 years ago by antoine <[email protected]>
Add an example for the /.status endpoint

github.com/casbin/go-json-rest-examples - 650fd42fba45b95921dbc2648b4997dcf1ac3099 authored over 10 years ago by antoine <[email protected]>
[Breaking change] Status is now public, and the user has to define the route.

An example will be provided.
This decreases the complexity while allowing the user to wrap a mid...

github.com/casbin/go-json-rest - c3852505172073cae8e3eb85737c558923243372 authored over 10 years ago by antoine <[email protected]>
Go style docstrings

github.com/casbin/go-json-rest - 5c1bc9f9bd6deec8370e4aa3b74ee4dd823dbe04 authored over 10 years ago by antoine <[email protected]>
Assemble the middleware at init time.

3% perf improvement

github.com/casbin/go-json-rest - 9d462a6c1020b45da203a06de764c515214fde80 authored over 10 years ago by antoine <[email protected]>
Make the doc example use the v2 API

github.com/casbin/go-json-rest - 8760da2592920da3e051375105daf3a753474652 authored over 10 years ago by antoine <[email protected]>
API changes for v2

github.com/casbin/go-json-rest-examples - 9070803c83efa9a016df4f5fe0a7886d9a6da57b authored over 10 years ago by antoine <[email protected]>
This header is now set by WriteHeader

github.com/casbin/go-json-rest - 10c0381eee635e9a664cf981a895513e461ae2fd authored over 10 years ago by antoine <[email protected]>
Make Flush call WriteHeader

Otherwise, JSON specific headers are skipped.

github.com/casbin/go-json-rest - 350d5248c2ee303e49bb27b9dfee8a1ea5424933 authored over 10 years ago by antoine <[email protected]>
Reenable the auto-fail test

github.com/casbin/go-json-rest - 667892dc0019de6310faf916d81b79b4e81331b9 authored over 10 years ago by antoine <[email protected]>
Use the rest.Error method instead of the http.Error method

github.com/casbin/go-json-rest - e5e1f65edb153f0bb94e722743dc415cf752726b authored over 10 years ago by antoine <[email protected]>
Move the hidden global "env" to the Request object.

github.com/casbin/go-json-rest - 945be06a64679ddd7460721e31aec18cbf5f8add authored over 10 years ago by antoine <[email protected]>
V2 prototyping - New ResponseWriter and Middlewares

rest.ResponseWriter is now an interface.
This provides more flexibility, and the ability to writ...

github.com/casbin/go-json-rest - 28bb43fbd782a365b6eca336f25a37e115523c4f authored over 10 years ago by antoine <[email protected]>
[Go style fixes] useless "else"

see https://code.google.com/p/go-wiki/wiki/CodeReviewComments

github.com/casbin/go-json-rest - 0c4978dce00a8e09cc5319198f19f807de69bc3b authored over 10 years ago by antoine <[email protected]>
[Go style fixes] no underscore variables

see https://code.google.com/p/go-wiki/wiki/CodeReviewComments

github.com/casbin/go-json-rest - 6f31c161d0f14f1a50cb3e4900f807c258f37668 authored over 10 years ago by antoine <[email protected]>
[Go style fixes] better receiver names

see https://code.google.com/p/go-wiki/wiki/CodeReviewComments

github.com/casbin/go-json-rest - ecf1b7d5638810e8e8b715508301c19c09b06cf8 authored over 10 years ago by antoine <[email protected]>
[Go style fixes] better receiver names

see https://code.google.com/p/go-wiki/wiki/CodeReviewComments

github.com/casbin/go-json-rest - a272a1eb02fe640da4c4477c7249c24c8c65120c authored over 10 years ago by antoine <[email protected]>
[Go style fixes] better receiver names

see https://code.google.com/p/go-wiki/wiki/CodeReviewComments

github.com/casbin/go-json-rest - 10a710a2e6e3485a2099433d904710a010e8b361 authored over 10 years ago by antoine <[email protected]>
[Go style fixes] better receiver names

see https://code.google.com/p/go-wiki/wiki/CodeReviewComments

github.com/casbin/go-json-rest - 9ac9ba9dba935c79bae50e88751e75fc545b5d23 authored over 10 years ago by antoine <[email protected]>
[Go style fixes] better receiver names

see https://code.google.com/p/go-wiki/wiki/CodeReviewComments

github.com/casbin/go-json-rest - 018432adf5838b5d43c9f88c288a19979bc90cef authored over 10 years ago by antoine <[email protected]>
configure travis for Go 1.2.1

github.com/casbin/go-json-rest - 37a34ebeeca392d71b9a8dfac45b886c12de2fb1 authored over 10 years ago by antoine <[email protected]>
Add one more example: auth-basic

github.com/casbin/go-json-rest - 91c54164cad2e9159e3e2ecf6a8ec7b36396e8bf authored over 10 years ago by antoine <[email protected]>
Example that demonstrates a possible global Basic Auth implementation

github.com/casbin/go-json-rest-examples - 4f8cb6a65f35734d932829a787c7bfe0a7059fe8 authored over 10 years ago by antoine <[email protected]>
now bee run can specify main files

github.com/casbin/bee - 7da30d1b35ac5ccce256b78cf5d983cb443f62c1 authored over 10 years ago by slene <[email protected]>
More realistic examples of allowed headers in a CORS request

github.com/casbin/go-json-rest-examples - 5b39c4897b04a2aef509328b8f75f0e1ccfb3a90 authored over 10 years ago by antoine <[email protected]>
net/http does not handle comma delimited headers for us

github.com/casbin/go-json-rest - c463ad30259206c01a724d8a9ab7f6641a2e3466 authored over 10 years ago by antoine <[email protected]>
s/HandleFunc/HandlerFunc/

github.com/casbin/go-json-rest-examples - 8c63c37b97e34f048fa22778d060d2937b3518e0 authored over 10 years ago by antoine <[email protected]>
s/HandleFunc/HandlerFunc/

github.com/casbin/go-json-rest - e5c2dac929afe84d48ad7ca48a130bc138f86bf2 authored over 10 years ago by antoine <[email protected]>
Try Go syntax highlighting in the README

github.com/casbin/go-json-rest - 6deba4956e27263e9818913a88ed9b9927e15786 authored over 10 years ago by antoine <[email protected]>
Add link to the CORS example

github.com/casbin/go-json-rest - eb5d775bf988bb9588904c59709fb38b37ded792 authored over 10 years ago by antoine <[email protected]>
Move the CORS example to the go-json-rest-examples repository

github.com/casbin/go-json-rest - c5351eeb1a73b55b5f8d29b33f411bc2c814e2f8 authored over 10 years ago by antoine <[email protected]>
Add the CORS example

github.com/casbin/go-json-rest-examples - ddc5638df4e2baedaf4fdb91d36ae1b2cd0e92d1 authored over 10 years ago by antoine <[email protected]>
Merge pull request #43 from ant0ine/cors

CORS support

github.com/casbin/go-json-rest - 422e61ab7d815e76f55ff3bfadb8284b7dd15321 authored over 10 years ago by Antoine Imbert <[email protected]>
Chrome and Safari send the Origin header on same origin header.

Origin and Host must be different for the request to be considered CORS request.

github.com/casbin/go-json-rest - a21194a469a667ed5457f6f3650d7d7ed05f1d87 authored over 10 years ago by antoine <[email protected]>
CORS support

This approach is minimalist, it essentially provides a request helper that
extracts the CORS inf...

github.com/casbin/go-json-rest - 2cb8d4692a05bda0d31e4aa0c8e7f67fb0aaf978 authored over 10 years ago by antoine <[email protected]>
Introduce the adapter middleware ...

... allowing for future rest.HandleFunc based middleware.

(Could be used by CORS and Auth support)

github.com/casbin/go-json-rest - f61d40375bbb9c76642e8a58f3d04fdf056dc93a authored over 10 years ago by antoine <[email protected]>