Commit graph

76 commits

Author SHA1 Message Date
Loui Chang
5c3f019093 Use system rm in rm_rf function.
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-21 20:10:50 -04:00
Loui Chang
1a1a6eb36e Add a new DEFAULT_LANG constant.
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-22 13:47:17 -04:00
Loui Chang
3a42725601 Remove all vim mode lines. Add HACKING file.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-17 01:38:01 -04:00
Callan Barrett
a49ee80aa2 Fix FS#8672
Patches can_submit_pkg(), this fixes the heaps of bugs people are having

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-05 12:30:48 -04:00
Loui Chang
a5a8895f49 Put login into its own function.
Utilise login form template.
Also cleaned up a couple notices.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:16 -05:00
eliott
4d9d5d3966 Fix for information leak in login logic.
Fix for information leak in login logic.
No point telling people they have a valid username when the pass is wrong, etc.
2008-02-18 17:55:28 -06:00
Simo Leone
7bad8a8357 Removed QBUG and DBUG
It was broken and hardly used. It's just as easy
to add short print statements or logging if
some debugging output is needed.

Signed-off-by: Simo Leone <simo@archlinux.org>
2008-01-23 02:51:33 -06:00
Callan Barrett
52a770e7e7 Fix login error and translation bug
Fixes a login error where entering nothing would result in the login message
"Incorrect password for username, ." and changes the translation "TU" to
"Trusted User" so the menu bar on the accounts page doesn't bug up (we need a
new translation system :((()

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-01-20 03:16:07 -06:00
Callan Barrett
8ab823728c More cleanup, add TU link to header
Cleans up links on front page, adds a TU link to the header to the voting
application, fixes some titles and styling for logged in text

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:21 -06:00
Callan Barrett
379e16eebd Support for verbose page titles
Verbose page titles again

Adds support for more verbose page titles based on current
page and action by user and removes sort by options from
search form as they're obsolete by column links.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:20 -06:00
Callan Barrett
dbbf50ac90 Removes need for name, overwrite and comment fields from pkgsubmit.php
This removes the name, overwrite and comment options from pkgsubmit.php
by moving when the tarball is extracted (and where) and when the pkgbuild
is parsed so pkgname is taken from the pkgbuild instead of user input

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:20 -06:00
Callan Barrett
bf5c28cf22 Fix bug with botched AURSID values
In the check_sid function in aur.inc the condition for expiring the
cookie and redirecting to hacker.php could never be met and instead
the user would be given blank login instead of being considered logged
out, now fixed. This also means we no longer need either hacker.php or
timeout.php at all.

Also, this bug seems to be present in the AUR version running on
aur.archlinux.org.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:19 -06:00
Callan Barrett
0e4b25211b Removes timeout page and moves login form to header
This removes the need for a timeout page (and probably hacker.php) and
moves the login form and status to the header. If your login times out
you won't lose your place anymore and links will always work. Works
for me but at the moment index_po.php is imported in aur.inc which has
to stay until the translations from it for login are moved to
aur_po.php.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:19 -06:00
Loui Chang
878d0bb39a Added header, footer, and login form templates
Implemented the first two in web/lib/aur.inc.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-01-19 23:45:07 -06:00
Simo Leone
016e8796c3 Update tur-users -> aur-general
Fix broken links after mailing list rename.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-12-02 16:10:59 -06:00
Paul Mattal
22fcea238f Tweak to version strings patch.
Rather than rely in any way on config.inc, which is expected to be edited
by the user and to persist across versions without change, the version
string definition is stored in version.inc and included from aur.inc.
2007-10-02 07:33:53 -04:00
Loui Chang
10f6a7c401 nitpick: Changed "AUR-Home" button to "AUR Home"
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-27 00:09:43 -04:00
Loui Chang
d2134f7637 Merge commit 'origin/testing'
Yeah I actually want to work from testing.
Conflicts:

	web/lib/pkgfuncs.inc

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-27 00:06:56 -04:00
Loui Chang
e8ae65abf6 I forgot to change AUR_db* usage to constants. Fixed now.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-27 00:04:47 -04:00
Loui Chang
c764f078f1 Made some things in config.inc.proto that should be constants constants
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-26 23:57:51 -04:00
eliott
ac8291a5dc Changes to bring the main arch site theme to the aur. 2007-09-22 12:09:00 -07:00
pjmattal
452d6b1245 patch from eliott to convert all <? to <?php 2007-09-20 21:46:43 +00:00
swiergot
0b92839bee - Applied a patch from Loui to fix session removal.
- Replaced all occurences of mysql_escape_string()
  with mysql_real_escape_string().
2007-09-20 15:33:04 +00:00
pjmattal
80a82a0f93 committed patch to russian title and typo from Sergej 2007-08-17 19:29:49 +00:00
simo
e2c0a069f9 Added some anti-cache headers 2007-02-22 22:35:56 +00:00
swiergot
e41b412d2c Added French translation from Morgan Lefieux. 2006-08-14 19:18:20 +00:00
pjmattal
f2b54f9acc upped session timeout from 30 idle minutes to 2 idle hours 2006-08-03 14:47:41 +00:00
pjmattal
47ad04e0d2 committed russian translation fixes from sergej
russian is now ready for prime time
2006-08-02 13:09:42 +00:00
pjmattal
f00984a887 fixes to Russian translation (recommit corrected UTF-8 file) 2006-08-01 13:14:04 +00:00
pjmattal
ce505210fa added dsa's "My Packages" patch 2006-08-01 05:50:48 +00:00
pjmattal
c3380f4fd6 added russian language translation from sergej
it looks lousy on my browser, need to figure out how to improve
2006-08-01 05:13:17 +00:00
swiergot
83e054c301 Forgot to enable the German translation. 2006-06-09 08:37:34 +00:00
simo
70af7c7d5c add search by submitter functionality 2005-11-27 04:05:27 +00:00
simo
6432876d77 traducción a español 2005-11-09 00:13:54 +00:00
simo
452ab3a1fd Added Portuguese translation 2005-10-16 17:54:39 +00:00
simo
07c54d7bcc Added Catalan translation 2005-10-16 16:59:22 +00:00
swiergot
8f25d155b3 added Italian translation from voidnull 2005-09-02 14:51:49 +00:00
swiergot
e728d27560 moved the Logout link to the end of the menu bar 2005-08-09 09:33:51 +00:00
pjmattal
a4d583179c moved bugs and discussion links to the main menubar
closes bug #3023
2005-08-02 04:28:58 +00:00
pjmattal
5f59fd86fb added changes to front page to close bug #2820 2005-06-11 02:38:07 +00:00
simo
e45d8daaba fixed some relative links and rss problems with https 2005-06-10 23:24:34 +00:00
simo
a81f22da2d RSS support implemented
Latest packages also on homepage

DEPLOYMENT NOTES:
- web/html/xml must be world writable
2005-06-10 23:07:24 +00:00
pjmattal
e1e6884a33 added utf-8 encoding header 2005-05-16 21:04:56 +00:00
pjmattal
cac788476a added polish translation
this still needs some more debugging before it goes live
but it's turned on in this version
2005-05-13 14:38:04 +00:00
pjmattal
da50574c69 added English language selector back in 2005-04-22 04:37:26 +00:00
eric
514314da58 accept a four-letter TLD. closes bug 2543 2005-04-12 14:42:09 +00:00
pjmattal
2f27045c0f changed db name from AUR to aur
moved db config for webapp into the config file
2005-04-09 20:54:55 +00:00
pjmattal
20c02507ab fixed multiple maintainer mess 2005-04-06 03:25:28 +00:00
pjmattal
71b5b9e6b7 many changes in prep for launch
new doc page added
changed AUR to community
lower-cased unsupported
fixed half of the bug with changing categories:
  categories now can't be changed for packages in community
  however they can still be changed out from under maintainers by joe users for unsupported packages
debugged problem with package details not found when unsupported uploads were with Category 0 (changed default to 19)
2005-04-06 02:54:11 +00:00
pjmattal
ac7e555b34 moved debugging logs to /var/tmp 2005-02-25 19:23:46 +00:00