phppgadmin.git
16 years agoFix selenium tests and add some assertions.
Guillaume (ioguix) de Rorthais [Sat, 20 Dec 2008 05:30:26 +0000 (00:30 -0500)]
Fix selenium tests and add some assertions.

16 years agoRevert "Fix selenium login failed for user in 99-cleantests"
Guillaume (ioguix) de Rorthais [Sat, 20 Dec 2008 03:46:17 +0000 (22:46 -0500)]
Revert "Fix selenium login failed for user in 99-cleantests"
This time I will fix setUser and moving User/Group methods in pg80 instead (hopefuly)
This reverts commit 529655bda9cc83af0ed7e37ced38bbddc4d81082.

16 years agoRevert "Revert "unset $_language in case of malicious entry via url w/ register_globa...
Guillaume (ioguix) de Rorthais [Sat, 20 Dec 2008 03:44:35 +0000 (22:44 -0500)]
Revert "Revert "unset $_language in case of malicious entry via url w/ register_globals.""
I thought revert would revert everything TO THIS commit instead or reversing it...
This reverts commit 1ad7a284be04d08083a3622dbc18634fb6b25cdf.

16 years agoRevert "unset $_language in case of malicious entry via url w/ register_globals."
Guillaume (ioguix) de Rorthais [Sat, 20 Dec 2008 03:06:28 +0000 (22:06 -0500)]
Revert "unset $_language in case of malicious entry via url w/ register_globals."
I will fix setUser and moving User/Group methods in pg80 instead
This reverts commit b62ff9fa11f0dbed1a28568671eb31d45a5363dd.

16 years agoFix selenium login failed for user in 99-cleantests
Guillaume (ioguix) de Rorthais [Fri, 19 Dec 2008 06:29:35 +0000 (01:29 -0500)]
Fix selenium login failed for user in 99-cleantests

16 years agounset $_language in case of malicious entry via url w/ register_globals.
Robert Treat [Thu, 18 Dec 2008 04:59:17 +0000 (23:59 -0500)]
unset $_language in case of malicious entry via url w/ register_globals.

16 years agoUpdate/Add selenium tests
Guillaume (ioguix) de Rorthais [Sun, 14 Dec 2008 22:15:20 +0000 (17:15 -0500)]
Update/Add selenium tests
- Add tests for constraints, columns, views and index
- Add method addComment in testBuilder class to insert comment in the tests page
- Add comments to all tests
Sequence tests still fail for 8.4. We need to review all these tests to add some forgottent testcases and asserts

16 years agoMerge branch 'master' of git@github.com:xzilla/phppgadmin into seleniumTests
Guillaume (ioguix) de Rorthais [Sun, 14 Dec 2008 19:37:53 +0000 (14:37 -0500)]
Merge branch 'master' of git@github.com:xzilla/phppgadmin into seleniumTests

16 years agoSeveral small cleanups found while working on selenium tests
Guillaume (ioguix) de Rorthais [Sun, 14 Dec 2008 19:28:36 +0000 (14:28 -0500)]
Several small cleanups found while working on selenium tests
- add method hasMagicTypes instead of using confusing hasAlterColumnType
- add method hasCreateFieldWithConstraints insead of using confusing hasAlterColumnType
- fix some bad indentation
- fix non uniform values returned from alterColumn
- refactor the way alterColumn is bulding its request
- add method addSelection the the testBuilder class

16 years agominor editorial changes
Robert Treat [Sun, 14 Dec 2008 03:41:42 +0000 (22:41 -0500)]
minor editorial changes

16 years agoadd some doc in the selenium README tests about writing tests
Guillaume (ioguix) de Rorthais [Thu, 11 Dec 2008 05:18:52 +0000 (00:18 -0500)]
add some doc in the selenium README tests about writing tests

16 years agoAdd selenium tests for sequences. Broken with 8.4 (see notes).
Guillaume (ioguix) de Rorthais [Mon, 1 Dec 2008 04:24:02 +0000 (23:24 -0500)]
Add selenium tests for sequences. Broken with 8.4 (see notes).
Add 15-sequence.php test builder file for sequence. These tests are failing
for 8.4dev when altering the sequence. When altering minvalue, we have to
take care of the START value under 8.4.

