Surinder Kumar
0ee9f09bbd
Update ESLint requirement to support --fix-dry-run
2018-01-22 10:35:11 +00:00
Surinder Kumar
bcce574e83
Using the correct path for the font-mfizz stylesheet.
...
Reported by: Neel Patel
2017-09-29 09:17:39 +05:30
Surinder Kumar
263e235862
Clarify how virtual envs can be used in WSGI mode, and ensure we ship the required bits on Windows.
2017-09-20 16:22:51 +01:00
Surinder Kumar
026ef7b8b7
Support React v15.5 and later where the code fails to run because React's PropTypes is no more part of React Module.
2017-09-18 10:08:12 +01:00
Surinder Kumar
e819465e38
Always pack React in prod mode to avoid a bug in debug mode that prevents the history tab working.
2017-09-13 15:50:09 +01:00
Surinder Kumar
120dbcc7d8
Run webpack in production mode when building for releases. Fixes #2660
2017-09-13 09:47:01 +01:00
Surinder Kumar
c4393a7795
Fix Copy so it still works after query results have been copied. Fixes #2637
2017-08-31 14:50:39 +01:00
Surinder Kumar
2945b3fe93
Define the proper NODE_ENV environment during running the webpack.
...
Using the webpack.DefinePlugin during the development build too, not
just in production build.
Fixes #2596 .
Also - passing option 'warning: false' for UglifyJsPlugin, which will
not show warning messages on the console during the production build.
2017-08-31 14:28:52 +05:30
Surinder Kumar
7835da267b
Allow pgAdmin to run with config database versions from the future. Fixes #2664
2017-08-29 15:03:02 +01:00
Surinder Kumar
f711336a6b
Add package run scripts to allow to run the webpack in watch mode, also
...
added '--progress' option to make it more interactive.
2017-08-25 17:26:56 +05:30
Surinder Kumar
ee20a10e94
Syntax error while saving changes for start/end time, weekdays, monthdays, month, hours, minutes while updating the pgAgent Job. Fixes #2657 .
2017-08-23 14:05:54 +05:30
Surinder Kumar
cb9a05a7e7
Datetimepicker will expand from bottom instead of Top, because of that user won't be able to select start and end time properly. Fixes #2656
2017-08-23 11:26:24 +05:30
Surinder Kumar
6d7b54eb62
Update datetime picker. Fixes #2654
2017-08-21 13:17:35 +01:00
Surinder Kumar
c7686dee05
Unset compression ratio if it is an empty string in Backup module. Fixes #2582
2017-08-17 16:35:42 +05:30
Surinder Kumar
bff48e0b2d
Fixed the path reference of load-node.gif which was referencing to vendor directory. Fixes #2646
2017-08-17 15:27:09 +05:30
Surinder Kumar
33bd9d4782
Enable source maps for debugging purpose in all webpack modules
...
(except for vendor, and codemirror).
2017-08-09 16:52:43 +05:30
Surinder Kumar
06a65ecf71
Added missing pgagent file in webpack.config.js Fixes #2617
2017-08-04 17:39:05 +05:30
Surinder Kumar
6d5417709c
Moved the javascripts of different modules from 'templates' to 'static' directory.
...
Moving the javascripts for the following modules:
- About
- Browser nodes
- Dashboard
- FileManager
- Vendor/snap.svg
- Preferences
- Settings
- Backup
- Datagrid
- Debugger
- Sqleditor
- Grant Wizard
- Import & Export
- Maintenance
- Restore and
- User Management
2017-07-27 17:25:08 +05:30
Surinder Kumar
03657df82a
Ensure babel-polyfill is loaded in older qWebKits. Fixes #2593
2017-07-21 16:15:03 +01:00
Surinder Kumar
a49a3103e2
Prevent the Werkzeug reloader from causing a "double start" at init time.
2017-07-21 09:46:30 +01:00
Surinder Kumar
ede6765f6b
Add an editorconfig file to help maintain coding standards.
2017-07-21 09:39:23 +01:00
Surinder Kumar
ae3acbdbbc
Fix webpacking of loading icon.
2017-07-20 13:38:16 +01:00
Surinder Kumar
2eb151c2d9
More webpack cleanup - add comments liberally and rename lib.css to style.css
2017-07-20 12:52:15 +01:00
Surinder Kumar
dfa877262d
Webpacking cleanups
2017-07-19 15:03:21 +01:00
Surinder Kumar
6046be7fba
Fix typo in filename.
2017-07-19 11:57:11 +01:00
Surinder Kumar
b90d368ee7
Resolve an issue where collection nodes sometimes wouldn't sort properly.
2017-07-18 16:31:05 +01:00
Surinder Kumar
659aeeb58e
Add a missing dependency.
2017-07-18 16:30:18 +01:00
Surinder Kumar
6396b8ce18
Add missing new files from the previous commit. Ooops.
2017-07-18 15:14:59 +01:00
Surinder Kumar
4a91bcde30
Webpack all the things! Fixes #2135
...
This significantly speeds up loading of the application; in an average of 3 tests, v1.6
loaded in 11.5s in the runtime on a Mac, whilst the webpacked version of the code
loaded in 5.53s.
2017-07-18 15:13:17 +01:00
Surinder Kumar
2bfe640a08
Fix alignment of Object > delete/drop & properties icons
2017-07-10 16:14:40 +01:00
Surinder Kumar
33e56272ca
Fix IE11 alert layout again.
2017-07-10 13:49:47 +01:00
Surinder Kumar
3f4781cdcb
Un-break query tool feature tests.
2017-06-26 15:25:05 -04:00
Surinder Kumar
cfb4b11573
Use client-side url_for in the sql editor and data grid modules.
2017-06-26 07:43:03 -04:00
Surinder Kumar
2a87585665
Fix script options which were inadvertently broken in the query tool tab naming patch.
2017-06-15 12:19:47 +01:00
Surinder Kumar
fdc9eed514
Ensure text editors render in an appropriate place on the results grid. Fixes #2477
2017-06-14 12:18:27 +01:00
Surinder Kumar
2b4a8ed89c
Un-break the feature tests. Fixes from Surinder and myself.
2017-06-14 09:59:11 +01:00
Surinder Kumar
57d866f7b7
Use a more sensible name for Query Tool tabs. Fixes #2482
2017-06-13 11:34:24 +01:00
Surinder Kumar
af43ccfc07
Teach dialogues about Escape to cancel, Enter to Save/OK, and F1 for help. Fixes #1535
2017-06-12 16:43:29 +01:00
Surinder Kumar
49976b1934
Fine tune result grid column sizing now we don't have checkboxes.
2017-06-09 09:24:20 +01:00
Surinder Kumar
73c6f1ca3b
A little leanup of the styling of the edit grid
2017-06-08 17:06:34 +01:00
Surinder Kumar
c9b717ed68
Set focus on the first enabled field when a dialogue is opened. Fixes #1533
2017-06-08 14:37:31 +01:00
Surinder Kumar
2fddf750e6
Retain column sizing in the query tool results grid when the same query is re-run multiple times in a row. Fixes #1971
2017-06-08 12:41:56 +01:00
Surinder Kumar
88737248ab
Fix a couple of missing greys.
2017-06-07 16:31:47 +01:00
Surinder Kumar
63c093248d
Allow users to remove default values from columns properly. Fixes #2461
2017-06-07 14:33:28 +01:00
Surinder Kumar
beda7ebbf2
Add feature tests for the View Data tool.
2017-06-06 12:54:20 +01:00
Surinder Kumar
b82e001478
Ensure that boolean checkboxes cycle values in the correct order. Fixes #2448
2017-06-06 11:29:18 +01:00
Surinder Kumar
456096092d
Avoid re-rendering the edit grid for every row that is pasted.
2017-05-30 16:22:11 +01:00
Surinder Kumar
1f26953504
Cleanup handling of default/null values when data editting. FIxes #2400
2017-05-27 14:51:02 -04:00
Surinder Kumar
1db81da020
Fix JS error when selecting a single grid cell.
2017-05-16 08:44:29 +01:00
Surinder Kumar
d7d4bf475b
Various improvements to the NULL/DEFAULT handling in the data editor. Fixes #2399
2017-05-15 15:04:16 +01:00
Surinder Kumar
0e7efc0cf8
Track disabled rows properly in the edit grid.
2017-05-12 16:42:06 +01:00
Surinder Kumar
4f9628ed43
Improve handling of nulls and default values in the data editor. Fixes #2257
2017-05-12 10:53:57 +01:00
Surinder Kumar
93df5e3e54
Ensure errors thrown when deleting rows in the query tool in edit mode are shown properly. Fixes #2356
2017-05-02 12:20:30 +01:00
Surinder Kumar
9bbc05051c
Remove some unused events.
2017-04-12 15:46:31 +01:00
Surinder Kumar
aee1492d0d
Correct some EDB Postgres Advanced Server branding.
2017-03-21 10:12:26 +00:00
Surinder Kumar
40ff651ef3
Fix display of boolean nulls in the query tool. Fixes #2205
2017-02-24 13:47:37 +00:00
Surinder Kumar
88cae263b2
Fix display of long integers and decimals. Fixes #2039 . Fixes #2119 . Fixes #2154
2017-02-24 13:39:40 +00:00
Surinder Kumar
c0f2aab001
Ensure we never sort columns on the treeview. Fixes #2185
2017-02-24 13:02:13 +00:00
Surinder Kumar
833629d438
Fix exclusion constraint reverse engineered SQL. Fixes #2115
2017-02-16 10:54:21 +00:00
Surinder Kumar
cbaad81f00
Correct node labels in Preferences for EDB functions and procedures. Fixes #2126
2017-02-16 10:47:28 +00:00
Surinder Kumar
4566877188
Handle NULL booleans in the data editor. Fixes #1790
2017-02-05 11:06:48 +01:00
Surinder Kumar
54ba1fbe59
Support setting text fields to empty strings or NULL in the data editor grid. Fixes #1790
2017-02-04 14:10:30 +01:00
Surinder Kumar
30e546208f
Ensure dialogues cannot be moved under the navbar. Fixes #2047
2017-01-30 14:02:01 +00:00
Surinder Kumar
e01cf748ea
Enable/disable NULLs and ASC/DESC options for index columns and exclusion constraints appropriately. Fixes #2061 . Fixes #1840 .
2017-01-25 13:21:39 +00:00
Surinder Kumar
86f6857cb7
Fix sorting of numerics in the statistics grids. Fixes #1938
2017-01-09 15:55:38 +05:30
Surinder Kumar
e400693126
Add BigNumberJS library for upcoming large number related fixes.
2017-01-09 09:07:21 +05:30
Surinder Kumar
b14f8239d2
Fix a SQL error when reverse-engineering ROLE SQL on EPAS servers. Fixes #1830
2017-01-09 08:14:34 +05:30
Surinder Kumar
d05534ad6c
Prevent attempts to access what may be an empty list. Fixes #1832
2017-01-09 07:56:02 +05:30
Surinder Kumar
6e14bef801
Show icons for unique and exclusion constraints in the dependency/dependents panels. Fixes #2033
2017-01-08 15:27:58 +05:30
Surinder Kumar
e3c8cb2706
Prevent attempts to create server groups with no name. Fixes #2012
2017-01-08 15:27:58 +05:30
Surinder Kumar
07e1c61eea
Allow setting of effective_io_concurrency on tablespaces in 9.6+. Fixes #2000
2017-01-08 15:27:58 +05:30
Surinder Kumar
a64824a851
Fix various encoding issues with multibyte paths and filenames.
...
Fixes #1986 . Fixes #1940 .
2016-12-05 13:10:56 +09:00
Surinder Kumar
19bd021696
Ensure select2 instances have a destroy property before calling destroy.
2016-10-21 16:16:10 +01:00
Surinder Kumar
23a0fc2f22
Fix refreshing of FTS Dictionaries. Fixes #1837
2016-10-21 16:07:45 +01:00
Surinder Kumar
8e9108e0f3
Allow package bodies to be dropped. Fixes #1867
2016-10-21 15:24:11 +01:00
Surinder Kumar
da3a37ab19
Handle non-ascii responses from the server when connecting. Fixes #1822
2016-10-21 14:32:25 +01:00
Surinder Kumar
1e66119ef5
Ensure the File Manager honours the file type while traversing the directories. Fixes #1858
...
When a File Manager is closed by clicking cancel button. Its dom element not destroyed.. So on traversing into directories, when it tries to get currently selected file type, it looks into the dom element but it gets dom of previous dialogs not of currently dialog.
Now whenever an instance of File Manager is closed. its dom elements are also destroyed.
2016-10-21 14:26:12 +01:00
Surinder Kumar
406dab069d
Show security labels in the reverse engineered SQL for domains. Fixes #1574
2016-10-21 12:49:50 +01:00
Surinder Kumar
d806a9ce9e
Fix the file manager when used under Python 3. Fixes #1872
...
Issues fixed:
1) In Python 3, parameter "cmp" is removed from sorted method. So File Manager won't open.
As we are sorting data on JS side using Natural sort, so on server side sorting is not required.
2) Improvement in Exception handling.
2016-10-21 12:43:02 +01:00
Surinder Kumar
48ee8490f0
Add new indexes to the correct parent on the treeview. Fixes #1880
2016-10-21 12:12:37 +01:00
Surinder Kumar
06039320b9
Don't specify ASC/DESC options for index types that don't support them. Fixes #1840
2016-10-21 12:08:41 +01:00
Surinder Kumar
9155c2111f
Ensure the grant wizard works with objects with special characters in the name. Fixes #1599
2016-10-21 11:58:46 +01:00
Surinder Kumar
df09f02e80
List files/folders alphabetically, and don't excessively truncate their names. Fixes #1792
2016-10-18 11:39:12 +01:00
Surinder Kumar
11e486f96d
Fix unsafe schema lookups for types. Fixes #1728
2016-10-18 11:32:43 +01:00
Surinder Kumar
dd6a69d845
Handle reverse engineering of synonyms with / in the name. Fixes #1622
2016-10-14 16:01:55 -07:00
Surinder Kumar
c7520cf86d
Allow refreshing of synonym nodes. Fixes #1845
2016-10-14 15:50:20 -07:00
Surinder Kumar
17bd379cb6
Properly quote names when renaming FTS dictionaries and templates. Fixes #1857
2016-10-14 12:23:10 -07:00
Surinder Kumar
7f507f294e
While clicking on Select2 control, it tries to destroy the control and thus it doesn't get this object sometimes and throws error.
...
It should attempt to destroy the select2 object only if this object is not undefined.
2016-10-14 12:20:29 -07:00
Surinder Kumar
0df968f679
Resolve issue with properties refreshing. Fixes #1728
...
1) If we create/update a node with non-default schema, It should return selected schema id in return response. but default schema id is returned every time due to which it throws error in properties panel.
Fixed in Domains, Collation, Types, Views & Table node.
2) Incorrect parent id of object node is returned from nodes method due to which wrong parent id is passed while updating object and
thus node didn't get refreshed.
Fixed in FTS Configuration, FTS Parser nodes.
2016-10-14 12:19:00 -07:00
Surinder Kumar
3963272523
Don't show Upload File icon unless it is in capabilities list [Storage Manager]. Fixes #1739
...
Issue:
When clicked on upload icon while saving a file prompt user to leave page. It is because the icon is a button and its type is set to submit which makes it to prompt, instead it should be 'button'
Storage Manager's menu items depends on capabilities list set by the module using it. If capabilities doesn't have 'upload' in it, It won't work. Upload button is bound to click event only when it is in capabilities.
Solution:
As upload button is being added only when it is in capabilities, so upload button html is removed from html file. It will not shown on UI untill it is in capabilities list.
2016-10-07 12:31:38 +01:00
Surinder Kumar
e4d870cbe6
Ensure errorModel unset property properly in while adding a new server. Fixes #1786
2016-10-03 13:50:54 +01:00
Surinder Kumar
3b4776ab5f
Improve network/server activity feedback for the user. Fixes #1751
2016-09-26 15:10:38 +01:00
Surinder Kumar
0ae719dae0
Do not try to set in_recovery, is_replay_paused properties in the server
...
object, when data is not available.
2016-09-26 19:16:06 +05:30
Surinder Kumar
28ce31a022
Save error details when executing to CSV, if no data is returned. This ensures the user gets some feedback rather than nothing at all. Fixes #1592
2016-09-20 11:57:51 +01:00
Surinder Kumar
febb1b80b1
Ensure items are properly added to the treeview when their parent has no pre-existing children. Fixes #1627
2016-09-20 11:18:07 +01:00
Surinder Kumar
cc0cb83277
Resolve a syntax error when updating packages with no body. Fixes #1588
2016-09-19 15:33:19 +01:00
Surinder Kumar
92bc312d2d
Fix updating of matview definitions. Fixes #1595
2016-09-16 15:41:07 +01:00
Surinder Kumar
165b93a968
Fix a syntax error when creating a trigger function on PPAS 9.5+. Fixes #1600
2016-09-16 11:12:41 +01:00
Surinder Kumar
1ce5b38f4a
Fix an issue when changing the length of a column in the table dialogue. Fixes #1669
2016-09-16 11:09:13 +01:00
Surinder Kumar
016de5dc88
Fix scrolling in the query tool editor. Fixes #1579
2016-09-15 10:15:00 +01:00