summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)Author
2013-03-26Fix incorrect modification of bytea data when updating rows that contain ↵Robert Treat
bytea columns. Based on the POC patch from ioguix. This fixes SF Bug # 3243916.
2012-11-27Fix queries reading pg_shdescriptionMagnus Hagander
These queries need to be classoid qualified, so they work when there are multiple objects with the same oid but of different classes. (Which can always happen, but is a lot more likely to happen after a cluster has been pg_upgrade'd)
2012-11-23don't try and escape nulls, which leads to dangling x values. fixes ↵Robert Treat
Sourceforge Bug ID: 3579602.
2012-11-04Fixes PHP 5.4 Strict errorsJehan-Guillaume (ioguix) de Rorthais
2012-09-30Fix PHP notice when server group is not set, reported by Karl O. PincJehan-Guillaume (ioguix) de Rorthais
2012-09-23Fix autovacuum add/edit with 8.1Jehan-Guillaume (ioguix) de Rorthais
Autovacuum under 8.1 doesn't has vacuum_freeze_min_age and autovacuum_freeze_max_age.
2012-09-21Fix bug with getProcesses with 9.2Jehan-Guillaume (ioguix) de Rorthais
2012-09-17Fix bug where new autovacuum setup for a table was failingJehan-Guillaume (ioguix) de Rorthais
Fix a bug INSERT SQL that was using 'WHERE' (?!)
2012-08-29Fix nested group : when no server set and printTitle issueJulien Rouhaud
2012-08-24Fix on the processes page with 9.2Jehan-Guillaume (ioguix) de Rorthais
Field pg_catalog.pg_stat_activity.procpid is renamed as pid in 9.2
2012-08-22Fix typo in var name leading to PHP warningJehan-Guillaume (ioguix) de Rorthais
2012-08-22Makes display more plugin friendlyJehan-Guillaume (ioguix) de Rorthais
Plugins might need (at least Report) to set parameters in the URL and use them in their code while working with display.php. This patch makes sure their URL parameters are not lost while clicking on sort or pager links when navigating in the result set. Nice side effect: cleaner code (hopefuly with no bug...).
2012-08-22Allows plugin to set a return link in navlinksJehan-Guillaume (ioguix) de Rorthais
In some page (display, sql, ...), a "return" link will show up if $_GET['return'] = 'plugin' is given. The "get_subject_params" method of the plugin designated by $_GET['plugin'] is then called to add needed parameters in the href URL.
2012-08-22Give environnments vars to the navlink hookJehan-Guillaume (ioguix) de Rorthais
Helpful to decide when to add a navlink or not depending on the context
2012-08-22Remove the report feature from PPA (will be a plugin)Jehan-Guillaume (ioguix) de Rorthais
Starting with PPA 5.1, Reports will be available as plugins.
2012-08-22Add icon(...) ùethod to the Plugin classJehan-Guillaume (ioguix) de Rorthais
Helps keeping the code clean and comprehensive to access icon from plugins
2012-08-22Set default decorateur values for url if not givenJehan-Guillaume (ioguix) de Rorthais
It allows to have a shorter code when defining the URL array. Moreover, PHP was silently failing to pass $link['fields'] to getActionUrl when it was not set...
2012-08-22Fix wrong commentJehan-Guillaume (ioguix) de Rorthais
2012-08-22Fix bug where toplinks where brokenJehan-Guillaume (ioguix) de Rorthais
Bad escaping of the embeded js code in the tag.
2012-08-22Add jquery in html <head> instead of loading it when necessary from <body>Jehan-Guillaume (ioguix) de Rorthais
2012-08-22Cosmetic fix to use an appropriate variable nameJehan-Guillaume (ioguix) de Rorthais
2012-08-22Enforce checks if plugin has translation file(s) before loading any of themJehan-Guillaume (ioguix) de Rorthais
2012-08-22Name all top links so we can make reference to all of them from the plugins ↵Jehan-Guillaume (ioguix) de Rorthais
sources
2012-08-22Add support for 'tree' hooks in the plugin architecture.Jehan-Guillaume (ioguix) de Rorthais
2012-08-22Add support for 'actionbuttons' hooks in the plugin architecture.Leonardo Sapiras
By Leonardo Sapiras during the GSoC 2011. Reviewed, massively patched, fixed, integrated and commited by ioguix
2012-08-22Add support for 'navlink' hooks in the plugin architecture.Leonardo Sapiras
By Leonardo Sapiras during the GSoC 2011. Reviewed, massively patched, fixed, integrated and commited by ioguix
2012-08-22Add support for 'trail' hooks in the plugin architecture.Leonardo Sapiras
By Leonardo Sapiras during the GSoC 2011, reviewed, patched, integrated and commited by ioguix
2012-08-22Add support for 'tabs' hooks in the plugin architecture.Leonardo Sapiras
By Leonardo Sapiras during the GSoC 2011, reviewed, patched, integrated and commited by ioguix.
2012-08-22Add support for 'toplinks' hooks in the plugin architecture.Leonardo Sapiras
By Leonardo Sapiras during the GSoC 2011, reviewed, patched, integrated and commited by ioguix.
2012-08-22Refactor printActionUrl as getActionUrlJehan-Guillaume (ioguix) de Rorthais
remove useless parameters and make it simpler. Takes part in the pavement for WIP plugin architecture.
2012-08-22Add skeleton of the plugin architectureLeonardo Sapiras
By Leonardo Sapiras, reviewed, integrated, commited by ioguix.
2012-08-22Remove old plugin architecture.Leonardo Sapiras
Patch by Leonardo Sapiras, remerged by ioguix. * remove old plugin architecture * remove plugin Slony
2012-08-22Support for nested serveur groupsJulien Rouhaud
Add ability to nest server groups in some other groups. Thus, config files now allows to have as many level of server groups as wanted.
2012-06-04update tablespace support to handle 9.2 changesRobert Treat
2012-05-29stub support for postgres92, clean up some other version bits.Robert Treat
passes tests for 90,91,92(ish)
2012-05-29Intermediate support for Postgres 90/91Robert Treat
2012-02-23Fix bug where renaming a tablespace was leading to an errorJehan-Guillaume (ioguix) de Rorthais
When renaming a tablespace, it was renamed first, then a comment was set on its old name in the same xact, leading to an error and rollback.
2012-01-09Merge branch 'utf-8'Jehan-Guillaume (ioguix) de Rorthais
2011-12-30Fix bug #3429633 '"Back" link from "Browse" leads to error'Jehan-Guillaume (ioguix) de Rorthais
The old design did not allow to escaped things properly without breaking the return URL. Moreover, it raised some bug as well when the return URL was too long, hitting the GET max length limit. This patch remove the old architecture and introduce the new "return" GET parameter that only holds the name of the section we want to go back.
2011-12-30Makes phpPgAdmin core full UTF-8 only.Jehan-Guillaume (ioguix) de Rorthais
Translations, db connexions and html pages are now all in UTF-8. In consequence: * we remove everything about recode stuffs * recode all lang/ translation files to UTF-8 * force UTF-8 in htmlentities
2011-12-29Securing $misc->hrefJehan-Guillaume (ioguix) de Rorthais
See http://php.net/manual/en/function.urlencode.php This is only used in href parameter of A tag and should be escaped properly.
2011-09-28Fix two security fix about XSS, reported by Mateusz Goik, fixed by ioguix.Jehan-Guillaume (ioguix) de Rorthais
2011-06-03Removes useless call of function_exists since we are PHP5+ onlyJehan-Guillaume (ioguix) de Rorthais
2011-06-01remove $username when calling $data->isSuperUser about current connection roleJehan-Guillaume (ioguix) de Rorthais
2011-06-01Fix a bug and support empty username in $data->isSuperUser to check the ↵Jehan-Guillaume (ioguix) de Rorthais
superUser status of the current role Fixed a bug on the way as in previous version it was checking if function pg_parameter_status exists and used it directly, hence testing only the currently used role. pg_parameter_status is available in PHP 5.*
2011-02-12remove several bits of trigger defintion hacks for pre-7.4 servers.xzilla
2010-12-20Fix some methods using nonstandard escaped string in the database access classesGuillaume (ioguix) de Rorthais
2010-12-20Fix bad inheritance between pg83 -> pg instead of pg83 -> pg84 in the ↵Guillaume (ioguix) de Rorthais
database access classes
2010-11-30Fix a bug where non-super user roles cannot check ownership on objectsGuillaume (ioguix) de Rorthais
We were joining on pg_authid which is not accessible to non super-user roles
2010-11-29remove useless date from the topbar informationsGuillaume (ioguix) de Rorthais