summaryrefslogtreecommitdiffstats
path: root/web/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-01-20Revert "Several functions added to web/lib/acctfuncs.inc"Loui Chang1-191/+4
This has a couple of bugs I just discovered arrgh. We shall return This reverts commit 5e7e9f1b21d8803c718ac8551f8e0e25709fcd6f.
2008-01-20Several functions added to web/lib/acctfuncs.incLoui Chang1-4/+191
try_login() to login users valid_username() checks if a new username fits criteria valid_user() checks if the user exists in the database good_passwd() only checks for minimum password length for now. can be later expanded to tell a user to make a stronger password. valid_passwd() checks if the password for the specified user is correct user_suspended() checks if the user is suspended (or not) user_delete() deletes a user Also: Enforce proper usernames on account creation Fix bug where $SUPPORTED_LANGS needs to be reset on account creation Fix bug where an account could be created with an empty passwd Display (required) beside password fields on account creation Enforce good_passwd() on account creation Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-01-20search_accounts_form() output is put into a templateLoui Chang1-68/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-01-20Added header, footer, and login form templatesLoui Chang1-82/+6
Implemented the first two in web/lib/aur.inc. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-12-02Update tur-users -> aur-generalSimo Leone1-1/+1
Fix broken links after mailing list rename. Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-11Changed version to 1.4.1.1.4.1Paul Mattal1-1/+1
Changed version string to 1.4.1 in preparation for release.
2007-10-11Revert "Move "Add Comment" button to Actions bar."Paul Mattal1-9/+12
This reverts commit 9b4472ef2fb91e91539def70f905cfe1ec6a8a3a. We have decided to put the button by itself on the bottom, so it does not get lost. This might be reconsidered in later UI revamping.
2007-10-11Move "Add Comment" button to Actions bar.tardo1-3/+9
The lonely button now gains some friends. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-10-11Remove unnecessary locations from search criteria.tardo1-1/+1
Currently, locations include none/current/extra/unstable. Since no package should be located in such an area, there's no point in including them in search criteria. The proper way to do this might be to delete the SQL table data relating to this, but this will suffice for now. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-10-03Move AddComment button to top of Comments table, from SergejPaul Mattal1-9/+9
This moves the AddComment button to the top of the Comments table. A previous patch had placed it into the action bar, but this seems cleaner.
2007-10-02Tweak to version strings patch.1.4.0Paul Mattal3-2/+4
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-02Fixed version strings.tardo1-0/+1
Added AUR_VERSION to config file, so now we should only need to change one location. KISS ftw. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-29Center the "Go back to search results" on the package detail page.Paul Mattal1-0/+2
2007-09-27Links to official packages now point back to AL site.tardo1-2/+2
Previously if the package was not in community or unsupported, the link didn't point anywhere. Now it uses http://archlinux.org/packages/search/$pkgname. If there's a better way, someone needs to let me know. As far as I know, there's no sure way to link directly to a package without knowing the pkgid. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-27Messages run across colspan=3 now.tardo1-1/+1
Using colspan=2 seemed to make the text wrap. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-27nitpick: Changed "AUR-Home" button to "AUR Home"Loui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-27Merge commit 'origin/testing'Loui Chang2-301/+268
Yeah I actually want to work from testing. Conflicts: web/lib/pkgfuncs.inc Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-27I forgot to change AUR_db* usage to constants. Fixed now.Loui Chang1-6/+2
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-27Made some things in config.inc.proto that should be constants constantsLoui Chang3-31/+38
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2007-09-26Merge branch 'testing' of git://git.mattal.com/aur into testtardo2-313/+231
Fixed regressions.
2007-09-24More changes to page styles.eliott1-9/+9
2007-09-23Cosmetic: Show flagged out of date on package page.tardo1-0/+4
Add a simple warning under "Tarball :: Files :: PKGBUILD" if package is out of date. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-22Add link to TU's homepage in "Flagged safe by". FS 4138.tardo1-1/+1
Simple feature request. Not sure what purpose it serves. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-22Reverse dependency lookup. FS 4556, 5269.tardo1-0/+45
Ugly hack, could use beautification. Also includes english translation addition. If url sources are too long, page could ugly... Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-22Incomplete comment patch. FS 7968, 5128, 7383.tardo1-1/+1
Properly parse comments from database. Thanks to Thralas for input. Signed-off-by: tardo <tardo@nagi-fanboi.net>
2007-09-22Changes to bring the main arch site theme to the aur.eliott2-304/+222
2007-09-20patch from eliott to convert all <? to <?phppjmattal4-4/+4
2007-09-20- Applied a patch from Loui to fix session removal.swiergot3-42/+42
- Replaced all occurences of mysql_escape_string() with mysql_real_escape_string().
2007-08-17committed patch to russian title and typo from Sergejpjmattal1-1/+1
2007-02-27Changed the default order of comments to DESCdsa1-1/+1
instead of ASC because sometimes we have to scroll a lot to reach the latest comment.
2007-02-22Added some anti-cache headerssimo1-0/+3
2007-02-22Show only currently maintained packages as mine.swiergot1-2/+2
2007-02-22Don't include community packages when showing unsafe.swiergot1-2/+2
2007-01-22Removed the My Packages button and moved the buttons to a new line.dsa1-7/+10
2007-01-19Solved #6191dsa1-2/+4
2006-10-13Solved the #3939 bug and it will require a change in the PackageDepends ↵dsa1-3/+6
table to add a DepCondition field with the type varchar(20).
2006-09-14License field translation fix + Portuguese update (both by dsa) + Polish update.swiergot1-1/+1
2006-08-22Made "License" label translatable + Polish translation.swiergot1-1/+1
2006-08-22Applied license patch from dsa (closes #4085).swiergot1-0/+10
2006-08-22Added dsa's sorting improvement patch (closes #3370, #4091, #4097 and #4098).swiergot1-31/+89
2006-08-21Actually additional code was needed to close #3201 with a clear conscience.swiergot1-1/+24
2006-08-21Closing #3201, thanks to Jeff Mickey for the patch.swiergot1-0/+13
2006-08-21Fixed #3426 (hopefully).swiergot1-5/+5
2006-08-14Added French translation from Morgan Lefieux.swiergot1-2/+2
2006-08-10committed dsa's user stats and user links patchpjmattal1-1/+5
this will require some translation updates
2006-08-03upped session timeout from 30 idle minutes to 2 idle hourspjmattal1-1/+1
2006-08-02committed russian translation fixes from sergejpjmattal1-1/+1
russian is now ready for prime time
2006-08-01fixes to Russian translation (recommit corrected UTF-8 file)pjmattal1-1/+1
2006-08-01added dsa's "My Packages" patchpjmattal1-0/+6
2006-08-01added russian language translation from sergejpjmattal1-0/+2
it looks lousy on my browser, need to figure out how to improve