Maurício Meneghini Fauth
0bee94b27e
Merge branch 'QA_5_1-security' into master-security
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-01-11 14:31:56 -03:00
Maurício Meneghini Fauth
02e8588404
Merge branch 'QA_4_9-security' into QA_5_1-security
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-01-10 18:39:23 -03:00
Maurício Meneghini Fauth
0b575ff2e9
Fix URL encryption for Util::linkOrButton method
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-01-10 12:19:44 -03:00
Maurício Meneghini Fauth
d84af02945
Create VO classes for each RelationParameters features
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-26 19:17:58 -03:00
Maurício Meneghini Fauth
2a4b170a34
Merge branch 'QA_5_1'
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-21 13:13:09 -03:00
Kamil Tekiela
83d950ed40
Bug fix: Fix triple HTML encoding
...
Some values were encoded into HTML entities thrice. This commit removes
unnecessary HTML escaping.
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2021-12-14 12:21:36 +00:00
Maurício Meneghini Fauth
c4575fd48b
Add methods to check for RelationParameters features
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-12-11 08:10:40 -03:00
Saksham Gupta
f82893d33d
Replace move columns and preview SQL dialog with a modal ( #16932 )
...
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
2021-09-16 16:31:30 -03:00
Maurício Meneghini Fauth
4b030d88ef
Replace pma-auto-slider with Bootstrap's collapse
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-05-31 15:57:26 -03:00
William Desportes
5e18028dbd
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-03-14 15:26:59 +01:00
Saksham Gupta
d4499e51cc
Fix #16604 - Table width 100%
...
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
2021-03-06 13:56:07 +05:30
William Desportes
471d104852
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-02-09 15:49:46 +01:00
Saksham Gupta
dc5843dc2e
Fix : #16612 - Empty relation view table dropdown
...
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
Changes in twig
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
Remove comments
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
2021-02-05 16:56:00 +05:30
William Desportes
694150199e
Merge branch 'QA_5_1'
...
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-01-21 20:02:30 +01:00
Saksham Gupta
d98e5a4efc
Fix #16464 - Relation view with default to current database when creating relations
...
Fixes : #16464
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
2021-01-21 19:53:09 +01:00
Maurício Meneghini Fauth
5178f76f95
Move fieldset CSS style to the .pma-fieldset class
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-12-28 19:46:40 -03:00
Maurício Meneghini Fauth
00151b5f1c
Remove some custom CSS utilities
...
Uses Bootstrap equivalents instead.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-12-22 13:18:58 -03:00
Maurício Meneghini Fauth
6408b7179a
Fix renamed Bootstrap 5 classes
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-12-21 15:28:39 -03:00
Maurício Meneghini Fauth
a86b8622ba
Use Bootstrap's table for table relation page
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-30 23:20:32 -03:00
Maurício Meneghini Fauth
c64b77abe1
Move HTML's table CSS to the pma-table class
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-11-16 16:36:16 -03:00
Petr Duda
1086b2a6ee
Fix #12961 Indexes shown at both tbl_structure and tbl_relation
...
Signed-off-by: Petr Duda <petrduda@seznam.cz>
2020-09-13 19:31:59 +02:00
Maurício Meneghini Fauth
b757d79861
Remove div_for_slider_effect template
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-04-26 20:01:37 -03:00
Maurício Meneghini Fauth
db642ab19e
Extract HTML from Index:getHtmlFromIndexes
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-03-29 23:43:18 -03:00
Maurício Meneghini Fauth
eb2804540f
Extract HTML from Index::getHtmlForDisplayIndexes
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-03-29 16:09:50 -03:00
Maurício Meneghini Fauth
23b084c259
Use the router for table relation page
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-16 00:12:52 -03:00
Maurício Meneghini Fauth
208b0e25e1
Use the router for the sql pages
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-08-03 21:25:27 -03:00
Hugues Peccatte
e53413cba0
Fix closing tags in twigs
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-07-05 22:50:22 +02:00
Maurício Meneghini Fauth
ef5d7dd66b
Use Bootstrap buttons component
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-12-21 01:01:12 -02:00
Maurício Meneghini Fauth
9eba565bf4
Remove unnecessary HTML closing tags
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-12-19 00:12:54 -02:00
Leonardo Strozzi
fc9ccff218
Remove get_div_for_slider_effect twig extension
...
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-08-08 22:15:00 -03:00
Leonardo Strozzi
ad3334ccc3
Refactor Sanitize Twig extensions
...
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-08-03 17:11:32 -03:00
Leonardo Strozzi
1037b1d626
Refactor Util Twig extensions
...
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-08-03 17:11:32 -03:00
Leonardo Strozzi
b65ede42ee
Refactor Url Twig extensions
...
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-08-03 17:11:05 -03:00
Leonardo Strozzi
e7d36c2ff6
Rename table Twig extension
...
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-08-03 17:03:05 -03:00
Leonardo Strozzi
78c1d9e949
Rename relations Twig extensions
...
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-08-03 17:00:30 -03:00
laps15
669b8a512d
Refactor table relation's templates ( #14490 )
...
* Fix secondary tabs bug
* Refactor table relation's templates
* Fix phpstan error report mentioned on pr #14483
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-07-27 18:16:52 -03:00
Leonardo Strozzi
6b08a7c326
Refactor table secondary tabs tamplate
...
Implements inheritance on relation and structure templates
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2018-07-13 09:43:41 -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
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
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
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
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
e2c83b954b
Refactor relation functions to static methods
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-08-22 20:51:27 -03:00