Aleksandra Sikora
b829520f49
console: fix imports and raw sql regression
...
* Fixed imports ('../../../Common/utils/v1QueryUtils' -> '../../../../metadata/queryUtils') which will fix adding and dropping action permissions and table enum toggle.
* Fixed regression from 0dd1e4d58a (diff-2016a81d31343f475f94d13fe21aad0f56664f386c0455210021dc197b3d1dadL173)
regarding setting `track this` for functions.
GitOrigin-RevId: 458b84ba06f002c89b5615dbef8c76920a978824
2021-01-18 19:03:37 +00:00
Aleksandra Sikora
5aedaace28
console: support volatile functions ( close #6228 )
...
Close https://github.com/hasura/graphql-engine/issues/6228
GitOrigin-RevId: 814c38846f49abd8c5ee48129e61d1a00b81a41e
2021-01-13 04:22:40 +00:00
Aleksandra Sikora
07bde9f577
console: tests improvements and misc fixes to multiple data sources ( #315 )
...
GitOrigin-RevId: db7dfce97ac5303cc09974ad7db97beb31e1ae18
2021-01-11 08:04:12 +00:00
Rakesh Emmadi
be62641f68
server: multi source metadata APIs ( #217 )
...
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
Co-authored-by: Anon Ray <ecthiender@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <vishnubharathi04@gmail.com>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
Co-authored-by: Sameer Kolhar <kolhar730@gmail.com>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
GitOrigin-RevId: 0dd1e4d58ab81f1b4ce24de2d3eab709c2755e6d
2021-01-07 09:05:19 +00:00
hasura-bot
862f160ee6
console: select first operator by default on the browse rows screen ( close #5729 ) ( #93 )
...
Co-authored-by: Dmitrii Grachikov <dgrachikov@gmail.com>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
GITHUB_PR_NUMBER: 6032
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6032
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
Co-authored-by: Dmitrii Grachikov <dgrachikov@gmail.com>
GitOrigin-RevId: 44c2f5f082e3bd854a72abf56ca665bc1b213160
2020-11-24 16:17:57 +00:00
Sameer Kolhar
18e4c103ad
console: add option to flag an insertion as a migration ( close #1766 ) ( #4993 )
...
https://github.com/hasura/graphql-engine/pull/4993
2020-09-29 17:15:39 +00:00
Aleksandra Sikora
b93da39b5c
console: fix remove column
test ( #5622 )
2020-08-20 16:32:45 +02:00
Rikin Kachhia
d1032b2414
console: make add column UX consistent with others ( #5486 )
2020-07-30 22:54:20 +02:00
Rikin Kachhia
56da4891c3
console: UI updates ( #5427 )
...
- Schema page
- Keep function sections expanded by default
- Add Know more link for relationships
- Table relationships page
- Add tooltips / know more links
- Update add table relationship UI
- Remote relationships -> remote schema relationships
- Make remote relationships UI consistent
- Events pages
- fix breadcrumbs
- update scheduled trigger info image
- add note regarding UTC timezone based events to tooltip for cron triggers
2020-07-21 18:21:34 +05:30
Gokul
b9918e0eac
console: allow configuring statement timeout on console RawSQL page ( close #4998 ) ( #5045 )
2020-07-01 22:06:24 +02:00
Aleksandra Sikora
f2428e3984
console: allow manual edit of column types and handle array data types ( close #2544 , #3335 , #2583 ) ( #4546 )
2020-06-18 12:43:19 +02:00
soorajshankar
cb3252cf07
console: allow configuring session_argument for custom functions ( close #4499 ) ( #4922 )
2020-06-11 14:38:32 +02:00
Aleksandra Sikora
547e658b6d
console: replace remote schema url in tests ( #5011 )
...
* console: replace remote schema url
* Rename lint to console lint
2020-06-08 17:45:43 +05:30
Rishichandra Wawhal
aaab6d3eb6
console: add scheduled triggers support ( #4732 )
2020-06-05 13:40:08 +05:30
Aleksandra Sikora
af0d4d8f08
console: replace remote schema url in tests ( #4964 )
2020-06-02 12:41:14 +05:30
soorajshankar
b2fd57a8e2
console: fix visiting view modify page overwriting raw sql content ( close #4798 ) ( #4810 )
2020-05-29 14:11:02 +05:30
Raj Anand
1b442fc2dd
console: migrate cypress tests to TypeScript ( #4550 )
2020-05-27 14:56:29 +05:30
Aleksandra Sikora
8a2d90cfb1
console: fix bulk selected rows state in data browser ( close #4654 ) ( #4673 )
2020-05-14 18:55:57 +05:30
Fadi Khadra
cd1c562073
console: allow modifying default value for PK ( close #4075 ) ( #4679 )
2020-05-12 11:46:48 +05:30
Antoine Leblanc
66e18b7dee
console: support materialized views ( close #91 ) ( #4270 )
2020-04-24 15:13:42 +05:30
Aleksandra Sikora
447aac3692
console: allow adding post-update checks in update permissions ( close #4142 ) ( #4313 )
2020-04-22 17:55:10 +05:30
Aleksandra Sikora
36c92db991
console: add multi select in browse rows to allow bulk delete ( close #1739 ) ( #3735 )
2020-03-11 18:55:36 +05:30
Alexis King
d86a3d9501
Use fine(er)-grained dependency tracking when building permissions
...
This changes TableCoreCacheT to internally record dependencies at a
per-table level. In practice, this dramatically improves the performance
of building permissions: it makes it far, far less likely for
permissions to be needlessly rebuilt because some unrelated table
changed.
2020-01-08 16:45:54 -06:00
Anne Ogborn
dc1748b539
display untrackable functions on schema page ( close #2249 ) ( #2773 )
2019-11-15 20:23:57 +05:30
Rishichandra Wawhal
1d1de94303
better key persistence in console ( #2686 )
...
* change login flow to handle admin secret persistence
* handle headers init state
* add tooltip for remember-me
* remove log, make label clickable
* fix a closure scope bug
* handle login verification at route level
* update Login.js
* refactor
* remove extra file
* refactor
* add id to tooltips
* remove adminsecretlabel + update admin secret storage flow
* fix heartIcon close handling
* .
* fix admin secret setting
* fix urlPrefix
* add admin secret header if not present
* update jwt analyzer icon
* persist if admin secret header has already been added
* set cli console mode as constant
* handle CLI admin secret errors
* make separate logout page
* fix typos
* fix typos
* fix typos
* fix typos
* fix cli error
* fix login page path
2019-09-25 21:16:28 +05:30
IMRAN KHAN
1487cc1d26
make destructive actions on console require typed out confirmation ( close #1469 ) ( #2400 )
2019-09-10 20:32:04 +05:30
Rikin Kachhia
eea1e33d19
fix console insert/edit row glitches ( close #2840 , #2665 ) ( #2843 )
2019-09-09 19:37:26 +05:30
Rikin Kachhia
4bdf965d87
fix table permissions page UX glitches ( #2763 )
2019-08-23 18:04:41 +05:30
Rikin Kachhia
e3f68dbb67
add support for column comparision operators in permissions builder ( close #2040 ) ( #2606 )
2019-07-29 14:58:27 +05:30
Aravind Shankar
c17bf2f94b
create down migration when a column is dropped ( close #2291 ) ( #2385 )
2019-06-26 18:42:44 +05:30
Karthik Venkateswaran
93a7c2c734
suggest column default values ( #2352 )
2019-06-18 23:03:54 +05:30
Rikin Kachhia
00e911e3cd
update table rename handling ( #2393 )
2019-06-18 23:00:56 +05:30
Aravind Shankar
be5316a984
support multi-column manual relationships from console ( close #2007 ) ( #2332 )
2019-06-10 20:18:15 +05:30
Aravind Shankar
f9fc0cc5e3
fix console schema update quirks ( #2286 )
2019-05-29 19:44:21 +05:30
Aravind Shankar
e0a0e3a872
fix handling tables with capitals in name ( close #2266 ) ( #2267 )
2019-05-25 13:12:21 +05:30
Aravind Shankar
2cdb1a1508
refactor schema management in console and misc fixes ( #2016 )
...
close #1704 , #2174 , #2188 , #2006 , #2031 , #1617 , #1882
2019-05-24 19:30:44 +05:30
Karthik Venkateswaran
8a9901d417
add all PG column types in table add / modify ( close #223 , #2035 , #394 , #2038 ) ( #1933 )
2019-05-22 16:53:30 +05:30
Rishichandra Wawhal
9940ae1992
update modify table tests ( #2245 )
2019-05-22 12:08:32 +05:30
Rishichandra Wawhal
5c07ebc512
support composite unique keys from the console ( close #506 ) ( #2148 )
2019-05-15 16:59:09 +05:30
Rikin Kachhia
ed3e9caf2f
fix console bugs ( close #2030 , #2032 , #226 ) ( #2044 )
...
* fix timestamp column shown as text in modify section
* fix foreign key update bug in case of capital letters in name
* show column type, default value, constraint names as properties in modify section
* display disabled action btns in browse rows if no primary key set
* add tooltips to event trigger / remote schema try it out examples
2019-04-24 13:05:05 +05:30
Rakesh Emmadi
1d7cbc7f24
recover from inconsistent database state ( closes #231 ) ( #1863 )
2019-04-17 21:59:39 +05:30
Rikin Kachhia
1a4f172f6e
update console permissions ui ( #1924 )
...
* Make permissions sections as collapsibles with tooltips
* Remove 'use same permission as select' type options from row permissions section
* Added clone section to apply same permission to any table-role-action
* Disable other subsections till row permissions are set
2019-04-09 17:25:02 +05:30
Rishichandra Wawhal
70cd78fec0
support composite foreign keys and primary keys through console ( close #1707 ) ( #1854 )
2019-04-08 18:47:02 +05:30
Rikin Kachhia
da4ed1a808
fix console browse rows bugs ( #1691 )
2019-03-04 20:32:28 +05:30
Rakesh Emmadi
6c20ca8a55
allow renaming tables, columns and relationships ( close #79 ) ( #1542 )
2019-03-01 14:47:22 +05:30
Rishichandra Wawhal
00227728cb
add "*" for insert and delete columns when creating and modifying trigger ( close #1629 ) ( #1673 )
...
This PR adds "*" as columns for insert and delete so that there are no column dependencies on event triggers and users can drop/modify columns whenever they want.
```
{
"type": "bulk",
"args": [{
"type": "create_event_trigger",
"args": {
"name": "test",
"table": {
"name": "user",
"schema": "public"
},
"webhook": "http://httpbin.org/post ",
"insert": {
"columns": "*"
},
"update": {
"columns": ["col1", "col2"]
},
"delete": {
"columns": "*"
}
"headers": []
}
}]
}
```
2019-03-01 11:13:10 +05:30
Rishichandra Wawhal
386ab81b96
make events and remote-schema tabs independent of update checker ( #1604 )
...
* fix a bug where update check request failure would stop remote-schemas and event triggers tab from loading
* update graphiql test for with and without admin secret
* remove dev data api url from localDev env
2019-02-17 17:14:52 +05:30
Rikin Kachhia
75674859b3
update console permissions ( close #1503 , #1529 , #1567 , #1470 ) ( #1605 )
...
* show roles from all tables/views in the schema
* show operators and set values based on field type in permission builder
* add support for jsonb and postgis operators in permission builder
* add note for permissions for relationships
* enable only one Save permissions button if apply to other roles is selected
2019-02-17 16:06:29 +05:30
nizar-m
f83a8e591f
rename access-key to admin-secret ( close #1347 ) ( #1540 )
...
Rename the admin secret key header used to access GraphQL engine from X-Hasura-Access-Key to X-Hasura-Admin-Secret.
Server CLI and console all support the older flag but marks it as deprecated.
2019-02-14 15:07:47 +05:30
Tirumarai Selvan
51dd6157e1
remove wreq and set response timeout ( close #1477 ) ( #1501 )
2019-02-14 13:07:59 +05:30