Deven Bansod
c6db1f9a50
Optimize table link should not be visible in print page
...
Fix #13579
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-08-13 06:23:31 +05:30
Michal Čihař
85747b9ae9
Use usort() instead of natsort()
...
The natsoft has side effect of producit associated array, what is later
represented as object if encoded to JSON and breaking code expect array
instead.
Fixes #13465
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-10 14:34:12 +02:00
Michal Čihař
1ecf2561a1
Unmark field as required
...
Otherwise the hidden field blocks form submission.
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-13 17:35:27 +02:00
Michal Čihař
358d2fd1f1
Rewrite export alias defining
...
The old code did load all colums for all tables in all databases in
export. This can easily explode for server wide exports or exports on
database with lot of tables.
It has been rewritten in a way to load required data on demand from
server. This will make aliases defining slightly slower, but I think
it's acceptable price for making the export work on larger databases.
Fixes #13008
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-06-13 17:02:45 +02:00
Peter Keller
3a9c2a9259
Fix to issue #12976
...
Signed-off-by: Peter Keller <petekeller2@gmail.com>
2017-06-06 13:46:27 +02:00
Deven Bansod
8486d8afa7
Use correct value as an argument to the Collation Description function
...
Fix #13135
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2017-03-31 19:46:29 +05:30
TheSaturn
4119b5ca3d
Adds html encoding for db name
...
Issue #13032
Signed-off-by: TheSaturn <saturn@thesaturn.me>
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-21 09:50:19 +01:00
Michal Čihař
e4c5401e6c
Properly escape MIME transformatoin names
...
Fixes #13045
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-02 09:19:37 +01:00
Isaac Bennetch
b50b97af49
Hide comment field on table Structure tab when no comment is set
...
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-02-21 21:36:52 -05:00
Isaac Bennetch
2f7dd1e149
Slight improvements to the UI for Relation view; Fixes to table structure.
...
Fixes #13016 and #13017
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-02-19 09:17:13 -05:00
Michal Čihař
8f8943abf4
Improved foreign key editor
...
- sort numerically with NaturalOrder
- do not add extra empty value on not set foreign keys
Fixes #12976
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-14 11:27:42 +01:00
Michal Čihař
bca2e1c588
Use standard way for getting token value in designer
...
This way we share code with rest of phpMyAdmin, not building it again.
Fixes #12804
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-13 15:00:11 +01:00
Michal Čihař
522c0598fa
Sort column names as well
...
Fixes #12941
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-13 14:17:20 +01:00
Michal Čihař
924aabf652
Do not show language selector without choices
...
Move the check from template to the code, so that the selection is
completely hidden when there is nothing to select.
Fixes #12988
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-13 11:22:43 +01:00
Michal Čihař
736e2061b8
Add missing parameter (issue #12941 )
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-02 15:24:25 +01:00
Michal Čihař
f67ac81675
Use getTables instead of contructing the list again
...
We do not need any condition here as in native relations.
Issue #12941
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-02 15:12:57 +01:00
Michal Čihař
4f151204d2
Fix more tables where table sorting is not honored
...
Issue #12941
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-02 15:11:22 +01:00
Michal Čihař
5a3410ca86
Fixed sorting of tables in relation view
...
Fixes #12941
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-02 14:43:18 +01:00
Michal Čihař
be4eaf5243
Merge branch 'master' into master-security
2017-01-21 16:46:12 +01:00
Isaac Bennetch
77c33d0444
Rename Relations to Relationships in many places; Fixes issue #12536
...
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2017-01-13 18:20:30 -05:00
Michal Čihař
3f4487f985
Merge branch 'master' into master-security
2016-12-21 11:11:25 +01:00
Michal Čihař
6a84202981
Use existing filtering template for table filtering
...
Issue #12838 , #12069
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-21 10:22:35 +01:00
Yunus Çağrı
f256391545
Inline javascript codes are removed. Each is used for table search
...
Signed-off-by: Yunus Çağrı <ycagriyurdakul@gmail.com>
2016-12-20 23:53:00 +03:00
Yunus Çağrı
ec4ef65f36
Feature: #12069 : Filtering tables on table listing of particular database.
...
Signed-off-by: Yunus Çağrı <ycagriyurdakul@gmail.com>
2016-12-19 22:56:15 +03:00
Michal Čihař
5cbcb202b8
Merge branch 'QA_4_6'
2016-12-19 17:14:15 +01:00
Michal Čihař
d730db1259
Add some missing html encoding
...
Issue #12804
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-19 17:13:43 +01:00
Michal Čihař
9b04a6d293
Fix rendering of language selector
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-13 12:59:41 +01:00
Michal Čihař
7157322719
Merge branch 'QA_4_6-security' into master-security
2016-12-08 11:01:43 +01:00
Michal Čihař
3c9d440990
Merge remote-tracking branch 'security/pull/217' into QA_4_6-security
2016-12-08 10:18:11 +01:00
Michal Čihař
2c00f5e8ac
Remove odd/even markup from templates
...
Issue #12070
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-07 10:17:15 +01:00
Michal Čihař
9e1b8dc89d
Improve spelling
...
Issue #12247
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-01 12:05:46 +01:00
Michal Čihař
e76af4db99
Merge remote-tracking branch 'origin/pull/12583'
2016-12-01 12:03:48 +01:00
Michal Čihař
519bddaa09
Merge branch 'QA_4_6'
2016-11-28 13:53:55 +01:00
Michal Čihař
068eae7e67
Add missing end of tags
...
Fixes #12746
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-11-28 13:53:34 +01:00
Deven Bansod
9e27e02688
Refactor intials row to use template
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-28 10:27:25 +05:30
Deven Bansod
2cd98b5918
Refactor get html for add user and delete user to use template
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-25 09:41:34 +05:30
Deven Bansod
faf2b038e6
Refactor html for Global Priv table to use template
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-24 09:03:12 +05:30
Deven Bansod
f9ee9d1ddf
Refactor SSL requires div to use template
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-24 00:20:09 +05:30
Deven Bansod
440efade9b
Refactor getHtmlForResourceLimits to use template
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-23 08:41:10 +05:30
Deven Bansod
5688cd4bea
Refactor getHtmlForColumnPrivileges to use template
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-22 13:34:36 +05:30
Deven Bansod
0f411d04ca
Refactor html for choosing user group to use template
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-22 10:18:14 +05:30
Patric Gustafsson
1f52c2a829
Remove unused variable
...
Signed-off-by: Patric Gustafsson <patricjgustafsson@outlook.com>
2016-11-16 18:38:22 +02:00
Patric Gustafsson
8e6202bbc9
Remove odd CSS class logic from template files
...
Odd CSS class is no longer needed, background coloring
is now done with CSS pseudo-class.
Signed-off-by: Patric Gustafsson <patricjgustafsson@outlook.com>
2016-11-15 19:22:34 +02:00
Patric Gustafsson
1bd5fe709d
Merge remote-tracking branch 'upstream/master'
2016-11-15 18:08:24 +02:00
Michal Čihař
986012bce0
Fold hidden input into exiting rows
...
This makes it easier to change them using CSS, see pr #12287 .
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-11-10 09:37:01 +01:00
Deven Bansod
e7930b23b3
Show Language choosing option only if more than 1 available languages
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-02 21:31:15 +05:30
Deven Bansod
e2dac31bdb
Refactor the language selector display into a template
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-10-31 09:02:59 +05:30
Deven Bansod
03fd02ad50
Merge branch 'QA_4_6'
2016-10-30 14:50:12 +05:30
Deven Bansod
1475c0e811
Allow Foreign keys to be added on non-indexed columns, if it's an InnoDB table
...
InnoDB automatically creates an index over the column, which can be replaced
by defining a new index over the same column.
Fix #12665
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-10-30 13:39:02 +05:30
Deven Bansod
2bf398a3a8
Use sprintf instead of directly concatenating the variable
...
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-10-10 20:56:15 +05:30