Jehan-Guillaume (ioguix) de Rorthais [Fri, 21 Sep 2012 16:46:26 +0000 (18:46 +0200)]
Fix bug with getProcesses with 9.2
Jehan-Guillaume (ioguix) de Rorthais [Mon, 17 Sep 2012 17:31:55 +0000 (19:31 +0200)]
Update jquery lib
Jehan-Guillaume (ioguix) de Rorthais [Mon, 17 Sep 2012 14:44:10 +0000 (16:44 +0200)]
Fix bug where new autovacuum setup for a table was failing
Fix a bug INSERT SQL that was using 'WHERE' (?!)
Jehan-Guillaume (ioguix) de Rorthais [Mon, 17 Sep 2012 08:03:27 +0000 (10:03 +0200)]
Merge branch 'master' of github.com:xzilla/phppgadmin
Robert Treat [Sat, 15 Sep 2012 21:16:41 +0000 (17:16 -0400)]
Some minimal testing of the admin sections, with hopes for future better tests
Jehan-Guillaume (ioguix) de Rorthais [Tue, 11 Sep 2012 13:23:43 +0000 (15:23 +0200)]
Fix a bug with empty actions column when browsing data
When no action is allowed (eg. when GuiControl removes them) on the
browsing page (display.php), the "action" header was still showed, but
not its data column, leading to a difference between the number of header
columns and data columns.
This bug was raised by Julien Rouhaud (rjuju). This patch is based on
his work (some cleanup).
Julien Rouhaud [Wed, 29 Aug 2012 19:22:55 +0000 (21:22 +0200)]
Fix nested group : when no server set and printTitle issue
Jehan-Guillaume (ioguix) de Rorthais [Fri, 24 Aug 2012 16:00:33 +0000 (18:00 +0200)]
Fix on the processes page with 9.2
Field pg_catalog.pg_stat_activity.procpid is renamed as pid in 9.2
Jehan-Guillaume (ioguix) de Rorthais [Wed, 22 Aug 2012 10:57:28 +0000 (12:57 +0200)]
Fix from a bad conflict resolution
Jehan-Guillaume (ioguix) de Rorthais [Tue, 21 Aug 2012 22:38:54 +0000 (00:38 +0200)]
Miscellaneous fix on Report plugin
Some fixes and cleanup while reviewing the Report plugin:
* remove forgotten commented code
* some variable typo fixes and cleanup
* handle "create report" from the browse link on tables
* support auto-check paginate on creating report when the recordset
was paginated
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 23:55:12 +0000 (01:55 +0200)]
Fix forgotten bad variable name in last commit
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 09:34:34 +0000 (11:34 +0200)]
Enable everything in default conf file
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 08:57:35 +0000 (10:57 +0200)]
Add plugin GuiControl.
This plugins allows to activate/deactivate links/buttons/actions in PPA
gui. It does NOT deactivate the feature itself, just remove the
LINKS, ie. anyone will be able to access a feature if he can forge its
URL.
Jehan-Guillaume (ioguix) de Rorthais [Tue, 21 Aug 2012 22:29:45 +0000 (00:29 +0200)]
Fix typo in var name leading to PHP warning
Jehan-Guillaume (ioguix) de Rorthais [Tue, 21 Aug 2012 20:55:07 +0000 (22:55 +0200)]
Update FAQ link
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 23:58:33 +0000 (01:58 +0200)]
Add plugin Report
This plugin is the old Report feature from PPA <5.1 moved as a plugin in
the new plugin architecture.
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 19:12:00 +0000 (21:12 +0200)]
Makes display more plugin friendly
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...).
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 18:49:28 +0000 (20:49 +0200)]
Allows plugin to set a return link in navlinks
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.
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 18:09:12 +0000 (20:09 +0200)]
Fix "edit" navlink when executing a query
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 16:17:02 +0000 (18:17 +0200)]
Give environnments vars to the navlink hook
Helpful to decide when to add a navlink or not depending on the context
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 14:06:40 +0000 (16:06 +0200)]
Fix syntax bug in domain.php and remove debug messages
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 12:40:25 +0000 (14:40 +0200)]
Removes a PHP warning
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 12:38:50 +0000 (14:38 +0200)]
Remove the report feature from PPA (will be a plugin)
Starting with PPA 5.1, Reports will be available as plugins.
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 12:37:59 +0000 (14:37 +0200)]
Add icon(...) ùethod to the Plugin class
Helps keeping the code clean and comprehensive to access icon from
plugins
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 11:01:54 +0000 (13:01 +0200)]
Set default decorateur values for url if not given
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...
Jehan-Guillaume (ioguix) de Rorthais [Fri, 8 Jun 2012 21:16:33 +0000 (23:16 +0200)]
Fix wrong comment
Jehan-Guillaume (ioguix) de Rorthais [Mon, 4 Jun 2012 16:30:15 +0000 (18:30 +0200)]
Fix bug where toplinks where broken
Bad escaping of the embeded js code in the tag.
Jehan-Guillaume (ioguix) de Rorthais [Mon, 4 Jun 2012 14:46:23 +0000 (16:46 +0200)]
Add jquery in html <head> instead of loading it when necessary from <body>
Jehan-Guillaume (ioguix) de Rorthais [Fri, 1 Jun 2012 13:32:12 +0000 (15:32 +0200)]
Fix a bug where parameter group was not set on logout from a server group page
Jehan-Guillaume (ioguix) de Rorthais [Fri, 1 Jun 2012 13:16:12 +0000 (15:16 +0200)]
Cosmetic fix to use an appropriate variable name
Jehan-Guillaume (ioguix) de Rorthais [Fri, 11 May 2012 11:23:32 +0000 (13:23 +0200)]
Remove forgottent log message
Jehan-Guillaume (ioguix) de Rorthais [Fri, 11 May 2012 10:23:16 +0000 (12:23 +0200)]
Enforce checks if plugin has translation file(s) before loading any of them
Jehan-Guillaume (ioguix) de Rorthais [Fri, 11 May 2012 10:22:36 +0000 (12:22 +0200)]
Name all top links so we can make reference to all of them from the plugins sources
Jehan-Guillaume (ioguix) de Rorthais [Fri, 11 May 2012 10:21:30 +0000 (12:21 +0200)]
Name all navigation links so we can easily make reference to each of them from the plugins sources
Jehan-Guillaume (ioguix) de Rorthais [Fri, 11 May 2012 10:02:32 +0000 (12:02 +0200)]
Make sure edit/delete action buttons are accessible from plugins
Jehan-Guillaume (ioguix) de Rorthais [Fri, 23 Mar 2012 16:40:53 +0000 (17:40 +0100)]
Add support for 'tree' hooks in the plugin architecture.
Leonardo Sapiras [Thu, 23 Feb 2012 22:57:54 +0000 (23:57 +0100)]
Add support for 'actionbuttons' hooks in the plugin architecture.
By Leonardo Sapiras during the GSoC 2011. Reviewed, massively patched,
fixed, integrated and commited by ioguix
Leonardo Sapiras [Wed, 4 Jan 2012 00:00:09 +0000 (01:00 +0100)]
Add support for 'navlink' hooks in the plugin architecture.
By Leonardo Sapiras during the GSoC 2011. Reviewed, massively patched,
fixed, integrated and commited by ioguix
Jehan-Guillaume (ioguix) de Rorthais [Tue, 21 Feb 2012 19:13:00 +0000 (20:13 +0100)]
Fix bug where setting privilege for functions was failing
Leonardo Sapiras [Wed, 4 Jan 2012 00:00:09 +0000 (01:00 +0100)]
Add support for 'navlink' hooks in the plugin architecture.
By Leonardo Sapiras during the GSoC 2011. Reviewed, massively patched,
fixed, integrated and commited by ioguix
Jehan-Guillaume (ioguix) de Rorthais [Fri, 30 Dec 2011 14:49:11 +0000 (15:49 +0100)]
Makes phpPgAdmin core full UTF-8 only.
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
Conflicts:
classes/Misc.php
lang/chinese-utf8-zh_CN.php
lang/french.php
lang/greek.php
lang/japanese.php
lang/lang2xml
lang/portuguese-br.php
lang/recoded/catalan.php
lang/recoded/chinese-utf8-zh_CN.php
lang/recoded/chinese-utf8-zh_TW.php
lang/recoded/czech.php
lang/recoded/english.php
lang/recoded/french.php
lang/recoded/galician.php
lang/recoded/german.php
lang/recoded/greek.php
lang/recoded/hungarian.php
lang/recoded/italian.php
lang/recoded/japanese.php
lang/recoded/lithuanian.php
lang/recoded/polish.php
lang/recoded/portuguese-br.php
lang/recoded/romanian.php
lang/recoded/russian-utf8.php
lang/recoded/slovak.php
lang/recoded/spanish.php
lang/recoded/turkish.php
lang/spanish.php
lang/turkish.php
libraries/lib.inc.php
Leonardo Sapiras [Tue, 6 Dec 2011 10:34:44 +0000 (11:34 +0100)]
Add support for 'trail' hooks in the plugin architecture.
By Leonardo Sapiras during the GSoC 2011, reviewed, patched, integrated
and commited by ioguix
Jehan-Guillaume (ioguix) de Rorthais [Tue, 6 Dec 2011 09:34:42 +0000 (10:34 +0100)]
Instanciate the plugin manager even if not connected to a database
Leonardo Sapiras [Tue, 6 Dec 2011 00:30:00 +0000 (01:30 +0100)]
Add support for 'tabs' hooks in the plugin architecture.
By Leonardo Sapiras during the GSoC 2011, reviewed, patched,
integrated and commited by ioguix.
Leonardo Sapiras [Mon, 5 Dec 2011 23:19:08 +0000 (00:19 +0100)]
Add support for 'toplinks' hooks in the plugin architecture.
By Leonardo Sapiras during the GSoC 2011, reviewed, patched, integrated
and commited by ioguix.
Jehan-Guillaume (ioguix) de Rorthais [Mon, 5 Dec 2011 21:46:48 +0000 (22:46 +0100)]
Refactor printActionUrl as getActionUrl
remove useless parameters and make it simpler. Takes part in the pavement
for WIP plugin architecture.
Leonardo Sapiras [Mon, 5 Dec 2011 20:44:01 +0000 (21:44 +0100)]
Add skeleton of the plugin architecture
By Leonardo Sapiras, reviewed, integrated, commited by ioguix.
Leonardo Sapiras [Mon, 17 Oct 2011 10:00:59 +0000 (12:00 +0200)]
Remove old plugin architecture.
Patch by Leonardo Sapiras, remerged by ioguix.
* remove old plugin architecture
* remove plugin Slony
Jehan-Guillaume (ioguix) de Rorthais [Wed, 22 Aug 2012 10:13:54 +0000 (12:13 +0200)]
Merge branch 'master' of github.com:phppgadmin/phppgadmin
Julien Rouhaud [Wed, 22 Aug 2012 10:10:16 +0000 (12:10 +0200)]
Support for nested serveur groups
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.
Jehan-Guillaume (ioguix) de Rorthais [Wed, 22 Aug 2012 10:08:35 +0000 (12:08 +0200)]
First update to the HISTORY file
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 09:31:30 +0000 (02:31 -0700)]
Merge pull request #6 from rjuju/master
Fix an issue introduced in
183b1e0 : Fix when no value for theme in config file
Julien Rouhaud [Fri, 17 Aug 2012 09:00:27 +0000 (11:00 +0200)]
Fix when no theme set in config file
Jehan-Guillaume (ioguix) de Rorthais [Fri, 17 Aug 2012 08:53:15 +0000 (01:53 -0700)]
Merge pull request #5 from rjuju/master
Fix for using theme in config file by default
Julien Rouhaud [Fri, 17 Aug 2012 08:37:50 +0000 (10:37 +0200)]
Fix the default theme to be the one in config file.
Robert Treat [Wed, 6 Jun 2012 11:55:18 +0000 (04:55 -0700)]
Merge pull request #4 from xzilla/master
initial 9.2 support; all regression tests should now pass on 9.2.
Robert Treat [Mon, 4 Jun 2012 02:25:51 +0000 (22:25 -0400)]
update tablespace support to handle 9.2 changes
Robert Treat [Mon, 4 Jun 2012 01:47:08 +0000 (21:47 -0400)]
Add help files for 9.1/9.2 docs
Robert Treat [Tue, 29 May 2012 03:57:24 +0000 (23:57 -0400)]
stub support for postgres92, clean up some other version bits.
passes tests for 90,91,92(ish)
Robert Treat [Tue, 29 May 2012 02:29:30 +0000 (22:29 -0400)]
Intermediate support for Postgres 90/91
Jehan-Guillaume (ioguix) de Rorthais [Fri, 11 May 2012 10:10:32 +0000 (12:10 +0200)]
Show line that will be deleted on the confirmation page
Jehan-Guillaume (ioguix) de Rorthais [Mon, 26 Mar 2012 08:05:28 +0000 (10:05 +0200)]
Fix regression where slony menu is always shown.
Regression from patch
36cdb2e40b34a2ca9e2e74db5748f8170f029aad "Fix a
small PHP warning when Slony conf parameters are not set".
Jehan-Guillaume (ioguix) de Rorthais [Tue, 28 Feb 2012 14:56:33 +0000 (15:56 +0100)]
Finish fix for #
3468882 "UPDATE single row with varchar key: empty where clause", reported by "Dirk Kraemer"
Same bug for the delete action...
Jehan-Guillaume (ioguix) de Rorthais [Mon, 27 Feb 2012 23:54:30 +0000 (00:54 +0100)]
Fix #
3468882 "UPDATE single row with varchar key: empty where clause", reported by "Dirk Kraemer"
Jehan-Guillaume (ioguix) de Rorthais [Mon, 27 Feb 2012 22:45:55 +0000 (23:45 +0100)]
Fix XSS in function.php, reported by Mateusz Goik.
I'm not sure why the name and the type the functions were not escaped
*on purpose* here. There's no more reason here than in any other place
with other PostgreSQL objects to not escape the name or the type...
Jehan-Guillaume (ioguix) de Rorthais [Thu, 23 Feb 2012 18:16:23 +0000 (19:16 +0100)]
Fix bug where renaming a tablespace was leading to an error
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.
Jehan-Guillaume (ioguix) de Rorthais [Thu, 23 Feb 2012 17:30:03 +0000 (18:30 +0100)]
Fix a bug where clicking to "Show all schemas" on schema privilege page leads back to the latest tab used in database level.
Jehan-Guillaume (ioguix) de Rorthais [Tue, 21 Feb 2012 22:18:13 +0000 (23:18 +0100)]
Fix a bug when executing a query from the history
sql.php is not looking for queries from _GET anymore and history was
passing its query through it.
Jehan-Guillaume (ioguix) de Rorthais [Mon, 20 Feb 2012 20:27:15 +0000 (21:27 +0100)]
Fix bad confirmation message when droping an autovacuum table setup
Jehan-Guillaume (ioguix) de Rorthais [Mon, 9 Jan 2012 16:01:33 +0000 (17:01 +0100)]
Merge branch 'utf-8'
Jehan-Guillaume (ioguix) de Rorthais [Fri, 30 Dec 2011 16:54:53 +0000 (17:54 +0100)]
Force UTF-8 while escaping html from decorators
It was breaking multibytes chars.
Jehan-Guillaume (ioguix) de Rorthais [Fri, 30 Dec 2011 14:07:19 +0000 (15:07 +0100)]
Remove useless noEscape decorator since we removed recoded strings
noEscape decorator was only used to not escape recoded strings because
it was breaking non-ascii chars that was begining by &#...;. This make
the code a bit simpler, cleaner and remove useless piece of code.
Jehan-Guillaume (ioguix) de Rorthais [Thu, 29 Dec 2011 19:10:15 +0000 (20:10 +0100)]
Fix bug #
3429633 '"Back" link from "Browse" leads to error'
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.
Jehan-Guillaume (ioguix) de Rorthais [Fri, 30 Dec 2011 01:48:13 +0000 (02:48 +0100)]
Makes phpPgAdmin core full UTF-8 only.
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
Jehan-Guillaume (ioguix) de Rorthais [Thu, 29 Dec 2011 23:36:12 +0000 (00:36 +0100)]
Make selenium tests full dynamics, no more build_tests.php required.
Jehan-Guillaume (ioguix) de Rorthais [Tue, 13 Dec 2011 23:11:20 +0000 (00:11 +0100)]
Fix a small PHP warning when Slony conf parameters are not set
Jehan-Guillaume (ioguix) de Rorthais [Fri, 16 Dec 2011 22:57:12 +0000 (23:57 +0100)]
Cleanup bad code when altering schema
Jehan-Guillaume (ioguix) de Rorthais [Fri, 16 Dec 2011 23:25:10 +0000 (00:25 +0100)]
Securing $misc->href
See http://php.net/manual/en/function.urlencode.php
This is only used in href parameter of A tag and should be escaped
properly.
Jehan-Guillaume (ioguix) de Rorthais [Fri, 16 Dec 2011 23:24:15 +0000 (00:24 +0100)]
Select English language during the intro while login in.
Jehan-Guillaume (ioguix) de Rorthais [Tue, 6 Dec 2011 22:57:18 +0000 (23:57 +0100)]
Add links on columns names from view property page to the view's column page
Jehan-Guillaume (ioguix) de Rorthais [Tue, 15 Nov 2011 09:34:47 +0000 (10:34 +0100)]
Fix bad spelling in french translation
Jehan-Guillaume (ioguix) de Rorthais [Tue, 1 Nov 2011 22:16:05 +0000 (23:16 +0100)]
Make user query paginated by default.
Jehan-Guillaume (ioguix) de Rorthais [Tue, 1 Nov 2011 21:39:00 +0000 (22:39 +0100)]
Fix a small html error
Jehan-Guillaume (ioguix) de Rorthais [Wed, 28 Sep 2011 21:15:36 +0000 (23:15 +0200)]
Fix two security fix about XSS, reported by Mateusz Goik, fixed by ioguix.
Jehan-Guillaume (ioguix) de Rorthais [Tue, 5 Jul 2011 21:20:32 +0000 (23:20 +0200)]
Fix bug #
3353670: Error when executing a report with paging
Jehan-Guillaume (ioguix) de Rorthais [Tue, 5 Jul 2011 21:02:28 +0000 (23:02 +0200)]
Add column "paginate" to the reports list and properties
Jehan-Guillaume (ioguix) de Rorthais [Tue, 7 Jun 2011 09:47:11 +0000 (11:47 +0200)]
Fix bug with OpenBSD about where setting application_name using PGOPTIONS was raising an ERROR
Jehan-Guillaume (ioguix) de Rorthais [Fri, 3 Jun 2011 17:19:32 +0000 (19:19 +0200)]
Removes useless call of function_exists since we are PHP5+ only
Jehan-Guillaume (ioguix) de Rorthais [Wed, 1 Jun 2011 20:13:03 +0000 (22:13 +0200)]
Add download ability from the history window
Jehan-Guillaume (ioguix) de Rorthais [Wed, 1 Jun 2011 19:45:09 +0000 (21:45 +0200)]
remove $username when calling $data->isSuperUser about current connection role
Jehan-Guillaume (ioguix) de Rorthais [Wed, 1 Jun 2011 19:32:04 +0000 (21:32 +0200)]
Show cancel/kill actions in process page only if role is a superuser.
Jehan-Guillaume (ioguix) de Rorthais [Wed, 1 Jun 2011 19:23:37 +0000 (21:23 +0200)]
Fix a bug and support empty username in $data->isSuperUser to check the 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.*
Jehan-Guillaume (ioguix) de Rorthais [Mon, 30 May 2011 17:45:12 +0000 (19:45 +0200)]
Update the howto about creating new translation for PPA
artvras [Mon, 30 May 2011 15:12:57 +0000 (17:12 +0200)]
Add lithuanian translation.
Jehan-Guillaume (ioguix) de Rorthais [Sun, 22 May 2011 02:34:55 +0000 (04:34 +0200)]
remove commented piece of code
Jehan-Guillaume (ioguix) de Rorthais [Sat, 21 May 2011 22:35:00 +0000 (00:35 +0200)]
Merge branch 'master' of github.com:phppgadmin/phppgadmin
Jehan-Guillaume (ioguix) de Rorthais [Sat, 21 May 2011 21:06:23 +0000 (23:06 +0200)]
Update lang/README file and improve lang2xml script.
* checks if given files exists before trying recoding
* allows to run lang2xml with no args to build all translations
Jehan-Guillaume (ioguix) de Rorthais [Sat, 21 May 2011 21:00:13 +0000 (23:00 +0200)]
Some code cleanup and refactoring
Jehan-Guillaume (ioguix) de Rorthais [Thu, 19 May 2011 05:31:51 +0000 (07:31 +0200)]
convert lang/Makefile to a shell script lang/lang2xml
Jehan-Guillaume (ioguix) de Rorthais [Thu, 19 May 2011 05:30:26 +0000 (07:30 +0200)]
move lang/recoded/README to lang/