- 29 Jun, 2015 1 commit
-
-
Lukas Fleischer authored
`ssh-keygen -l` returns more than four tokens when there is whitespace in the key comment. Fixes FS#45488. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 27 Jun, 2015 3 commits
-
-
This commit changes the messages printed when changing the accound details so that it only prints that no changes were made if either the account change SQL query or the account_set_ssh_keys call failed. Reported-by:
Alexis Chotard <alexis.horgix.chotard@gmail.com> Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Attaching more than one SSH public key to the same account is useful, e.g. if one uses different machines to access the AUR SSH interface. Multiple keys can now be specified by adding multiple lines to the text area on the account edit form. Implements FS#45469. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org> Acked-by:
Leonidas Spyropoulos <artafinde@gmail.com>
-
After the user was authenticated a redirect to the site which linked the user to the login page is done. This fixes FS#32481. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 31 May, 2015 1 commit
-
-
Lukas Fleischer authored
Use NULL instead of an empty string if the SSH public key field is left empty. Additionally, do not check for duplicate keys in that case. Fixes FS#45109. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 27 Dec, 2014 1 commit
-
-
Lukas Fleischer authored
Users can now add an SSH public key on the account edit page. This will later be used to authenticate users via SSH. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 13 Dec, 2014 1 commit
-
-
Lukas Fleischer authored
Refactor some of the URI generation code to avoid double slashes in absolute URIs. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 21 Nov, 2014 1 commit
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 24 Oct, 2014 1 commit
-
-
Lukas Fleischer authored
Replace web/lib/config.inc.php with an INI-style configuration file. This allows us to get rid of several globals and makes it easier to use the same configuration file in external scripts. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 10 Oct, 2014 1 commit
-
-
Lukas Fleischer authored
Fixes FS#41860. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 05 Aug, 2014 1 commit
-
-
Lukas Fleischer authored
When using preg_match() to check for a match that starts at the beginning of the string and ends at the last character of the string, we do not want to allow an additional newline character to sneak in. Amongst other potential loopholes, adding the PCRE_DOLLAR_ENDONLY modifier prevents users from registering with user names that end with a newline character. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 02 Aug, 2014 1 commit
-
-
Balló György authored
This reflects the changes in 3610f3c6 . Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 29 Jul, 2014 1 commit
-
-
Lukas Fleischer authored
Add a check to remove a notice which is displayed after registration since commit 03c6304e (Rework permission handling, 2014-07-15). Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 25 Jul, 2014 2 commits
-
-
Lukas Fleischer authored
Fixes a regression introduced in 03c6304e (Rework permission handling, 2014-07-15). Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Explicitly clean up all references before deleting a user. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 15 Jul, 2014 3 commits
-
-
Lukas Fleischer authored
This group has full permissions on everything. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Prevent Trusted Users and developers from accidentally using a name that contains invalid characters. Also, remove user_is_privileged() which is no longer needed after this change. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Add a new function has_credential() that checks whether the currently logged in user is allowed to perform a given action. Moving all permission handling to this central place makes adding new user groups and adjusting permissions much more convenient. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 05 Jun, 2014 3 commits
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Return null instead of the string "None" in username_from_id(), uid_from_email() and uid_from_username(). Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 30 May, 2014 1 commit
-
-
Lukas Fleischer authored
In commit 0722f46c (Simplify valid_user() and valid_username(), 2014-02-06), the conversion to lower case letters was unintentionally removed and in consequence, names with upper case letters have been rejected since then. Instead of reintroducing the conversion, add the "i" modifier to the regular expression validating the name to do case-insensitive pattern matching. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 22 May, 2014 3 commits
-
-
Lukas Fleischer authored
Replace a misplaced semicolon with the concatenation operator. This makes the AUR insert proper Reply-to and From headers again when sending password reset emails on registration. Fixes a regression introduced in 94a4f597 (Set Content-type header when sending UTF-8 mails, 2014-02-10). Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Consistently use the following headers in notification emails: Reply-to: noreply@aur.archlinux.org From: notify@aur.achlinux.org Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Use "Welcome to the Arch User Repository" instead of "AUR Password Reset" as subject for the initial password reset email. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 10 Feb, 2014 2 commits
-
-
Lukas Fleischer authored
Fixes FS#38568. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
This is the correct delimiter for mail headers according to the PHP documentation and RFC 2822. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 09 Feb, 2014 1 commit
-
-
Lukas Fleischer authored
This has been introduced by commit aae43d9a (started working on package comments, 2005-03-05) but it seems to be of no practical use. Remove the field to save some space. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 06 Feb, 2014 2 commits
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
* Use C-style comments (/* */) instead of #. * Remove some superfluous comments and slightly reword others. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 01 Feb, 2014 1 commit
-
-
Lukas Fleischer authored
Instead of using a random secondary order, sort by the ID of the last vote first, then by user name. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 20 Jan, 2014 1 commit
-
-
canyonknight authored
Signed-off-by:
canyonknight <canyonknight@gmail.com> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 27 Aug, 2013 2 commits
-
-
Lukas Fleischer authored
Do not show users that took part in past TU votes but no longer have TU powers. Also, fix the sorting column while we're touching these lines. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Showing running votes potentially allows for tracking votes and associating yes/no/abstain votes with specific TUs. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 26 Aug, 2013 1 commit
-
-
Lukas Fleischer authored
This shows a list of all Trusted Users and the vote ID of the last proposal each of the TUs voted on. This list is sorted by vote ID. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 22 Aug, 2013 3 commits
-
-
Lukas Fleischer authored
There are only four valid reasons for starting a TU vote, so instead of letting the user choose a vote length, let her pick a reason and set vote length and quorum based on that selection. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
This will be used for automated calculation of vote participation later. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
This adds a field to the users table and corresponding fields to the account edit and display forms that allow for setting an (in-)activity status. This might turn out to be useful if a user is on vacation and can not respond to update/orphan/deletion requests. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 24 Apr, 2013 1 commit
-
-
canyonknight authored
The search_accounts_form() wrapper function doesn't have any arguments and only makes it unclear what is happening within account.php Signed-off-by:
canyonknight <canyonknight@gmail.com> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 25 Mar, 2013 1 commit
-
-
Lukas Fleischer authored
A user might have an empty password due to two reasons: * The user just created an account and needs to set an initial password. * The password has been reset by the administrator. In both cases, the user might be confused as to why the login does not work. Add a message that helps users debug the issue in both cases. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-