Permalink
Browse files

do not try to display a tab that was not built

  • Loading branch information...
lem9 committed Aug 22, 2009
1 parent 869571e commit 15441ded5d0f1e12b4a8604d7e6f5745d1fe3ad6
Showing with 76,777 additions and 2,439 deletions.
  1. +29 −2 ChangeLog
  2. +153 −3 Documentation.html
  3. +1 −0 config.sample.inc.php
  4. +10 −0 db_structure.php
  5. +206 −0 db_tracking.php
  6. +5 −0 docs.css
  7. +10 −3 import.php
  8. +77 −0 lang/afrikaans-utf-8.inc.php
  9. +117 −40 lang/albanian-utf-8.inc.php
  10. +77 −0 lang/arabic-utf-8.inc.php
  11. +77 −0 lang/azerbaijani-utf-8.inc.php
  12. +78 −1 lang/bangla-utf-8.inc.php
  13. +77 −0 lang/basque-utf-8.inc.php
  14. +77 −0 lang/belarusian_cyrillic-utf-8.inc.php
  15. +77 −0 lang/belarusian_latin-utf-8.inc.php
  16. +77 −0 lang/bosnian-utf-8.inc.php
  17. +1,135 −1,041 lang/brazilian_portuguese-utf-8.inc.php
  18. +77 −0 lang/bulgarian-utf-8.inc.php
  19. +88 −11 lang/catalan-utf-8.inc.php
  20. +77 −0 lang/chinese_simplified-utf-8.inc.php
  21. +83 −6 lang/chinese_traditional-utf-8.inc.php
  22. +77 −0 lang/croatian-utf-8.inc.php
  23. +81 −4 lang/czech-utf-8.inc.php
  24. +77 −0 lang/danish-utf-8.inc.php
  25. +80 −3 lang/dutch-utf-8.inc.php
  26. +77 −0 lang/english-utf-8.inc.php
  27. +115 −38 lang/estonian-utf-8.inc.php
  28. +77 −0 lang/finnish-utf-8.inc.php
  29. +92 −15 lang/french-utf-8.inc.php
  30. +77 −0 lang/galician-utf-8.inc.php
  31. +77 −0 lang/georgian-utf-8.inc.php
  32. +403 −330 lang/german-utf-8.inc.php
  33. +306 −229 lang/greek-utf-8.inc.php
  34. +78 −1 lang/hebrew-utf-8.inc.php
  35. +117 −40 lang/hindi-utf-8.inc.php
  36. +78 −1 lang/hungarian-utf-8.inc.php
  37. +77 −0 lang/indonesian-utf-8.inc.php
  38. +77 −0 lang/italian-utf-8.inc.php
  39. +77 −0 lang/japanese-utf-8.inc.php
  40. +77 −0 lang/korean-utf-8.inc.php
  41. +77 −0 lang/latvian-utf-8.inc.php
  42. +79 −2 lang/lithuanian-utf-8.inc.php
  43. +77 −0 lang/macedonian_cyrillic-utf-8.inc.php
  44. +77 −0 lang/malay-utf-8.inc.php
  45. +136 −59 lang/mongolian-utf-8.inc.php
  46. +77 −0 lang/norwegian-utf-8.inc.php
  47. +104 −27 lang/persian-utf-8.inc.php
  48. +78 −1 lang/polish-utf-8.inc.php
  49. +77 −0 lang/portuguese-utf-8.inc.php
  50. +78 −1 lang/romanian-utf-8.inc.php
  51. +78 −1 lang/russian-utf-8.inc.php
  52. +77 −0 lang/serbian_cyrillic-utf-8.inc.php
  53. +77 −0 lang/serbian_latin-utf-8.inc.php
  54. +79 −2 lang/sinhala-utf-8.inc.php
  55. +77 −0 lang/slovak-utf-8.inc.php
  56. +77 −0 lang/slovenian-utf-8.inc.php
  57. +96 −19 lang/spanish-utf-8.inc.php
  58. +91 −15 lang/swedish-utf-8.inc.php
  59. +77 −0 lang/tatarish-utf-8.inc.php
  60. +78 −1 lang/thai-utf-8.inc.php
  61. +93 −16 lang/turkish-utf-8.inc.php
  62. +77 −0 lang/ukrainian-utf-8.inc.php
  63. +81 −4 lang/uzbek_cyrillic-utf-8.inc.php
  64. +81 −4 lang/uzbek_latin-utf-8.inc.php
  65. +1 −1 libraries/Message.class.php
  66. +749 −0 libraries/PHPExcel/PHPExcel.php
  67. +3,075 −0 libraries/PHPExcel/PHPExcel/Calculation.php
  68. +52 −0 libraries/PHPExcel/PHPExcel/Calculation/Exception.php
  69. +60 −0 libraries/PHPExcel/PHPExcel/Calculation/ExceptionHandler.php
  70. +625 −0 libraries/PHPExcel/PHPExcel/Calculation/FormulaParser.php
  71. +176 −0 libraries/PHPExcel/PHPExcel/Calculation/FormulaToken.php
  72. +149 −0 libraries/PHPExcel/PHPExcel/Calculation/Function.php
  73. +10,505 −0 libraries/PHPExcel/PHPExcel/Calculation/Functions.php
  74. +351 −0 libraries/PHPExcel/PHPExcel/Calculation/functionlist.txt
  75. +801 −0 libraries/PHPExcel/PHPExcel/Cell.php
  76. +145 −0 libraries/PHPExcel/PHPExcel/Cell/AdvancedValueBinder.php
  77. +85 −0 libraries/PHPExcel/PHPExcel/Cell/DataType.php
  78. +509 −0 libraries/PHPExcel/PHPExcel/Cell/DataValidation.php
  79. +108 −0 libraries/PHPExcel/PHPExcel/Cell/DefaultValueBinder.php
  80. +159 −0 libraries/PHPExcel/PHPExcel/Cell/Hyperlink.php
  81. +58 −0 libraries/PHPExcel/PHPExcel/Cell/IValueBinder.php
  82. +337 −0 libraries/PHPExcel/PHPExcel/Comment.php
  83. +345 −0 libraries/PHPExcel/PHPExcel/DocumentProperties.php
  84. +230 −0 libraries/PHPExcel/PHPExcel/DocumentSecurity.php
  85. +228 −0 libraries/PHPExcel/PHPExcel/HashTable.php
  86. +62 −0 libraries/PHPExcel/PHPExcel/IComparable.php
  87. +209 −0 libraries/PHPExcel/PHPExcel/IOFactory.php
  88. +231 −0 libraries/PHPExcel/PHPExcel/NamedRange.php
  89. +294 −0 libraries/PHPExcel/PHPExcel/Reader/CSV.php
  90. +61 −0 libraries/PHPExcel/PHPExcel/Reader/DefaultReadFilter.php
  91. +1,565 −0 libraries/PHPExcel/PHPExcel/Reader/Excel2007.php
  92. +5,246 −0 libraries/PHPExcel/PHPExcel/Reader/Excel5.php
  93. +709 −0 libraries/PHPExcel/PHPExcel/Reader/Excel5/Escher.php
  94. +47 −0 libraries/PHPExcel/PHPExcel/Reader/IReadFilter.php
  95. +53 −0 libraries/PHPExcel/PHPExcel/Reader/IReader.php
  96. +133 −0 libraries/PHPExcel/PHPExcel/Reader/Serialized.php
  97. +546 −0 libraries/PHPExcel/PHPExcel/ReferenceHelper.php
  98. +306 −0 libraries/PHPExcel/PHPExcel/RichText.php
  99. +76 −0 libraries/PHPExcel/PHPExcel/RichText/ITextElement.php
  100. +120 −0 libraries/PHPExcel/PHPExcel/RichText/Run.php
  101. +123 −0 libraries/PHPExcel/PHPExcel/RichText/TextElement.php
  102. +277 −0 libraries/PHPExcel/PHPExcel/Shared/Date.php
  103. +137 −0 libraries/PHPExcel/PHPExcel/Shared/Drawing.php
  104. +91 −0 libraries/PHPExcel/PHPExcel/Shared/Escher.php
  105. +83 −0 libraries/PHPExcel/PHPExcel/Shared/Escher/DgContainer.php
  106. +109 −0 libraries/PHPExcel/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php
  107. +368 −0 libraries/PHPExcel/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php
  108. +177 −0 libraries/PHPExcel/PHPExcel/Shared/Escher/DggContainer.php
  109. +65 −0 libraries/PHPExcel/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php
  110. +120 −0 libraries/PHPExcel/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php
  111. +91 −0 libraries/PHPExcel/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php
  112. +322 −0 libraries/PHPExcel/PHPExcel/Shared/Excel5.php
  113. +98 −0 libraries/PHPExcel/PHPExcel/Shared/File.php
  114. +155 −0 libraries/PHPExcel/PHPExcel/Shared/Font.php
  115. +16 −0 libraries/PHPExcel/PHPExcel/Shared/JAMA/CHANGELOG.TXT
  116. +133 −0 libraries/PHPExcel/PHPExcel/Shared/JAMA/CholeskyDecomposition.php
  117. +789 −0 libraries/PHPExcel/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php
  118. +222 −0 libraries/PHPExcel/PHPExcel/Shared/JAMA/LUDecomposition.php
  119. +1,331 −0 libraries/PHPExcel/PHPExcel/Shared/JAMA/Matrix.php
  120. +195 −0 libraries/PHPExcel/PHPExcel/Shared/JAMA/QRDecomposition.php
  121. +501 −0 libraries/PHPExcel/PHPExcel/Shared/JAMA/SingularValueDecomposition.php
  122. +120 −0 libraries/PHPExcel/PHPExcel/Shared/JAMA/utils/Error.php
  123. +40 −0 libraries/PHPExcel/PHPExcel/Shared/JAMA/utils/Maths.php
  124. +555 −0 libraries/PHPExcel/PHPExcel/Shared/OLE.php
  125. +234 −0 libraries/PHPExcel/PHPExcel/Shared/OLE/ChainedBlockStream.php
  126. +130 −0 libraries/PHPExcel/PHPExcel/Shared/OLE/OLE_File.php
  127. +228 −0 libraries/PHPExcel/PHPExcel/Shared/OLE/OLE_PPS.php
  128. +489 −0 libraries/PHPExcel/PHPExcel/Shared/OLE/OLE_Root.php
  129. +305 −0 libraries/PHPExcel/PHPExcel/Shared/OLERead.php
  130. +39 −0 libraries/PHPExcel/PHPExcel/Shared/PDF.php
  131. +67 −0 libraries/PHPExcel/PHPExcel/Shared/PasswordHasher.php
  132. +321 −0 libraries/PHPExcel/PHPExcel/Shared/String.php
  133. +141 −0 libraries/PHPExcel/PHPExcel/Shared/XMLWriter.php
  134. +182 −0 libraries/PHPExcel/PHPExcel/Shared/ZipStreamWrapper.php
  135. +319 −0 libraries/PHPExcel/PHPExcel/Shared/trend/bestFitClass.php
  136. +100 −0 libraries/PHPExcel/PHPExcel/Shared/trend/exponentialBestFitClass.php
  137. +81 −0 libraries/PHPExcel/PHPExcel/Shared/trend/linearBestFitClass.php
  138. +84 −0 libraries/PHPExcel/PHPExcel/Shared/trend/logarithmicBestFitClass.php
  139. +175 −0 libraries/PHPExcel/PHPExcel/Shared/trend/polynomialBestFitClass.php
  140. +94 −0 libraries/PHPExcel/PHPExcel/Shared/trend/powerBestFitClass.php
  141. +116 −0 libraries/PHPExcel/PHPExcel/Shared/trend/trendClass.php
  142. +702 −0 libraries/PHPExcel/PHPExcel/Style.php
  143. +532 −0 libraries/PHPExcel/PHPExcel/Style/Alignment.php
  144. +428 −0 libraries/PHPExcel/PHPExcel/Style/Border.php
  145. +544 −0 libraries/PHPExcel/PHPExcel/Style/Borders.php
  146. +451 −0 libraries/PHPExcel/PHPExcel/Style/Color.php
  147. +323 −0 libraries/PHPExcel/PHPExcel/Style/Conditional.php
  148. +447 −0 libraries/PHPExcel/PHPExcel/Style/Fill.php
  149. +665 −0 libraries/PHPExcel/PHPExcel/Style/Font.php
  150. +658 −0 libraries/PHPExcel/PHPExcel/Style/NumberFormat.php
  151. +324 −0 libraries/PHPExcel/PHPExcel/Style/Protection.php
  152. +2,378 −0 libraries/PHPExcel/PHPExcel/Worksheet.php
  153. +533 −0 libraries/PHPExcel/PHPExcel/Worksheet/BaseDrawing.php
  154. +176 −0 libraries/PHPExcel/PHPExcel/Worksheet/CellIterator.php
  155. +238 −0 libraries/PHPExcel/PHPExcel/Worksheet/ColumnDimension.php
  156. +200 −0 libraries/PHPExcel/PHPExcel/Worksheet/Drawing.php
  157. +336 −0 libraries/PHPExcel/PHPExcel/Worksheet/Drawing/Shadow.php
  158. +489 −0 libraries/PHPExcel/PHPExcel/Worksheet/HeaderFooter.php
  159. +401 −0 libraries/PHPExcel/PHPExcel/Worksheet/HeaderFooterDrawing.php
  160. +252 −0 libraries/PHPExcel/PHPExcel/Worksheet/MemoryDrawing.php
  161. +227 −0 libraries/PHPExcel/PHPExcel/Worksheet/PageMargins.php
  162. +590 −0 libraries/PHPExcel/PHPExcel/Worksheet/PageSetup.php
  163. +575 −0 libraries/PHPExcel/PHPExcel/Worksheet/Protection.php
  164. +108 −0 libraries/PHPExcel/PHPExcel/Worksheet/Row.php
  165. +210 −0 libraries/PHPExcel/PHPExcel/Worksheet/RowDimension.php
  166. +129 −0 libraries/PHPExcel/PHPExcel/Worksheet/RowIterator.php
  167. +133 −0 libraries/PHPExcel/PHPExcel/Worksheet/SheetView.php
  168. +126 −0 libraries/PHPExcel/PHPExcel/WorksheetIterator.php
  169. +320 −0 libraries/PHPExcel/PHPExcel/Writer/CSV.php
  170. +580 −0 libraries/PHPExcel/PHPExcel/Writer/Excel2007.php
  171. +304 −0 libraries/PHPExcel/PHPExcel/Writer/Excel2007/Comments.php
  172. +262 −0 libraries/PHPExcel/PHPExcel/Writer/Excel2007/ContentTypes.php
  173. +220 −0 libraries/PHPExcel/PHPExcel/Writer/Excel2007/DocProps.php
  174. +552 −0 libraries/PHPExcel/PHPExcel/Writer/Excel2007/Drawing.php
  175. +389 −0 libraries/PHPExcel/PHPExcel/Writer/Excel2007/Rels.php
  176. +269 −0 libraries/PHPExcel/PHPExcel/Writer/Excel2007/StringTable.php
  177. +713 −0 libraries/PHPExcel/PHPExcel/Writer/Excel2007/Style.php
  178. +1,223 −0 libraries/PHPExcel/PHPExcel/Writer/Excel2007/Theme.php
  179. +461 −0 libraries/PHPExcel/PHPExcel/Writer/Excel2007/Workbook.php
  180. +1,111 −0 libraries/PHPExcel/PHPExcel/Writer/Excel2007/Worksheet.php
  181. +80 −0 libraries/PHPExcel/PHPExcel/Writer/Excel2007/WriterPart.php
  182. +251 −0 libraries/PHPExcel/PHPExcel/Writer/Excel5.php
  183. +270 −0 libraries/PHPExcel/PHPExcel/Writer/Excel5/BIFFwriter.php
  184. +509 −0 libraries/PHPExcel/PHPExcel/Writer/Excel5/Escher.php
  185. +208 −0 libraries/PHPExcel/PHPExcel/Writer/Excel5/Font.php
  186. +1,575 −0 libraries/PHPExcel/PHPExcel/Writer/Excel5/Parser.php
  187. +1,546 −0 libraries/PHPExcel/PHPExcel/Writer/Excel5/Workbook.php
  188. +2,862 −0 libraries/PHPExcel/PHPExcel/Writer/Excel5/Worksheet.php
  189. +579 −0 libraries/PHPExcel/PHPExcel/Writer/Excel5/Xf.php
  190. +1,088 −0 libraries/PHPExcel/PHPExcel/Writer/HTML.php
  191. +45 −0 libraries/PHPExcel/PHPExcel/Writer/IWriter.php
  192. +175 −0 libraries/PHPExcel/PHPExcel/Writer/PDF.php
  193. +208 −0 libraries/PHPExcel/PHPExcel/Writer/Serialized.php
  194. +903 −0 libraries/Tracker.class.php
  195. +11 −1 libraries/common.inc.php
  196. +22 −7 libraries/common.lib.php
  197. +165 −14 libraries/config.default.php
  198. +33 −7 libraries/database_interface.lib.php
  199. +10 −0 libraries/db_links.inc.php
  200. +22 −12 libraries/db_structure.lib.php
  201. +3 −0 libraries/dbi/mysql.dbi.lib.php
  202. +3 −0 libraries/dbi/mysqli.dbi.lib.php
  203. +0 −196 libraries/export/htmlexcel.php
  204. +41 −19 libraries/export/sql.php
  205. +89 −103 libraries/export/xls.php
  206. +205 −0 libraries/export/xlsx.php
  207. +213 −39 libraries/export/xml.php
  208. +1 −1 libraries/header_scripts.inc.php
  209. +840 −4 libraries/import.lib.php
  210. +175 −72 libraries/import/csv.php
  211. +281 −0 libraries/import/ods.php
  212. +1 −1 libraries/import/upload/apc.php
  213. +1 −1 libraries/import/upload/noplugin.php
  214. +1 −1 libraries/import/upload/uploadprogress.php
  215. +148 −0 libraries/import/xls.php
  216. +148 −0 libraries/import/xlsx.php
  217. +296 −0 libraries/import/xml.php
  218. +12 −0 libraries/relation.lib.php
  219. +2 −0 libraries/sql_query_form.lib.php
  220. +13 −0 libraries/tbl_links.inc.php
  221. +5 −1 libraries/tbl_properties.inc.php
  222. +1 −1 libraries/transformations/text_plain__longToIpv4.inc.php
  223. +36 −4 libraries/zip_extension.lib.php
  224. +5 −22 scripts/create-release.sh
  225. +18 −0 scripts/create_tables.sql
  226. +10 −6 server_status.php
  227. +7 −3 tbl_change.php
  228. +17 −2 tbl_structure.php
  229. +707 −0 tbl_tracking.php
  230. +1 −1 test/wui.php
  231. BIN themes/darkblue_orange/img/eye.png
  232. BIN themes/original/img/eye.png
  233. BIN themes/original/img/eye_grey.png
