Commit Graph
4319 Commits
Author SHA1 Message Date
Adam C. Baker e4669dcb37 handle all requests in a transaction. 2014-10-10 17:16:56 -07:00
Adam C. Baker 57f4d478fc pending failing options test. 2014-10-10 17:01:20 -07:00
Adam C. Baker a973020748 handle inserting no data correctly
with "insert into [table] default values"
2014-10-10 16:52:01 -07:00
Adam C. Baker 0879ed7110 flip app args 2014-10-10 15:54:05 -07:00
Joe Nelson 94e0a4b96a Merge pull request #65 from begriffs/put-status-code
Successful PUT requests actually return 200
v0.1.0.0
2014-10-10 11:50:15 -07:00
Joe Nelson a34051b177 Successful PUT requests actually return 200 2014-10-09 18:00:37 -07:00
Adam C. Baker ddc5b789f2 Merge pull request #64 from begriffs/cleanup
Cleanup
2014-10-09 15:18:35 -07:00
Adam C. Baker e5db9bc58e remove top level binding in test script 2014-10-09 14:14:53 -07:00
Adam C. Baker ef6b38ea1e reformat raw sql for readability 2014-10-09 14:11:35 -07:00
Adam C. Baker ea17642f08 Better error for mkColumn 2014-10-09 14:11:21 -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
Joe Nelson 64e3d21889 Merge pull request #61 from begriffs/enum
Include "enum" field in column details
2014-10-08 17:05:05 -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 c9fc2154ab fix basic auth parsing 2014-10-08 16:37:30 -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 f0bb14d5fd Merge pull request #60 from begriffs/auth-feature-specs
Auth feature specs
2014-10-08 15:08:49 -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 b00a7e4402 Merge pull request #59 from begriffs/slack
Slack notifications for travis builds
2014-10-08 12:23:56 -07:00
Joe Nelson a85432e3cc Slack notifications for travis builds
And ignoring anvil build artifacts
2014-10-08 12:00:24 -07:00
Joe Nelson 005c45d606 Merge pull request #57 from begriffs/cors-info-body
Allow browsers to load table OPTIONS after preflight
2014-10-07 15:08:54 -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 4cec11ffbe Merge pull request #55 from begriffs/defaults_in_options
Provide column default values in OPTIONS
2014-10-07 12:02:30 -07:00
Joe Nelson 496e8421a9 Provide column default values in OPTIONS
Fixes #43
2014-10-07 11:56:54 -07:00
Joe Nelson 1a7f895f6b Merge pull request #50 from begriffs/ci-cache
Use a cached cabal sandbox
2014-10-03 22:56:55 -07:00
Joe Nelson d66ffe8f31 Fix linter complaint 2014-10-03 22:49:31 -07:00
Joe Nelson 01118c9579 Use cached cabal sandbox and add a linting step 2014-10-03 22:48:24 -07:00
Joe Nelson f824fbb647 Merge pull request #49 from begriffs/cors
Cors
2014-10-03 16:12:40 -07:00
Joe Nelson 2f37b6caeb Rudimentary cors feature spec 2014-10-03 16:00:06 -07:00
Adam C. BakerandJoe Nelson dac9f02578 allow options, capital Authorization. 2014-10-03 14:47:29 -07:00
Adam C. BakerandJoe Nelson 0067f60316 first pass at CORS handling. 2014-10-03 14:47:29 -07:00
Joe Nelson c32dd18c45 Merge pull request #47 from begriffs/better-cert
Better self-signed cert and accompanying documentation
2014-10-03 14:15:52 -07:00
Joe Nelson 6b325e0139 Make the anonymous pg role a mandatory argument 2014-10-03 13:56:02 -07:00
Joe Nelson 5eeb3a75b2 Regenerate ssl cert specifically for localhost 2014-10-03 13:54:47 -07:00
Joe Nelson c750977f7a Show only master branch build status in Travis icon 2014-10-02 16:04:30 -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 5e23dfcf32 Merge pull request #41 from begriffs/auth-test
more unit-y unit tests
2014-10-01 16:01:18 -07:00