Ecosyste.ms: OpenCollective

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

github.com/casbin/go-json-rest

A quick and easy way to setup a RESTful JSON API
https://github.com/casbin/go-json-rest

Add Casbin Authz middleware

17d9e9b4c66d8ef5faa0bf4eb7dac68c8eb5b1bd authored over 7 years ago by Yang Luo <[email protected]>
update travis config for go1.9

ebb33769ae013bd5f518a8bac348c310dea768b8 authored over 7 years ago by Antoine Imbert <[email protected]>
go fmt rest/request_test.go

146678b171c7cb8b28406e7de3cde61f97eeda4e authored over 7 years ago by Antoine Imbert <[email protected]>
Merge pull request #216 from naoki-k/fix-readme

Fix two broken links in README

731ccde05312e2c1f5578a504ea8e77d38020340 authored over 7 years ago by Antoine Imbert <[email protected]>
Fix two broken links in README

66f9ff1fe792619d46ca1e65dff633f2e9df607c authored over 7 years ago by Naoki Kanatani <[email protected]>
Merge pull request #215 from athomason/athomason/issue-204

test: allow helpers to handle gzipped responses

4127f183c172b25f51dbaaa2e035e8f262ac57fb authored over 7 years ago by Antoine Imbert <[email protected]>
test: allow helpers to handle gzipped responses

While MakeSimpleRequest sets `Accept-Encoding: gzip`, it doesn't itself
handle gzipped response ...

d49e89c9c67eb356ac1d25766552b0a6eb359761 authored over 7 years ago by Adam Thomason <[email protected]>
Make travis test go1.8

4602b00d2caab423578a3094c68137dcc1eb2051 authored almost 8 years ago by Antoine Imbert <[email protected]>
Merge pull request #205 from while-loop/master

Fix HTTPS Scheme when using HTTP2

b795724e98a6e40a001a05c8fae1c66cbb1df228 authored almost 8 years ago by Antoine Imbert <[email protected]>
Remove the check for HTTP2

7f746a3ebde7cb9ac6aaa3bd436a141678dc962b authored almost 8 years ago by Anthony Alves <[email protected]>
Fix HTTPS Scheme when using HTTP/2.0

When using HTTP/2.0 the default scheme given is http. Check if the server is running HTTP/2.0 an...

633093c88eac03d3d672dacf7fe042ec26fc4124 authored almost 8 years ago by Anthony Alves <[email protected]>
Merge pull request #201 from bboozzoo/bboozzoo/cors-access-control-request-headers

Empty Access-Control-Request-Headers in CORS preflight triggers 403 Forbidden

ce4b71cdf7ba29ef443d704bd923f5bbf281ee30 authored about 8 years ago by Antoine Imbert <[email protected]>
rest/cors_test: tests for empty Access-Control-Request-Headers in preflight requests

Signed-off-by: Maciej Borzecki <[email protected]>

7535cd05be2a341b2bc63799092fdd87b9a3d7d2 authored about 8 years ago by Maciej Borzecki <[email protected]>
rest/request: skip empty strings in values of Access-Control-Request-Headers

WebKit browsers may send a preflight CORS request setting
Access-Control-Request-Headers to an e...

9ec7f2b210af61f2323ccb6528f861fc363f7713 authored about 8 years ago by Maciej Borzecki <[email protected]>
Merge branch 'master' of github.com:ant0ine/go-json-rest

709bbe395d7f6dd4eb3eefb5c0951bc0fdb08566 authored about 8 years ago by Antoine Imbert <[email protected]>
Update blog post URLs

blog migration to www.ant0ine.com

af20cdfe1da2ce575bbbfcc283a3e8df4865b51e authored about 8 years ago by Antoine Imbert <[email protected]>
Merge pull request #198 from mgkeen/recorderStatusCode

Recorder records same status code as response

ed84d4020889e7e61d0bb79cc90232d743c0df60 authored about 8 years ago by Antoine Imbert <[email protected]>
Recorder records same status code as underlying

net/http only allows you to set the status code on the response once. Subsequent calls get ignor...

e4a074e0240ac0fdba457b355194125ef1df798a authored about 8 years ago by mgkeen <[email protected]>
Update Travis CI to test Go1.7

4f1814e6e38174c46a6cccdda906987d04b735f6 authored over 8 years ago by antoine <[email protected]>
Merge pull request #188 from darvik80/master

Close gzip writer

3a807d6d8d36e0f9175d6c292030fce09bcbb2db authored over 8 years ago by Antoine Imbert <[email protected]>
Fix test message

28f83d71c05db7b40aa3f543df0585bd8f9f5928 authored over 8 years ago by Ivan Kishchenko <[email protected]>
Close gzip writer

