summaryrefslogtreecommitdiffstats
path: root/web
AgeCommit message (Collapse)AuthorFilesLines
2008-11-19Russian translation updateSergej Pupykin1-0/+61
Signed-off-by: Sergej Pupykin <ps@lx-ltd.ru> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-19Russian translation updateSergej Pupykin11-10/+73
Signed-off-by: Sergej Pupykin <ps@lx-ltd.ru> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-13Give group writable permissions to uploaded files.Loui Chang2-17/+47
Add a new function chown_group to recursively change permissions. Tweak some of the coding style. Replace some of the redundant string concatenation with a variable. Thanks to Dan McGee for chmod_group. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-13Move package notification into a function.Loui Chang2-51/+74
Also modify the way notification is done. Instead of toggling notification, users can explicitly notify or unnotify. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-13Clear out old expired sessions on log out.Loui Chang2-6/+15
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-10Tweak TU interface for appearance.Loui Chang3-12/+16
Show ten votes per page instead of five. Change the vote preview to 75 characters so entries fit better in the table. Remove [More] links and make the description itself a link. Clean up a couple notices. Send unauthorised users to index.php. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-04Merge branch 'testing'Loui Chang87-2000/+1663
Conflicts: web/html/pkgsubmit.php Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-30Convert package voting to a functionCallan Barrett2-106/+83
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-28Convert package adoption/disowning to a functionCallan Barrett2-94/+64
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-17Convert package deletion to a functionCallan Barrett2-86/+77
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-15Convert package flagging to a functionCallan Barrett2-96/+79
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-10Setup translation for addvote.phpCallan Barrett1-15/+15
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-10Add comment and submitted to notification emails for commentsCallan Barrett1-1/+1
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-07Setup translation files for tu.phpCallan Barrett2-1/+5
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-10-06Show developer-TUs their total community packages.Loui Chang2-2/+2
This closes: FS#11561 - Devs in AUR can't see their packages in Community Thanks to Hugo Doria for the original patch. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-10-06Move logout link from main menu to login barCallan Barrett2-1/+3
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-06Major rearrangement of tu.php, strings setup for translationCallan Barrett3-368/+200
All the strings are set up to be translated now, HTML of tu.php has been moved to templates and the worst of it rewritten (there's no longer a massive function in it) Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-09-29Update documentation.Loui Chang1-2/+5
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-09-29Take formatting out of version number in web/lib/version.incLoui Chang2-2/+2
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-09-28Sort required by list in package details page.Callan Barrett1-0/+1
This closes FS#11420. Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-09-22Use system rm in rm_rf function.Loui Chang1-12/+3
PHP can't properly handle symlinks which causes problems when self-referencing symlinks appear. This closes FS#11187. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-09-13Fix whitespace and indenting in pkgsubmit.Loui Chang1-117/+112
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-27doesn't show disown package when already disownedAndrea Scarpino1-6/+4
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-08-20Remove obsolete Trusted User guidelines.Loui Chang1-273/+0
Guidelines are now maintained in the Arch wiki. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-20Move top page template-example to web/template.Loui Chang12-137/+6
Make note in web/README.txt Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-19Remove obsolete sample PKGBUILD and tarball.Loui Chang3-86/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-19Remove obsolete test scripts.Loui Chang11-231/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-19Add Turkish to SUPPORTED_LANGS in config.inc.proto.Loui Chang1-5/+6
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-19Add initial Turkish language files.Loui Chang23-11/+710
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-28Include File/Find.php PEAR module1.5.2Simo Leone2-2/+487
Since this module requires root to install system-wide, and is somewhat rare, it's better to just include it in the AUR code itself. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-07-28Convert special chars in translations to html entities.Loui Chang1-1/+3
This closes FS#10809 - bug in french translation of AUR web interface Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-28Tweak index.php and update translations.Loui Chang9-32/+25
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-28Don't add closing PHP tag to translation files.Loui Chang2-6/+5
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-22Fixed Italian translation.Andrea Scarpino6-129/+29
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-22Change some of the index page notices.Loui Chang2-4/+13
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-22Add a new DEFAULT_LANG constant.Loui Chang3-11/+17
DEFAULT_LANG will essentially be used to specify what language strings are initially written in. This will eliminate the need for English translation arrays in AUR and make adding or changing the English strings a lot easier. DEFAULT_LANG may be required for strings to display properly. Also change the output when a translation isn't found. Eliminate the <b> which can cause validation errors depending on where the string is placed. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-17Make JSON search return more information.Loui Chang1-14/+20
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-09Redirect on package submissionCallan Barrett1-33/+17
On a successful package submit there will be a redirect to the package details page of the packages, no more successful message Also got rid of the $warning stuff, what the hell was that for? Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-08Remember user between sessions.Andrea Scarpino4-1/+11
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-07Move code out of index.phpLoui Chang5-172/+198
Move database queries to functions and html to templates. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-07Bump version to 1.5.2Loui Chang1-2/+2
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-23Fixed incorrect French translation of "Flag out-of-date"Loui Chang1-1/+1
This closes FS#10082. Reported-by: Ben (TheRealNeo) Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-23Fixed incorrect polish translation of "Go".Loui Chang1-2/+2
This closes FS#10078. Reported-by: Jaroslaw Rosiek Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-17Remove all vim mode lines. Add HACKING file.Loui Chang21-29/+9
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-17Reorganise web/README.txt and elaborate on PEAR and File_Find.Loui Chang2-8/+19
Add PEAR path to web/html/.htaccess. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-15Clean up of pkgsubmit.phpCallan Barrett1-206/+165
Moved some stuff around, rewrote some stuff although the functionality is exactly the same as before Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-13Added steps to install PEAR module in readmeCallan Barrett1-4/+4
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-12Updated Italian translationGiovanni Scafora3-2/+36
Signed-off-by: Giovanni Scafora <linuxmania@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-11Make use of PEAR packages in pkgsubmit.phpCallan Barrett3-123/+72
Uses File_Find and Archive_Tar in pkgsubmit.php Removes references to PackageContents Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-11Split html and php in index.phpCallan Barrett1-160/+177
No more prints, still all in same file Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>