Joe Nelson
|
eea1bc0cac
|
Quasiquote json to fix vim syntax highlighting
|
2015-02-15 16:03:31 -08:00 |
|
Joe Nelson
|
e37d5d9b25
|
Style tweak
|
2015-02-15 15:59:49 -08:00 |
|
 Adam C. BakerandJoe Nelson
|
5cc77709ba
|
Add like/ilike
|
2015-02-15 15:23:18 -08:00 |
|
João Cristóvão
|
9cb1ced010
|
Change order test to match docs
|
2015-02-12 09:44:49 +00: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
|
da6318f5a2
|
Fix warnings, lint, and ambiguous hasql imports
|
2015-01-28 20:37:19 -08:00 |
|
Adam C. Baker
|
ead346816b
|
reporting errors, but not passing tests.
|
2015-01-26 17:31:59 -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
|
003685ff46
|
Add support for DELETE verb
Fixes #125
|
2015-01-17 00:48:49 -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 |
|
Adam C. Baker
|
c9b960f955
|
only create schema once
|
2014-12-29 17:57:31 -08:00 |
|
Adam C. Baker
|
3756309b22
|
create items in test, not in the schema.
|
2014-12-29 17:57:31 -08:00 |
|
Adam C. Baker
|
2ae99daa12
|
resetDb once for each set of tests.
|
2014-12-29 17:57:31 -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
|
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
|
dbe1f59066
|
Update project name in strings
Fixes #105
|
2014-12-17 10:24:24 -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
|
4f9132af43
|
Adjust tests to use new-style app config
|
2014-12-07 18:54:27 -08:00 |
|
Joe Nelson
|
782d6520a2
|
Upgrade hasql to 0.4.0
|
2014-12-07 00:11:14 -08:00 |
|
Joe Nelson
|
beb61d8a05
|
Pend a test until complication is resolved with #107
|
2014-12-06 18:46:34 -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
|
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
|
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
|
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
|
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
|
dd2adf4daa
|
Tests compile, run, and fail
Temporarily disabled unit tests
|
2014-12-06 17:42:19 -08:00 |
|
Adam C. Baker
|
2b76c87d1d
|
trivial test change to illustrate alternative to pick
|
2014-11-11 21:29:40 -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
|
a29f2dd107
|
Postgres on travis does not recognize lock_timeout
|
2014-11-06 14:48:15 -08:00 |
|
Joe Nelson
|
f58e3db924
|
Disable transactions for read-only requests
|
2014-11-06 14:19:19 -08:00 |
|
Adam C. Baker
|
74855db87b
|
declare required extensions
and remove default extension pragmas (OverloadedStrings)
|
2014-11-05 00:32:10 -08:00 |
|
Joe Nelson
|
cc2c65a9ab
|
Build escaped queries in the app itself
universally replace String with Text
|
2014-11-03 23:30:04 -08:00 |
|
Joe Nelson
|
c27f178754
|
Create functions that mimic Postgres' format() command
|
2014-11-03 19:53:54 -08:00 |
|
Joe Nelson
|
32e3396caf
|
Provide command-line flag for db pool size
|
2014-10-21 16:15:11 -07:00 |
|
Joe Nelson
|
05bf6b9b06
|
Standarize db schema dump format
|
2014-10-21 15:16:03 -07:00 |
|
Joe Nelson
|
572c235b79
|
Add /dbapi/users route for creating new user
|
2014-10-21 15:01:04 -07:00 |
|
Joe Nelson
|
c163e2156c
|
Indicate input json parse error with better message
Fixes #42
|
2014-10-14 19:23:56 -07:00 |
|
Joe Nelson
|
be2f1f8e9e
|
Merge pull request #83 from begriffs/404
Issue 404 for nonexistent tables
|
2014-10-14 19:02:06 -07:00 |
|