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
Piyush Vijay
2f3eeae68d
Fallback for new Modularize navigation. Both old and new code included in Header.php
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-30 01:37:44 +05:30
Piyush Vijay
5c54cdcb69
File names changed for revamped javascript files in php files.
...
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-30 01:37:42 +05:30
Piyush Vijay
b52b7a3422
Navigation revamped, navigation functions separated from main file. More file names added in ajax and index.
...
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-29 17:08:10 +05:30
Piyush Vijay
0ae42e5aa9
Import highlight_sql module in show_ajax_messages.
...
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-29 17:07:42 +05:30
Deven Bansod
ed6f106470
Merge pull request #14467 from Piyush3079/Mod_Js_Server_Status
...
Modularize Server Status JS files
2018-07-28 18:19:16 +05:30
Piyush Vijay
84d0e8045b
Big fix for kill button and autoRefresh button on server_status_processes.php page.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-28 18:02:58 +05:30
Piyush Vijay
b7ee22a203
remove .js extension from relevant php files and add those files in ajax for dynamic loading.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-27 22:19:42 +05:30
Piyush Vijay
30b5f072f9
Commented code and debug statements removed from server status related files.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-27 22:19:42 +05:30
Piyush Vijay
a85fb3d3f6
Revamp server_status_advisor, server_status_variables, sever_status_processes.
...
Add codemirror package in server_privileges.
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-27 22:19:17 +05:30
Deven Bansod
ff81454539
Merge pull request #14466 from Piyush3079/Mod_Js_Console
...
Modularize Console and Error Report files
2018-07-27 20:55:01 +05:30
Piyush Vijay
de78e7911b
Bug fix for undefined variables and PMA_Console in working state now.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-27 20:53:09 +05:30
Piyush Vijay
e18c6b9818
Fix error reporting functionality ajax callback errors .
...
TODO: To find a way to wrap the exported functions containing PMA_ prefix into the error handler to generate backtrace.
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-27 20:52:15 +05:30
Piyush Vijay
91178f0029
Break PMA_Console JS code into classes and imports.
...
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-27 20:51:52 +05:30
Deven Bansod
dfcca3c46e
Merge pull request #14465 from Piyush3079/Mod_Js_Server_Privileges
...
server_privileges and server_databases modularized
2018-07-26 19:50:48 +05:30
Piyush Vijay
ae20a38e97
Add babel-eslint package to use eslint for features not yet included in eslint.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-26 02:31:26 +05:30
Piyush Vijay
d5eb59bb62
Bug fix for token mismatch error on server_databases.php page.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-26 02:31:26 +05:30
Piyush Vijay
177e101379
Bux fix for onload and teardown of pages on refresh and ajax requests.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-26 02:31:26 +05:30
Piyush Vijay
5402f43840
Modify ajax.js and Header.php for compatibility of both old code and new code.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-26 02:31:26 +05:30
Piyush Vijay
ce8d11c858
Add todo for code that will not be used in future after revamping all
...
the files.
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-26 02:31:26 +05:30
Piyush Vijay
8111151049
Replace default validation strings with custom strings to enable localization for validation messages with jquery.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-26 02:31:26 +05:30
Piyush Vijay
9d51a83625
Review changes for adding file level comments for some files.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-26 02:31:26 +05:30
Piyush Vijay
491b4871a7
Commented code, debug statements and unused variable in Script.php is removed.
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-26 02:31:25 +05:30
Piyush Vijay
b712019735
AJAX handler modified and initial loading of the first page handled
...
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-26 02:31:25 +05:30
Piyush Vijay
56ea9d27fc
server_privilages and server_databases modularized
...
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-26 02:31:25 +05:30
Piyush Vijay
c67854e2a3
New directory Stucture having modules imported and exported.
...
This commit needs proper discussion as many of the upcoming changes are based on this commit.
These files contains the working code only.
Right now the code has the functionality to work with both old js files and new js files.
Commeting style is yet to decide
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-26 02:31:25 +05:30
Piyush Vijay
38cfa4630c
Some functions moved from server_privilages.js to functions.js and typo error removed
...
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-26 02:31:25 +05:30
Deven Bansod
224ae6d86b
Merge pull request #14464 from Piyush3079/Mod_Js_Config
...
* Files for babel, eslint and webpack base configuration and add respective modules in package manager.
Add script in package.json for building js files using webpack.
* Module for importing variable defined in messages.php.
* Some changes in the configuration to revamp file by file not whole directory, environment variable introduced
* Update documentation for the new configuration variables introduced
and adding comments for some code handleing new js files.
* Update node version for scrutinizer. Add webpack environment directives in default.config. Introduce webpack_host and webpack_port
directive and updating package.json build scripts.
* Typo fixes for documentation and comments and webpack configuration directives are added in webpack.config
2018-07-18 17:12:43 +05:30
Piyush Vijay
4d3a8c9e5c
Typo fixes for documentation and comments and webpack configuration directives are added in webpack.config
...
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-16 20:58:33 +05:30
Piyush Vijay
3d9e65674c
Update node version for scrutinizer. Add webpack environment directives in default.config. Introduce webpack_host and webpack_port
...
directive and updating package.json build scripts.
Signed-Off-By: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-15 22:00:49 +05:30
Piyush Vijay
3e56b17bc6
Update documentation for the new configuration variables introduced
...
and adding comments for some code handleing new js files.
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-15 22:00:31 +05:30
Piyush Vijay
59ef2b9159
Some changes in the configuration to revamp file by file not whole directory, environment variable introduced
...
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-15 22:00:21 +05:30
Piyush Vijay
10d545c621
Module for importing variable defined in messages.php.
...
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-15 22:00:17 +05:30
Piyush Vijay
d80a8ba3dd
Files for babel, eslint and webpack base configuration and add respective modules in package manager.
...
Add script in package.json for building js files using webpack.
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-07-15 21:58:14 +05:30
Weblate
d2a282b522
Merge branch 'origin/master' into Weblate
2018-07-11 01:23:41 +02:00
Yaron Shahrabani
35d9bdd187
Translated using Weblate (Hebrew)
...
Currently translated at 49.3% (1625 of 3291 strings)
[CI skip]
Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/he/
Signed-off-by: Yaron Shahrabani <sh.yaron@gmail.com>
2018-07-11 01:23:37 +02:00
Maurício Meneghini Fauth
ce66ab27ea
Merge pull request #14471 from laps15/refactor_tables
...
Refactor tables' tamplates
2018-07-10 20:23:25 -03:00
Olivier Humbert
2e5255cf51
Translated using Weblate (French)
...
Currently translated at 100.0% (3291 of 3291 strings)
[CI skip]
Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/fr/
Signed-off-by: Olivier Humbert <trebmuh@tuxfamily.org>
2018-07-09 01:37:39 +02:00
Leonardo Strozzi
3b8746547d
Fix php code sniffer errors
...
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-07-08 18:31:04 -03:00