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

Commit 72b20c1

Browse files
author
crazy-max
committed
Init repo with phpPgAdmin 5.1
0 parents  commit 72b20c1

File tree

366 files changed

+77160
-0
lines changed

Some content is hidden

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

366 files changed

+77160
-0
lines changed

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Eclipse
2+
/.settings
3+
/.buildpath
4+
/.project
5+
/.jsdtscope
6+
/*.launch
7+
8+
# Neard
9+
/.dev

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Changelog
2+
3+
### [Check compatibility with Neard](https://github.com/crazy-max/neard/wiki/appPhpPgAdmin#latest) before downloading.
4+
5+
## r1 (2016/10/12)
6+
7+
* Init repo with phpPgAdmin 5.1

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
This a sub-repo of [Neard project](https://github.com/crazy-max/neard) involving phpPgAdmin app bundles.
2+
3+
## Documentation and downloads
4+
5+
See [phpPgAdmin Wiki page on Neard](https://github.com/crazy-max/neard/wiki/appPhpPgAdmin).
6+
7+
## Sources
8+
9+
* http://phppgadmin.sourceforge.net
10+
* https://github.com/phppgadmin/phppgadmin
11+
12+
## Issues
13+
14+
Issues must be reported on [Neard repository](https://github.com/crazy-max/neard/issues).

bin/phppgadmin5.1/CREDITS

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
CREDITS
2+
-------
3+
4+
Project Administration & Major Projects
5+
6+
- Robert Treat
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+
54+
Contributors
55+
56+
- Dan Wilson
57+
- Christopher Kings-Lynne
58+
- Felix Meinhold
59+
- Jean-Michel Poure
60+
- Rafal Slubowski
61+
- Brett Toolin
62+
- Mark Gibson (Pop-up SQL window)
63+
- Nicola Soranzo
64+
- Oliver Meyer & Sven Kiera (Table icons link to browse table)
65+
- Bryan Encina (SQL window improvements, bug fixes, admin)
66+
- Dan Boren (Object comments)
67+
- Adrian Nida (Fix time outs)
68+
- Russell Smith
69+
- Guillaume Lelarge
70+
- Ian Barwick
71+
- Javier Carlos
72+
- Eric Kinolik
73+
- John Jawed
74+
- Karl O. Pinc
75+
- Tomasz Pala
76+
- Ivan Zolotukhin
77+
- Kristoffer `spq` Janke
78+
- Leonardo Augusto Sapiras (Improve phpPgAdmin ergonomy during the GSoC 2010, with ioguix as mentor)
79+
- Julien Rouhaud, aka. rjuju (nested groups)
80+
81+
Third Party Libraries
82+
83+
- Highlight.php (Jacob D. Cohen of rafb.net)
84+
- XLoadTree2 (Erik Arvidsson & Emil A Eklund of webfx.eae.net)
85+
- jQuery (http://jquery.com/)
86+
87+
Corporate Sponsors
88+
89+
Project resources:
90+
91+
- Sourceforge.net - Hosting, source package provider, Bug and Feature request tracker, hosting mailing lists (and ex code repository)
92+
- github.com - Official GIT repository hosting
93+
- Kattare Internet (http://www.kattare.com/) - Hosting the demo server
94+
95+
Ongoing contributors:
96+
97+
- Omniti ( http://omniti.com/ ) - sponsors developpment as Robert Treat employer
98+
- Dalibo ( http://dalibo.com ) - sponsors developpment as Jehan-Guillaume (ioguix) de Rorthais employer
99+
100+
Feature contributors:
101+
102+
- SpikeSource (www.spikesource.com) - Slony support
103+
- Google Summer of Code (http://code.google.com/soc/2006/pgsql/appinfo.html?csaid=DB096D908B948D89) - phpPgAdmin Improvements
104+
- Google Summer of Code (http://code.google.com/soc/2007/postgres/appinfo.html?csaid=E89B3D5E2DC4170A) - Full Text Search in PostgreSQL GUI Tools
105+
- 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
106+

bin/phppgadmin5.1/DEVELOPERS

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
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+
If you are adding a new class function, be sure to use the "clean",
58+
"fieldClean", "arrayClean" and "fieldArrayClean" functions to properly escape
59+
odd characters in user input. Examine existing functions that do similar
60+
things to yours to get yours right.
61+
62+
When writing data to the display, you should always urlencode() variables in
63+
HREFs and htmlspecialchars() variables in forms. Rather than use action=""
64+
attributes in HTML form elements use action="thisformname.php". This
65+
ensures that browsers remove query strings when expanding the given
66+
relative URL into a full URL.
67+
68+
When working on database classes, always schema qualifing your SQL where it is
69+
possible with the current schema ($data->_schema) for pg73+ classes. Then don't
70+
forget to write your method for older classes which doesn't suppport schemas.
71+
72+
When working with git, always make sure to do a 'git pull' both before you
73+
start; so you have the latest code to work with; and also again before you
74+
create your patch; to minimize the chance of having conflicts.
75+
76+
COMMON VARIABLES
77+
----------------
78+
79+
$data - A data connection to the current or default database.
80+
$misc - Contains miscellaneous functions. eg. printing headers & footers, etc.
81+
$lang - Global array containing translated strings. The strings in this array
82+
have already been converted to HTML, so you should not
83+
htmlspecialchars() them.
84+
$conf - Global array of configuration options.
85+
86+
WORKING WITH RECORDSETS
87+
-----------------------
88+
89+
phpPgAdmin uses the ADODB database library for all its database access. We have
90+
also written our own wrapper around the ADODB library to make it more object
91+
oriented (ADODB_base.pclass).
92+
93+
This is the general form for looping over a recordset:
94+
95+
$rs = $class->getResults();
96+
if (is_object($rs) && $rs->recordCount() > 0) {
97+
while (!$rs->EOF) {
98+
echo $rs->fields['field'];
99+
$rs->moveNext();
100+
}
101+
}
102+
else echo "No results.";
103+
104+
UPDATING LANGUAGE FILES FOR THE MONO-LINGUAL
105+
--------------------------------------------
106+
107+
If you need to add or modify language strings for a new feature, the preferred
108+
method is:
109+
110+
* cd into lang/ subdirectory
111+
* modify english.php file only!
112+
* run "make english" (this will recode the english.php file, and place an
113+
updated copy in lang/recode/)
114+
115+
If you've done it correctly, when you create your patch, it should only have
116+
diffs of lang/english.php and lang/recode/english.php files. For more
117+
information on how the language system works, please see the TRANSLATORS file.
118+
119+
120+
UNDERSTANDING THE WORK/BRANCH/TAG/RELEASE PROCESS
121+
-------------------------------------------------
122+
123+
All new work for phpPgAdmin is done against the git master branch. When we feel
124+
we are ready to do a new release, we create a branch (ex. REL_4-1). This
125+
becomes the stable branch for all future 4.1.x releases, and any bugfixes needed
126+
for 4.1 would go in that branch.
127+
128+
When we release a new revision, we tag that at release time (REL_4-1-1), so a
129+
checkout of any tag should give you the same files that downloading the release
130+
would have given you. As a general rule, we do not introduce new features into
131+
existing stable branches, only bugfixes and language updates. This means if you
132+
want to work on new features, you should be working against the git master.
133+
Eventually we will call for another release, and that will be branched (REL_4-2)
134+
and the cycle will start over.
135+
136+
On occasion we have created out-of-band branches, typically labeled as DEV_foo.
137+
These were used for temporary, concurrent development of large features, and
138+
should not be used by other developers. When development of those features is
139+
completed, the branches get merged in as appropriate, so no further development
140+
should occur on those branches.
141+
142+
GETTING HELP
143+
------------
144+
145+
We prefer most discussion of development to take place on the phpPgAdmin
146+
devel mailing list, so that discussions can be archived and be searchable.
147+
However, if you are into IRC, a couple of us hang out on #phppgadmin on
148+
freenode, and occasionally discuss things there.

0 commit comments

Comments
 (0)