9c33be62e15d98042dadc93efa334a0c69ca425e authored over 8 years ago by Ivan Kishchenko <[email protected]>
Update Gorm example, the Gorm API has changed.

Make the FB field a pointer

cfd0da14df1db088980175e1c3c7e77c11b90718 authored over 8 years ago by antoine <[email protected]>
Fix Apache microsecond logging

The ResponseTime may not be available if the timer middleware is not
included in the stack. Hand...

0b89f68216f29f0fdb2ef236c2168e3c817d5884 authored over 8 years ago by antoine <[email protected]>
Ask Travis to test with Go1.6

1c6dbaaf3c0a6bdae4a19f7b0b322a886a56e203 authored over 8 years ago by antoine <[email protected]>
Merge pull request #187 from mattsch/fix_remoteaddr_logging

Use net.SplitHostPort so ipv6 addresses get parsed properly

ca7192730a4389af71e281ffa9e12e362aee60e8 authored over 8 years ago by Antoine Imbert <[email protected]>
Use net.SplitHostPort so ipv6 addresses get parsed properly

dea43f52281de5022cd0718930f60b89dab2a683 authored almost 9 years ago by Matthew Schick <[email protected]>
bump the Go version to test

37ad7dc626602a8355801da6acd85155655520f8 authored almost 9 years ago by antoine <[email protected]>
[Auto-gen README] Changes suggested by @ReadmeCritic

edea6f156cf969361c91d50137a975b22b52b5da authored almost 9 years ago by antoine <[email protected]>
Happy New Year!

61ebd1631ca65b0361588dc5b58890f779be234a authored about 9 years ago by antoine <[email protected]>
[Auto-gen README] New third party middleware link

eab48093ffe42b1d6d2774db2e6bdc2ea83c71c0 authored about 9 years ago by antoine <[email protected]>
[Auto-gen README] Add Force HTTPS example by @jadengore

0a9a1040b5fc77b312296b99945c55967f68e9e4 authored about 9 years ago by antoine <[email protected]>
[README autogen] remove useless struct.

01a517a7065ab0030bf286c6a8e5abc9b245c776 authored about 9 years ago by antoine <[email protected]>
Update Travis-CI to test 1.3 1.4 1.5.2

acf7d2c29bbee0a8a1865358f323bb9991150637 authored about 9 years ago by antoine <[email protected]>
Run gofmt -s

79b3f4084944b05ce8f518b60105d5bb127cf52b authored about 9 years ago by antoine <[email protected]>
Improve error string, thanks @wichert

a7ea7895264f2b2bd124245fd9dbf85b0ac64da1 authored about 9 years ago by antoine <[email protected]>
Remove ResourceHandler that was marked as deprecated in v3.0.0

