profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/timcowlishaw/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Tim Cowlishaw timcowlishaw Itinerant software and data wonk-for-hire. London timcowlishaw.co.uk

MozillaFoundation/mozfest-program-2017 80

Mozilla Festival proposals for 2017

aanand/wick 33

NOT MAINTAINED

timcowlishaw/aho_corasick 30

A pure Ruby implementation of the Aho-Corasick string matching algorithm

Covid-Mutual-Aid/mutual-aid-wiki 21

This resource combines community maintained sources with individual submissions to provide a unified source of information on mutual aid groups throughout the world.

gearmonkey/consume-rBeer 10

A spider/scraper of ratebeer.com, in python

timcowlishaw/acts_as_money 6

an Active Record plugin that makes it easier to work with the money gem

msp/assembly-now-web 3

Assembly Now Online is a virtual experience of Sally Golding & Spatial's recent installation, which inaugurated Metro Arts’ Gallery One at West Village, as part of Brisbane Festival 2020.

timcowlishaw/Classifier 2

A simple web-based text classifier, based on the Naive Bayes Classifier algorithm

jakubfiala/alluvial-sharawadji 1

distributed soundwalks

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha ffc6be3b9a0ae90496980e607cc0e9da09b54edd

slim author serialization

view details

push time in 7 days

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 728a57ab1343058966f23a24c2098903af08bfde

abbreviated book serialization

view details

push time in 7 days

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha ecb7d8c63be5ebe1dee6b6ebdfccd4f3444bb3b1

make book serializers pluggable

view details

push time in 7 days

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 85a5936aa04a6d6688623258ed30832dd465b189

pagination of books page

view details

push time in 8 days

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha ecd5c39238f7f5a0a98039d021a1dc223325d5b4

pagination of books page

view details

push time in 8 days

PR opened matthewkaras/api_v2

Reviewers
sketch OpenAPI spec for Braintree payments

Hey hey Emyr, little something for your consideration - A spec for endpoints for purchases assuming we went with Braintree as the payment processor.

I've pushed this to heroku so you can browse the rendered documentation rather than trying to divine everything from YAML (although the new endpoints aren't implemented, it's just the docs, to be clear).

In a nutshell you now have:

GET /products - the list of products we offer, these would be "one off purchase" and "monthly subscription", each with corresponding price and sales blurb GET /payment_client_token - simply gives you back the JWT token to pass to the braintree client side library POST /purchases - where you create a purchase with a given user id and product id, plus the payment info the braintree client gives you GET /purchases - gives you back all the purchases made by the current user

How does that sound to you? might be worth taking a look at the braintree docs alongside this. I'll do another of these 'draft specs' for stripe instead of Braintree too.

+154 -0

0 comment

1 changed file

pr created time in a month

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha e6d4211ae747a7949aa98e2b0f5f5cb22220fd64

typo

view details

push time in a month

create barnchmatthewkaras/api_v2

branch : braintree-payment-integration-spike

created branch time in a month

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 9069ae2412a79aad9c099d080d14a58adb1a6fa7

books list endpoint

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 566b1a4fee4e64d0f2e0d5764c6f09bff5d48ed4

automatically login user on create and improve login test coverage

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 46c3518deb31680ac8806c43c6df40718ff0c08d

structure endpoint returns titles

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha eef9ae4b1914c2000c27cb9b035dafff8c1a9b67

rename migration for consistency

view details

Tim Cowlishaw

commit sha 87bb19fa05a4e50790420e26cc52e9aaeddfe0e3

bibliography and glossary

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 024258c0ac6dff19dba76523af9649845b777e77

failing tests for bibliography and glossary

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 8cca0e0e438c2ed8e30696deb4665fcdc672c395

refactor books route to make it a more manageable size

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 0992360482f8145ed9a201a57f11636b67e6e169

a few README tweaks

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 23a2ecc9c79fc28dd0a8db4cb86a57b6b2e0e13b

consistent row order in seeds

view details

Tim Cowlishaw

commit sha 29c4ef66232c255d85128ec63a1d6e0a7eb30606

add notes

view details

push time in 2 months

issue commentmatthewkaras/api_v2

Registering does not send back a token

aha, so on registration we want to create a session too? sounds sensible. I'll get onto that!

emyrTomos

comment created time in 2 months

delete branch matthewkaras/api_v2

delete branch : session

delete time in 2 months

push eventmatthewkaras/api_v2

Emyr Tomos

commit sha 6120fdcbdeaee8238ecd2a7e89b82588002fab58

Changed session to login and added set cookie; new session endpoint which only requires cookie authentication

view details

Tim Cowlishaw

commit sha 5752c3cab9f2c9c06450fcd8c6b25c194142570d

middleware stack for authz - pending linter fixes

view details

Tim Cowlishaw