16 years agoSome cleanup in the sequence capabilities
Guillaume (ioguix) de Rorthais [Mon, 1 Dec 2008 04:16:09 +0000 (23:16 -0500)]
Some cleanup in the sequence capabilities
- remove hasAlterSequenceOwner as all supported pg backends support it
- rename hasSequenceAlterSchema as hasAlterSequenceSchema to follow the naming rule

16 years agoclean up directory lists, fix warnings when directory traversing, allow users to...
Robert Treat [Sat, 22 Nov 2008 04:51:56 +0000 (23:51 -0500)]
clean up directory lists, fix warnings when directory traversing, allow users to specify list of dbs to test, fix spelling on notice, clean up documentation, rewrite examples to be clearer, and set them using databases given in config.inc.php-dist.

16 years agoAdd initial minimal support for pg 8.4
Guillaume (ioguix) de Rorthais [Wed, 19 Nov 2008 03:23:16 +0000 (22:23 -0500)]
Add initial minimal support for pg 8.4

16 years agoAdd comment field to the create function form.
Guillaume (ioguix) de Rorthais [Mon, 17 Nov 2008 00:58:15 +0000 (19:58 -0500)]
Add comment field to the create function form.
Reported by retrorocket : https://sourceforge.net/forum/message.php?msg_id=5247881

16 years agoRemove everything about hasSchema as all supported pg version supports schema now...
Guillaume (ioguix) de Rorthais [Wed, 5 Nov 2008 06:52:35 +0000 (01:52 -0500)]
Remove everything about hasSchema as all supported pg version supports schema now (from pg73)

16 years agoCode cleaning of the selenium new archi and add some new tests on domaine and table
Guillaume (ioguix) de Rorthais [Wed, 5 Nov 2008 06:31:43 +0000 (01:31 -0500)]
Code cleaning of the selenium new archi and add some new tests on domaine and table

16 years agoAdd alter button action on views and tables lists pages to be more consistant with...
Guillaume (ioguix) de Rorthais [Tue, 4 Nov 2008 22:01:19 +0000 (17:01 -0500)]
Add alter button action on views and tables lists pages to be more consistant with other object listing pages

16 years agoShow the "create table like" link only if at least one table exists in the schema
Guillaume (ioguix) de Rorthais [Tue, 4 Nov 2008 20:59:46 +0000 (15:59 -0500)]
Show the "create table like" link only if at least one table exists in the schema
+ correct some indentations in lib.inc.php

16 years agoFix hasObjectID method
Guillaume (ioguix) de Rorthais [Mon, 3 Nov 2008 02:19:57 +0000 (21:19 -0500)]
Fix hasObjectID method
+ hasObjectID method was lost in the reversing db classs inheritence path, re-add it
+ a typo in a comment

16 years agoFix Pg73 doesn't support altering a domain. Add drop link on the domain properties...
Guillaume (ioguix) de Rorthais [Fri, 31 Oct 2008 18:57:54 +0000 (14:57 -0400)]
Fix Pg73 doesn't support altering a domain. Add drop link on the domain properties page. Remove link "show all domains" to keep the same interface than other properties pages.

16 years agoRename some selenium builder test files and add a schema test builder
Guillaume (ioguix) de Rorthais [Wed, 29 Oct 2008 04:41:56 +0000 (00:41 -0400)]
Rename some selenium builder test files and add a schema test builder

16 years agoFix for alterSchema
Guillaume (ioguix) de Rorthais [Wed, 29 Oct 2008 03:54:09 +0000 (23:54 -0400)]
Fix for alterSchema
- pg 7.3 can not alter a schema !
- fix a bug on alter schema owner when alter schema name in the same time

16 years agoAdd alter schema Owner feature
Guillaume (ioguix) de Rorthais [Tue, 28 Oct 2008 19:32:41 +0000 (15:32 -0400)]
Add alter schema Owner feature

