Piyush Vijay
bfc9d62d43
Replace .js extension from db_export and db_import.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-17 13:55:25 +05:30
Piyush Vijay
b8bbd86558
Add central columns to the modular code.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-17 13:55:25 +05:30
Piyush Vijay
353fa83e2a
Add db_tracking.js for tracking tables of database in modular code.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-17 13:55:25 +05:30
Piyush Vijay
9fc572d4fc
Create FileHandler class to manage loading of files on the basis of page and on the basis of user preferences.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-17 13:55:25 +05:30
Piyush Vijay
0a979865e1
Add db_operations.js to modular code.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-17 13:55:24 +05:30
Piyush Vijay
5e10b2c6b7
Edit js/src/functions.js to add functions required for create table in db_structure.php.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-17 13:55:12 +05:30
Piyush Vijay
6e790e72e5
Add CreateTable and TableColumns module for adding table in db_structure.php.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-17 13:55:12 +05:30
Piyush Vijay
eae0c753bb
Add prepare_ajax_request and preview_sql to modular code.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-17 13:55:10 +05:30
Piyush Vijay
f2cc2344d5
Bug fix for ajax server side error.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-17 13:54:29 +05:30
Piyush Vijay
65943162ae
Add db_structure.js in modular code.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-16 20:37:21 +05:30
Deven Bansod
5b1c1a2ce1
Merge pull request #14518 from Piyush3079/Mod_Js_Sql_Profiling
...
Add modular code for profiling of sql queries on related pages and structured some code
2018-08-16 20:26:51 +05:30
Piyush Vijay
fd21247e53
Resolve merge conflicts
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-15 15:28:25 +05:30
Piyush Vijay
6a4496ee42
Add multi column sort for tbl_sql.php and db_sql.php
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-15 15:15:00 +05:30
Piyush Vijay
a407ac90fc
Bug fix for teardown of page.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-15 15:15:00 +05:30
Piyush Vijay
5b7079e9ff
Profiling working on table browsing and on running sql queries.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-15 15:14:42 +05:30
Deven Bansod
fc72f0d739
Merge pull request #14493 from Piyush3079/Mod_Js_Sql_Js
...
Add Modular code for sql query box (page) and codemirror related pages
2018-08-14 09:52:04 -07:00
Piyush Vijay
5240ca612d
Add jsoc to create documentation of JavaScript code.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-14 18:31:52 +05:30
Piyush Vijay
6f20ffdf64
Resolving merge errors.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-14 18:31:51 +05:30
Piyush Vijay
1e00de8e3a
Separating sorting functions from multi_column_sort file.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-14 18:11:20 +05:30
Piyush Vijay
1c3660d213
Comment code in js/functions.js to disable tirggering of codemirror loading from js/functions.js
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-14 18:11:18 +05:30
Piyush Vijay
5e3e36e61d
Add multi column sort in server_sql for add and remove column sort on table browse.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-10 13:38:47 +05:30
Piyush Vijay
3ae93ad307
Add modular Sql.js to table sql and database sql and SqlQueryForm modified accordingly
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-10 13:38:47 +05:30
Piyush Vijay
661c9f74d4
Ctrl plus enter to submit query event in functions.js
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-10 13:38:47 +05:30
Piyush Vijay
cc754839e7
Updating Sql utility function file, sql source file containing code for various sql related events, adding function for sql editor and inline sql editor in functions.js
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-10 13:38:47 +05:30
Piyush Vijay
7d472508b7
Adding variable used for codemirror in the head of the page at the top of the scripts.
...
Imports changes as per new directory stucture for sql.
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-10 13:38:42 +05:30
Piyush Vijay
8506ce9d91
Adding codemirror in pma console.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-10 13:38:32 +05:30
Piyush Vijay
2c9118e781
Edit codemirror sql plugin for modular code.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-10 13:38:21 +05:30
Piyush Vijay
c9ac456d97
Separating basic functions needed for initialising codemirror and inline codemirror, saving and getting saved queries and making profiling charts.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-10 13:37:39 +05:30
Piyush Vijay
91afae1798
No need to review this commit as these files are directly copied from old vendor and plugins folder. These files can be ignored during review.
...
They are not availabe as npm mpdule right now and their alternative are largerr in size with the same functionality.
So they are being used as it is.
Their size will be reduced in the outpul bundle after using webpack plugins to emove comments from js files.
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-10 13:37:39 +05:30
Piyush Vijay
63a54d14f3
Adding jQplot package and its plugins and tablesorter are as module in js files and removed from php files.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-10 13:37:25 +05:30
Piyush Vijay
2c643597fd
Edit package.json for updated-jqplot package. Adding eslint scripts and script for creating production build edited
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-10 13:36:58 +05:30
Piyush Vijay
8c986d8308
Weekly progress.
...
1). Microhistory added in classes for modular code
2). Code is structured and camel casing of varables is done for removing linter warnings.
3). JQuery plugins are added in some files.
4). jQplot is working for server_status_queries and server_status_monitor.
5). Work started for Dabatase, SQl and Table files.
Some changes are stll left for server_status_monitor and sql.js
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-10 13:36:58 +05:30
Deven Bansod
24f91b16f9
Merge pull request #14524 from Piyush3079/Mod_Js_Structuring_1
...
Modularize JS files related to Structure
2018-08-09 06:52:30 -07:00
Piyush Vijay
b4237acf18
Use import * for files.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-09 19:12:28 +05:30
Piyush Vijay
c0810f98b2
Some more javascript files structured properly.
...
Shortcut handler and page settings js files added in modular code.
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-09 18:44:36 +05:30
Piyush Vijay
91340d18e5
Test files changed as per the new chages in FormDisplayTemplate.
...
Js code is stuctured properly with comments.
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-07 18:34:12 +05:30
Deven Bansod
0e16cc519e
Merge pull request #14470 from Piyush3079/Mod_Js_Config_Js
...
Modularized Config.js and add build script
2018-08-06 17:41:04 -07:00
Piyush Vijay
733b0296b3
Test fixtures for travis.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-03 18:04:59 +05:30
Piyush Vijay
61e97801d4
Pass env variable to webpack.config file for making production build.
...
Build script for js files.
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-02 20:54:53 +05:30
Piyush Vijay
0b5c9b3eea
Add isStorageSupport in functions.js for code compatibility and add config.js in file loading object.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-02 20:54:53 +05:30
Piyush Vijay
5463dabca7
Commented code removed and debug statements removed.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-02 20:54:50 +05:30
Piyush Vijay
3a754dc340
Config.js is modularised.
...
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-01 20:03:06 +05:30
Piyush Vijay
5e04669d74
Add config related imports in files to use config.js in modular code.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-08-01 20:02:33 +05:30
Deven Bansod
5e9d70540b
Merge pull request #14469 from Piyush3079/Mod_Js_Import_Export
...
Modularize Import and Export related JS files
2018-08-01 16:48:17 +05:30
Piyush Vijay
d111a2ca81
Add event for submit of export sql form to remove error of undefined function.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-30 23:10:53 +05:30
Piyush Vijay
85c16c14f8
Remove some functions to make this pr reproduceable on local machine.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-30 23:10:44 +05:30
Piyush Vijay
a99acfef71
Modularize server related remaining files like replication, plugins, queries, processes.
...
Sever monitor is also modularised and is not working but jQplot is not imported as it is giving error with webpack.
Another issue with these files is that table sorter is also not woking
working properly as it is not available on npm as plugin.
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-30 23:08:28 +05:30
Piyush Vijay
f92e1ebccd
Edit ndex files and more files whitelisted in ajax.js and files.js for
...
adding them in modular code.
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-30 23:07:43 +05:30
Deven Bansod
00e9049f44
Merge pull request #14468 from Piyush3079/Mod_Js_Navigation
...
Modularize PMA Navigation JS files
2018-07-30 16:05:27 +05:30
Piyush Vijay
9727a9450f
Remove caching of common_params.php to avoid stoing token in cache on login and logout again.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-30 01:37:44 +05:30