Commit graph

288 commits

Author SHA1 Message Date
Callan Barrett
a447281d4f Convert package deletion to a function
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-16 22:27:45 -04:00
Callan Barrett
8f5882e68d Convert package flagging to a function
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-14 19:36:04 -04:00
Callan Barrett
2ce36384da Setup translation for addvote.php
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-09 22:59:47 -04:00
Callan Barrett
d32c12679a Add comment and submitted to notification emails for comments
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-09 18:10:04 -04:00
Callan Barrett
2d49849e2c Setup translation files for tu.php
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-10-08 04:02:37 +08:00
Callan Barrett
34c8a9cf80 Major rearrangement of tu.php, strings setup for translation
All the strings are set up to be translated now, HTML of tu.php has been
moved to templates and the worst of it rewritten (there's no longer a
massive function in it)

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-05 19:15:47 -04:00
Loui Chang
99881b31db Fix whitespace and indenting in pkgsubmit.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-09-13 15:35:32 -04:00
Loui Chang
73f807a5a8 Remove obsolete Trusted User guidelines.
Guidelines are now maintained in the Arch wiki.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-19 18:10:29 -04:00
Loui Chang
b69e2cce56 Move top page template-example to web/template.
Make note in web/README.txt

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-19 18:08:12 -04:00
Loui Chang
bbebc08104 Remove obsolete test scripts.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-08-19 15:46:03 -04:00
Simo Leone
c85dfacc74 Include File/Find.php PEAR module
Since this module requires root to install
system-wide, and is somewhat rare, it's better
to just include it in the AUR code itself.

Signed-off-by: Simo Leone <simo@archlinux.org>
2008-07-28 10:27:38 -05:00
Loui Chang
b81e3c2f68 Tweak index.php and update translations.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-28 16:57:56 +08:00
Loui Chang
6bae84f34a Change some of the index page notices.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-22 13:51:13 -04:00
Callan Barrett
5528501497 Redirect on package submission
On a successful package submit there will be a redirect to the package details
page of the packages, no more successful message

Also got rid of the $warning stuff, what the hell was that for?

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-09 14:26:13 -04:00
Loui Chang
36ee556103 Move code out of index.php
Move database queries to functions and html to templates.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-07 11:41:39 -04:00
Loui Chang
3a42725601 Remove all vim mode lines. Add HACKING file.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-17 01:38:01 -04:00
Loui Chang
44dbb49ae9 Reorganise web/README.txt and elaborate on PEAR and File_Find.
Add PEAR path to web/html/.htaccess.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-16 21:20:14 -04:00
Callan Barrett
dc5b3d674e Clean up of pkgsubmit.php
Moved some stuff around, rewrote some stuff although the functionality is
exactly the same as before

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-15 22:46:23 +08:00
Callan Barrett
604156950c Make use of PEAR packages in pkgsubmit.php
Uses File_Find and Archive_Tar in pkgsubmit.php
Removes references to PackageContents

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-12 02:30:17 +08:00
Callan Barrett
4d29be001b Split html and php in index.php
No more prints, still all in same file

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-12 01:29:34 +08:00
Callan Barrett
63d70dc84a Fix FS#8622
Previous fix for this was only half implemented, links now work with both
a new package and an updated one

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-09 19:51:25 +08:00
Callan Barrett
b2435996dd Fix FS#10016
Fix entry of URLPath and FSPath to be actual locations, fixes RPC results

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-09 19:49:07 +08:00
Callan Barrett
bbce51e419 Fix URL and wording of pkgedit.php email
Very small fix, added word button to end of body and got rid of do_Details
in the package URL.

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-08 23:47:50 +08:00
Michael Klier
a410303e4c Remove obsolete inline CSS in index.php.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-07 14:46:55 -04:00
Callan Barrett
f197dff507 Revert "Split html from front page"
This reverts commit 0cf3c5ea8b.
2008-06-08 01:58:07 +08:00
Callan Barrett
0cf3c5ea8b Split html from front page
html from the index page has been moved to a template file (front_page.php)
needs indentation really bad

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-08 01:15:40 +08:00
Callan Barrett
9dad329b6a Unmark out-of-date on update
What it says in the title

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-07 18:30:38 +08:00
Callan Barrett
4ac945a87e Support for uploading plain PKGBUILDs
Adds support for uploading plain PKGBUILDs to the AUR
Simply moves the PKGBUILD to a directory to be treated the same as if it were
in a tarball

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-07 17:52:07 +08: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
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
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
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
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
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
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
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
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
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
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
8ab823728c More cleanup, add TU link to header
Cleans up links on front page, adds a TU link to the header to the voting
application, fixes some titles and styling for logged in text

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:21 -06:00
Callan Barrett
2f56688b56 Prefill category upon upload error and fix bug in last patch
When a package upload fails the category value will be prefilled, fixes a bug
in the previous patch where the pkgbuild would not extract properly and splits
the html from php in the form so there are no more prints to output it

Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-01-20 00:21:21 -06:00
Thayer Williams
11f7c682db Fixed a couple typos in arch.css
Signed-off-by: Thayer Williams <thayerw@gmail.com>
2008-01-20 00:21:21 -06:00
Thayer Williams
d4faaaf319 Template update for new Arch logo
Signed-off-by: Thayer Williams <thayerw@gmail.com>
2008-01-20 00:21:20 -06:00
eliott
6683f3ceeb poop 2008-01-20 00:21:20 -06:00
Dan McGee
0eb2997a82 Allow pkgsubmit to accept any tar* file
Instead of restricting to gz and bz2, allow just plain tar and any other
format tar can understand to be uploaded. I make the mistake all the time of
forgetting to pass -z to tar when making something to upload, and there is
no real reason to exclude plain tar files.

Signed-off-by: Dan McGee <dan@archlinux.org>
2008-01-20 00:21:20 -06:00
Callan Barrett
379e16eebd Support for verbose page titles
Verbose page titles again

Adds support for more verbose page titles based on current
page and action by user and removes sort by options from
search form as they're obsolete by column links.

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