16 years agoSome selenium tests and improvement
Guillaume (ioguix) de Rorthais [Tue, 28 Oct 2008 04:29:51 +0000 (00:29 -0400)]
Some selenium tests and improvement
- add Database level tests
- build_tests.php now run every script it finds in ./tests/selenium/src, in alphanum order.
  No more needs to edit build_tests.php to add new test builder

16 years agoAdd ignore selenium/tests/config.inc.php file
Guillaume (ioguix) de Rorthais [Tue, 28 Oct 2008 15:31:35 +0000 (11:31 -0400)]
Add ignore selenium/tests/config.inc.php file

16 years agoReverse database classes Inheritance
Guillaume (ioguix) de Rorthais [Tue, 28 Oct 2008 15:10:45 +0000 (11:10 -0400)]
Reverse database classes Inheritance
- reverse database classes inheritance
- remove pg 70, 71, 72 support
- refactor alterTable, alterView and alterSequence to call uni-task methods (alter user, comment, schema, ...) from the public one instead of having all the code in the main method.
- php5 migration: lib.inc.php require at least php 5.0

16 years agoAdd the README about how to use the new selenium tests architecture
Guillaume (ioguix) de Rorthais [Tue, 28 Oct 2008 00:01:45 +0000 (20:01 -0400)]
Add the README about how to use the new selenium tests architecture

16 years agoAdd a ./tests/selenium/static directory for generated files
Guillaume (ioguix) de Rorthais [Mon, 27 Oct 2008 23:32:32 +0000 (19:32 -0400)]
Add a ./tests/selenium/static directory for generated files

16 years agoImport new selenium architecture
Guillaume (ioguix) de Rorthais [Mon, 27 Oct 2008 23:10:45 +0000 (19:10 -0400)]
Import new selenium architecture

16 years agoWIP
Guillaume (ioguix) de Rorthais [Mon, 27 Oct 2008 20:04:44 +0000 (16:04 -0400)]
WIP
Move old simpletests to ./tests/simpletests

16 years agoFix createFunction method for pg < 73
Guillaume (ioguix) de Rorthais [Wed, 15 Oct 2008 21:45:45 +0000 (17:45 -0400)]
Fix createFunction method for pg < 73

17 years agoquote identifiers
Robert Treat [Mon, 15 Sep 2008 02:38:03 +0000 (22:38 -0400)]
quote identifiers

17 years agoupon further review, I think we need some protection here
Robert Treat [Sat, 13 Sep 2008 06:26:58 +0000 (02:26 -0400)]
upon further review, I think we need some protection here

17 years agoswitch the sql query screens to use a session var to track the query. this solves...
Robert Treat [Sat, 13 Sep 2008 05:52:44 +0000 (01:52 -0400)]
switch the sql query screens to use a session var to track the query. this solves some problems with overly long queries. this is a more complete fix for bug#1943741

17 years agoremove completed TODO item. (testing commit/push)
root [Thu, 28 Aug 2008 13:23:34 +0000 (09:23 -0400)]
remove completed TODO item. (testing commit/push)

17 years agoremove debugging code
Robert Treat [Tue, 26 Aug 2008 03:03:21 +0000 (23:03 -0400)]
remove debugging code

17 years agoadd export option at the schema level. refs feature request #2011744
Robert Treat [Tue, 26 Aug 2008 03:02:15 +0000 (23:02 -0400)]
add export option at the schema level. refs feature request #2011744

17 years agouse REQUEST rather than GET for sql queries. Remove last two get based forms. refs...
Robert Treat [Wed, 20 Aug 2008 21:29:04 +0000 (17:29 -0400)]
use REQUEST rather than GET for sql queries. Remove last two get based forms. refs bug#1943741

17 years agostyle fix
Robert Treat [Sat, 16 Aug 2008 12:30:15 +0000 (08:30 -0400)]
style fix

17 years agoon second thought, reword the whole thing
Robert Treat [Thu, 17 Jul 2008 01:44:33 +0000 (21:44 -0400)]
on second thought, reword the whole thing
(cherry picked from commit cd6846aa34c10a92bd040d03c4603c077cd7e23f)

