Joe Nelson
|
d77b6df851
|
Use new optparse-applicative and bcrypt
Fixes #131 and affects #129
|
2015-02-07 14:21:40 -08:00 |
|
Joe Nelson
|
3662c1d428
|
Lint and check for restrictive package locks on ci
|
2015-02-07 13:48:04 -08:00 |
|
Joe Nelson
|
e909ef3e62
|
Mention all modules in .cabal file
per #129
|
2015-02-04 14:50:33 -08:00 |
|
Joe Nelson
|
9a393c8603
|
Bump patch version
|
2015-01-31 12:48:02 -08:00 |
|
Joe Nelson
|
ea429e077a
|
Merge pull request #128 from begriffs/hasql-7
Upgrade to Hasql 0.7
|
2015-01-31 12:45:45 -08:00 |
|
Joe Nelson
|
90f9b00e5e
|
Include JSON content type for errors
|
2015-01-31 12:33:44 -08:00 |
|
Joe Nelson
|
f06f3e3394
|
Isolate tests
Credentials from AuthSpec were interfering with StructureSpec
|
2015-01-31 11:32:08 -08:00 |
|
Joe Nelson
|
88af46fbe3
|
Reduce test settings duplication
and better variable name
|
2015-01-31 11:31:11 -08:00 |
|
Joe Nelson
|
27450fae66
|
Fix NULL input problem
Relates to #127
Still auth problems though
|
2015-01-28 23:58:17 -08:00 |
|
Joe Nelson
|
da6318f5a2
|
Fix warnings, lint, and ambiguous hasql imports
|
2015-01-28 20:37:19 -08:00 |
|
Joe Nelson
|
b504473790
|
WIP: Upgrade to hasql 7
Still fails handling query errors
|
2015-01-25 18:33:50 -08:00 |
|
Joe Nelson
|
8073c84809
|
More informative cabal file for hackage release
|
2015-01-17 11:08:46 -08:00 |
|
Joe Nelson
|
d28dee41a1
|
Heroku deployment button on README
|
2015-01-17 10:46:58 -08:00 |
|
Joe Nelson
|
003685ff46
|
Add support for DELETE verb
Fixes #125
|
2015-01-17 00:48:49 -08:00 |
|
Joe Nelson
|
61f8f41a36
|
Temporarily remove heroku button while I get it working properly
|
2015-01-07 23:45:58 -08:00 |
|
Joe Nelson
|
55f6318dcd
|
Deploy button and thanks
|
2015-01-07 23:09:10 -08:00 |
|
Joe Nelson
|
96d108d724
|
Merge pull request #121 from begriffs/fix-order-by
Do not add WHERE clause if only param is order
|
2015-01-05 23:07:29 -08:00 |
|
Joe Nelson
|
d77924a9d1
|
Update links to binaries
|
2015-01-05 23:03:51 -08:00 |
|
Joe Nelson
|
4c74e54ae1
|
Do not add WHERE clause if only param is order
Fixes #119
|
2015-01-05 22:37:49 -08:00 |
|
Joe Nelson
|
591f0eb78d
|
Video link
|
2014-12-30 14:52:58 -08:00 |
|
Joe Nelson
|
796de39762
|
More prominent demo server link
|
2014-12-29 16:12:17 -08:00 |
|
Joe Nelson
|
c541f83cef
|
Link to demo server and its schema
|
2014-12-29 15:27:29 -08:00 |
|
Joe Nelson
|
a142128915
|
Fix logo typo
|
2014-12-29 15:07:09 -08:00 |
|
Joe Nelson
|
ee8f754d7a
|
Consolidate guides to make them easier to spot
|
2014-12-29 11:45:43 -08:00 |
|
Joe Nelson
|
3d02abc844
|
Link to binaries
|
2014-12-29 11:18:09 -08:00 |
|
Joe Nelson
|
a049a8d5cd
|
Update performance stats
|
2014-12-29 10:31:19 -08:00 |
|
Joe Nelson
|
2c635cfde8
|
Optimization when auth role coincides with anon role
No need to set/reset role because it is already correct
|
2014-12-29 09:39:13 -08:00 |
|
Joe Nelson
|
24f70f5bdf
|
Add @casalaina's awesome logo
|
2014-12-29 08:58:35 -08:00 |
|
Joe Nelson
|
d7d5473664
|
Link to load test graph
|
2014-12-28 21:13:58 -08:00 |
|
Joe Nelson
|
d7e0fb948e
|
Tweak future features
|
2014-12-28 11:11:33 -08:00 |
|
Joe Nelson
|
8200f54ae4
|
Bump version
|
2014-12-25 17:47:23 -08:00 |
|
Joe Nelson
|
5eca8668ef
|
Better docs
|
2014-12-25 14:28:06 -08:00 |
|
Joe Nelson
|
30e9733719
|
Hide db details on connection failure
|
2014-12-22 15:40:35 -08:00 |
|
Joe Nelson
|
0830772384
|
Provide better diagnostics for exception parse failure
|
2014-12-22 15:40:20 -08:00 |
|
Joe Nelson
|
2bf45d4f02
|
Bump patch version
|
2014-12-21 19:58:08 -08:00 |
|
Joe Nelson
|
f689ce684a
|
Provide proper JSON details for errors
Refines HTTP codes for server vs client problems
Fixes #92
Fixes #40
|
2014-12-21 19:34:21 -08:00 |
|
Joe Nelson
|
07b039370d
|
Postgres error message parser
|
2014-12-17 14:15:12 -08:00 |
|
Joe Nelson
|
dbe1f59066
|
Update project name in strings
Fixes #105
|
2014-12-17 10:24:24 -08:00 |
|
Joe Nelson
|
5f4212e2fd
|
Link to CI report from badge
|
2014-12-16 20:48:17 -08:00 |
|
Joe Nelson
|
9712549d64
|
Use "::unknown" type casts to overcome binary protocol restrictions
Fixes #112
|
2014-12-16 20:09:01 -08:00 |
|
Joe Nelson
|
19b62c00ee
|
Enclose entire app response in single Tx
|
2014-12-12 13:55:09 -08:00 |
|
Joe Nelson
|
d763e27bb2
|
More readable conditional
|
2014-12-07 21:32:36 -08:00 |
|
Joe Nelson
|
4f9132af43
|
Adjust tests to use new-style app config
|
2014-12-07 18:54:27 -08:00 |
|
Joe Nelson
|
b302843e10
|
Parse args more sensibly, and use correct port for postgres connection
|
2014-12-07 18:42:18 -08:00 |
|
Joe Nelson
|
1fd757c2ad
|
Remove coerce dependency for ghc 7.6
|
2014-12-07 14:46:33 -08:00 |
|
Joe Nelson
|
782d6520a2
|
Upgrade hasql to 0.4.0
|
2014-12-07 00:11:14 -08:00 |
|
Joe Nelson
|
4d8c508a17
|
Parse db uri again
|
2014-12-06 23:21:49 -08:00 |
|
Joe Nelson
|
beb61d8a05
|
Pend a test until complication is resolved with #107
|
2014-12-06 18:46:34 -08:00 |
|
Joe Nelson
|
c0e4d64423
|
Merge branch 'logisch'
|
2014-12-06 17:43:04 -08:00 |
|
Joe Nelson
|
605372f829
|
Set permissions correctly for structure spec
|
2014-12-06 17:42:42 -08:00 |
|
Joe Nelson
|
7d58097449
|
Be sure to reset db before ALL tests
|
2014-12-06 17:42:42 -08:00 |
|
Joe Nelson
|
a45718e992
|
Re-enable authentication
|
2014-12-06 17:42:22 -08:00 |
|
Joe Nelson
|
13bc9a4510
|
Lock hasql version for now
|
2014-12-06 17:42:22 -08:00 |
|
Joe Nelson
|
fb6e297e88
|
Do not include .0 on integers in generated links
|
2014-12-06 17:42:22 -08:00 |
|
Joe Nelson
|
5900475460
|
Reset db between tests rather than using transactions to accomodate Hasql limitation
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
4eb4d8da1e
|
Removed test for RFC compliance
Who would send Content-Range anyway, that is weird in this context
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
f1ecbec543
|
Do not quote params in Location header
Also treat the enum field in OPTIONS as an array uniformly
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
42faaa97c9
|
Include all fields in Location header when no primary keys defined
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
e3d3a07d14
|
Fun, fun, offbyone
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
ca4138df2a
|
Send back Location header on insert
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
0ebb83de3a
|
Include cors middleware in test
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
dc43bcbca9
|
Silence the database fixture output from stdout
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
8e9bbe6dcb
|
Fix insert
|
2014-12-06 17:42:20 -08:00 |
|
Joe Nelson
|
eb7e9586ab
|
Handle missing table sql errors with 404
|
2014-12-06 17:42:20 -08:00 |
|
Joe Nelson
|
21b0b02c03
|
Temporarily use psql to load schemas
|
2014-12-06 17:42:20 -08:00 |
|
Joe Nelson
|
dba17b895e
|
Bye Travis, hi Circle
|
2014-12-06 17:42:20 -08:00 |
|
Joe Nelson
|
d6e3526bff
|
Use Text for textual data
Also upgrade Hasql
|
2014-12-06 17:42:20 -08:00 |
|
Joe Nelson
|
f6b7b42d75
|
Feature specs compile
|
2014-12-06 17:42:20 -08:00 |
|
Joe Nelson
|
da79f6cea1
|
Share connection pool with all http clients
|
2014-12-06 17:42:20 -08:00 |
|
Joe Nelson
|
d2888c62f1
|
hasql wants to rowParse text not bytestring
|
2014-12-06 17:42:19 -08:00 |
|
Joe Nelson
|
dcbecf085f
|
Program compiles but without auth, uri parsing, or json error reporting
|
2014-12-06 17:42:19 -08:00 |
|
Joe Nelson
|
ae9fe506be
|
App.hs typechecks
|
2014-12-06 17:42:19 -08:00 |
|
Joe Nelson
|
70d9641e35
|
WIP: More files converted to Hasql
|
2014-12-06 17:42:19 -08:00 |
|
Joe Nelson
|
8ebfbccd08
|
WIP: converting to Hasql
|
2014-12-06 17:42:19 -08:00 |
|
Joe Nelson
|
b74b91b1c0
|
Interpolate json string values in queries without extra quoting
|
2014-12-06 17:42:19 -08:00 |
|
Joe Nelson
|
dd2adf4daa
|
Tests compile, run, and fail
Temporarily disabled unit tests
|
2014-12-06 17:42:19 -08:00 |
|
Joe Nelson
|
d791f3939e
|
The Dbapi module is now App
|
2014-12-06 17:42:18 -08:00 |
|
Joe Nelson
|
d9377fa50a
|
Fix select star and json stuff
|
2014-12-06 17:42:18 -08:00 |
|
Joe Nelson
|
f7e0386d1c
|
Fix empty results
|
2014-12-06 17:42:18 -08:00 |
|
Joe Nelson
|
1b8f0f2829
|
Main compiles. Still bugs though
|
2014-12-06 17:42:18 -08:00 |
|
Joe Nelson
|
0f849e9bf1
|
Move cors things to Main
|
2014-12-06 17:42:18 -08:00 |
|
Joe Nelson
|
f21559ea81
|
Clean up App.hs
|
2014-12-06 17:42:18 -08:00 |
|
Joe Nelson
|
61174cfa17
|
Add user creation route
|
2014-12-06 17:42:18 -08:00 |
|
Joe Nelson
|
8c073cedc6
|
Add PATCH handler
|
2014-12-06 17:42:17 -08:00 |
|
Joe Nelson
|
361cffc283
|
Add PUT handler
|
2014-12-06 17:42:17 -08:00 |
|
Joe Nelson
|
8894400f5c
|
Add POST handler
|
2014-12-06 17:42:17 -08:00 |
|
Joe Nelson
|
b5f054d976
|
WIP: GET route
|
2014-12-06 17:42:17 -08:00 |
|
Joe Nelson
|
cb80dba234
|
WIP: converting app request handlers
|
2014-12-06 17:42:17 -08:00 |
|
Joe Nelson
|
9b7af0296e
|
Fix auth functions
|
2014-12-06 17:42:17 -08:00 |
|
Joe Nelson
|
9d363da8f9
|
Consolidate auth functions
|
2014-12-06 17:42:17 -08:00 |
|
Joe Nelson
|
7196fbc001
|
WIP: use postgresql-simple in pgstructure
|
2014-12-06 17:42:16 -08:00 |
|
Joe Nelson
|
2f91fdd8b5
|
WIP: more clean query functions
|
2014-12-06 17:42:16 -08:00 |
|
Joe Nelson
|
cb467b62c1
|
WIP: cleaner PgQuery functions
|
2014-12-06 17:42:16 -08:00 |
|
Joe Nelson
|
94ab57941d
|
Thank you!
|
2014-12-05 16:27:00 -08:00 |
|
Joe Nelson
|
bed759333d
|
Name changes in readme
|
2014-12-05 16:05:02 -08:00 |
|
Joe Nelson
|
7bbeeb7c61
|
Merge branch 'patch'
|
2014-11-06 23:53:50 -08:00 |
|
Joe Nelson
|
58adb5e828
|
Allow patch requests
Fixes #87
|
2014-11-06 23:49:29 -08:00 |
|
Joe Nelson
|
76ea92bfce
|
Derp, actually put the data on a put request
|
2014-11-06 18:31:13 -08:00 |
|
Joe Nelson
|
ffa2870061
|
Merge branch 'enforce-new-warp'
|
2014-11-06 15:46:40 -08:00 |
|
Joe Nelson
|
742ff027ba
|
Require warp >= 3.0.2 for setServerName
Fixes #94
|
2014-11-06 15:35:17 -08:00 |
|