Commit graph

554 commits

Author SHA1 Message Date
Callan Barrett
435e2c6c1a Fix logging in from package page
Patch by: BaSh <bash.lnx@gmail.com>

Adds query string to url when logging in

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-07 17:33:02 +08:00
eliott
cc1f323d32 Added AurJson query length limit.
Set a limit on the length of the query argument for searching.
A search of zero length returns a considerably sized result set.

Signed-off-by: eliott <eliott@cactuswax.net>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-05 21:21:21 -04:00
Callan Barrett
cad4689bc4 Don't reset category on update.
When updating a package and no category is selected the category will no
longer reset itself to "none", it will only update if something else is
chosen.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-05 19:21:38 -04:00
Callan Barrett
800aca0eeb Rewrite pkg_search_form.php
Adds back sort by options and cleans up html and php everywhere

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-06 03:15:34 +08:00
Callan Barrett
8867ad0372 Fix CVS and package links
Patch by Andrea Scarpino <bash.lnx@gmail.com>

Fixes up the links to the archlinux.org package search and to the CVS viewer

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-06 02:46:40 +08:00
Michael Klier
ffccbd540f CSS cleanup
I've cleaned up the CSS a bit and it validates now. No changes
to the current layout/visual presentation itself have been
made, just fixed the whole indention and replaced some
redundant things.

Signed-off-by: Michael Klier <chi@chimeric.de>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-06-05 13:35:18 -05:00
Callan Barrett
94a8053210 Disable user package deletion
Users can no longer delete packages if they own them, only TUs and devs

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-06 02:10:59 +08:00
Callan Barrett
a49ee80aa2 Fix FS#8672
Patches can_submit_pkg(), this fixes the heaps of bugs people are having

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-05 12:30:48 -04:00
Loui Chang
2f7d52dc8c Update terminology in web/README.txt. Delete obsolete info.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-25 11:11:08 -05:00
Loui Chang
83b4945fb4 Break start and end bits of pkg search form out of PHP
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-25 11:10:46 -05:00
Loui Chang
ab023f4ccf Move search form to web/template/pkg_search_form.php
Nothing fancy here, just cut & paste

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-25 11:10:01 -05:00
Loui Chang
f61a345d8d Fix FS 10008 and update rss2.php
The newline was the actual problem. Freaking PHP.

rss2.php:
- check for protocol once total rather than twice per loop iteration
- lower cache time to 30 min

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-03 19:58:44 -05:00
Loui Chang
2539bf8774 Update a couple of things in web/README.txt
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-03 19:54:54 -05:00
Loui Chang
77a2564b9c Fix some string translation problems in acctfuncs
update a few others to new usage

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-03 19:54:50 -05:00
Loui Chang
ba9eda5503 New behaviour for translations. Function takes variable number of arguments.
The old string,array usage is still supported however. (for now)

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-27 02:36:15 -05:00
Callan Barrett
04dae8d94f Remove references to AURMaintainerUID
This (should) get rid of anything to do with the unused column AURMaintainerUID
in the scripts and schema files

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-27 02:34:35 -05:00
Simo Leone
7d7ef9b112 Version bump to 1.5.1
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:16:29 -05:00
Simo Leone
99e65b28d8 Revamped pkg_search_page()
- Reduced database hits
- Improved speed
- Improved sanity (slightly)
- Fixed searches,buttons,gizmos

Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:07:22 -05:00
Mateusz Herych
da3b397ac9 Updated Polish translation
Signed-off-by: Mateusz Herych <heniekk@gmail.com>
2008-03-23 03:04:17 -05:00
Giovanni Scafora
2462777ab1 Small fix to Italian translation
Signed-off-by: Giovanni Scafora <linuxmania@gmail.com>
2008-03-23 03:04:17 -05:00
Loui Chang
b1fe84d397 Fixed bug where search resets when browsing orphans
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:17 -05:00
Loui Chang
3577326b2b Make all references to AUR database consistent
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:17 -05:00
Callan Barrett
e0582fd0e2 Fix weird title setting on search page
This is to fix FS#9610, pretty simple patch

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:16 -05:00
Callan Barrett
172dbf696b Fixed broken search results
Quick fix for my friggin crazy more and less link patch that was swapping the
search results order every click and not remembering how to sort, my bad

