Commit Graph

52 Commits

Author SHA1 Message Date
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
Dan Sosedoff
c3435e2ece Change CORS to Cors on CLI options, specify origins as an option 2017-11-16 22:10:14 -06:00
Dan Sosedoff
b52394a166 Add support for CORS 2017-11-15 15:26:31 -06:00
Dan Sosedoff
5e22795828 Allow setting ssh connection key file, fix connection ui 2017-09-26 23:29:28 -05:00
Dan Sosedoff
62d88121cd Automatically close idle sessions 2017-09-22 22:44:32 -05:00
Dan Sosedoff
869fd8c6bc Refactor the third-party connect backend functionality 2017-09-21 01:21:26 -05:00
Dan Sosedoff
0aff72059b Check for response status when fetching credentials 2017-09-19 00:43:21 -05:00
Dan Sosedoff
73816ff2d7 Add ability to connect with settings from third-party backend 2017-09-19 00:43:21 -05:00
Dan Sosedoff
e771d6f49e Export database or table to sql 2017-09-16 20:32:41 -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
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
Pavel Kiselev
9b1d915dd1
Ability to override bookmarks directory 2017-01-24 07:55:18 +07:00
Florian Duraffourg
5ffd6d612b Fix path rewrite on DB change 2017-01-10 16:14:50 +01:00
Dan Sosedoff
a3c341b5b4 Show list of databases and allow switching by clicking on current database name 2016-11-05 22:49:17 -05:00
Dan Sosedoff
7d08017c7f Add endpoint to switch active database 2016-11-05 22:23:26 -05:00
Dan Sosedoff
20da36416c Implement session locking with --lock-session option 2016-11-05 21:35:11 -05:00
Ernad Halilovic
d607a76097 A small typo fix 2016-04-15 12:51:28 +02:00
Dan Sosedoff
c57b477dc9 Add tests for getSessionId helper 2016-02-26 08:48:55 -08:00
Dan Sosedoff
0a144a633d Add ability to launch pgweb with url prefix 2016-02-19 21:14:56 -06:00
Dan Sosedoff
6edc384c05 Only run actual query without any comments 2016-02-18 22:18:07 -06:00
Dan Sosedoff
540613645f Replace url-unsafe characters in base64 query data 2016-02-18 21:17:31 -06:00
Dan Sosedoff
da43314332 Add disconnect endpoint 2016-02-04 23:05:42 -06:00
Dan Sosedoff
9bfaae7194 Merge with master 2016-01-17 15:22:33 -06:00
Dan Sosedoff
3167d96cfc use a different query to fetch materialized view structure 2016-01-17 15:00:33 -06:00
Dan Sosedoff
f0f447857f Tunnel implementation, allow using ssh on connection screen 2016-01-14 19:50:01 -06:00
Dan Sosedoff
556e7d445a Remove unused sequences code 2016-01-12 22:05:32 -06:00
Dan Sosedoff
9ffa05affb Initial support for multiple schemas 2016-01-12 21:33:44 -06:00
Dan Sosedoff
f3920afe8c Only expose sessions data in debug mode, otherwise return just a count of sessions 2016-01-10 15:16:31 -06:00
Dan Sosedoff
ad1994574d Move api middleware into its own file 2016-01-10 15:03:33 -06:00
Dan Sosedoff
d772ae0b31 Make sessions optional via --sessions CLI flag 2016-01-08 19:44:31 -06:00
Dan Sosedoff
ed94244741 Make pgweb to use multiple sessions at once [wip] 2016-01-08 19:10:11 -06:00
Dan Sosedoff
38c971ab49 Implement pagination and simple filtering 2016-01-08 14:16:53 -06:00
Dan Sosedoff
61523e33df Add support for offset in table rows endpoint, dry up code 2016-01-07 21:18:22 -06:00
Dan Sosedoff
73a97893e9 Add ability to export table to JSON and XML 2016-01-04 18:03:53 -06:00
Brian Low
eeb0fdf3a4 Show table constraints 2015-12-04 17:15:03 -07:00
niiyz
232790b452 Add Sequences to API. 2015-11-13 21:36:13 +09:00
Dan Sosedoff
c02d15ec34 Encode sql query to base64 for CSV export, GH-95 2015-08-15 20:53:51 -05:00
Dan Sosedoff
2a4edaf08f Add request middleware to log incoming form params 2015-08-04 10:38:23 -05:00
Dan Sosedoff
651b65a882 Implement table item context menu
- Add ability to export table contents into CSV
- Add ability to truncate table
- Add ability to delete table
2015-05-19 12:24:59 -05:00
Dan Sosedoff
c0f3f027ae Move version definition into command package, include build timestamp, add /api/info endpoint 2015-05-05 00:34:23 -05:00
Dan Sosedoff
04fe0023b7 DRY up api module 2015-05-02 20:32:16 -05:00
Dan Sosedoff
cb3c3e0e2e Fix function names in api module 2015-05-02 20:13:04 -05:00
Dan Sosedoff
0ac9d72deb Refactor and simplify asset serving 2015-05-02 20:10:14 -05:00