Commit Graph

754 Commits

Author SHA1 Message Date
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
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
Leonardo Strozzi
bcad25a84a Refactor table_tracking main tamplates
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-07-08 17:40:59 -03:00
Maurício Meneghini Fauth
5f5515c1dd
Merge pull request #14356 from williamdes/issue-14171-phpgd
Fix for #14171 - 2FA+QR+PHPGD
2018-07-04 19:48:17 -03:00
Leonardo Strozzi
36ceaee55a Refactor server_engines templates
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-06-29 20:23:26 -03:00
Leonardo Strozzi
28d890f7f7 Refactor server_plugins templates
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-06-29 18:05:29 -03:00
Leonardo Strozzi
217a0db2f8 Refactor server_variables templates
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-06-29 16:36:36 -03:00
Leonardo Strozzi
15ae8d7fe5 Refactor server_databases templates
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-06-29 16:36:36 -03:00
William Desportes
49fae81505
Fix for #14171 - 2FA QR PHPGD
Closes: #14171
Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-06-29 21:21:59 +02:00
Leonardo Strozzi
491ce9a669 Refactor db_tracking templates
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-06-25 23:42:22 -03:00
Leonardo Strozzi
c03214780d Refactor Database Structure templates
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-06-20 22:46:44 -03:00
Leonardo Strozzi
99506813b6 Refactor db search templates
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-06-20 22:12:13 -03:00
William Desportes
24a8518b2a
Fix twig for
- for 0..-1 does 2 iterations anyway
- for 0..0 does 1 iterations anyway

Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-06-15 21:37:44 +02:00
William Desportes
04fe7d0da9
Use php:rawurlencode/twig:url_encode in designer
Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-06-15 21:37:42 +02:00
William Desportes
096d170e04
Move designer config to javascript w/json
Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-06-15 21:37:32 +02:00
William Desportes
bdb52e808a
Closes #14374 - Structure broken
Security issue fix.

