Commit Graph

241 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Maurício Meneghini Fauth
0db0ba0c55 Use template for getContinueInsertionForm method
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-01-27 22:52:43 -02:00
Maurício Meneghini Fauth
39198725fe Use CSS to hide table structure action buttons
Fix #13694

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-31 18:25:21 -02:00
Maurício Meneghini Fauth
1a4d65a58c Use template for getHtmlForShowAll method
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-28 14:25:06 -02:00
Maurício Meneghini Fauth
5a003ad9c9 Use template for getHtmlForColumnElement method
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-28 13:51:46 -02:00
Michal Čihař
613a146e97 Adjust field drop to use POST
Issue #13866

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-12-15 12:20:57 +01:00
Michal Čihař
7508205191 Adjust optimize table to use POST
Issue #13866

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-12-15 12:17:49 +01:00
Michal Čihař
599a981b50 Adjust partition manipulations to use POST
Issue #13866

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-12-15 12:16:07 +01:00
Michal Čihař
e7eaea8c86 Adjust browsing distinct values to use POST
Issue #13866

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-12-15 12:15:10 +01:00
Michal Čihař
6ee2f12841 Adjust adding table key operations to use POST
Issue #13866

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-12-15 12:14:31 +01:00
Maurício Meneghini Fauth
1637796ca6 Use template for getHtmlForDataStatements method
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-10 13:34:09 -02:00
Maurício Meneghini Fauth
2f84cecdb9 Use template for getHtmlForOneStatement method
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-10 11:42:53 -02:00
Maurício Meneghini Fauth
220b94caa0 Use template for getHtmlForSelectableTables method
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-10 11:42:53 -02:00
Maurício Meneghini Fauth
5128fd4c29 Use template for getHtmlForDataDefinitionAndManipulationStatements
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-10 11:42:53 -02:00
Maurício Meneghini Fauth
925c2e0863 Use template for getHtmlForColumns method
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-10 11:42:53 -02:00
Maurício Meneghini Fauth
d5fedaf4c7 Use template for getHtmlForIndexes method
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-10 11:42:53 -02:00
Maurício Meneghini Fauth
09f7fb12d7 Use template for getHtmlForIndex method
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-10 11:42:53 -02:00
Maurício Meneghini Fauth
4f47e9d6cf Use template for getHtmlForField method
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-10 11:42:53 -02:00
Maurício Meneghini Fauth
64e36d8746 Use template for getHtmlForActivateDeactivateTracking
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-12-10 11:42:53 -02:00
Michal Čihař
bed6fb4ebd Avois passing extension to Util::getImage
We do not use it anyway for quite some time and this way it's less
processing to generate the img tag.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-27 14:24:42 +01:00
Michal Čihař
f29640c5d8 Remove $strip_img parameter from Util::linkOrButton
It did not behave as documented for ages, it only influenced
whether additional text was added to the link.

Callers should use parameters to Util::getIcon to achieve this
(if it is actually needed somewhere)

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 15:41:27 +01:00
Michal Čihař
50c65bc3fb Remove no longer needed $new_form from Util::linkOrButton
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-16 15:33:53 +01:00
Maurício Meneghini Fauth
f20083a9f4 Fix missing icons
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-14 21:06:26 -02:00
Maurício Meneghini Fauth
708bd63d61 Fix escaped html in GIS visualization
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-09 12:47:45 -02:00
Maurício Meneghini Fauth
bbb349af4a Fix foreign key table always empty
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-02 18:11:22 -02:00
Michal Čihař
2ed0142950 Avoid using concatenation in |trans filter
The generated PHP code can not be extracted using xgettext.

This is workaround for #13794, should be reverted after proper fix.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-02 13:41:04 +01:00
Maurício Meneghini Fauth
3bb5e0d732 Fix wrong incremental order
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-01 12:44:56 -02:00
Maurício Meneghini Fauth
9b653cbba3 Port table/relation/common_form template to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-29 16:46:52 -02:00
Maurício Meneghini Fauth
01bd6d1455 Port table/relation/foreign_key_row template to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-29 12:18:28 -02:00
Maurício Meneghini Fauth
f134a3ba67 Refactor templates/table/relation/foreign_key_row.phtml
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-29 12:18:28 -02:00
Michal Čihař
99e47a90d9 Always define correct connection type
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-25 10:21:18 +02:00
Maurício Meneghini Fauth
203ce222a2 Escape backslash in table/structure/display_structure
Fix #13772

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-23 22:43:22 -02:00
Maurício Meneghini Fauth
c244264092 Port table/structure/display_structure to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-23 11:31:58 -02:00
Maurício Meneghini Fauth
43bf9e5e78 Port table/structure/partition_definition_form to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-17 23:03:32 -02:00
Maurício Meneghini Fauth
fa5c45444e Port columns_definitions/partitions to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-10-17 22:55:24 -02:00
Michal Čihař
35e15e90c1 Fixed rendering of none default value on table structure
Fixes #13729

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-16 11:42:55 +02:00
CommanderRoot
29c100b57a Fix input value escaping
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2017-10-13 19:27:43 +02:00
Michal Čihař
3eb6148ac0 Change label to Advanced Options
Issue #13514

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-10-11 14:59:30 +02:00