- 24 Oct, 2011 2 commits
-
-
Dan McGee authored
This affects login the most, where we save about 4 calls to db_connect() by passing a single handle into functions where necessary. Signed-off-by:
Dan McGee <dan@archlinux.org> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Dan McGee authored
Replacing with CSS styles where appropriate. A previously unused CSS style is tweaked in the stylesheet to match most of what was done via non-CSS styling. Signed-off-by:
Dan McGee <dan@archlinux.org> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 20 Aug, 2011 1 commit
-
-
Lukas Fleischer authored
Use the standard string type specifier instead of "%h" in format strings. Both specifiers are treated equally in __() so we shouldn't break anything here. This also allows us to replace the hacky substitution algorithm in __() by vsprintf(). Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 11 Aug, 2011 1 commit
-
-
Lukas Fleischer authored
As discussed on the mailing list, enable "secure" and "httponly" for session cookies to prevent them from being transferred over insecure connections. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 22 Jun, 2011 1 commit
-
-
elij authored
Lukas: Add note to "UPGRADING". Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 17 May, 2011 2 commits
-
-
elij authored
the query was being performed when $id was not set, resulting in an invalid sql query being performed. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
elij authored
make the sql query form consistent in usage by cleaning up instances where db_query's result was not inspected before attempting to fetch row data from the handle Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 27 Apr, 2011 2 commits
-
-
Dan McGee authored
Ensure we are not quoting these values in any of our SQL queries. Thanks-to: elij <elij.mx@gmail.com> Signed-off-by:
Dan McGee <dan@archlinux.org> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Dan McGee authored
Increases compatibility with standard SQL dialect. Thanks-to: elij <elij.mx@gmail.com> Signed-off-by:
Dan McGee <dan@archlinux.org> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 13 Apr, 2011 2 commits
-
-
Lukas Fleischer authored
PHP requires callback functions to be passed as strings. Fix this to supress PHP notices. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Do this in preparation for the upcoming notification script removal. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 11 Mar, 2011 1 commit
-
-
Lukas Fleischer authored
Fix a lot of invalid XHTML in the templates and actions. There might still be some legacy code left, but this should cover most of it. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 10 Mar, 2011 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 04 Mar, 2011 2 commits
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Dan McGee authored
This change is necessary to prevent this: mysql> delete from Users where ID = 112; ERROR 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails (`aur`.`Packages`, CONSTRAINT `Packages_ibfk_2` FOREIGN KEY (`SubmitterUID`) REFERENCES `Users` (`ID`) ON DELETE NO ACTION) As a bonus, due to foreign keys, orphaning of packages will be automatic. Signed-off-by:
Dan McGee <dan@archlinux.org> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 23 Feb, 2011 1 commit
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 21 Feb, 2011 1 commit
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 09 Oct, 2010 1 commit
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 02 Oct, 2010 1 commit
-
-
Viktor Leonhardt authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 17 Apr, 2010 1 commit
-
-
Denis authored
To upgrade existing databases: ALTER TABLE Users ADD Salt CHAR(32) NOT NULL DEFAULT ''; Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 21 Feb, 2010 1 commit
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 25 Jun, 2009 1 commit
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 19 Jan, 2009 1 commit
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 31 Dec, 2008 1 commit
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 22 Dec, 2008 1 commit
-
-
Loui Chang authored
I forgot about the forms. Signed-off-by:
Loui Chang <louipc.ist@gmail.com> Signed-off-by:
Callan Barrett <wizzomafizzo@gmail.com>
-
- 21 Dec, 2008 2 commits
-
-
Loui Chang authored
This includes only the requested language for each page and makes top level language include files obsolete. Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
Loui Chang authored
The site no longer needs to be hosted from the root of a domain, or virtual host. Signed-off-by:
Loui Chang <louipc.ist@gmail.com> Signed-off-by:
Callan Barrett <wizzomafizzo@gmail.com>
-
- 12 Dec, 2008 1 commit
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 25 Nov, 2008 1 commit
-
-
Loui Chang authored
Also clean up a notice in index.php Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 13 Nov, 2008 1 commit
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 08 Jul, 2008 1 commit
-
-
Andrea Scarpino authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 17 Jun, 2008 1 commit
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 07 Jun, 2008 1 commit
-
-
Callan Barrett authored
Patch by: BaSh <bash.lnx@gmail.com> Adds query string to url when logging in Signed-off-by:
Callan Barrett <wizzomafizzo@gmail.com>
-
- 04 Apr, 2008 1 commit
-
-
Loui Chang authored
update a few others to new usage Signed-off-by:
Loui Chang <louipc.ist@gmail.com> Signed-off-by:
Simo Leone <simo@archlinux.org>
-
- 23 Mar, 2008 2 commits
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com> Signed-off-by:
Simo Leone <simo@archlinux.org>
-
Loui Chang authored
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>
-
- 20 Jan, 2008 4 commits
-
-
Loui Chang authored
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 (it doesn't orphan PKGs yet though) user_is_privileged() returns privilege level User (0) TU (2) Dev (3) of user ID. 0 is used for a regular user for ease in conditionals. Also: Enforce proper usernames on account creation or editing 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 TUs and Devs can edit a user to have a username that doesn't conform to the standard valid_username(). This is to allow them to edit old accounts without messing up the user name. Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
Loui Chang authored
This has a couple of bugs I just discovered arrgh. We shall return This reverts commit 5e7e9f1b21d8803c718ac8551f8e0e25709fcd6f.
-
Loui Chang authored
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>
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-