summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-11-23Clean up packages.php and document new package functionsCallan Barrett2-29/+67
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-21Add a script to clean up files of deleted unsupported packages.Loui Chang1-0/+36
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
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-13Update tupkg to use hashlib instead of md5 directly.Loui Chang1-1/+2
Reported-by: Imanol Celaya <ilcra1989@gmail.com> 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-12tupkgupdate: remove dead codeDan McGee1-6/+0
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-12tupkgupdate: add config_use_db check to allow skipping of DB operationsDan McGee1-20/+23
This should prevent us from needing to completely duplicate the tupkgupdate script for x86_64, where we currently skip the DB updates step. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-12tupkgupdate: expand all tabsDan McGee1-42/+42
90% of them were already expanded. Adjust the mode line accordingly. Signed-off-by: Dan McGee <dan@archlinux.org> 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-03Update HACKING for new branch structure.Loui Chang1-2/+2
2008-11-03Merge branch 'testing'Loui Chang91-2066/+1842
Conflicts: web/html/pkgsubmit.php Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-03Commit version of communitypkg in current use.Loui Chang1-58/+105
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-27Convert 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-16Convert 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-14Convert 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-09Setup 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-09Add 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-08Setup 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-05Move 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-05Major 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 Chang3-10/+53
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-21Use 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-19Remove 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-19Move 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-31Add TODO list to AUR repoCallan Barrett1-0/+26
Adds a list of stuff that needs doing in the AUR without any major investigation Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-07-28Include File/Find.php PEAR moduleSimo 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 Scarpino7-131/+31
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-16Make 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>