17 years agoupdate link for win32 binaries
Robert Treat [Thu, 17 Jul 2008 00:29:39 +0000 (20:29 -0400)]
update link for win32 binaries

17 years agoAdd support for text search functions, feature request #2004429, based on patch from...
Robert Treat [Sat, 12 Jul 2008 05:31:40 +0000 (01:31 -0400)]
Add support for text search functions, feature request #2004429, based on patch from Loomis_K

17 years agoignore conf file in git
Robert Treat [Sat, 12 Jul 2008 03:54:50 +0000 (23:54 -0400)]
ignore conf file in git

17 years agoadd missing string for logging out with shared credentials.
Robert Treat [Fri, 11 Jul 2008 21:02:29 +0000 (17:02 -0400)]
add missing string for logging out with shared credentials.

17 years agoremove completed TODO item
Robert Treat [Wed, 9 Jul 2008 22:29:49 +0000 (18:29 -0400)]
remove completed TODO item

17 years agofix bug #1937530 reported by Denis Golovtsov
ioguix [Mon, 16 Jun 2008 22:38:46 +0000 (22:38 +0000)]
fix bug #1937530 reported by Denis Golovtsov

17 years agofix table icon/link disapearing when navigate between pages during column browse
ioguix [Mon, 14 Apr 2008 12:44:27 +0000 (12:44 +0000)]
fix table icon/link disapearing when navigate between pages during column browse

17 years agoset version to 4.2
xzilla [Sun, 6 Apr 2008 01:10:35 +0000 (01:10 +0000)]
set version to 4.2

17 years agoconsolidate 4.2 items for 4.2 final
xzilla [Sun, 6 Apr 2008 01:09:36 +0000 (01:09 +0000)]
consolidate 4.2 items for 4.2 final

17 years agopetite correction sur la trad française :)
ioguix [Thu, 27 Mar 2008 10:46:32 +0000 (10:46 +0000)]
petite correction sur la trad française :)

17 years agoupdate HISOTRY for 4.2-Beta-2 REL_4-2-BETA-2
xzilla [Fri, 21 Mar 2008 15:45:04 +0000 (15:45 +0000)]
update HISOTRY for 4.2-Beta-2

17 years agofix php warning / typo
xzilla [Fri, 21 Mar 2008 15:32:57 +0000 (15:32 +0000)]
fix php warning / typo

17 years agoTime to get moving on 4.2-Beta-2
xzilla [Fri, 21 Mar 2008 14:32:44 +0000 (14:32 +0000)]
Time to get moving on 4.2-Beta-2

17 years agoFTS fix and links to help pages from Ivan Zolotukhin
ioguix [Mon, 17 Mar 2008 21:35:48 +0000 (21:35 +0000)]
FTS fix and links to help pages from Ivan Zolotukhin

17 years agoupdated catalan translation from Bernat Pegueroles
xzilla [Fri, 14 Mar 2008 03:31:43 +0000 (03:31 +0000)]
updated catalan translation from Bernat Pegueroles

17 years agoremove hardcoded maximum length attributes which were incorrect, add a restriction...
xzilla [Mon, 25 Feb 2008 17:20:44 +0000 (17:20 +0000)]
remove hardcoded maximum length attributes which were incorrect, add a restriction on name equal to maxNameLen (defined per version)

17 years agoclean some unused str + 100% french
ioguix [Sat, 23 Feb 2008 16:34:33 +0000 (16:34 +0000)]
clean some unused str + 100% french

17 years agominor fix in create table like page to select the wanted table if already given in...
ioguix [Thu, 21 Feb 2008 18:32:11 +0000 (18:32 +0000)]
minor fix in create table like page to select the wanted table if already given in a previous post

17 years agowoops, that was a bit overzealous
xzilla [Thu, 21 Feb 2008 17:15:57 +0000 (17:15 +0000)]
woops, that was a bit overzealous

17 years agoremove unused strings, per spq
xzilla [Thu, 21 Feb 2008 17:05:54 +0000 (17:05 +0000)]
remove unused strings, per spq

