Adam C. Baker
|
e5db9bc58e
|
remove top level binding in test script
|
2014-10-09 14:14:53 -07:00 |
|
Adam C. Baker
|
5dd3f9c79a
|
Merge branch 'fk'
Conflicts:
src/PgStructure.hs
test/Feature/StructureSpec.hs
test/fixtures/schema.sql
|
2014-10-09 12:30:39 -07:00 |
|
Adam C. Baker
|
195e904817
|
make compound_pk owned by dbapi_anonymous
|
2014-10-08 17:04:44 -07:00 |
|
Joe Nelson
|
ecff987f31
|
Include "enum" field in column details
|
2014-10-08 16:51:42 -07:00 |
|
Adam C. Baker
|
ee02a98cf2
|
emit references for columns with foreign keys
|
2014-10-08 16:38:12 -07:00 |
|
Adam C. Baker
|
e17c51e2f1
|
clean up spec helper
|
2014-10-08 16:37:53 -07:00 |
|
Adam C. Baker
|
5d64258140
|
fix test to reflect more tables
|
2014-10-08 16:36:47 -07:00 |
|
Adam C. Baker
|
40f3056ef4
|
some more setup/teardown actions
|
2014-10-08 15:21:18 -07:00 |
|
Adam C. Baker
|
f0e8d23dd2
|
getting foreign key data with a column.
|
2014-10-08 15:20:26 -07:00 |
|
Adam C. Baker
|
59f9855362
|
return a map of foreign keys
|
2014-10-08 15:20:26 -07:00 |
|
Adam C. Baker
|
d16ecdc28f
|
data/procedure for foreign key
|
2014-10-08 15:20:26 -07:00 |
|
Adam C. Baker
|
5063dfe894
|
simple unit tests for existing functionality
|
2014-10-08 15:20:26 -07:00 |
|
Adam C. Baker
|
e302bb1d19
|
add table with fk for testing.
|
2014-10-08 15:20:26 -07:00 |
|
Joe Nelson
|
b52af7ac66
|
Make tests pending and revisit after Friday deadline
|
2014-10-08 14:58:38 -07:00 |
|
Joe Nelson
|
ed881c0d8d
|
Remove stray role in schema
|
2014-10-08 14:58:38 -07:00 |
|
Joe Nelson
|
04d12bcdbe
|
Remove "public" schema pollution from fixture
|
2014-10-08 14:58:38 -07:00 |
|
Joe Nelson
|
527d51670c
|
WIP: Trap postgres errors in middleware
Fixes #39
|
2014-10-08 14:58:38 -07:00 |
|
Joe Nelson
|
68d0a38806
|
WIP: feature specs for auth
|
2014-10-08 14:48:31 -07:00 |
|
Joe Nelson
|
8fbe3839a6
|
Allow browsers to load table OPTIONS after preflight
Fixes #51
|
2014-10-07 14:55:11 -07:00 |
|
Joe Nelson
|
496e8421a9
|
Provide column default values in OPTIONS
Fixes #43
|
2014-10-07 11:56:54 -07:00 |
|
Joe Nelson
|
d66ffe8f31
|
Fix linter complaint
|
2014-10-03 22:49:31 -07:00 |
|
Joe Nelson
|
2f37b6caeb
|
Rudimentary cors feature spec
|
2014-10-03 16:00:06 -07:00 |
|
Joe Nelson
|
5eeb3a75b2
|
Regenerate ssl cert specifically for localhost
|
2014-10-03 13:54:47 -07:00 |
|
Adam C. Baker
|
bf494abb58
|
remove redundant import
|
2014-10-01 16:40:23 -07:00 |
|
Adam C. Baker
|
4c636b5512
|
slightly more specific error check.
|
2014-10-01 16:19:52 -07:00 |
|
Adam C. Baker
|
bfa6a968a6
|
more unit-y unit tests
|
2014-10-01 15:42:57 -07:00 |
|
Joe Nelson
|
7e9c224299
|
Configure roles and permissions suitable for Travis auth feature specs
|
2014-09-30 22:44:02 -07:00 |
|
Joe Nelson
|
598d70579e
|
WIP: change db roles based on HTTP basic auth headers
|
2014-09-29 22:52:02 -07:00 |
|
Joe Nelson
|
b29e07538c
|
Manage passwords with bcrypt
|
2014-09-29 17:45:36 -07:00 |
|
 Adam C. BakerandJoe Nelson
|
14fa20f0e6
|
addUser function.
|
2014-09-29 15:52:01 -07:00 |
|
Joe Nelson
|
2f584be0d6
|
HTTPS only
|
2014-09-29 14:06:20 -07:00 |
|
Joe Nelson
|
631f651f44
|
List table columns as array, not hash
|
2014-09-29 11:40:20 -07:00 |
|
Joe Nelson
|
29d278f6bd
|
One string conversion to rule them all
|
2014-09-28 10:41:37 -07:00 |
|
Adam C. Baker
|
37f2aef212
|
don't add bogus user.
|
2014-09-26 17:50:51 -07:00 |
|
Adam C. Baker
|
34b53dd6b4
|
don't bother with access to public in schema fixture.
|
2014-09-26 17:36:26 -07:00 |
|
Adam C. Baker
|
f203982527
|
have test fixtures load roles too.
|
2014-09-26 16:58:55 -07:00 |
|
Adam C. Baker
|
a93065a887
|
specify schema as a string everywhere in the app.
This will make it easier to support semantic API versioning,
and makes code reuse easier right now.
|
2014-09-26 12:51:36 -07:00 |
|
Adam C. Baker
|
cf5510c425
|
upgrade hspec-wai, get tests passing.
|
2014-09-24 19:08:05 -07:00 |
|
Joe Nelson
|
9f2a01ae46
|
WIP: do crazy postgres upsert
|
2014-09-09 22:46:42 -07:00 |
|
Joe Nelson
|
22114532e6
|
WIP: put requests
|
2014-09-07 22:03:45 -07:00 |
|
Joe Nelson
|
a4227b94d8
|
Add Content-Location header to GET responses
Fixes #26
|
2014-09-07 17:01:35 -07:00 |
|
Joe Nelson
|
4d81959a2a
|
Fix Location link in post to db lacking a primary key
Fixes #29
|
2014-09-07 14:12:51 -07:00 |
|
Joe Nelson
|
d166cbc371
|
Test range truncation and single-item requests
|
2014-09-07 12:54:30 -07:00 |
|
Joe Nelson
|
fcdc37d20b
|
Reject ranges that start beyond last item
|
2014-09-07 12:47:07 -07:00 |
|
Joe Nelson
|
db7ccda74d
|
Test for no results case
|
2014-09-07 11:02:43 -07:00 |
|
Joe Nelson
|
63e3d69f4d
|
Be stricter about partial content response
|
2014-09-07 10:47:57 -07:00 |
|
Joe Nelson
|
7802fa5b7e
|
Respond with 200 or 206 in ranged responses
|
2014-09-07 09:38:30 -07:00 |
|
Adam C. Baker
|
7c93c788fa
|
fucking redundant import warnings breaking my build.
|
2014-09-04 13:09:27 -07:00 |
|
Adam C. Baker
|
9cae4f1354
|
test insert errors.
|
2014-09-04 01:01:27 -07:00 |
|
Adam C. Baker
|
e7344bf16f
|
extract test type, add useful functionality.
|
2014-09-04 01:00:48 -07:00 |
|