summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)Author
2010-11-27Add CSS classes for rows without actual dataGuillaume (ioguix) de Rorthais
Needed to seperate data style to presentation style.
2010-11-17Fix operator properties pageGuillaume (ioguix) de Rorthais
The pg_operator table changed in 8.3. I hadn't found an appropriate has*() method to reflect this change and its point :(
2010-10-22Fix for bug #3092826 "schema owner is blank for role with nologin", reported ↵Guillaume (ioguix) de Rorthais
by Sompop
2010-09-29Quick Fix on the xloadtree code about bad html specialchars escaping and xml ↵Jehan-Guillaume (ioguix) de Rorthais
encoding
2010-09-28Fix bug #2876417 "SQL window too small size to see bottom buttons (Execute)"Guillaume (ioguix) de Rorthais
Enabled scrollbars and bigger window size
2010-09-28Fix multi bug in auto-complete value on insert/updateGuillaume (ioguix) de Rorthais
* explicitly not support multi FK constr, only deal with the first one. marked as FIXME * some bad escaped vars were failing the auto-complete on very weird table/field names * some cleanup
2010-09-27Remove a useless reference to global var $data from the Postgres class itselfGuillaume (ioguix) de Rorthais
2010-09-27Move overriding method getConstraintsWithFields to the class it really belongsGuillaume (ioguix) de Rorthais
Method getConstraintsWithFields from Postgres.php is compatible down to 8.1, so the version from Postgre81 must go to Postgres80 wich is actually not compatible with the first one.
2010-09-23Fix auto-complete when editing a row.Guillaume (ioguix) de Rorthais
Reported by Dmitry Koterov when asked on github: http://github.com/DmitryKoterov/phppgadmin/commit/89460c1557816b40311e8a344bf94c8a0f505542#commitcomment-148877
2010-09-14Define application name when connecting on PostgreSQL >= 9.0ioguix
2010-09-10Support "ALTER SEQUENCE START ..." for 8.4+ and sequence cleanupsioguix
* add support for altering sequence start for 8.4+ * add a link to restart the sequence on its property page for 8.4+ * remove useless hasAlterSequenceProps() method * fix sequences selenium tests for 8.4+ * add test for altering the start property in selenium test
2010-09-07Really remove support for 7.3 as we already adverstised itioguix
2010-09-06Fix a bug where clicking on "Object not found" in the browser treeJehan-Guillaume (ioguix) de Rorthais
This action is suppose to reload the node but was actually just rising a js error and not reloading it.
2010-08-26Fix buggy method Postgres.php:beginDump() that was calling its non-existant ↵ioguix
(anymore) parent class
2010-08-26Fix bugs #2908984 and #2579270 in our "query parser"ioguix
This "query trivial parser" is in function Postgres.php:executeScript() * about #2908984, we were getting each line of the uploaded file using fgets($fd, 32768); because of PHP 4.3 and bellow that were considering a line has a length of 1024 by default. So we had to set a large value, but it wasn't not large enough here. Since we officialy support PHP 5+, I just removed this max length so PHP keep parsing the line till the end. * about #2579270, that was just a bad test on $in_quote so we were not parsing quoted values correclty, and the -- were catching as comments.
2010-07-26Add cappuccino new theme + theme switherioguix
* add new theme cappuccino * add a theme switcher on the intro page
2010-07-22Some bad escaped variables found on my wayioguix
2010-07-18Fix a bug with grouping servers featureioguix
* opened connexions were appearing in every group * after connexion/disconnection, stay in the group instead of falling back in the 'all' group
2010-06-06Add bottom link to top of the pageLeonardo Sápiras
2010-05-30Auto refresh the locks list using ajax. See ajax_refresh conf var.Leonardo Sápiras
Patch by Leonardo Sápiras during the gsoc2010, plus some external edits based on Alexey reviews and mine.
2010-05-30Highlight table's lines when overing them.Pierre-dominique PERRIER
Patch by Pierre-dominique PERRIER with some cleanup by me.
2010-05-15Remove Postgres.php:getVariable() functionGuillaume (ioguix) de Rorthais
1st it was unsecure, 2nd it was unused anyway
2010-05-15Cleaning usage of ->clean() vs. ->fieldClean() in Postgres*.php classesGuillaume (ioguix) de Rorthais
2010-04-24fix trigger list and search for 9.0, push older functions to 8.4 classRobert Treat
2010-04-11remove last 8.5 references in Postgres.phpGuillaume (ioguix) de Rorthais
2010-04-11Fix cluster action on the admin pageGuillaume (ioguix) de Rorthais
2010-04-05Refactor admin page, adding it in table level, fixes and support for ↵Guillaume (ioguix) de Rorthais
autovacuum per table for pg 8.4+
2010-03-13add ability to logicaly group servers under custom top nodes in the browser treeJehan-Guillaume (ioguix) de Rorthais
2010-02-06housecleaning: remove all useless hasXXX() functions since we drop support ↵Jehan-Guillaume (ioguix) de Rorthais
for pg < 7.3
2010-01-09fix for bug #1963050, we emit 'No Access' now in cases where we dont have ↵Robert Treat
permissions to see database sizes
2010-01-09out error messages in monospaced fonts, so that pg's error pointer to align ↵Robert Treat
properly with the error. per gripe from Philippe Cloutier
2010-01-02fix typoRobert Treat
2010-01-02basic support for Postgres 8.5Robert Treat
2010-01-02fix typoRobert Treat
2010-01-01Fix for BUG #2857758, don't clean() comments before submitting them to ↵Robert Treat
setComment. This is somewhat counter-intuitive, but since we clean the comment in setComment itself, cleaning before hand means we end up with doubly escaped data. We don't really have a good way to prevent this (like a subclassed type or something), so we'll go with this for now. The alternative would have been to not clean() the comments in setComment itself, however that would mean that forgetting to clean() it in the passing function would result in a security exploit (and note we already did not apply this uniformly). I think there is a saying to keep the escaping as close to the db interaction as possible, and this seems to mesh with that idea.
2009-11-27Replace some deprecated fonctions in php 5.3. Patch by Jason JacksonJehan-Guillaume (ioguix) de Rorthais
2009-11-20use pg_get_expr to generate correct attribute default rather than adsrc, ↵Robert Treat
which according to tgl is never reliable. fixes insert bug reported by Casey Shobe.
2009-10-30When creating table with WITHOUT OIDS not checked, behaviour was left to the ↵Guillaume (ioguix) de Rorthais
db default setting. Force WITH OIDS if WITHOUT OIDS is unchecked. Remove useless hasWithoutOIDs() as well as 7.3 -> 8.4 support it.
2009-10-29allow empty comment on database to remove it if needed.Guillaume (ioguix) de Rorthais
2009-10-29Remove one deprecated usage in 5.3 of "... =& new ...". Please, report any ↵Guillaume (ioguix) de Rorthais
other deprecated usage as I don't have php 5.3 yet. Objects are manipulaed throught alias (not refs) anyway which, are not a copy of the object itself in php5. See: - php.net/manual/en/language.oop5.references.php - php.net/manual/en/migration53.deprecated.php
2009-10-26pg > 8.1 does not support privilege RULE on table or viewGuillaume (ioguix) de Rorthais
2009-10-26Fix bug in privilege when setting ALL on a columnGuillaume (ioguix) de Rorthais
2009-10-02Fix bug where many requests fail when a schema has a ' or a " in the ↵Guillaume (ioguix) de Rorthais
Postgres* class files.
2009-10-01Refactor and improve the auto-complete foreign-key support in the insert formGuillaume (ioguix) de Rorthais
- clean the code - add support for multi-colmn foreign key - show all the table column in the choice list - add pagination in the list to browse prev/next 11 values - use of jquery lib
2009-09-13remove duplicated escaped comment on create dbGuillaume (ioguix) de Rorthais
2009-08-14add support for database level collationGuillaume (ioguix) de Rorthais
2009-07-14Miscellaneous fix while trying to fix the selenium testsGuillaume (ioguix) de Rorthais
+ fix selenium test when creating a DB under 8.4 with incompatible encoding with template1 (use template0 everytime) + removed hasForeignKeysInfo + removed hasConstraintsInfo + fixed one assertion in the column selenium tests + fixed alterColumn where old name was used to alter the type while the col was renamed in the same transaction + some indentation fixes - SEQUENCE selenium test need to be fixed
2009-07-12Fix bug #2718862, error when commenting on databaseRobert Treat
2009-07-06add support for concurrent index buildsRobert Treat
2009-07-06add ability to terminate backend processes for 8.4+Robert Treat