Dan McGee
7f5af61c88
Drop PackageLocations table and references
...
We don't need this anymore since all packages managed here are
well...managed here. Rip out all of the places we were using this field,
many of which depended on the magic value '2' anyway.
On the display side of things, we had a column that was always showing
'unsupported' that is now gone, and you can no longer sort by this column.
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-02-01 12:41:08 +01:00
Lukas Fleischer
492c8c668f
Avoid infinite loop in PKGBUILD variable parser (fixes FS#19482).
...
Improves variable substitution in the PKGBUILD parser a bit to avoid
infinite replacement loops when a PKGBUILD contains assigments of the
form "foo=${foo[@]}bar".
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-01-28 17:40:02 +01:00
Lukas Fleischer
da2ebb667b
aurjson: Escape wildcards in "LIKE" patterns (fixes FS#18626).
...
Percent signs ("%") and underscores ("_") are not escaped by
mysql_real_escape_string() and are interpreted as wildcards if combined
with "LIKE", so we need to deal with them separately.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-01-28 16:54:58 +01:00
Lukas Fleischer
888aad477c
Use UTF-8 in RSS feeds (fixes FS#10706).
...
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-01-28 15:42:29 +01:00
Lukas Fleischer
389d3a552e
Replaced rm_rf() by rm_tree().
...
Implemented recursive directory deletion in PHP properly without the use
of exec(). This improves security, performance and portability and makes
the code compatible with PHP's Safe Mode as well as with PHP setups that
disable exec() using the "disable_functions" directive.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-01-25 10:45:52 +01:00
Lukas Fleischer
2c098d73a2
Removed links to internal sources from package details.
...
Tarball extraction code has been removed in commit
ec0dfc27de
, so links to package sources
contained in the source tarball itself will no longer be accessible
through the AUR frontend.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-01-25 10:07:34 +01:00
Lukas Fleischer
556de318ae
Build URLs from package names (fixes FS#15308, FS#19327).
...
Drop the "URLPath" field from the "Packages" table, build URLs from
package names instead.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-01-24 18:08:29 +01:00
Lukas Fleischer
0bb2a7b514
Black fonts for out-of-date rows in search results (fixes FS#20514).
...
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-01-20 20:45:13 +01:00
Lukas Fleischer
517ac744b2
Implemented "First" and "Last" link for search results (fixes FS#15690).
...
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-01-20 20:45:09 +01:00
Lukas Fleischer
ec0dfc27de
Removed code for tarball extraction.
...
Automatic tarball extraction was vulnerable in different ways. Users
should also only use source tarballs to build packages, so this has been
removed completely. From now on, only the PKGBUILD is extracted in a
secure manner.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-01-19 23:18:09 +01:00
Lukas Fleischer
233f67b87e
Do not overwrite package details when adding comments (fixes FS#22075).
...
Ensure that the "$row" variable isn't overwritten in
"web/template/pkg_comment_form.php" during sending mail notifications
when adding a comment.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-01-19 21:18:47 +01:00
Lukas Fleischer
60edcd04e5
Make external links in comments clickable (FS#20137).
...
Comments are now split at link boundaries and links are converted
separately. I find this to be a much cleaner way than re-converting
comments that have already been converted using htmlspecialchars(). This
also doesn't require any callback procedure.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-01-19 21:18:45 +01:00
Andrea Scarpino
a417224988
Do not display current votes in All Votes, and rename it as Past Votes
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-12-04 23:03:33 -05:00
Jacob Bang
53ad66e0a5
Add Danish translation
...
Signed-off-by: Laszlo Papp <djszapi@archlinux.us>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-12-04 22:58:12 -05:00
Viktor Leonhardt
2ca329c259
Added german translation
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-12-04 17:42:12 -05:00
Jesse Jaara
ad64859fb9
Fix genpopo and translation_tool to use python2, while waiting someone to make them python3 compliant.
...
Signed-off-by: Jesse Jaara <jesse.jaara@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-12-04 17:41:47 -05:00
Dan Vratil
57a5cbfd88
Auto redirect from confirmation screens.
...
Finally move comment deletion and category editing into functions and
remove pkgedit.php
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-Fix indentation
-Fix variable naming conflict $id vs $cid
2010-11-21 03:37:17 -05:00
Lukas Fleischer
01fc2024cb
Bold links in the archnavbar header.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-11-21 02:32:41 -05:00
Lukas Fleischer
eda713032c
Add timestamp when a package is flagged out-of-date (FS#20848).
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
- resolve conflict and omit i18n changes.
2010-11-10 14:50:35 -05:00
Loui Chang
dbb8bb783f
TU: Use htmlspecialchars instead of htmlentities.
...
Let the utf8 shine through.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-11-03 01:03:45 -04:00
Loui Chang
dc8265a962
Set background-color to white.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-11-02 21:15:40 -04:00
Loui Chang
7933bbb53f
acctfuncs: Make message translatable.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-10-09 08:44:26 -04:00
Loui Chang
d13f2af079
Modify some strings for translation.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-10-07 23:07:01 -04:00
gDD
f0d68c81f9
Updated zh_CN translation and AUTHORS
...
Signed-off-by: gDD <usrgdd@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-10-07 22:24:16 -04:00
Manuel Tortosa
fa331f2cfe
Fix columns headers visibility
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-10-03 03:50:07 -04:00
Viktor Leonhardt
9822b2e99b
Fixing XSS vulnerability
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-10-02 11:51:46 -04:00
Stefan Husmann
2105db351a
Fix small German translation problem.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-09-25 21:33:34 -04:00
Loui Chang
a5502f0f8b
Version 1.7.0
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-09-19 20:18:18 -04:00
Loui Chang
cbf6349e6b
pkg_search_form: Properly call translation function to translate strings.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-08-19 23:27:54 -04:00
Loui Chang
63c2cf1fc6
lang: Fix problem in Greek translation file.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-08-12 20:51:32 -04:00
Flamelab
28cb9a9d27
Minor fixes in Greek translation
...
Signed-off-by: Flamelab <panosfilip@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-08-12 20:08:26 -04:00
PyroPeter
ff1818c56f
Make german translation sound less like english
...
Signed-off-by: PyroPeter <abi1789@googlemail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-08-11 20:07:15 -04:00
PyroPeter
a4458e75bd
Fix the search-button to allow captions wider than 80px (e.g. in german translation)
...
Change width to min-width. - Loui
Signed-off-by: PyroPeter <abi1789@googlemail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-08-11 20:00:31 -04:00
Flamelab
fd863210f8
Minor fix in greek translation
...
Signed-off-by: Flamelab <panosfilip@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-08-11 19:58:53 -04:00
Flamelab
0ec84ed7ce
Update Greek Language (new strings)
...
Signed-off-by: Flamelab <panosfilip@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-08-11 19:58:48 -04:00
Flamelab
79a1ca74f4
Update Greek Language
...
Signed-off-by: Flamelab <panosfilip@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-08-11 19:58:40 -04:00
Netanel Shine
b41ecf46b0
Add Hebrew translation.
...
Signed-off-by: Netanel Shine <netanelshine@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-08-08 17:35:45 -04:00
Loui Chang
137e7a1ad3
header.php: Add missing closing </li> tag.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-08-01 10:03:06 -04:00
Denis Kobozev
b22f66b3ee
Header and navbar consistent with Arch site redesign
...
-- Loui Chang
Change is_tu to check_user_privileges
Change div#archdev-navbar style
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-07-23 05:40:15 -04:00
Lukas Fleischer
b5bc6ab742
Confirmation when deleting packages
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-07-01 21:19:18 -04:00
Andrea Scarpino
f08fbbe80e
pkgsubmit: Remove build function check
...
Closes: http://bugs.archlinux.org/task/19914
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-06-23 19:17:23 -04:00
Linas
7e3c624a69
aur.inc: generate_salt() now uses mt_rand()
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-06-16 17:11:10 -04:00
Loui Chang
91cf61fba5
Remove mystery code.
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-06-05 02:07:23 -04:00
mickael9
3f47ee740d
pkgsubmit: store the previous path with getcwd()
...
This solves the problem of include files not being found after an error.
$_SERVER['DOCUMENT_ROOT'] is not reliable because the AUR might be
installed in a subdirectory.
This closes http://bugs.archlinux.org/task/16887
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-06-05 00:56:33 -04:00
Lukas Fleischer
b18fb08ddc
Add sorting by "Voted" and "Notify" fields
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-06-04 18:22:22 -04:00
Denis
290c436046
Support for storing salted passwords
...
To upgrade existing databases:
ALTER TABLE Users ADD Salt CHAR(32) NOT NULL DEFAULT '';
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-04-17 16:50:24 -04:00
Loui Chang
5b8b0757f4
pkg_comments: Only display 10 comments by default.
...
Add a mechanism to view all comments.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-04-15 16:52:55 -04:00
Andrea Scarpino
24599ab6e3
add search only by name
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-04-15 15:26:20 -04:00
Andrea Scarpino
74f22eeb2a
remove empty To field (FS#17584)
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-03-29 20:20:40 -04:00
Andrea Scarpino
13cd9591be
Turn on package notification for adopted packages
...
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2010-03-15 22:20:08 -04:00