Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
This is to add support for either devs or TUs to disown packages
whether they own them or not. I know of countless times where I or
another TU have been asked to orphan packages for someone and end up
having to adopt the package first and then disown it, this gets really
tedious for more than one package. As far as I can tell there's no
other way to disown packages you don't own and if there is at least
this is a more obvious way, pretty sure I didn't leave anything out in
the patch.
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
|
|
package id.
|
|
|
|
So it makes sense to have the "add comment" at the top..where it is already.
Removed duplicate "add comment" box.
|
|
Simo's original commit text:
The idea of safe flagging is unclear, poorly named, misunderstood,
and not even used. At the time this patch was created, less than
a third of the packages in unsupported were flagged safe, and less
than a tenth of users knew how to interpret it.
The safe flag has been replaced by a disclaimer on the main page.
|
|
Fixed an issue in the handle class.
|
|
Added a JSON interface to the aur. This should make it easier for developers to integrate
command line utilities and poll against the AUR itself.
|
|
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.
|
|
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>
|
|
Includes a translation change. Why oh why would one conceive to put
HTML markup into the translation?
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
|
|
The lonely button now gains some friends.
Signed-off-by: tardo <tardo@nagi-fanboi.net>
|
|
This has a couple of bugs I just discovered arrgh. We shall return
This reverts commit 5e7e9f1b21d8803c718ac8551f8e0e25709fcd6f.
|
|
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>
|
|
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
|
|
Implemented the first two in web/lib/aur.inc.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
|
|
Fix broken links after mailing list rename.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
Changed version string to 1.4.1 in preparation for release.
|
|
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.
|
|
The lonely button now gains some friends.
Signed-off-by: tardo <tardo@nagi-fanboi.net>
|
|
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>
|
|
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.
|
|
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.
|
|
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>
|
|
|
|
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>
|
|
Using colspan=2 seemed to make the text wrap.
Signed-off-by: tardo <tardo@nagi-fanboi.net>
|
|
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
|
|
Yeah I actually want to work from testing.
Conflicts:
web/lib/pkgfuncs.inc
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
|
|
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
|
|
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
|
|
Fixed regressions.
|
|
|
|
Add a simple warning under "Tarball :: Files :: PKGBUILD" if package is out of date.
Signed-off-by: tardo <tardo@nagi-fanboi.net>
|
|
Simple feature request. Not sure what purpose it serves.
Signed-off-by: tardo <tardo@nagi-fanboi.net>
|
|
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>
|
|
Properly parse comments from database.
Thanks to Thralas for input.
Signed-off-by: tardo <tardo@nagi-fanboi.net>
|
|
|
|
|
|
- Replaced all occurences of mysql_escape_string()
with mysql_real_escape_string().
|
|
|
|
instead of ASC because sometimes we have to
scroll a lot to reach the latest comment.
|
|
|
|
|
|
|
|
|
|
|
|
table to add a DepCondition field with the type varchar(20).
|
|
|
|
|