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 |
|
Joe Nelson
|
a29f2dd107
|
Postgres on travis does not recognize lock_timeout
|
2014-11-06 14:48:15 -08:00 |
|
Joe Nelson
|
648c770cb4
|
Merge branch 'selective-transactions'
|
2014-11-06 14:22:23 -08:00 |
|
Joe Nelson
|
f1c374403a
|
Remove noisy notifications
|
2014-11-06 14:19:19 -08:00 |
|
Joe Nelson
|
5cbbe12b65
|
Use transactions for only patch and put
|
2014-11-06 14:19:19 -08:00 |
|
Joe Nelson
|
f58e3db924
|
Disable transactions for read-only requests
|
2014-11-06 14:19:19 -08:00 |
|
Joe Nelson
|
0e57bee90d
|
Merge pull request #93 from begriffs/repackage
declare required extensions
|
2014-11-06 13:56:47 -08:00 |
|
Joe Nelson
|
8c6b34aaf2
|
Merge branch 'native-sql-format'
|
2014-11-03 23:49:21 -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
|
36f7ac3ff4
|
Merge branch 'speed'
|
2014-11-02 00:44:57 -07:00 |
|
Joe Nelson
|
822c9aad22
|
Cannot use query param for set role. Concat should be safe though
|
2014-11-02 00:23:24 -07:00 |
|
Joe Nelson
|
1a83f2d344
|
Stop using strings, they are dog slow
|
2014-11-02 00:10:37 -07:00 |
|
Joe Nelson
|
28da88829e
|
Merge pull request #91 from begriffs/s3
Easy builds for Heroku
|
2014-10-28 20:09:32 -07:00 |
|
Joe Nelson
|
5453e1988c
|
Document heroku build
|
2014-10-28 20:05:15 -07:00 |
|
Joe Nelson
|
b09ca76333
|
Add optimization and s3 release script
|
2014-10-28 19:44:50 -07:00 |
|
Joe Nelson
|
12c1f0fa23
|
Merge pull request #90 from begriffs/server-header
Report server and version in headers
|
2014-10-28 17:30:57 -07:00 |
|
Joe Nelson
|
6a5b756cac
|
Report server and version in headers
|
2014-10-28 17:17:37 -07:00 |
|
Joe Nelson
|
aaf8a7fbfa
|
Merge pull request #89 from begriffs/release
cleanup connections on close.
|
2014-10-28 15:26:27 -07:00 |
|
Joe Nelson
|
f84ca1d615
|
Merge branch 'pool-opts'
Fixes #85
|
2014-10-21 16:21:01 -07:00 |
|
Joe Nelson
|
32e3396caf
|
Provide command-line flag for db pool size
|
2014-10-21 16:15:11 -07:00 |
|
Joe Nelson
|
563187f3c0
|
Merge pull request #86 from begriffs/user-management
Route for adding a new user
|
2014-10-21 15:37:44 -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
|
5953936c7a
|
Bump version
|
2014-10-21 10:51:03 -07:00 |
|
Joe Nelson
|
dfa27bace1
|
Merge branch 'pools'
|
2014-10-17 23:50:38 -07:00 |
|
Joe Nelson
|
36eeec6b17
|
Retry the sandbox curl on travis as needed
|
2014-10-17 23:46:47 -07:00 |
|
Joe Nelson
|
25ce4c00c6
|
Fix hlint
|
2014-10-17 18:13:48 -07:00 |
|
Joe Nelson
|
15d5143400
|
Merge branch 'json-parse'
|
2014-10-14 19:28: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 |
|
Joe Nelson
|
93c573ab4f
|
Issue 404 for nonexistent tables
Fixes #44
|
2014-10-14 18:58:55 -07:00 |
|
Joe Nelson
|
8876e533ed
|
Merge pull request #82 from begriffs/no-pending
All tests passing, none pending
|
2014-10-14 17:09:24 -07:00 |
|
Joe Nelson
|
37c0a2d831
|
All tests passing, none pending
Standardize the order of enum value lists
|
2014-10-14 15:03:07 -07:00 |
|
Joe Nelson
|
36b62de998
|
Merge pull request #79 from begriffs/favicon
Added a favicon, so important!
|
2014-10-14 13:47:15 -07:00 |
|
Joe Nelson
|
e15043f01a
|
Merge pull request #81 from begriffs/content-location
Fix Content-Location header when there are no params
|
2014-10-14 12:54:06 -07:00 |
|
Joe Nelson
|
f1feaecf27
|
Fix Content-Location header when there are no params
Fixes #68
|
2014-10-14 11:49:36 -07:00 |
|
Joe Nelson
|
f7751c45a2
|
Merge pull request #80 from begriffs/empty-response
Return [] rather than nothing on no results
|
2014-10-14 11:34:20 -07:00 |
|
Joe Nelson
|
aa992f0d92
|
Add constraint to wai-middleware-static
|
2014-10-14 11:32:12 -07:00 |
|
Joe Nelson
|
21e4e583ec
|
Return [] rather than nothing on no results
Fixes #70
|
2014-10-14 11:23:26 -07:00 |
|
Joe Nelson
|
17ada69411
|
Merge pull request #78 from begriffs/lookup
Remove getHeader, fixes #77
|
2014-10-14 11:14:48 -07:00 |
|
Joe Nelson
|
2338d000e1
|
Added a favicon, so important!
Fixes #71
|
2014-10-14 11:13:55 -07:00 |
|
Joe Nelson
|
80c55789b5
|
Remove getHeader, fixes #77
|
2014-10-14 10:30:23 -07:00 |
|
Joe Nelson
|
605c876bf5
|
Merge pull request #76 from begriffs/order-by
Accept order query param
|
2014-10-13 22:51:18 -07:00 |
|
Joe Nelson
|
fbb13f4ab3
|
Accept order query param
Fixes #66
|
2014-10-13 22:29:28 -07:00 |
|
Joe Nelson
|
901df91d6c
|
Merge pull request #75 from begriffs/errors
Errors
|
2014-10-13 18:23:59 -07:00 |
|
Joe Nelson
|
9c84cf9c3d
|
Fix lint warnings
|
2014-10-13 18:16:41 -07:00 |
|
Joe Nelson
|
bd1d365143
|
Merge pull request #69 from begriffs/https-redirect
Remove internal TLS, add option for HTTPS redirection
|
2014-10-13 12:09:33 -07:00 |
|
Joe Nelson
|
abccb295a3
|
Remove internal TLS, add option for HTTPS redirection
|
2014-10-12 19:52:20 -07:00 |
|
Joe Nelson
|
94e0a4b96a
|
Merge pull request #65 from begriffs/put-status-code
Successful PUT requests actually return 200
|
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 |
|
Joe Nelson
|
64e3d21889
|
Merge pull request #61 from begriffs/enum
Include "enum" field in column details
|
2014-10-08 17:05:05 -07:00 |
|
Joe Nelson
|
ecff987f31
|
Include "enum" field in column details
|
2014-10-08 16:51:42 -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 |
|