Vamshi Surabhi
24dcefb142
use bytestring builder to represent encoded json ( #1800 )
2019-03-18 21:52:21 +05:30
Vamshi Surabhi
f794653b69
update event triggers on rename operations ( #1684 )
2019-03-01 19:29:24 +05:30
Rakesh Emmadi
377290a058
breaking: correct (de)serialisation of postgres numeric types in json ( fix #1523 ) ( #1662 )
2019-03-01 17:15:04 +05:30
Tirumarai Selvan
51dd6157e1
remove wreq and set response timeout ( close #1477 ) ( #1501 )
2019-02-14 13:07:59 +05:30
Rakesh Emmadi
0bf2457e23
allow exposing postgres functions through GraphQL interface ( close #333 ) ( #1073 )
2019-01-25 09:01:54 +05:30
Tirumarai Selvan
6de17b303f
drop trigger functions on updating event triggers ( #1214 )
2018-12-15 10:35:29 +05:30
Vamshi Surabhi
ec8b2c80b5
refactor to remove warnings especially with orphan instances ( #1163 )
...
* remove phase one/two distinction and hdbquery typeclass
* move extensions to default-extensions
* switch to LazyTx which only acquires a connection if needed
* move defns from TH module into Ops module
* remove tojson orphan instance for http exception
* remove orphan instance for dmlp1
* getTopLevelNodes will not throw any exceptions
2018-12-13 12:56:15 +05:30
Anon Ray
512ee6fb9f
adds basic support for remote schemas/schema stitching ( #952 )
2018-11-23 18:32:46 +05:30
Vamshi Surabhi
47dcae1614
fix sql generation for boolean expressions, closes #853 ( #1037 )
...
When using self referential relationships in boolean expressions, the exists clause incorrectly uses the table names to qualify columns which will be the same for parent table and the child table. This is now fixed by generating unique aliases as we traverse down the relationships.
2018-11-16 18:10:23 +05:30
Tirumarai Selvan
317efb81f1
event triggers: take webhook url from env ( close #966 ) ( #968 )
2018-11-14 12:43:01 +05:30
Tirumarai Selvan
d4d31838cb
quote function and trigger names, allow hyphen in trigger name ( #1012 )
2018-11-13 11:28:55 +05:30
Tirumarai Selvan
baf7c493bc
respect retry-after header on event trigger response ( #525 )
2018-10-26 21:58:03 +05:30
Tirumarai Selvan
810b440089
trigger webhooks on column level changes instead of row ( close #547 , close #680 ) ( #550 )
2018-10-25 12:52:51 +05:30
Vamshi Surabhi
ac537330d0
explain a graphql query, similar to explain of an sql statement ( close #562 ) ( #805 )
2018-10-19 07:45:28 +05:30
Rakesh Emmadi
d57be587b3
format schema name and table name as identifiers in event triggers ( fix #639 ) ( #644 )
2018-10-09 12:09:20 +05:30
Rakesh Emmadi
fc7ea9213c
fix non-admin insert returns null column values when query affects zero rows in postgres ( fix #563 ) ( #565 )
...
Insert trigger function: If query affects no rows then return `null`
Insert trigger function is modified to have
`IF r IS NULL THEN RETURN null; ELSE RETURN r; END IF;` in return statement.
2018-09-29 11:12:47 +05:30
Tirumarai Selvan
2cd2b23b2d
add custom headers for webhooks, refactor retry logic ( #419 )
2018-09-24 17:20:11 +05:30
Tirumarai Selvan
c42af444f7
implement query to update an event trigger ( #367 )
2018-09-19 17:42:57 +05:30
Tirumarai Selvan
f94de38e4c
dont reload schema cache for event deliveries ( #453 )
2018-09-14 18:13:42 +05:30
Tirumarai Selvan
e905535beb
implement api to deliver a particular event ( close #371 ) ( #373 )
2018-09-07 17:21:01 +05:30
Tirumarai Selvan
82e09efce6
add event triggers ( #329 )
2018-09-05 16:56:46 +05:30