Closes: #14374
Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-06-12 20:37:49 +02:00
Leonardo Strozzi
0d26cfb5f1 Finish db designer refactor
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-06-11 19:37:07 -03:00
Leonardo Strozzi
be673f908d Refactor db central columns templates
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-06-03 00:34:12 -03:00
Maurício Meneghini Fauth
93bf3d0d17
Merge pull request #14341 from laps15/bugfix
Fix bug reported on pull request #14305
2018-05-29 21:30:22 -06:00
Leonardo Strozzi
5d0fd81e67 Remove Twig php function extensions
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-05-29 23:06:31 -03:00
Leonardo Strozzi
c021125052 Fix bug reported on pull request #14305
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-05-29 22:27:48 -03:00
Leonardo Strozzi
927fed774c Remove md5 twig extension
Adapt templates to remove md5 from PhpFuncionsExtension.php

Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-05-22 07:54:03 -03:00
Lakshay arora
9231620c2d Fix for issues with spatial fields (#14125)
*  Fix for issues with spatial fields

Fixes the following issues:

1.    #14068 SPATIAL fields with no unique index/autoincrement error when clicking
      This error occurs when there is no unique column to uniquely identify a tuple. I've disabled the geomtery view and made view as wkt the default view in such cases.

2.    #14121 View spatial fields as WKT doesn't work

1.    #14067 IS NULL search operator produces no WHERE SQL with spatial fields

Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>

* Fix for issues with spatial fields
This commit fixes view as BINARY not working in the previous commit.
Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>

* Fix for issues with spatial fields

Fixes typo in previous commits.

Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>
2018-05-12 03:44:58 -03:00
Maurício Meneghini Fauth
1e33acf64e Merge branch 'QA_4_8'
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-10 20:11:33 -03:00
Maurício Meneghini Fauth
4f77afe84c Fix double escaping in column comments
Fixes #14266

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-10 20:07:20 -03:00
Maurício Meneghini Fauth
d56d6af075
Merge pull request #14280 from laps15/templates
Adapt html functions to Twig templates
2018-05-10 17:57:06 -03:00
Leonardo Strozzi
c634200564 Addapt getHtmlForTableRow to twig template
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-05-10 11:45:28 -03:00
Leonardo Strozzi
1967db6ae1 Replace Util::getIcon by Twig exetension
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-05-10 11:08:43 -03:00
Lakshay arora
f02c18cb70 Fix for missing go button in view edit, #14249
Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>

(cherry picked from commit 3641a6521e)
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-08 23:16:18 -03:00
Lakshay arora
3641a6521e Fix for missing go button in view edit, #14249
Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>
2018-05-08 01:13:00 +05:30
Maurício Meneghini Fauth
2f824e5508
Merge pull request #14216 from Piyush3079/PMA_14212
Fix XML Export fatal error and add Move columns preview SQL
2018-05-04 02:40:54 -03:00
Leonardo Strozzi
5bc8689b13 Addapt getTableHeader to twig template
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-05-03 22:21:02 -03:00
Maurício Meneghini Fauth
f65f59c8e8 Merge branch 'QA_4_8'
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-03 13:45:57 -03:00
Maurício Meneghini Fauth
e7a6ff8a0e Remove duplicated input in application_configure.twig
Some coding style fixes.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-03 13:40:33 -03:00
Raman Tehlan
3054999afe Display the secret for 2FA - #14128 (#14154)
* 2FA Secret added
* 2FA Secret Displayed

Fix #14128

Signed-off-by: Raman Tehlan <ramantehlan@gmail.com>
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
(cherry picked from commit 8dbae11f6f)
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-03 13:28:52 -03:00
Raman Tehlan
8dbae11f6f Display the secret for 2FA - #14128 (#14154)
* 2FA Secret added
* 2FA Secret Displayed

Signed-off-by: Raman Tehlan <ramantehlan@gmail.com>
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-03 13:24:06 -03:00
Maurício Meneghini Fauth
42d4f32d50 Merge branch 'QA_4_8'
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-04-29 15:02:32 -03:00
Madhura Jayaratne
49e2a98158 Fix #14241 Dropping indexes and foreign keys fail
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2018-04-29 23:54:28 +10:00
Aswani Prakash
17099186be #12772 issue central column attributes don't get filled in
Signed-off-by: Aswani Prakash <aswani15prakash@gmail.com>
(cherry picked from commit 95867b18fa)
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-04-24 13:18:42 -03:00
Aswani Prakash
95867b18fa #12772 issue central column attributes don't get filled in
Signed-off-by: Aswani Prakash <aswani15prakash@gmail.com>
2018-04-24 10:13:35 +05:30
Piyush Vijay
efaf47050a
Move columns preview SQL: #14155 feature added
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
2018-04-22 02:38:45 +05:30
Isaac Bennetch
c5f21dadc9 Tell browsers to not remember or autocomplete two-factor input.
Fixes #14131

Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2018-04-04 13:43:31 -04:00
Isaac Bennetch
434c13606a Merge branch 'QA_4_8' 2018-04-04 13:49:27 -04:00
Maurício Meneghini Fauth
31d6bc8d91
Merge pull request #14122 from vyeshwanth/PMA_14043
Enhancement: Button to add a central column from existing tables Fix #14043
2018-03-30 17:45:21 -03:00
vyeshwanth
973931eeba Designer: Add options dialog is pre-filled with spaces #14111 issue fix
Signed-off-by: Yeshwanth Vuppu <vyeshwanth123@gmail.com>
(cherry picked from commit 6e76bf3504)
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-03-30 17:22:00 -03:00
vyeshwanth
6e76bf3504
Designer: Add options dialog is pre-filled with spaces #14111 issue fix
Signed-off-by: Yeshwanth Vuppu <vyeshwanth123@gmail.com>
2018-03-30 21:00:32 +05:30
vyeshwanth
096b2ac6d7
Enhancement: Button to add a central column from existing tables #14043
Signed-off-by: Yeshwanth Vuppu <vyeshwanth123@gmail.com>
2018-03-30 20:43:22 +05:30
Lakshay arora
85c975f27f Fix for issue #13439
Problem 1:
The number of td elements in the zoom search form table were insufficient, due to which, the field_type(element #types_$) was getting replaced with field_value(element td:eq(3))(see ./js/tbl_zoom_jqplot.js lines 164, 188, 211, 232). Added a td element in the table for each row.
Problem 2:
The events attached to 'tableid_$' were inserting the values in wrong tr elements(see ./js/tbl_zoom_jqplot.js lines 185-188, 208-211, 229-232), leading to wrong values being passed to the zoom search.

Signed-off-by: Lakshay arora <b16060@students.iitmandi.ac.in>
2018-03-29 15:30:39 -03:00
Maurício Meneghini Fauth
ca7fd2b2c7 Fix case where 'query' is always considered defined
Related to #14079

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-03-27 18:44:28 -03:00
Lakshay arora
2aecbf41e1 Fixes error in foreign key sql generation + drop foreign key contraint (#14031)
* Fixes error in foreign key sql genration, issue #14030
Changed:
	templates/table/relation/foreign_key_row.twig
The destination_column_names were getting passed as a 1d array, the names when extracted gave a string. Passing it as a 2d array (see templates/table/relation/foreign_key_row.twig lines 123,133) fixes the issue.

Sign-Off-By: Lakshay arora (b16060@students.iitmandi.ac.in)

* Fixes error in foreign key sql generation + drop foreign key contraint, issue #14030
Changed:
	templates/table/relation/foreign_key_row.twig

Fix #13941
Fix #14009
Close #14037
Close #14010

Signed-off-by: Lakshay arora <b16060@students.iitmandi.ac.in>
(cherry picked from commit 00b59624e3)
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-03-27 16:02:33 -03:00