Dan Sosedoff
567a119745
Run CI on pull requests
2022-12-12 15:03:09 -06:00
Dan Sosedoff
3a3fc951e7
Tweak the pg dump incompatibility error message
2022-12-12 14:51:46 -06:00
Dan Sosedoff
859af81206
Drop third-party package to deal with versions
2022-12-09 22:38:45 -06:00
Dan Sosedoff
8321ce3ec4
Fix small typos in comments
2022-12-09 21:08:01 -06:00
Dan Sosedoff
480a922501
Add extra test
2022-12-09 17:52:30 -06:00
Dan Sosedoff
8bc293432d
Fix attachment filenames cleanup function
2022-12-09 17:46:55 -06:00
Dan Sosedoff
83838fa022
Add extra test to validate against empty server version
2022-12-09 17:22:08 -06:00
Dan Sosedoff
7f2a3d980f
Fix dump tests
2022-12-09 17:19:50 -06:00
Dan Sosedoff
68518d725f
Perform client vs server version checking before dump exports
2022-12-09 17:13:01 -06:00
Dan Sosedoff
9fe2b5c109
Add func to parse out pg_dump version
2022-12-09 16:07:58 -06:00
Dan Sosedoff
7557ac854e
Configure client side query timeout ( #610 )
...
* Configure client side query timeout
* Update test command on windows
* Make query timeout cli opt an uint
* Fix windows test command
* Check for updates when rendering connection page
* Fix typo
2022-12-08 15:07:40 -06:00
Dan Sosedoff
0008842a68
Add test for server type and version detection ( #612 )
2022-12-08 13:33:38 -06:00
Dan Sosedoff
1754274d46
Fix ui flake when switching to activity and connection tabs
2022-12-08 12:43:42 -06:00
Dan Sosedoff
dc2b8f7c5e
Switch windows tests from Appveyor to Github Actions ( #611 )
...
* Run unit tests on win in gha
* Decomissions appveyor 🫡
2022-12-07 22:17:19 -06:00
Dan Sosedoff
d08dbf34aa
Implement global query timeout option ( #609 )
...
* Add global query timeout
* Tweak option settings
* Add timeout test
* Move query timeout option close to idle timeout
2022-12-07 18:56:58 -06:00
Dan Sosedoff
adf1e4e9ea
Change go version in the module
2022-12-07 17:15:46 -06:00
Dan Sosedoff
138fd8af09
Remove stray console.log
2022-12-07 12:04:33 -06:00
Dan Sosedoff
38051b9465
Add support for user functions ( #608 )
...
* Add initial support for functions
* Show functions definitions
* Fix client tests
* Fix schema objects search
* Perform partial matching for functions
* Add function test
* Make sure to close client connections so that database could be dropped in tests
* Fix lint
* Allow to copy the view/functions definitions
* Nits
2022-12-07 11:58:07 -06:00
Dan Sosedoff
bbe9a97d05
Switch go build target to 1.19 ( #603 )
...
* Switch go build target to 1.19
* Add make docker-run target for testing new images
* Bump appveyor go version
* Fix appveyor paths
2022-12-06 18:34:08 -06:00
Dan Sosedoff
2c745fa68d
Use runtime-provided os/arch info
2022-12-06 18:14:47 -06:00
Dan Sosedoff
88557bfaf5
Fix awk param reference in BUILD_ARCH flag
2022-12-06 18:02:20 -06:00
Dan Sosedoff
829658ae4d
Include build arch info into binary
2022-12-06 17:55:27 -06:00
Dan Sosedoff
f48cc5f007
Use go embed to load queries from static files ( #607 )
2022-12-06 17:41:46 -06:00
Dan Sosedoff
f4b3091666
Merge pull request #605 from sosedoff/log-level
...
Configure logging level and format
2022-12-06 12:41:56 -06:00
Dan Sosedoff
66fbc730fe
Only include form for non-get requests
2022-12-06 12:30:43 -06:00
Dan Sosedoff
2f9d737515
Move request parameters logging into api request logger
2022-12-06 12:24:21 -06:00
Dan Sosedoff
dda70352c0
Dont include request path in the log twice
2022-12-06 12:14:55 -06:00
Dan Sosedoff
dbd3b26f6c
Configure logging level and format
2022-12-06 12:09:21 -06:00
Dan Sosedoff
e6f8153b34
Merge pull request #604 from sosedoff/version-print-cleanup
...
Add VersionString func to print out full app version
2022-12-06 11:51:42 -06:00
Dan Sosedoff
97e41fbfe5
Add VersionString func to print out full app version
2022-12-06 11:27:47 -06:00
Dan Sosedoff
3e1a93296e
Pass ldflags for make install
2022-12-06 11:09:13 -06:00
Dan Sosedoff
e188dd5850
Merge pull request #602 from sosedoff/json-time-marshalling-fix
...
Fix panic with time marshaling
2022-12-05 21:52:37 -06:00
Dan Sosedoff
be81fdab41
Fix panic with time marshalling
2022-12-05 21:47:39 -06:00
Dan Sosedoff
5228eca9ae
Merge pull request #601 from sosedoff/update-delete-with-returning-values
...
Handle returning values in update/delete queries
2022-12-05 21:12:46 -06:00
Dan Sosedoff
e3d69d3cfa
Fix lint
2022-12-05 21:01:08 -06:00
Dan Sosedoff
450badfbbb
Handle returning values in update/delete queries
2022-12-05 20:56:21 -06:00
Dan Sosedoff
1cd79005c3
Merge pull request #600 from sosedoff/fly-ci-cd
...
Setup fly deployment
2022-12-05 18:00:23 -06:00
Dan Sosedoff
443208b217
Change name to demo
2022-12-05 18:00:03 -06:00
Dan Sosedoff
6b0abf1edc
Swap the deploy branch
2022-12-05 17:58:26 -06:00
Dan Sosedoff
7ca17fdd2c
Fix env var
2022-12-05 17:50:31 -06:00
Dan Sosedoff
098b24c276
Setup fly deployment
2022-12-05 17:49:49 -06:00
Dan Sosedoff
85b76960c3
Merge pull request #599 from sosedoff/resizable-query-height
...
Make query input box resizable
2022-12-05 17:14:51 -06:00
Dan Sosedoff
965f1f6eae
Set min height of 100pix
2022-12-05 16:59:49 -06:00
Dan Sosedoff
9b086365d0
Minimize resize handlers code
2022-12-05 16:51:33 -06:00
Dan Sosedoff
fbc228eb6c
Make query input box resizable
2022-12-05 16:35:57 -06:00
Dan Sosedoff
97497b12f5
Merge pull request #597 from sosedoff/dev-assets-mode
...
Enable dev assets mode with PGWEB_ASSETS_DEVMODE env var
2022-12-03 20:47:54 -06:00
Dan Sosedoff
695a99dade
Enable dev assets mode with PGWEB_ASSETS_DEVMODE env var
2022-12-03 18:27:46 -06:00
Dan Sosedoff
be9a564874
Merge pull request #594 from sosedoff/view-definition-extras
...
Add ability to view and copy views/materialized views definitions
2022-12-03 17:01:44 -06:00
Dan Sosedoff
e6c5075f7c
Add ability to display view definition
2022-12-03 16:50:11 -06:00
Dan Sosedoff
d3ff23ddfe
Add context menu for materialized views
2022-12-03 16:50:11 -06:00