17 years agoupdate the create table like test
ioguix [Wed, 20 Feb 2008 21:31:52 +0000 (21:31 +0000)]
update the create table like test

17 years agosome fix from Kristoffer `spq` Janke
ioguix [Wed, 20 Feb 2008 21:06:18 +0000 (21:06 +0000)]
some fix from Kristoffer `spq` Janke

17 years agofix bug reported by Kristoffer `spq` Janke about bad formated DELETE FROM when dropin...
ioguix [Wed, 20 Feb 2008 20:43:09 +0000 (20:43 +0000)]
fix bug reported by Kristoffer `spq` Janke about bad formated DELETE FROM when droping a row.

17 years agoAdd fixes made after beta-1
xzilla [Tue, 19 Feb 2008 18:58:19 +0000 (18:58 +0000)]
Add fixes made after beta-1

17 years agoupdating german translation, by Kristoffer `spq` Janke
ioguix [Mon, 18 Feb 2008 23:06:51 +0000 (23:06 +0000)]
updating german translation, by Kristoffer `spq` Janke

17 years agofix #1482098 Logout /Security/ Issue
ioguix [Mon, 18 Feb 2008 22:20:26 +0000 (22:20 +0000)]
fix #1482098 Logout /Security/ Issue

17 years agodocument additional options for ssl connectiong, mainly needed by old libpq clients
ioguix [Mon, 18 Feb 2008 21:42:47 +0000 (21:42 +0000)]
document additional options for ssl connectiong, mainly needed by old libpq clients

17 years agodocument additional options for ssl connectiong, mainly needed by old libpq clients
xzilla [Mon, 18 Feb 2008 21:10:31 +0000 (21:10 +0000)]
document additional options for ssl connectiong, mainly needed by old libpq clients

17 years agoremove deprecated files
ioguix [Sat, 16 Feb 2008 20:47:14 +0000 (20:47 +0000)]
remove deprecated files

17 years agoadd some constraints and domain tests
ioguix [Sat, 16 Feb 2008 20:40:13 +0000 (20:40 +0000)]
add some constraints and domain tests

17 years agorevert ioguix commit of new dbug code for the tree, which outright broke the tree...
xzilla [Thu, 14 Feb 2008 20:00:14 +0000 (20:00 +0000)]
revert ioguix commit of new dbug code for the tree, which outright broke the tree for me and spq. removing a few of the wayward \n's did allow the tree to open/close, but I still had broken +/- icons in the tree, so I am pushing it all back.

17 years agohum, not my day, recommit the real xml cleanup
ioguix [Wed, 13 Feb 2008 23:03:05 +0000 (23:03 +0000)]
hum, not my day, recommit the real xml cleanup

17 years agocleaning xloadtree xml and some helpful \n for debuging in the generated html for...
ioguix [Wed, 13 Feb 2008 22:55:38 +0000 (22:55 +0000)]
cleaning xloadtree xml and some helpful \n for debuging in the generated html for the tree

17 years agoremove some garbage debug tests...
ioguix [Mon, 11 Feb 2008 21:48:59 +0000 (21:48 +0000)]
remove some garbage debug tests...

17 years agofix a php warning about "Undefined variable: subject"
ioguix [Mon, 11 Feb 2008 21:28:36 +0000 (21:28 +0000)]
fix a php warning about "Undefined variable: subject"

17 years agofix for bug report "[ 1832021 ] Accessing FTS page on pg < 8.3"
ioguix [Thu, 31 Jan 2008 22:03:30 +0000 (22:03 +0000)]
fix for bug report "[ 1832021 ] Accessing FTS page on pg < 8.3"

17 years agoFix BUG #183038 about getAggregate for pg < 7.3,
ioguix [Sat, 19 Jan 2008 13:46:15 +0000 (13:46 +0000)]
Fix BUG #183038 about getAggregate for pg < 7.3,
Fix a BUG in getAggregate where field aggsortop doesn't exist for pg < 8.1
Fix a "no result" buggy page when clicking on an aggregate which hasn't basetype (ie. count)
Fix a bug in tblproperties about getConstraintsWithField in pg < 7.3

