Commit Graph

49 Commits

Author SHA1 Message Date
Madhura Jayaratne
8dc1fe4727 Merge branch 'QA_4_4' 2015-04-23 12:48:26 +05:30
Madhura Jayaratne
179e581475 bug #4866 Limit column ordering in index edit dialog
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-23 12:47:03 +05:30
Madhura Jayaratne
950d6155cf Merge branch 'QA_4_4'
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-20 22:19:56 +05:30
Madhura Jayaratne
fb9ded0c03 column_index can be multi digit
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-20 22:16:47 +05:30
Madhura Jayaratne
04ff48369c Use index parameters defined in create table form
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-20 22:07:53 +05:30
Madhura Jayaratne
a8b2f35b74 Return when source_array is null
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-20 14:05:15 +05:30
Madhura Jayaratne
b2c57f60c4 Reduce duplication
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-20 13:47:48 +05:30
Madhura Jayaratne
06a5e07808 rfe #1626 Display/edit index name
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-20 13:39:27 +05:30
Madhura Jayaratne
e8ced3949d bug #4812 Issues with index dialog while creating a table
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-19 10:16:04 +05:30
Madhura Jayaratne
8403bd6c7e rfe #1235 Relation view: move to main "Structure" page
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-09 12:07:43 +05:30
Madhura Jayaratne
28d3f2a1fc rfe #1096 cannot enter connection for federated engine table
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-30 12:08:51 +05:30
Marc Delisle
2ab2c1d9a4 Missing semicolon
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-01-29 07:13:22 -05:00
Madhura Jayaratne
c2a79dc87a #4739 Make index editor work without the Ajax dialog
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-29 16:09:02 +05:30
Madhura Jayaratne
b4188b0d0b rfe #767 USING BTREE support for HEAP/MEMORY tables
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-28 12:54:02 +05:30
Madhura Jayaratne
05c5ba753c Distinguish between index type and index choice
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-28 11:50:21 +05:30
Madhura Jayaratne
410d1c32df .live() and .die() methods are deprecated. Use .on() and .off() methods instead
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-02 17:07:46 +05:30
Madhura Jayaratne
8d9054f732 Use class attribute to select result_query div
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-12-01 16:49:17 +05:30
Hugues Peccatte
bdb5f333d7 Fix PHPCS issues.
PHPDoc updates.
Minor coding style modifications.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-01 22:07:18 +01:00
Madhura Jayaratne
e7cd2a11cd Add index dialog does not open on choosing index from create table page
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-10-06 19:00:13 +05:30
Atul Pratap Singh
6c83a2f2e3 Merge commit 'a020eac11a26977295cf2439ddd2e5b4af2c88fe'
Conflicts:
	js/config.js
	js/db_search.js
	js/functions.js
	js/makegrid.js
	js/server_privileges.js
	js/tbl_structure.js
2014-10-01 20:42:21 +05:30
Atul Pratap Singh
a020eac11a Add js checks in multiple files if data is undefined
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2014-10-01 10:00:54 +05:30
Smita Kumari
d00ac27f75 fix bug #4540 #4541
Signed-off-by: Smita Kumari <kumarismita62@gmail.com>
2014-09-24 19:34:53 +05:30
Ashutosh Dhundhara
91e9a4d46c RFE#908: Improvements for the table editor (index creation).
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix coding styles.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Make index columns sortable.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix failing test.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix drag icon in Firefox.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-07-22 15:29:06 +05:30
Michal Čihař
31cfc4e34e Hook SQL highlighter to more places
Unfortunately there are quite many places where SQL query might appear,
hopefully I've made it correctly.
2013-05-24 09:59:38 +02:00
Michal Čihař
b5d3b8c7b8 Declare variables just once
Variables should be declared just once in a function.
2013-04-16 17:26:08 +02:00
Michal Čihař
27b213431c Reference javascript messages by dot notation instead of using ['strFoo'] 2013-04-16 13:32:51 +02:00
Michal Čihař
e2571c5628 Various javascript spacing fixes 2013-04-15 16:20:04 +02:00
Michal Čihař
a1b6f206b2 Various spacing and identation fixes 2013-04-15 15:13:14 +02:00
Michal Čihař
020a3e1ce4 Use type cast safe comparison
The values like true, '' or 0 could compare to lot of other stuff with
type casting.
2013-04-15 12:03:11 +02:00
Mohamed Ashraf
97deaa054c Fixed bug with refreshing the page in add/drop index 2013-03-21 21:16:12 +02:00
Mohamed Ashraf
c2004e35e3 Page no longer reloads on drop of index 2013-03-21 15:02:56 +02:00
Mohamed Ashraf
d019381903 Moved the event handlers for the index form to indexes.js 2013-03-21 14:37:11 +02:00
Rouslan Placella
3ca7d34240 Destroy registered jQuery events on page tear down 2012-10-30 20:07:01 +00:00
Rouslan Placella
5838a44339 Use AJAX.registerOnload() instead of $(document).ready() 2012-10-30 20:07:01 +00:00
Jo Michael
13644d8591 Short-hand notation for jQuery document.ready event 2012-04-21 02:44:18 +02:00
Gemorroj
8bdca339f6 Better compatibility with newer versions of jQuery.
Method of "attr" changed to "prop", method of "removeAttr" changed to "removeProp", attr("value" is replaced by the method of "val".
2012-04-07 14:27:28 +03:00
Madhura Jayaratne
da712fd263 Add more columns to index controllers are now in footer 2012-03-25 16:48:22 +05:30
Thilanka Kaushalya
ba6e1fc879 Moved checkIndexName function to functions js file and rewrite it using jquery 2011-07-07 23:52:22 +05:30
Thilanka Kaushalya
37641b3404 Fixed bugs in index edit 2011-07-06 19:55:57 +05:30
Rouslan Placella
064d399d87 Merge branch 'QA_3_4'
Conflicts:
	tbl_indexes.php
2011-07-04 13:03:14 +01:00
Rouslan Placella
2ec0de3a9f Fix for bug #3350790 - JS error in Table->Structure->Index->Edit 2011-07-04 12:51:17 +01:00
Madhura Jayaratne
f08f9bce7e On creation or alteration spatial indexes do not allow 1. Multiple columns 2. Specifying prefix 2011-05-25 23:52:28 +05:30
Marc Delisle
b95179c99c Duplicated code 2010-09-25 09:21:13 -04:00
Michal Čihař
0431042bd0 Drop $Id$ expansion, nobody complained so far it not working. 2010-09-07 15:00:44 +02:00
Michal Čihař
d17fba309c Fix permissions.
Most files were made executable somewhere in ninadsp tree, reverting
this.
2010-08-30 09:53:37 +02:00
ninadsp
bed1948d04 testing git setup - no major change made in code yet
only added a few comments
2010-05-23 01:22:01 +05:30
Sebastian Mendel
ba662b78f6 use array for JavaScript messages 2007-10-04 15:03:44 +00:00
Sebastian Mendel
374abd5173 fixed/added page level docblock 2007-03-20 10:32:13 +00:00
Michal Čihař
618f2d7408 Move javascript stuff out of libraries folder. 2005-11-23 19:10:30 +00:00