calebmer
|
16af8fc61e
|
Better relations for views
- Better column synonyms detection
- Raise relations to accessible schema when possible
|
2015-11-11 09:11:57 -05:00 |
|
calebmer
|
7560fafbab
|
Refactor DbStructure
- Rename `dbstructure` to `db` in App.hs
- Rename PgStructure* to DbStructure*
- Move `DbStructure` creation to DbStructure.hs
|
2015-11-11 09:03:06 -05:00 |
|
Diogo Biazus
|
a192cadced
|
All green :D
|
2015-10-20 19:23:12 -04:00 |
|
calebmer
|
02c405ad80
|
Remove versioning feature
|
2015-10-11 13:16:59 -04:00 |
|
Diogo Biazus
|
4dd508a628
|
Adds a failing spec for child relation (comments) using a composite foreign key (references to users_tasks)
|
2015-10-03 15:02:02 -04:00 |
|
Ruslan Talpa
|
c7666c0a67
|
tests for table relations & bugfix for not detecting child relations of view
|
2015-10-01 14:20:40 +03:00 |
|
Ruslan Talpa
|
54d1e4112a
|
detect primary keys for views & use cached info in PUT/PATCH requests
|
2015-09-25 10:30:19 +03:00 |
|
Ruslan Talpa
|
8783615ebc
|
detect primary keys for views (fix #217)
|
2015-09-24 23:30:47 +03:00 |
|
Ruslan Talpa
|
9c8ac2a489
|
tests for &select= feature and support for casting columns (usefull when extracting subfields from json columns)
|
2015-09-05 15:05:53 +03:00 |
|
Joe Nelson
|
cd6b688f7f
|
Merge pull request #244 from diogob/adds_materialized_views_to_root
Adds materialized views to list of relations in GET / [#242]
|
2015-08-01 16:16:23 -07:00 |
|
Diogo Biazus
|
ab0170ffaf
|
Adds materialized views to list of relations in GET / [#242]
|
2015-08-01 01:09:12 -04:00 |
|
Diogo Biazus
|
449cacdacf
|
Fixes error code 42803 when trying to query a view with a column named count.
|
2015-08-01 00:15:17 -04:00 |
|
Joe Nelson
|
956f73d997
|
Regression test for situation reported in issue #203
|
2015-07-03 22:51:04 -07:00 |
|
Diogo Biazus
|
f4011e5d8c
|
Changes the insertable to true in views that are insertable through triggers [fixes #206]
|
2015-06-22 00:16:23 -04:00 |
|
Diogo Biazus
|
4277284a69
|
Adds table tsearch to test for @@ operator against a tsvector field. Fixes StructureSpec accordingly.
|
2015-05-22 12:15:14 -04:00 |
|
Federico Rampazzo
|
77aecc9e86
|
JWT support
|
2015-05-20 06:01:50 +01:00 |
|
Joe Nelson
|
9792b9b46a
|
Allow filtering by values inside json columns
|
2015-04-04 17:38:54 -07:00 |
|
Joe Nelson
|
e37d5d9b25
|
Style tweak
|
2015-02-15 15:59:49 -08:00 |
|
Adam C. Baker
|
c9b960f955
|
only create schema once
|
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
|
dbe1f59066
|
Update project name in strings
Fixes #105
|
2014-12-17 10:24:24 -08:00 |
|
Joe Nelson
|
19b62c00ee
|
Enclose entire app response in single Tx
|
2014-12-12 13:55:09 -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
|
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
|
f6b7b42d75
|
Feature specs compile
|
2014-12-06 17:42:20 -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
|
37c0a2d831
|
All tests passing, none pending
Standardize the order of enum value lists
|
2014-10-14 15:03:07 -07:00 |
|
Adam C. Baker
|
57f4d478fc
|
pending failing options test.
|
2014-10-10 17:01:20 -07:00 |
|
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 |
|
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 |
|
Joe Nelson
|
496e8421a9
|
Provide column default values in OPTIONS
Fixes #43
|
2014-10-07 11:56:54 -07:00 |
|
Joe Nelson
|
631f651f44
|
List table columns as array, not hash
|
2014-09-29 11:40:20 -07:00 |
|
Adam C. Baker
|
cf5510c425
|
upgrade hspec-wai, get tests passing.
|
2014-09-24 19:08:05 -07:00 |
|
Joe Nelson
|
7802fa5b7e
|
Respond with 200 or 206 in ranged responses
|
2014-09-07 09:38:30 -07:00 |
|
Joe Nelson
|
e454fc4526
|
Include no_pk table for future tests
|
2014-08-27 19:53:18 -07:00 |
|
Joe Nelson
|
d06674a1e8
|
Test insertion of various json types
|
2014-08-27 12:48:41 -07:00 |
|
Joe Nelson
|
c007dbb2b2
|
WIP: Testing compound key insert reveals weird type conversion
|
2014-08-25 19:43:23 -07:00 |
|
Joe Nelson
|
eef7860922
|
Test failed post, and clean up specs
|
2014-08-25 17:27:21 -07:00 |
|
Joe Nelson
|
f34f8d8c35
|
Separate tests into groups
Also test content of insert redirect
|
2014-08-25 16:53:44 -07:00 |
|