View
@@ -21,8 +21,26 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug [gui] Generate Password not working for 'Change Login Information', only for 'Change password'
+ [lang] Arabic update, thanks to Meno25 - meno25
+ rfe #2822190 [structure] BOOLEAN is standard SQL
-
-3.2.1.0 (not yet released)
+- bug #2823599 [edit] UUID Primary Key wrongly updated
++ [lang] German update, thanks to knittl
++ [lang] German update, thanks to virsacer
++ rfe #2813867 [structure] Default sorting order in list of tables
++ [import] Added MySQL type-detection functionality to import library,
+ thanks to Derek Schaefer
++ [import] Added ODS, Excel XLS, Excel XLSX, and XML import modules,
+ thanks to Derek Schaefer
++ [export] Added Excel XLSX export module,
+ thanks to Derek Schaefer
++ [core] Addded ability for tracking changes made through phpMyAdmin
+
+3.2.2.0 (not yet released)
+- bug #2825293 [structure] Default value for a BIT column
+- bug [display] Red arrows were reversed in the list of tables
+- bug #2813879 [export] Duplicate empty lines when exporting without comments
+- bug #2825919 [export] Trigger export with database name
+- bug #2823996 [data] Cannot edit row with no PK and a BIT field
+
+3.2.1.0 (2009-08-09)
- bug #2799009 Login with ipv6 IP address breaks redirect
- bug #2796066 [priv] Inconsistent display of databases list
- bug #2802870 [display] Incorrect overhead value for InnoDB
@@ -41,6 +59,15 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug #2819944 [setup] Incorrect mention of designer_coords
- bug #2821757 [insert] "Insert another new row" no longer worked
+ [lang] Norwegian update, thanks to Sven-Erik Andersen
+- bug [core] PMA_pow() can support negative exponents in the pow() case
++ [lang] Brazilian Portuguese update, thanks to Fabio Bucior - fabiobucior
+- patch #2822384 [docs] Missing auth_type in docs-example,
+ thanks to Jürgen Wind - windkiel
+- patch #2819728 [display] Slider effect jumping to top of page,
+ thanks to Jan Radem - summsel
+- bug [display] Incorrect computation of overhead stats in server view
+ for tables under the InnoDB engine
++ [lang] Swedish update, thanks to Björn T. Hallberg
3.2.0.1 (2009-06-30)
- [security] XSS: Insufficient output sanitizing in bookmarks
View
@@ -53,7 +53,7 @@ <h1>
<li>License: <a href="license.php">LICENSE</a></li>
</ul>
</li>
- <li>Documentation version:
+ <li><div class="l10n">Documentation version:</div>
<i>$Id$</i>
</li>
</ul>
@@ -111,15 +111,16 @@ <h3>Currently phpMyAdmin can:</h3>
<li>create<a href="#footnote_1"><sup>1</sup></a> and read dumps of tables
</li>
<li>export<a href="#footnote_1"><sup>1</sup></a> data to various formats:
- <abbr title="comma separated values">CSV</abbr>,
+ <abbr title="Comma Separated Values">CSV</abbr>,
<abbr title="Extensible Markup Language">XML</abbr>,
<abbr title="Portable Document Format">PDF</abbr>,
<abbr title="International Standards Organisation">ISO</abbr>/<abbr
title="International Electrotechnical Commission">IEC</abbr> 26300 -
OpenDocument Text and Spreadsheet,
<abbr title="Microsoft Word 2000">Word</abbr>,
- <abbr title="Microsoft Excel 2000">Excel</abbr> and L<sup>A</sup>T<sub><big>E</big></sub>X formats
+ <abbr title="Microsoft Excel 97-2003 and Excel 2007">Excel</abbr> and L<sup>A</sup>T<sub><big>E</big></sub>X formats
</li>
+ <li>import data and MySQL structures from <abbr title="Microsoft Excel 97-2003 and Excel 2007">Microsoft Excel</abbr> and OpenDocument spreadsheets, as well as <abbr title="Extensible Markup Language">XML</abbr>, <abbr title="Comma Separated Values">CSV</abbr>, and <abbr title="Server Query Language">SQL</abbr> files</li>
<li>administer multiple servers</li>
<li>manage MySQL users and privileges</li>
<li>check referential integrity in MyISAM tables</li>
@@ -131,6 +132,7 @@ <h3>Currently phpMyAdmin can:</h3>
<li>transform stored data into any format using a set of predefined
functions, like displaying BLOB-data as image or download-link
</li>
+ <li>track changes on databases, tables and views</li>
<li>support InnoDB tables and foreign keys <a href="#faq3_6">(see
<abbr title="Frequently Asked Questions">FAQ</abbr> 3.6)</a></li>
<li>support mysqli, the improved MySQL extension <a href="#faq1_17">
@@ -235,6 +237,7 @@ <h3 id="quick_install">Quick Install</h3>
$i++;
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'cbb74bc'; // use here your password
+$cfg['Servers'][$i]['auth_type'] = 'config';
?&gt;
</pre>
For a full explanation of possible configuration values, see the
@@ -318,6 +321,7 @@ <h3 id="linked-tables">Linked-tables infrastructure</h3>
<p> For a whole set of new features (bookmarks, comments,
<abbr title="structured query language">SQL</abbr>-history,
+ tracking mechanism,
<abbr title="Portable Document Format">PDF</abbr>-generation, field contents
transformation, etc.) you need to create a set of special tables. Those
tables can be located in your own database, or in a central database for a
@@ -1028,6 +1032,93 @@ <h2 id="config">Configuration</h2>
</ul>
</dd>
+ <dt id="tracking">
+ <span id="cfg_Servers_tracking">$cfg['Servers'][$i]['tracking']</span> string
+ </dt>
+ <dd>
+ Since release 3.3.x a tracking mechanism is available.
+ It helps you to track every <abbr title="structured query language">SQL</abbr> command which
+ is executed by phpMyAdmin. The mechanism supports logging of data manipulation
+ and data definition statements. After enabling it you can create versions of tables.
+ <br/><br/>
+ The creation of a version has two effects:
+
+ <ul>
+ <li>phpMyAdmin saves a snapshot of the table, including structure and indexes.</li>
+ <li>phpMyAdmin loggs all commands which change the structure and/or data of the table and links these commands with the version number.</li>
+ </ul>
+
+ Of course you can view the tracked changes. On the "Tracking" page a complete report is available for every version.
+ For the report you can use filters, for example you can get a list of statements within a date range.
+ When you want to filter usernames you can enter * for all names or you enter a list of names separated by ','.
+ In addition you can export the (filtered) report to a file or to a temporary database.
+ <br/><br/>
+
+ To allow the usage of this functionality:
+
+ <ul>
+ <li>set up <a href="#pmadb">pmadb</a> and the linked-tables infrastructure</li>
+ <li>put the table name in <tt>$cfg['Servers'][$i]['tracking']</tt></li>
+ </ul>
+ </dd>
+
+ <dt id="tracking2">
+ <span id="cfg_Servers_tracking_auto_create">$cfg['Servers'][$i]['tracking_version_auto_create']</span> boolean
+ </dt>
+ <dd>
+ Whether the tracking mechanism creates versions for tables and views automatically. Default value is true.
+ <br/><br/>
+ If this is set to true and you create a table or view with
+
+ <ul>
+ <li>CREATE TABLE ...</li>
+ <li>CREATE VIEW ...</li>
+ </ul>
+
+ and no version exists for it, the mechanism will
+ create a version for you automatically.
+ </dd>
+
+ <dt id="tracking3">
+ <span id="cfg_Servers_tracking_default_statements">$cfg['Servers'][$i]['tracking_default_statements']</span> string
+ </dt>
+ <dd>
+ Defines the list of statements the auto-creation uses for new versions. Default value is
+ <br/>
+
+<pre>CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,
+CREATE INDEX,DROP INDEX,
+INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,
+CREATE VIEW,ALTER VIEW,DROP VIEW,
+CREATE DATABASE,ALTER DATABASE,DROP DATABASE</pre>
+ </dd>
+
+ <dt id="tracking4">
+ <span id="cfg_Servers_tracking_drop_view">$cfg['Servers'][$i]['tracking_version_drop_view']</span> boolean
+ </dt>
+ <dd>
+ Whether a DROP VIEW IF EXISTS statement will added as first line to the log when creating a view. Default value is true.
+ <br/><br/>
+ </dd>
+
+
+ <dt id="tracking5">
+ <span id="cfg_Servers_tracking_drop_table">$cfg['Servers'][$i]['tracking_version_drop_table']</span> boolean
+ </dt>
+ <dd>
+ Whether a DROP TABLE IF EXISTS statement will added as first line to the log when creating a table. Default value is true.
+ <br/><br/>
+ </dd>
+
+ <dt id="tracking6">
+ <span id="cfg_Servers_tracking_drop_database">$cfg['Servers'][$i]['tracking_version_drop_database']</span> boolean
+ </dt>
+ <dd>
+ Whether a DROP DATABASE IF EXISTS statement will added as first line to the log when creating a database. Default value is true.
+ <br/><br/>
+ </dd>
+
+
<dt id="designer_coords">
<span id="cfg_Servers_designer_coords">$cfg['Servers'][$i]['designer_coords']</span> string
</dt>
@@ -3330,6 +3421,55 @@ <h4 id="faq3_14">
it's not likely to be solved in the future.
</p>
+<!-- Begin: Excel import limitations -->
+
+<h4 id="faq3_15">
+ <a href="#faq3_15">3.15 When I import an Excel spreadsheet, some cells with calculations do not display correctly.</a></h4>
+<p>
+ phpMyAdmin uses the <a href="http://www.codeplex.com/PHPExcel/" target=_blank>PHPExcel</a> library to parse Excel XLS and XLSX spreadsheets.
+ Therefore, any limitations that are listed on their page regarding Excel calculations will also apply here.
+ <br /><br />
+ PHPExcel will be kept up to date so as to make all improvements available to phpMyAdmin users.
+</p>
+
+<h4 id="faq3_16">
+ <a href="#faq3_16">3.16 When I compress (gzip, bzip2, zip) an Excel workbook and attempt to import it, nothing happens.</a></h4>
+<p>
+ Since Excel XLSX workbooks are already compressed, there is often times only a small benefit from compressing them yet again.
+ Support for compressed Excel XLSX and XLS workbooks may be added in the future.
+</p>
+
+<h4 id="faq3_17">
+ <a href="#faq3_17">3.17 When I import an Excel spreadsheet, my custom cell types are not represented as they are in Excel.</a></h4>
+<p>
+ Excel's internal representation of custom cell types is rather muddled (especially in Excel 97-2003 binary XLS files). If possible,
+ consider using a built-in type. These are almost always guarenteed to import correctly.
+</p>
+
+<!-- End: Excel import limitations -->
+<!-- Begin: CSV import limitations -->
+
+<h4 id="faq3_18">
+ <a href="#faq3_18">3.18 When I import a CSV file that contains multiple tables, they are lumped together into a single table.</a></h4>
+<p>
+ There is no reliable way to differetiate tables in CSV format. For the time being, you will have to break apart CSV files containing multiple tables.
+</p>
+
+<!-- End: CSV import limitations -->
+<!-- Begin: Import type-detection limitations -->
+
+<h4 id="faq3_19">
+ <a href="#faq3_19">3.19 When I import a file and have phpMyAdmin determine the appropriate data structure it only uses int, decimal, and varchar types.</a></h4>
+<p>
+ Currently, the import type-detection system can only assign these MySQL types to columns. In future, more will likely be added but for the time being
+ you will have to edit the structure to your liking post-import.
+ <br /><br />
+ Also, you should note the fact that phpMyAdmin will use the size of the largest item in any given column as the column size for the appropriate type. If you
+ know you will be adding larger items to that column then you should manually adjust the column sizes accordingly. This is done for the sake of efficiency.
+</p>
+
+<!-- End: Import type-detection limitations -->
+
<h3 id="faqmultiuser"><abbr title="Internet service provider">ISP</abbr>s, multi-user installations</h3>
<h4 id="faq4_1">
@@ -4497,6 +4637,16 @@ <h3>Credits, in chronological order</h3>
<li>improved setup script</li>
</ul></li>
+<li>Derek Schaefer (Google Summer of Code 2009)
+<ul>
+ <li>Improved the import system</li>
+</ul></li>
+
+<li>Alexander Rutkowski (Google Summer of Code 2009)
+<ul>
+ <li>Tracking mechanism</li>
+</ul></li>
+
</ul>
<p>
View
@@ -53,6 +53,7 @@
// $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
// $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
// $cfg['Servers'][$i]['history'] = 'pma_history';
+// $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
// $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
/* Contrib / Swekey authentication */
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
View
@@ -312,6 +312,15 @@
str_replace(' ', '&nbsp;', htmlspecialchars($each_table['TABLE_NAME'])));
}
+ $tracking_icon = '';
+ if (PMA_Tracker::isActive()) {
+ if (PMA_Tracker::isTracked($GLOBALS["db"], $truename)) {
+ $tracking_icon = '<a href="tbl_tracking.php?'.$url_query.'&table='.$truename.'"><img class="icon" width="14" height="14" src="' .$pmaThemeImage . 'eye.png" alt="' . $strTrackingIsActive . '" title="' . $strTrackingIsActive . '" /></a>';
+ } else if (PMA_Tracker::getVersion($GLOBALS["db"], $truename) > 0) {
+ $tracking_icon = '<a href="tbl_tracking.php?'.$url_query.'&table='.$truename.'"><img class="icon" width="14" height="14" src="' .$pmaThemeImage . 'eye_grey.png" alt="' . $strTrackingIsDeactive . '" title="' . $strTrackingIsDeactive . '" /></a>';
+ }
+ }
+
if ($num_columns > 0 && $num_tables > $num_columns
&& (($row_count % $num_columns) == 0)) {
$row_count = 1;
@@ -331,6 +340,7 @@
id="checkbox_tbl_<?php echo $i; ?>"<?php echo $checked; ?> /></td>
<th><label for="checkbox_tbl_<?php echo $i; ?>"
title="<?php echo $alias; ?>"><?php echo $truename; ?></label>
+ <label><?php echo $tracking_icon; ?> </label>
</th>
<td align="center"><?php echo $browse_table; ?></td>
<td align="center">
Oops, something went wrong.

0 comments on commit 15441de

Please sign in to comment.