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
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
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
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
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
695a99dade
Enable dev assets mode with PGWEB_ASSETS_DEVMODE env var
2022-12-03 18:27:46 -06:00
Dan Sosedoff
1b42caf3a7
Fix flaky backend connection test
2022-12-03 16:42:30 -06:00
Dan Sosedoff
96625916e2
Tweak http message logger format
2022-12-03 15:11:45 -06:00
Dan Sosedoff
07d0010750
Make linter happy
2022-12-02 14:22:50 -06:00
Dan Sosedoff
16726e2461
Add idle timeout into session manager
2022-12-02 14:20:20 -06:00
Dan Sosedoff
0a133dc395
Reorder imports
2022-12-02 14:00:01 -06:00
Dan Sosedoff
73dfcc46c3
Verify client is closed
2022-12-02 13:59:22 -06:00
Dan Sosedoff
bc54c95140
Tweak test run names
2022-12-02 13:57:56 -06:00
Dan Sosedoff
29a6a0df8c
Add session manager tests
2022-12-02 13:56:49 -06:00
Dan Sosedoff
9074d4bfb8
Add internal sessions manager
2022-12-02 13:36:31 -06:00
Dan Sosedoff
e7ac416440
Sanitize connect token in logging
2022-12-02 12:20:58 -06:00
Dan Sosedoff
f19f165afc
Configure logger for connect backend
2022-12-02 11:45:23 -06:00
Dan Sosedoff
f9e376a117
Code cleanup; add make lint task
2022-12-01 16:51:12 -06:00
Dan Sosedoff
dafda4a977
Add VersionInfo struct to render in the /info endpoint
2022-12-01 16:41:46 -06:00
Dan Sosedoff
72ecd20dd1
Handle logger levels
2022-12-01 13:01:32 -06:00
Dan Sosedoff
c996d71378
Implement gin request logger with param filtering
2022-12-01 13:01:32 -06:00
Dan Sosedoff
9bfec11b48
Fix linting errors
2022-11-14 16:10:50 -06:00
Dan Sosedoff
e2f5e06c07
Add connect backend tests ( #546 )
2022-01-08 14:45:21 -06:00
Dan Sosedoff
0794c642e4
Use HTTP 302 status code for successful backend redirect ( #544 )
2022-01-08 12:25:24 -06:00
Tim Ings
17e95601ec
Explain analyze dropdown button ( #532 )
...
* Adds bootstrap dropdown plugin
* Float dropdown toggle left
* Extract query running message toggles
* Adds analyze function and api call
* Adds analyze api
2022-01-03 19:05:46 -06:00
Dan Sosedoff
ccfa3497f3
GitHub actions migration ( #540 )
2021-12-25 11:31:41 -06:00
Dan Sosedoff
46935a7a12
Fix broken path prefix
2021-08-10 12:12:05 -05:00
Nikita Kazarian
8e2c826ba3
go 1.16 features
...
- use go embed instead of go-binary and remove all about old assets (go 1.16 feature)
- pin gox version (go 1.16 feature)
- update ci to go 1.16
2021-03-05 03:47:01 +03:00
Simon Hanna
27a83bdf9e
Do not show other databases if session is locked
...
Fixes : #470
2020-07-15 18:11:05 +02:00
Dan Sosedoff
43a2945208
Include go version into info response
2019-12-04 20:29:23 -06:00
Dan Sosedoff
8428d268b1
Lint
2019-11-02 13:00:23 -05:00
Dan Sosedoff
7475f398b1
Add support for encrypted ssh keys
2019-11-02 12:44:04 -05:00
Dan Sosedoff
7a6450091a
Code formatting and cleanup ( #442 )
...
* Formatting, extract error messages
* More refactor
* Move errors to a separate file
* Add missing file
* Misc
2019-09-29 12:16:42 -05:00
Sylvain DOIGNON
5bb339e1a2
fix SQL export filename
2019-07-31 14:43:55 +02:00
Dan Sosedoff
d48172986e
Fix error when automatic user detection fails
2019-01-28 14:03:45 -06:00
Dan Sosedoff
794e5a22c1
Rename command.VERSION to command.Version
2018-12-13 22:35:43 -06:00
Dan Sosedoff
a5b8e02a98
Cleanup backend handler
2018-12-01 22:35:11 -06:00
Dan Sosedoff
72af00f1b7
Refactor api package
2018-11-30 21:40:28 -06:00
Dan Sosedoff
abb143601b
Add test for serverResult func
2018-11-05 17:07:32 -06:00
Dan Sosedoff
35641e5957
Remove failing mime types from test
2018-08-31 22:01:51 -05:00
Dan Sosedoff
ad81f666a5
Switch to dep for dependency management
2018-08-31 21:49:24 -05:00
Dan Sosedoff
b18af0b907
Merge pull request #358 from sosedoff/check-for-pgdump
...
Check if pg_dump is available before running database export
2018-04-26 00:14:17 -05:00
Dan Sosedoff
0b095f43bb
Restructure routes
2018-04-25 23:52:22 -05:00
Dan Sosedoff
e2be689a05
Check if pg_dump is available before running database export
2018-04-25 23:29:18 -05:00