17 years agofix for bug report #1868987 and some cleanup. Needs some more cleanup and work for...
ioguix [Mon, 14 Jan 2008 17:55:01 +0000 (17:55 +0000)]
fix for bug report #1868987 and some cleanup. Needs some more cleanup and work for a better FK support on multi-columns

17 years agoclose results set initial table row properly
xzilla [Thu, 10 Jan 2008 20:19:27 +0000 (20:19 +0000)]
close results set initial table row properly

17 years agoremove some more extraneous globals
xzilla [Thu, 10 Jan 2008 19:37:07 +0000 (19:37 +0000)]
remove some more extraneous globals

17 years agoRemove unused global var.
soranzo [Thu, 10 Jan 2008 18:38:52 +0000 (18:38 +0000)]
Remove unused global var.

17 years agohandle both implicit and explicit alter type scenarios
xzilla [Thu, 10 Jan 2008 18:28:24 +0000 (18:28 +0000)]
handle both implicit and explicit alter type scenarios

17 years agosome html oriented cleanups for pop-up windows
xzilla [Thu, 10 Jan 2008 17:41:34 +0000 (17:41 +0000)]
some html oriented cleanups for pop-up windows

17 years agoremove 'magic' types (ie SERIALs) from the type's list on the alter column page
ioguix [Wed, 9 Jan 2008 23:02:38 +0000 (23:02 +0000)]
remove 'magic' types (ie SERIALs) from the type's list on the alter column page

17 years agoadd Report icon
ioguix [Wed, 9 Jan 2008 00:20:03 +0000 (00:20 +0000)]
add Report icon

17 years agosome cleanup in reports part
ioguix [Wed, 9 Jan 2008 00:19:10 +0000 (00:19 +0000)]
some cleanup in reports part

17 years agosome more row level cleanup
xzilla [Tue, 8 Jan 2008 22:50:29 +0000 (22:50 +0000)]
some more row level cleanup

17 years agoadd missing row declarations
xzilla [Tue, 8 Jan 2008 20:19:31 +0000 (20:19 +0000)]
add missing row declarations

17 years agominor german updates from Laurenz
xzilla [Sat, 5 Jan 2008 21:51:18 +0000 (21:51 +0000)]
minor german updates from Laurenz

17 years agofix missing semi-colon
xzilla [Thu, 3 Jan 2008 03:11:57 +0000 (03:11 +0000)]
fix missing semi-colon

17 years agofix for bug #1859642
ioguix [Wed, 2 Jan 2008 13:52:18 +0000 (13:52 +0000)]
fix for bug #1859642

17 years agoupdate chinese-utf8-zh_TW translation done by ChaoYi
ioguix [Tue, 1 Jan 2008 19:12:51 +0000 (19:12 +0000)]
update chinese-utf8-zh_TW translation done by ChaoYi

17 years agowiden constraint boxes, i had a hard time working on tables with wide column names...
xzilla [Mon, 31 Dec 2007 16:46:07 +0000 (16:46 +0000)]
widen constraint boxes, i had a hard time working on tables with wide column names, hopefully this lines up ok with other folks browsers too

17 years agoupdate chinese-utf8-zh_CN translation done by ChaoYi
ioguix [Mon, 31 Dec 2007 13:00:29 +0000 (13:00 +0000)]
update chinese-utf8-zh_CN translation done by ChaoYi

17 years agofix typo, per email from Laurenz
xzilla [Sat, 29 Dec 2007 06:55:58 +0000 (06:55 +0000)]
fix typo, per email from Laurenz

17 years agofix bug #1859646
ioguix [Fri, 28 Dec 2007 17:43:25 +0000 (17:43 +0000)]
fix bug #1859646

17 years agosome selenium tests cleanup
ioguix [Fri, 28 Dec 2007 16:56:09 +0000 (16:56 +0000)]
some selenium tests cleanup

17 years agofix duplicate constraints in the constraints page
ioguix [Fri, 28 Dec 2007 16:21:25 +0000 (16:21 +0000)]
fix duplicate constraints in the constraints page