Skip to content
This repository was archived by the owner on Sep 10, 2023. It is now read-only.

Commit ede660d

Browse files
author
crazy-max
committed
New bundle 5.2 retrieved from Tomicapo/phppgadmin repository for PHP 7 compatibility.
1 parent 72b20c1 commit ede660d

File tree

374 files changed

+77934
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

374 files changed

+77934
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
### [Check compatibility with Neard](https://github.com/crazy-max/neard/wiki/appPhpPgAdmin#latest) before downloading.
44

5+
## r2 (2016/10/12)
6+
7+
* New bundle 5.2 retrieved from [Tomicapo/phppgadmin](https://github.com/Tomicapo/phppgadmin) repository for PHP 7 compatibility.
8+
59
## r1 (2016/10/12)
610

711
* Init repo with phpPgAdmin 5.1

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ See [phpPgAdmin Wiki page on Neard](https://github.com/crazy-max/neard/wiki/appP
88

99
* http://phppgadmin.sourceforge.net
1010
* https://github.com/phppgadmin/phppgadmin
11+
* https://github.com/Tomicapo/phppgadmin
1112

1213
## Issues
1314

bin/phppgadmin5.2/BUGS

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
Internal Bugs List
2+
------------------
3+
4+
This file is used to track current working tasks - just ignore it!
5+
6+
dump sequences when dumping tables
7+
fix dumping clustering info
8+
9+
Need to fix:
10+
* After changing password need to update data structures to avoid logouts
11+
* Report login errors
12+
* Don't offer owner change feature if user is not superuser
13+
* check use of apostrophes, etc. in tree menu
14+
* add different null formats to import and export
15+
* make browser language detection only happen when language is set
16+
to 'auto'. make that the default.
17+
* float and decimal types aren't listed.
18+
* Click 'Run' on this report doesn't work (only column 2 is displayed):
19+
20+
SELECT
21+
1,
22+
2;
23+
24+
* redirect.php doesn't work for database's after certain tabs have been
25+
selected, eg. 'Variables', 'Processes'.
26+
27+
NEEDS TESTING
28+
-------------
29+
30+
* COPY should work in normal sql screen and sql popup window
31+
* notice on viewing reports page - does this still occur?
32+
* highlight things on the info stats page
33+
* advanced stats functions
34+
* prevent the user from dropping all the superusers
35+
* rename function in 7.2 and below doesn't come back to the correct function
36+
* Fix SQL window parent update to not update any random window
37+
* Show owner on privileges screen?
38+
* Allows tabs in textareas on IE: http://devilock.mine.nu/textarea_tab.html
39+
* add help links everywhere. fix formatting of help links.
40+
* Deal with named parameters that have ',' in the type name
41+
* make sure composite types are found in the find feature

bin/phppgadmin5.2/CREDITS

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
CREDITS
2+
-------
3+
4+
Project Administration & Major Projects
5+
6+
- Robert Treat (xzilla)
7+
- Jehan-Guillaume (ioguix) De Rorthais
8+
9+
Translators
10+
11+
- Kuo Chaoyi (Chinese Utf8)
12+
- Angelo Rigo (Brazilan Portuguese)
13+
- Chan Min Wai (Chinese)
14+
- He Wei Ping (Chinese)
15+
- Chih-Hsin Lee (Trad. Chinese)
16+
- Hugo Jonker (Dutch)
17+
- Pascal Peyre (French)
18+
- Guillaume Lelarge (French)
19+
- ioguix (French)
20+
- H. Etzel, Markus Bertheau (German)
21+
- Kalef (Italian)
22+
- Tadashi Jokagi (Japanese)
23+
- Rafal Slubowski (Polish)
24+
- Alexander Khodorisky (Russian)
25+
- Martin Marqu�s (Spanish)
26+
- Andrej Misovic (Slovak)
27+
- Devrim Gunduz (Turkish)
28+
- Libor Vanek (Czech)
29+
- Marek Cernock� (Czech)
30+
- Stefan Malmqvist (Swedish)
31+
- Nicola Soranzo (Italian)
32+
- Petri Jooste (Afrikaans)
33+
- Sulyok P�ter (Hungarian)
34+
- Zaki Almuallim (Arabic)
35+
- Erdenemandal Bat-Erdene (Mongolian)
36+
- Alex Rootoff (Ukrainian)
37+
- Jonatan (Hebrew)
38+
- Alin Vaida (Romanian)
39+
- Arne Eckmann (Danish)
40+
- Francisco Cabrita (Portuguese)
41+
- Bernat Pegueroles (Catalan)
42+
- Fernando Wendt (Brazilan Portuguese)
43+
- Adamantios Diamantidis (Greek)
44+
- Marek �ernock� (Czech)
45+
- Alexey Baturin (Russian UTF8)
46+
- Adri�n Chaves Fern�ndez (Galician)
47+
48+
Look & Feel
49+
50+
- Davey (CSS)
51+
- ioguix (Cappuccino theme)
52+
- Tomasz Pala (Gotar theme)
53+
- Felipe Figueroa (Bootstrap theme)
54+
55+
Contributors
56+
57+
- Dan Wilson
58+
- Christopher Kings-Lynne
59+
- Felix Meinhold
60+
- Jean-Michel Poure
61+
- Rafal Slubowski
62+
- Brett Toolin
63+
- Mark Gibson (Pop-up SQL window)
64+
- Nicola Soranzo
65+
- Oliver Meyer & Sven Kiera (Table icons link to browse table)
66+
- Bryan Encina (SQL window improvements, bug fixes, admin)
67+
- Dan Boren (Object comments)
68+
- Adrian Nida (Fix time outs)
69+
- Russell Smith
70+
- Guillaume Lelarge
71+
- Ian Barwick
72+
- Javier Carlos
73+
- Eric Kinolik
74+
- John Jawed
75+
- Karl O. Pinc
76+
- Tomasz Pala
77+
- Ivan Zolotukhin
78+
- Kristoffer `spq` Janke
79+
- Leonardo Augusto Sapiras (Improve phpPgAdmin ergonomy during the GSoC 2010, with ioguix as mentor)
80+
- Julien Rouhaud, aka. rjuju (nested groups)
81+
- Felipe Figueroa aka. amenadiel
82+
83+
Third Party Libraries
84+
85+
- Highlight.php (Jacob D. Cohen of rafb.net)
86+
- XLoadTree2 (Erik Arvidsson & Emil A Eklund of webfx.eae.net)
87+
- jQuery (http://jquery.com/)
88+
89+
Corporate Sponsors
90+
91+
Project resources:
92+
93+
- Sourceforge.net - Hosting, source package provider, Bug and Feature request tracker, hosting mailing lists (and ex code repository)
94+
- github.com - Official GIT repository hosting
95+
- Kattare Internet (http://www.kattare.com/) - Hosting the demo server
96+
97+
Ongoing contributors:
98+
99+
- OmniTI ( http://omniti.com/ ) - sponsors developpment as Robert Treat employer
100+
- Dalibo ( http://dalibo.com ) - sponsors developpment as Jehan-Guillaume (ioguix) de Rorthais employer
101+
102+
Feature contributors:
103+
104+
- SpikeSource (www.spikesource.com) - Slony support
105+
- Google Summer of Code (http://code.google.com/soc/2006/pgsql/appinfo.html?csaid=DB096D908B948D89) - phpPgAdmin Improvements
106+
- Google Summer of Code (http://code.google.com/soc/2007/postgres/appinfo.html?csaid=E89B3D5E2DC4170A) - Full Text Search in PostgreSQL GUI Tools
107+
- Google Summer of Code (http://code.google.com/p/google-summer-of-code-2010-postgres/downloads/detail?name=Leonardo_Augusto_Sapiras.tar.gz) - Improve phpPgAdmin ergonomy
108+

bin/phppgadmin5.2/DEVELOPERS

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
DEVELOPER INFO
2+
--------------
3+
4+
phpPgAdmin is Free/Open Source software and contributions are welcome from
5+
everyone. Please be sure to join the developers' mailing list:
6+
7+
https://lists.sourceforge.net/lists/listinfo/phppgadmin-devel
8+
9+
SOURCE REPOSITORY
10+
-----------------
11+
12+
phpPgAdmin uses git for source control management. The phpPgAdmin git repository
13+
is hosted at github:
14+
15+
https://github.com/phppgadmin/phppgadmin
16+
17+
To clone the phpPgAdmin source to your development system, execute the following
18+
command:
19+
20+
git clone git://github.com/phppgadmin/phppgadmin.git
21+
22+
After making changes, generate a patch using "git format-patch" and submit it
23+
to the phpPgAdmin devel mailing list.
24+
25+
Alternatively you can clone the phppgadmin repository on github and make a pull
26+
request. For details on how to make pull requests, see:
27+
28+
https://help.github.com/articles/using-pull-requests
29+
30+
Please note that submitting code is considered a transfer of copyright to the
31+
phpPgAdmin project. phpPgAdmin is made available under the GPL v2 license.
32+
33+
Push access to the main phpPgAdmin git repository can be granted to developers
34+
with a track record of useful contributions to phpPgAdmin at the discretion
35+
of the phpPgAdmin development team.
36+
37+
TIPS FOR DEVELOPERS
38+
-------------------
39+
40+
When you submit code to phpPgAdmin, we do expect it to adhere to the existing
41+
coding standards in the source. So, instead of using your personal favourite
42+
code layout style, please format it to look like surrounding code.
43+
In general, we want the code to be portable, standard compliant (e.g. to W3C
44+
(X)HTML and CSS) and independent of specific configurations of PHP, the web
45+
server, PostgreSQL or the user browser. We also try to support as many versions
46+
as possible of these applications.
47+
48+
Test your code properly! For example, if you are developing a feature to create
49+
domains, try naming your domain all of the following:
50+
51+
* "
52+
* '
53+
* \
54+
* words with spaces
55+
* <br><br><br>
56+
57+
Don't forget to make sure your changes still pass the existing Selenium test
58+
suite. Additionally, you should add or update the test suite as needed to
59+
cover your new features.
60+
61+
If you are adding a new class function, be sure to use the "clean",
62+
"fieldClean", "arrayClean" and "fieldArrayClean" functions to properly escape
63+
odd characters in user input. Examine existing functions that do similar
64+
things to yours to get yours right.
65+
66+
When writing data to the display, you should always urlencode() variables in
67+
HREFs and htmlspecialchars() variables in forms. Rather than use action=""
68+
attributes in HTML form elements use action="thisformname.php". This
69+
ensures that browsers remove query strings when expanding the given
70+
relative URL into a full URL.
71+
72+
When working on database classes, always schema qualifing your SQL where it is
73+
possible with the current schema ($data->_schema) for pg73+ classes. Then don't
74+
forget to write your method for older classes which doesn't suppport schemas.
75+
76+
When working with git, always make sure to do a 'git pull' both before you
77+
start; so you have the latest code to work with; and also again before you
78+
create your patch; to minimize the chance of having conflicts. If you plan to
79+
submit your code via github pull requests, we strongly recommend doing your
80+
work in a feature specific branch. If you want to submit multiple patches,
81+
they should all live in thier own branch. Remeber, smaller changes are easier
82+
to review, approve, and merge.
83+
84+
85+
COMMON VARIABLES
86+
----------------
87+
88+
$data - A data connection to the current or default database.
89+
$misc - Contains miscellaneous functions. eg. printing headers & footers, etc.
90+
$lang - Global array containing translated strings. The strings in this array
91+
have already been converted to HTML, so you should not
92+
htmlspecialchars() them.
93+
$conf - Global array of configuration options.
94+
95+
WORKING WITH RECORDSETS
96+
-----------------------
97+
98+
phpPgAdmin uses the ADODB database library for all its database access. We have
99+
also written our own wrapper around the ADODB library to make it more object
100+
oriented (ADODB_base.pclass).
101+
102+
This is the general form for looping over a recordset:
103+
104+
$rs = $class->getResults();
105+
if (is_object($rs) && $rs->recordCount() > 0) {
106+
while (!$rs->EOF) {
107+
echo $rs->fields['field'];
108+
$rs->moveNext();
109+
}
110+
}
111+
else echo "No results.";
112+
113+
UPDATING LANGUAGE FILES FOR THE MONO-LINGUAL
114+
--------------------------------------------
115+
116+
If you need to add or modify language strings for a new feature, the preferred
117+
method is:
118+
119+
* cd into lang/ subdirectory
120+
* modify english.php file only!
121+
122+
If you've done it correctly, when you create your patch, it should only have
123+
diffs of the lang/english.php file. For more information on how the language
124+
system works, please see the TRANSLATORS file.
125+
126+
127+
UNDERSTANDING THE WORK/BRANCH/TAG/RELEASE PROCESS
128+
-------------------------------------------------
129+
130+
All new work for phpPgAdmin is done against the git master branch. When we feel
131+
we are ready to do a new release, we create a branch (ex. REL_4-1). This
132+
becomes the stable branch for all future 4.1.x releases, and any bugfixes needed
133+
for 4.1 would go in that branch.
134+
135+
When we release a new revision, we tag that at release time (REL_4-1-1), so a
136+
checkout of any tag should give you the same files that downloading the release
137+
would have given you. As a general rule, we do not introduce new features into
138+
existing stable branches, only bugfixes and language updates. This means if you
139+
want to work on new features, you should be working against the git master.
140+
Eventually we will call for another release, and that will be branched (REL_4-2)
141+
and the cycle will start over.
142+
143+
On occasion we have created out-of-band branches, typically labeled as DEV_foo.
144+
These were used for temporary, concurrent development of large features, and
145+
should not be used by other developers. When development of those features is
146+
completed, the branches get merged in as appropriate, so no further development
147+
should occur on those branches.
148+
149+
GETTING HELP
150+
------------
151+
152+
We prefer most discussion of development to take place on the phpPgAdmin
153+
devel mailing list, so that discussions can be archived and be searchable.
154+
However, if you are into IRC, a couple of us hang out on #phppgadmin on
155+
freenode, and occasionally discuss things there.

0 commit comments

Comments
 (0)