Jacky Hu
|
d1ed884a8d
|
Introduce the OpenAPI header
Also bring back the original behavior of GET "/"
|
2016-06-18 10:18:43 +08:00 |
|
Jacky Hu
|
4b0c5cb36f
|
Disable schema test
|
2016-06-18 10:18:43 +08:00 |
|
Joe Nelson
|
e315dbc91e
|
Include allow header in options response (#628)
|
2016-06-08 23:12:29 -07:00 |
|
Joe Nelson
|
cf16f90fab
|
Merge pull request #590 from begriffs/proper-403
Return proper 401/403 when access denied
|
2016-05-17 22:56:55 -07:00 |
|
Ruslan Talpa
|
9e6542680b
|
Fix include entities from the same parent table using two different foreign keys
|
2016-05-16 15:36:18 +03:00 |
|
Joe Nelson
|
18e3c30ad8
|
Return proper 401/403 when access denied
Fixes #584
|
2016-05-15 00:56:47 -07:00 |
|
Ruslan Talpa
|
62af792add
|
Add failing test to test correct view column detection
|
2016-02-29 11:37:23 +02:00 |
|
Joe Nelson
|
d7fe59f0b0
|
WIP: share server code between tests and program
- Share server code in Main
- Switch to hasql-pool
- Use pool in tests
- DRY up test runner
|
2016-02-21 12:22:18 -08:00 |
|
 calebmerandJoe Nelson
|
33757e537b
|
Fix options on non existant tables, closes #442
|
2016-02-03 11:20:45 -08:00 |
|
Joe Nelson
|
b9fd083c77
|
It all compiles but all requests give a postgres error
|
2016-01-24 18:09:19 -08:00 |
|
Joe Nelson
|
fec316b087
|
WIP: fixing compiler errors in specs
|
2016-01-24 18:09:19 -08:00 |
|
Simone Scarduzio
|
74d76c690f
|
Adding two test cases for 469
|
2016-01-24 14:52:14 +00:00 |
|
calebmer
|
3a3d4038cb
|
Add tests for wierd usecases
|
2015-12-29 15:24:27 -05:00 |
|
Ruslan Talpa
|
4544ce3255
|
Fix #399 insert records in tables with no SELECT privileges
|
2015-12-16 10:16:14 +02:00 |
|
Joe Nelson
|
b3144aee15
|
Cache schema structure between tests for speed
Causes one test to fail
|
2015-12-10 13:36:28 -08:00 |
|
Ruslan Talpa
|
a6512a2a69
|
Test and fixes for #407 #403 #107
|
2015-12-09 20:59:42 +02:00 |
|
Diogo Biazus
|
63805d05a1
|
Removes GRANT ALL and let Structure spec pending
|
2015-12-08 11:11:48 -05:00 |
|
Joe Nelson
|
f4c73c7666
|
Test for --max-rows behavior
|
2015-12-05 19:31:53 -08:00 |
|
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 |
|