commit sha 61e1ca54b28500581bc250d6675ee63052c20801

refactor middleware and fix eslint errors

view details

Tim Cowlishaw

commit sha 7c63c2d37e7fb1b9ce74e19d28b45b462f91760d

library import script: TODO: redo seeds and make a new migration to add this constraint

view details

Tim Cowlishaw

commit sha 85c3c5827761f23ac35c250213646023d7dce5f7

add unique constraint on book authors

view details

Tim Cowlishaw

commit sha ebb544aa08367d87dbd35ef4bfd4c067adcb3a1b

sort out test race conditions

view details

Tim Cowlishaw

commit sha e8ce6759d03883542f5428b0db106daa40cd0793

update seeds from full db

view details

Tim Cowlishaw

commit sha b8fd7a85084eb369db304ba7cecc7dabc725f056

fix a few little typos

view details

Tim Cowlishaw

commit sha 7f6b782054d31a73c98f145d058b86d5b612fc09

changes to connect import script to production db

view details

Tim Cowlishaw

commit sha b85b6df8999d1feef6e6f659c55558739cbd6f77

ensure we can authorize content by section

view details

Tim Cowlishaw

commit sha 1af2ae6b3fee53dd90c7d7c760dd1775a28e7bde

forgota file

view details

Tim Cowlishaw

commit sha cba978acde07f3a457f894c651caa7545a280d84

add GET and DELETE session routes for logout and session status check

view details

Tim Cowlishaw

commit sha 9beb3aa65c44bc5b1693a07e54004e9af7defeda

Merge pull request #2 from matthewkaras/session Changed session to login and added set cookie; new session endpoint w…

view details

push time in 2 months

PR merged matthewkaras/api_v2

Reviewers
Changed session to login and added set cookie; new session endpoint w…

…hich only requires cookie authentication. We need an endpoint where we can assess if an user has a valid cookie and send back a payload which allows us to address them by name/id without requiring them to enter their credentials. Also it would be handy to know before firing off requests for content if they are likely to be honoured.

+5683 -2217

1 comment

37 changed files

emyrTomos

pr closed time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha cba978acde07f3a457f894c651caa7545a280d84

add GET and DELETE session routes for logout and session status check

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 1af2ae6b3fee53dd90c7d7c760dd1775a28e7bde

forgota file

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 5752c3cab9f2c9c06450fcd8c6b25c194142570d

middleware stack for authz - pending linter fixes

view details

Tim Cowlishaw

commit sha 61e1ca54b28500581bc250d6675ee63052c20801

refactor middleware and fix eslint errors

view details

Tim Cowlishaw

commit sha 7c63c2d37e7fb1b9ce74e19d28b45b462f91760d

library import script: TODO: redo seeds and make a new migration to add this constraint

view details

Tim Cowlishaw

commit sha 85c3c5827761f23ac35c250213646023d7dce5f7

add unique constraint on book authors

view details

Tim Cowlishaw

commit sha ebb544aa08367d87dbd35ef4bfd4c067adcb3a1b

sort out test race conditions

view details

Tim Cowlishaw

commit sha e8ce6759d03883542f5428b0db106daa40cd0793

update seeds from full db

view details

Tim Cowlishaw

commit sha b8fd7a85084eb369db304ba7cecc7dabc725f056

fix a few little typos

view details

Tim Cowlishaw

commit sha 7f6b782054d31a73c98f145d058b86d5b612fc09

changes to connect import script to production db

view details

Tim Cowlishaw

commit sha b85b6df8999d1feef6e6f659c55558739cbd6f77

ensure we can authorize content by section

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 8c883abf317e4415692a812ab8b67775c15fdf60

forgota file

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 6db168c11e50f67c39f7c9ebec8cc6e7d929d42a

changes to connect import script to production db

view details

Tim Cowlishaw

commit sha 82c7847a7112250be4a73fdce9f659decbcda054

ensure we can authorize content by section

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 56d23acde60ed93ef30795dae22489f773c21134

fix a few little typos

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 72b058c2de965b0c669df594c404f822f47e5980

update seeds from full db

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha a45b0f9d65b07b399a47a7e04a535eea05c9cff5

sort out test race conditions

view details

push time in 2 months

push eventmatthewkaras/api_v2

Tim Cowlishaw

commit sha 12a2235bebeae6ee020c9abc6073277f9a62a4b6

library import script: TODO: redo seeds and make a new migration to add this constraint

view details

Tim Cowlishaw

commit sha c6f88aa101fbfc9871edc658848937c1e353cac9

add unique constraint on book authors

view details

push time in 2 months

pull request commentmatthewkaras/api_v2

Changed session to login and added set cookie; new session endpoint w…

Aha ace - I'll take a look at this today! cheers Emyr.

emyrTomos

comment created time in 2 months