v3.0.0 was a big API change for Go-Json-Rest. ResourceHandler was
marked as deprecated (doc + wa...

f2142cde884de3ed7d7d21d8afb3f068a075e6df authored about 9 years ago by antoine <[email protected]>
Fix old typo

3f29261be5621dc18627ed8d12948468b728b70e authored about 9 years ago by antoine <[email protected]>
Move some router tests

As a preparation to remove the deprecated ResourceHandler,
make sure no test is lost by dispatch...

ede4afc379e71c3214bfd8f45a8ca20e892857bb authored about 9 years ago by antoine <[email protected]>
Move some responseWriter tests

As a preparation to remove the deprecated ResourceHandler,
make sure no test is lost by dispatch...

686ae05b1bb018ccafb05d1ce975b5ae5fbb9e5e authored about 9 years ago by antoine <[email protected]>
Remove duplicated recover tests

As a preparation to remove the deprecated ResourceHandler,
make sure no test is lost by dispatch...

392d1448eac9f343d68f54783120b8930db44a01 authored about 9 years ago by antoine <[email protected]>
Move some Content Type checking tests

As a preparation to remove the deprecated ResourceHandler,
make sure no test is loast by dispatc...

966a4165151dafad006646822f935b827fb9d728 authored about 9 years ago by antoine <[email protected]>
Include charset=utf-8 in the JSON response.

Per spec, UTF-8 is the default, and the charset parameter should not
be necessary. But some clie...

3152f30bb246f193be132e9d14e6e4ad174eed50 authored about 9 years ago by antoine <[email protected]>
Make Travis CI test go 1.5.1

1eb58ebad374f392922eabd64cbcc836a96620e4 authored about 9 years ago by antoine <[email protected]>
Add the ability to customize the field name in the error response.

"Error", capitalized, was not a good choice, but will stay the default
until the next major vers...

c3c57b2a42c1c77a2d8cb5d66393d8796f42cfc0 authored about 9 years ago by antoine <[email protected]>
Merge pull request #154 from bfallik/patch-1

Update README.md

2af9d0034afcd83101abb1945f2a65ddbd563719 authored over 9 years ago by Antoine Imbert <[email protected]>
Update README.md

include a link to clypd's secure redirect middleware

2508228d5c311a69addc104ee2e68af69462f606 authored over 9 years ago by Brian Fallik <[email protected]>
Add a link to the Auth Token middleware.

Thanks @grayj !

11950f5f17b973642477ed31b68df64fdf4b1c08 authored over 9 years ago by antoine <[email protected]>
Add Head and Options Route shortcut methods.

Routes corresponding to the HEAD and OPTIONS HTTP methods.

57d3250d22392611efe69a00345f3ca2905bb18a authored over 9 years ago by antoine <[email protected]>
Merge pull request #150 from sebest/master

Adding the PATCH verb

dccc14689f60f550319e756338a09090b2e12938 authored over 9 years ago by Antoine Imbert <[email protected]>
Adding the PATCH verb

f3add9911919590b316a2e76ba71de6019ac8708 authored over 9 years ago by Sebastien Estienne <[email protected]>
README auto-gen - fix broken example

6eac5ab9fc475f517022602fd417c921403c0a28 authored over 9 years ago by antoine <[email protected]>
Make golint marginally happier

4c0ab2b46b2318802f6502ea84031905d53cbb2a authored over 9 years ago by antoine <[email protected]>
Add unit test for the new empty JSON payload error.

Also fix the case convention used in this project, even if different than golint.

990050cf5fe4149aedf65fb6e5844d6e51b3cfb7 authored over 9 years ago by antoine <[email protected]>
Merge pull request #148 from sebest/master

Return a specific error when the JSON payload

5da343eb75b41f5f72f4ccd7bf17dd2e342b586d authored over 9 years ago by Antoine Imbert <[email protected]>
Return a specific error when the JSON payload is empty to be able to choose how to handle this case

db8baeaa46e2f84180f7fcfa0577f72b2f4b4f40 authored over 9 years ago by Sebastien Estienne <[email protected]>
Fix a docstring that was mentioning the ResourceHandler.

Also get a more accurate list of implemented interfaces.

bd5fcdd7b0b7e63f4abb171498784efbd01fda7b authored over 9 years ago by antoine <[email protected]>
Update the documentation of the test pkg to not use ResourceHandler

fc2c9a071db8a007b1d30d171b63af9b7366886c authored over 9 years ago by antoine <[email protected]>
Thanks Sebastien Estienne!

20210d50628d0e0d5286c3e87d609fea3483a087 authored over 9 years ago by antoine <[email protected]>
Merge pull request #145 from sebest/master

JSONP security fix (http://miki.it/blog/2014/7/8/abusing-jsonp-with-r…

28c6d4c996f49ca557eeb8cf63a86627dfb42307 authored over 9 years ago by Antoine Imbert <[email protected]>
JSONP security fix (http://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/)

22dc9802d4cbe025a3a449d1a5d0bb9de92a5af5 authored over 9 years ago by Sebastien Estienne <[email protected]>
Merge pull request #144 from gwynantj/use-travis-containers

Changed travis configuration to use the new container based architecture

175cc312c61349d4e429475c669e0d301c081493 authored over 9 years ago by Antoine Imbert <[email protected]>
Changed travis to use the new container based architecture

3cf4f8c244c4a830907fe2c97e5594b574ec08fe authored over 9 years ago by Gwynant Jones <[email protected]>
Thanks wingyplus!

67cb6d24b9fda5ce50167974ee4c38e6cc8cc6a1 authored over 9 years ago by antoine <[email protected]>
README autogen - New Websocket example

9b6a5da02a0ebb398073782c6637b50776683ffb authored over 9 years ago by antoine <[email protected]>
README autogen - Favor https when possible

74480147340d9827ec04e748096eb80b267102f4 authored over 9 years ago by antoine <[email protected]>
autogen README

244c490a2e45684d70f32e846d35db3321706411 authored over 9 years ago by antoine <[email protected]>
Merge pull request #139 from ant0ine/routeShortcuts

Introduce shortcuts to create Routes

151a590aac67baa0d5bcbbc9d888381c152ed6f6 authored over 9 years ago by Antoine Imbert <[email protected]>
improved docstrings

9fb2ce6c875dd6b6e2a5ea9a89e87289419e1618 authored over 9 years ago by antoine <[email protected]>
Introduce shortcuts to create Routes

The four new methods Get, Post, Put and Delete are simple constructors
for the Route objects.

I...

b68cad22a1938cf3f9a8c2ef5e03970d71cd9c01 authored over 9 years ago by antoine <[email protected]>
README autogen - update JWT example

fc0d6bacef3ca8295c53fb0232cc042734521394 authored almost 10 years ago by antoine <[email protected]>
README auto-gen

fd981c6946a101c9ec5a409ee56cf1ad97c1b534 authored almost 10 years ago by antoine <[email protected]>
Mention the new IfMiddleware in the README

8c9593d4f22b0fb4fb55b547e880dfe904bbaf8e authored almost 10 years ago by antoine <[email protected]>
Merge pull request #136 from ant0ine/ifMiddleware

implementation of the IfMiddleware

6f94f6f64bdfadcf49f1e9071575e2cc502e2d30 authored almost 10 years ago by Antoine Imbert <[email protected]>
Unit test for the IfMiddleware

8408240213aad2a370853cfacc256a50ad35c233 authored almost 10 years ago by antoine <[email protected]>
implementation of the IfMiddleware

IfMiddleware evaluates at runtime a condition based on the current request, and decides to
execu...

eccbb5194e2b66c482abaa00e3c095cad63a7d9e authored almost 10 years ago by antoine <[email protected]>
Merge pull request #130 from amosshapira/patch-1

Fix typo in refresh_token URI

36d1f857a7967a27a30f0f267667a882e34cadfd authored almost 10 years ago by Antoine Imbert <[email protected]>
Fix typo in refresh_token URI

8332981d2ec3170aa3dcb5407bdfeec1bf2cc8f8 authored almost 10 years ago by Amos Shapira <[email protected]>
log a better error message when StatusMiddleware is missing Timer and Recorder.

StatusMiddleware depends on TimerMiddleware and RecorderMiddleware,
log a descriptive message in...

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

b99af7f050e5ff393c2f95561c48f934a4955804 authored almost 10 years ago by antoine <[email protected]>
Add JWT example

cb682716727f2926e40cf0d047e3f134ec973337 authored almost 10 years ago by antoine <[email protected]>
Merge pull request #127 from StephanDollberg/jwt_readme

added link to jwt middleware

bb010cfd297c7194023286213f78a59cdc9df34d authored almost 10 years ago by Antoine Imbert <[email protected]>
added link to jwt middleware

6c2cba39a2b2b318dcc506bed8548f0c26462d2d authored almost 10 years ago by Stephan Dollberg <[email protected]>
Better markdown tables

439b37603d65c42455fcac3dc30ffd1a3c5b1844 authored almost 10 years ago by antoine <[email protected]>
Add a list of middleware to the README

9b9d1960d7a99d31e1b8f9e2be1c36a33a3c6c1c authored almost 10 years ago by antoine <[email protected]>
README Autogen to get the new Statsd example

b3c1f49898f8dc1840c0177754b78d27c829f5ea authored almost 10 years ago by antoine <[email protected]>
Make AccessLogApacheMiddleware work with incomplete middleware stack.

This makes AccessLogApacheMiddleware work even if Timer and Recorder are
missing. In that case, ...

37c3e6775decdfca6643bc1775839f9de629ded5 authored almost 10 years ago by antoine <[email protected]>
README autogen

68230c88a57265a7943296007299a68eb0d14d7e authored almost 10 years ago by antoine <[email protected]>
README autogen

b1185f8a70ebe68ef9967be9c0f5cdbc6ab502e7 authored almost 10 years ago by antoine <[email protected]>
Release notes for v3

7570c97644513f16a0c141336f22910474f8c024 authored almost 10 years ago by antoine <[email protected]>
README autogen for v3

36c753e33d70e2d2c2be4fd75938e0ad1a649622 authored almost 10 years ago by antoine <[email protected]>
Merge pull request #123 from ant0ine/v3-alpha

Implementation branch for the v3

7d2bcc89df89dfd8358b7c63ebad05b29a88bd46 authored almost 10 years ago by Antoine Imbert <[email protected]>
This deprecated method has been removed in v3

8e716f25b9483ab7adcc68d3a59b0496def75ce6 authored almost 10 years ago by antoine <[email protected]>
README edits

41b2d803245cc51c217614b5d30673463e9294ef authored almost 10 years ago by antoine <[email protected]>
README edits

e8838cad0b75754f4f1c47e57163ac6703ccc844 authored almost 10 years ago by antoine <[email protected]>
s/URL/request/

0497a5eb98cba4d675f7cfab378649afe084d551 authored almost 10 years ago by antoine <[email protected]>
README edit

f60a94c20ff52ef45c91bb414002e58931714d4f authored almost 10 years ago by antoine <[email protected]>
deprecation warning in the docstring too

3cd9f3d61470c9e564f7a162dabd17a359542d27 authored almost 10 years ago by antoine <[email protected]>
docstrings polish

fc9f69aece5c812bd1f0fcc1ab80ca59810faa11 authored almost 10 years ago by antoine <[email protected]>
typo

000ab3c71afaba1d2fe1226131e951a0b299180a authored almost 10 years ago by antoine <[email protected]>