Commit Graph

5176 Commits

Author SHA1 Message Date
Rouslan Placella
d3fa11c19b Move declarations of globals into functions, so that unit tests are possible 2011-07-13 18:42:10 +01:00
Marc Delisle
b2d8e0b60f Clarify directive name: ShowDisplayDir -> ShowDisplayDirection 2011-07-13 09:19:38 -04:00
Piotr Przybylski
e7a4453406 More code formatting changes 2011-07-13 14:02:43 +02:00
Rouslan Placella
02b32a14b5 PHP's in_array does not work on multidimential arrays 2011-07-13 12:29:02 +01:00
Rouslan Placella
0ebd961db7 Merge branch 'rte' 2011-07-13 11:15:25 +01:00
Piotr Przybylski
2c0d2aca16 Use PMA_MYSQL_STR_VERSION instead of reconstructing it from PMA_MYSQL_INT_VERSION 2011-07-12 18:16:01 +02:00
Rouslan Placella
8aad65b494 Moved some Routine functions around to match the order of Event and Trigger functions. 2011-07-12 17:14:32 +01:00
Piotr Przybylski
ced22c9c22 Remove unused function from most export plugins: PMA_exportComment
It's used only locally in SQL export
2011-07-12 17:50:46 +02:00
Piotr Przybylski
f14a4e567f Unify comments for export plugins 2011-07-12 17:50:46 +02:00
Rouslan Placella
ff7468b2cf Merge branch 'master' into rte 2011-07-12 14:54:42 +01:00
Rouslan Placella
fed169554a Swapped some inline styles for classes. 2011-07-12 14:52:36 +01:00
Rouslan Placella
6f0f522fcd Do not send 'name' and 'row' data in the AJAX request, if it will not be used because the trigger will not be inserted into the list. 2011-07-12 14:38:40 +01:00
Madhura Jayaratne
7802be3c48 Avoid notices about undefined array index 2011-07-12 19:00:44 +05:30
Rouslan Placella
9898cf8609 Coding guidelines for routines. 2011-07-12 14:00:42 +01:00
Rouslan Placella
c8ec2dd8cb Coding guidelines for triggers. 2011-07-12 12:58:23 +01:00
Rouslan Placella
4df98e9e62 Coding guidelines for code common to Routines, Triggers and Events. 2011-07-12 12:02:12 +01:00
Rouslan Placella
262a27232e Coding guidelines for events. 2011-07-11 16:00:43 +01:00
Rouslan Placella
eb33912d8d Merge branch 'master' into rte 2011-07-11 12:30:47 +01:00
Rouslan Placella
a4dd7561b0 SERIAL and BOOLEAN types have no length. 2011-07-11 12:28:09 +01:00
Michal Čihař
4b80c81536 Merge branch 'QA_3_4' 2011-07-10 22:47:34 +02:00
Michal Čihař
ed88c4a7b6 Fix error when gettext is not yet loaded and we want to warn.
This happens when PHP is compiled without session support, which is
checked before gettext is loaded.
2011-07-10 22:46:46 +02:00
Piotr Przybylski
2c4c45a68d SERIAL and BOOLEAN columns have no length 2011-07-09 21:49:07 +02:00
Rouslan Placella
125467978e Removed some pointless parameters from functions that handle the editing and execution of routines 2011-07-08 16:40:59 +01:00
Rouslan Placella
283bb10c35 More comments for functions that handle Routines, Triggers and Events 2011-07-08 16:36:20 +01:00
Rouslan Placella
612d6a1ff1 Standardized all "name" attributes for input fields of the Routines, Triggers and Events editors 2011-07-08 16:05:46 +01:00
Rouslan Placella
cae5bba400 Better filtering on generation of 'CREATE [ROUTINE|TRIGGER|EVENT]' queries. 2011-07-08 13:21:32 +01:00
Rouslan Placella
ec83a934d1 Merge branch 'master' into rte 2011-07-08 11:36:48 +01:00
Rouslan Placella
5a35754d0b Reverted to fetching lists by row instead of by cell, also implemented better control over some localized strings 2011-07-07 15:27:48 +01:00
Michal Čihař
5140c38db0 Remove dead code 2011-07-07 15:59:22 +02:00
Michal Čihař
624d0db703 Better translatable title 2011-07-07 15:11:58 +02:00
Michal Čihař
90a232d8fb Add definition for Breton 2011-07-07 13:46:15 +02:00
Rouslan Placella
dad5d3594a Merge branch 'master' into rte 2011-07-07 12:31:53 +01:00
Piotr Przybylski
e15d5de309 Add TO_SECONDS and UUID_SHORT to MySQL function list (only for supported versions) 2011-07-06 19:31:54 +02:00
Rouslan Placella
b3b7d45e78 Dropping useless rte_common.lib.php 2011-07-06 18:08:22 +01:00
Rouslan Placella
b03249f64a Do not export the delimiter for triggers 2011-07-06 18:01:51 +01:00
Rouslan Placella
6490a75c4e Fixed bug, where after deleting a table the Routines, Triggers and Events tabs stopped working. 2011-07-06 17:57:21 +01:00
Piotr Przybylski
66158f66c2 Move DefaultFunctions back to config.default.php 2011-07-06 17:47:07 +02:00
Piotr Przybylski
511cf978f6 Infer $cfg['Functions'] from $cfg['RestrictFunctions'] 2011-07-06 17:44:18 +02:00
Piotr Przybylski
866d1da95a Move ColumnTypes, AttributeTypes, Functions, RestrictColumnTypes, RestrictFunctions and DefaultFunctions to a separate file 2011-07-06 17:29:33 +02:00
Piotr Przybylski
87a539aea7 Remove *Operators configuration variables 2011-07-06 17:00:33 +02:00
Piotr Przybylski
c9df5b2733 Removed unused variables 2011-07-06 16:34:10 +02:00
Rouslan Placella
ccd1cc3f9e Simplified code for 'export' functionality of Routines, Triggers and Events 2011-07-06 14:29:46 +01:00
Rouslan Placella
d1f0b34ab5 Merge branch 'master' into rte 2011-07-06 14:18:36 +01:00
Rouslan Placella
d47e01e7ef Tabs -> Spaces 2011-07-05 16:06:37 +01:00
Rouslan Placella
7857a05de3 Removed pointless constant 'ITEM' 2011-07-05 16:04:08 +01:00
Rouslan Placella
9c11b373fb Added '---' to otherwise empty table cells in the routines editor. 2011-07-05 15:45:43 +01:00
Rouslan Placella
8e8a5e54f0 Bolded the labels in the editor for Routines, Triggers and Events 2011-07-05 14:48:40 +01:00
Herman van Rink
39cb55a0de Merge branch 'master' of ssh://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin/phpmyadmin 2011-07-05 14:46:24 +02:00
Herman van Rink
82f83dac2f Fixed XSS in unreleased RecentTable class 2011-07-05 14:46:13 +02:00
Rouslan Placella
357d84e52f Merge branch 'master' into rte
Conflicts:
	js/db_routines.js
2011-07-05 13:13:31 +01:00