This could probably use improvement but it means the search actually works now

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:16 -05:00
Loui Chang
fca67672fd One more json fix 2008-03-23 03:04:16 -05:00
Loui Chang
0e32c8648f Changed valid_passwd() to check for non-empty password instead of good_passwd()
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:16 -05:00
Loui Chang
a5a8895f49 Put login into its own function.
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>
2008-03-23 03:04:16 -05:00
Loui Chang
541ea8aacc Fixed a couple more lingering JSON bugs
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:16 -05:00
Simo Leone
9a4ca4e62c Changed to non-fancy logo
Our other pages also use the "non-fancy" version
of the logo.

Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:16 -05:00
Simo Leone
9254804e1e Fixed operator precendence in aurjson
My bad

Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:16 -05:00
Simo Leone
196543a9e7 Make JSON interface work
Now makes sure json php module is loaded,
also fixed a few coding errors and made
the search behave like the search on the
web interface.

Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23 03:04:16 -05:00
Giovanni Scafora
a2fe04f751 Added missing message to Italian translation
Signed-off-by: Giovanni Scafora <linuxmania@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-02-20 15:12:06 -06:00
Giovanni Scafora
90ceaca02a Another small fix for Italian translation
Signed-off-by: Giovanni Scafora <linuxmania@gmail.com>
2008-02-19 16:43:51 -06:00
Matthias Gorissen
380b1b608c Updated German translation 2008-02-19 16:00:56 -06:00
Cilyan Olowen
1200ce9205 Updated French translation 2008-02-19 15:56:57 -06:00
Giovanni Scafora
865ffb90d6 More small updates to Italian translation
Signed-off-by: Giovanni Scafora <linuxmania@gmail.com>
2008-02-19 15:38:52 -06:00
Callan Barrett
e7bb7a220d Turn more and less buttons into links
This is to (at least) fix the more and less buttons which weren't working
because of the drop down menu for actions

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-02-18 22:31:56 -06:00
Simo Leone
32be42aee1 Bump version to 1.5.0
Yes.

Signed-off-by: Simo Leone <simo@archlinux.org>
2008-02-18 20:43:56 -06:00
Gerhard Brauer
a1c1ebb315 Updated de translation
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-02-18 20:12:48 -06:00
Giovanni Scafora
a4dcb7d38f Updated Italian translation
Signed-off-by: Giovanni Scafora <linuxmania@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-02-18 20:12:42 -06:00
eliott
249d92f5aa Cleaned up the front page.
Cleaned up the front page.

Removed the blank box on the right of the front page, that was leftover from
the change to the login form (move).
2008-02-18 17:55:54 -06:00
eliott
4d9d5d3966 Fix for information leak in login logic.
Fix for information leak in login logic.
No point telling people they have a valid username when the pass is wrong, etc.
2008-02-18 17:55:28 -06:00
eliott
aedf2ab6a3 Fix for 'More' and 'Less' paging breakage.
Fix for 'More' and 'Less' paging breakage.
Takes into account PerPage and Category retention.
2008-02-18 17:54:28 -06:00
Simo Leone
7bad8a8357 Removed QBUG and DBUG
It was broken and hardly used. It's just as easy
to add short print statements or logging if
some debugging output is needed.

Signed-off-by: Simo Leone <simo@archlinux.org>
2008-01-23 02:51:33 -06:00
Simo Leone
2bcd8ff1db Fix package detail action buttons
Drop-down boxes broke them, now they work again.
Yippee!

Signed-off-by: Simo Leone <simo@archlinux.org>
2008-01-21 16:23:28 -06:00
Callan Barrett
d14def92ff Turn action bar into drop box
Moves the action bar down to the bottom right of the search results and turns it
into a drop-down selection box.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-01-20 03:18:16 -06:00
Callan Barrett
52a770e7e7 Fix login error and translation bug
Fixes a login error where entering nothing would result in the login message
"Incorrect password for username, ." and changes the translation "TU" to
"Trusted User" so the menu bar on the accounts page doesn't bug up (we need a
new translation system :((()

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-01-20 03:16:07 -06:00
eliott
aa2517ebfc some more tweaks to make it look less like I worked on it. 2008-01-20 00:21:21 -06:00
eliott
6edbef61c1 Hacky attempt to fix lang and navigation bars 2008-01-20 00:21:21 -06:00
Callan Barrett
14ecbf5fd5 Add search result information
This adds search results numbers to the bottom of pages when searching based on
tardo's repository, ex. Showing results 1 - 42 of 42

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:21 -06:00