Dan Sosedoff
28b0840e69
Move some of the util functions to util.js
2017-09-16 14:03:42 -05:00
Dan Sosedoff
81af2a9a27
Add table results headers context menu
2017-09-16 13:50:22 -05:00
Dan Sosedoff
6ab30ed308
Update the client last usage timestamp
2017-09-14 00:16:40 -05:00
Dan Sosedoff
3a9bb58646
Merge pull request #264 from sosedoff/print-version-on-start
...
Print postgres version on start in a single-session mode
2017-09-14 00:00:21 -05:00
Dan Sosedoff
af7e504e4f
Print postgres version on start in a single-session mode
2017-09-13 23:42:44 -05:00
Dan Sosedoff
d786d0018e
Make JSON formatting a feature flag, enabled by default
2017-09-13 23:27:54 -05:00
Dan Sosedoff
e44e66a8e8
Use indent marshaller for JSON results by default
2017-08-04 22:10:12 -05:00
Dan Sosedoff
5e748d0cef
Release 0.9.8
2017-08-04 21:44:22 -05:00
Dan Sosedoff
4f90561c41
Regenerate bindata
2017-08-04 21:41:15 -05:00
Steven Kabbes
2d03aa02e2
test: attempt to fix tests again
2017-08-04 14:16:59 -07:00
Steven Kabbes
8d4d564935
test: fix tests to expect comment column
2017-08-04 14:13:49 -07:00
Steven Kabbes
e710dbf720
Add comments to tables and columns
2017-08-04 14:00:52 -07:00
Dan Sosedoff
574f642200
Require confirmation to close the connection
2017-06-05 23:15:03 -05:00
Dan Sosedoff
fd6e4cc189
Merge pull request #245 from sosedoff/for-of-fix
...
Javascript fixes for IE9-11
2017-06-05 22:46:03 -05:00
Dan Sosedoff
26b2cdc194
Fix js on IE9-11
2017-06-05 22:29:44 -05:00
Dan Sosedoff
75dc1c1548
Fall back to sslmode=disable if ssl mode is not set or invalid in bookmarks
2017-06-05 21:29:09 -05:00
Dan Sosedoff
943963f760
Fix test for mime x-font-woff, pin down golang versions in travis
2017-06-05 21:08:56 -05:00
Dan Sosedoff
3ed194b7bc
Remember sort column and order for pagination
2017-05-16 22:34:58 -05:00
Dan Sosedoff
c764d53b88
Regenerate bindata
2017-05-16 21:28:24 -05:00
Dan Sosedoff
ccc5eddf92
Move all CLI logic into its own package
2017-05-16 21:28:07 -05:00
Bo Jeanes
c3f518e5b7
Show query waiting for 9.6 in activity section
2017-05-11 13:30:16 +10:00
Dan Sosedoff
bf14066aba
Alias procid column to pid so that frontend can properly read it
2017-05-09 23:01:10 -05:00
Dan Sosedoff
c592d0063d
Set activity queries for different pg versions
2017-05-09 22:51:26 -05:00
Dan Sosedoff
e9787440fb
Set server version for the client on start up
2017-05-09 21:53:24 -05:00
Dan Sosedoff
1ee02d1451
Add activity query client test
2017-05-09 21:53:24 -05:00
Dan Sosedoff
2378ba894d
Reset results table on manual disconnect
2017-05-08 21:37:24 -05:00
Tamir Duberstein
c4a33206ce
api: properly check for errors
...
This results in NPE when cl.Info() returns an error.
2017-04-29 16:56:31 -04:00
Dan Sosedoff
4833a76b05
Version bump: 0.9.7
2017-04-04 22:10:45 -05:00
Dan Sosedoff
f594dd77fd
Update bindata
2017-04-04 22:10:26 -05:00
Dan Sosedoff
701e536a90
Remove table rows when switching to custom query view
2017-02-25 14:24:57 -06:00
Dan Sosedoff
36fd4871e1
Show number of rows rendered for custom sql query
2017-02-25 14:04:48 -06:00
Pavel Kiselev
4704a8a234
Override in tests
2017-01-24 08:06:12 +07:00
Pavel Kiselev
9b1d915dd1
Ability to override bookmarks directory
2017-01-24 07:55:18 +07:00
Dan Sosedoff
33f3e20849
Use port 30000 to test port availability so it does not interfere with running pgweb instance
2017-01-20 13:41:24 -06:00
Dan Sosedoff
4af979ac9b
Fix issue with long database names in header
2017-01-10 13:44:42 -06:00
Florian Duraffourg
5ffd6d612b
Fix path rewrite on DB change
2017-01-10 16:14:50 +01:00
Dan Sosedoff
412089948c
Do not return error when session is locked and database url is blank
2016-11-20 16:44:33 -06:00
Dan Sosedoff
b580b2456a
Version bump: 0.9.6
2016-11-18 12:36:27 -06:00
Dan Sosedoff
7e27cfe5f8
Regenerate bindata
2016-11-17 21:43:52 -06:00
Dan Sosedoff
20a5646a53
Merge pull request #202 from sosedoff/always-show-sidedebar
...
Display empty sidebar
2016-11-15 22:06:18 -06:00
Dan Sosedoff
0510634db7
Move bookmark default port parsing to readServerConfig func
2016-11-15 22:01:42 -06:00
Dan Sosedoff
59018287de
Fix issue with default port in bookmark; cleanup
2016-11-15 21:58:58 -06:00
Dan Sosedoff
e1edc5b550
Resolve conflict with master
2016-11-15 21:51:23 -06:00
akarki15
fedde804e3
Remove error return value from ConvertToOptions
...
ConvertToOptions can't return any error.
2016-11-15 22:03:32 -05:00
Dan Sosedoff
7467553bf2
Fix bindata
2016-11-15 20:55:17 -06:00
Dan Sosedoff
9f8f45db5a
Display sidebar even if there are no tables (or any other objects)
2016-11-15 20:55:03 -06:00
akarki15
b1fdbf714b
Make assets.
2016-11-12 13:19:09 -05:00
akarki15
68db934507
Use generic typed error pattern
...
The codebase doesn't yet use the explicitly typed error pattern. To keep
things consistent, lets use the generic error type.
2016-11-12 12:30:15 -05:00
akarki15
1b4902f196
initClient uses bookmark if it exists
...
if options.Bookmark is set, initClient will now use
it to create a client from the bookmarked settings.
initClientUsingBookmark uses methods introduced in
previous commits. It constructs connection string
to db from Bookmark.Url if it exists. If not, it
uses other fields in Bookmark to construct the
connection string. An implication of this is that
the Url field of Bookmark takes precedence.
2016-11-10 20:06:39 -05:00
akarki15
61dfe67ca8
Add a method to convert bookmark to options
...
We will use client.NewFromURL to create a client
from stored bookmark in next commit. Since
client.NewFromURL takes in a command.Options, lets
add a method on Bookmark to get corresponding Option.
2016-11-10 20:06:39 -05:00