Commit graph

350 commits

Author SHA1 Message Date
Loui Chang
f2b1d0a9a2 Remove obsolete timeout page.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17 13:22:38 -05:00
Loui Chang
73cd7667d4 Remove obsolete 'hacker' page.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17 13:15:21 -05:00
Loui Chang
25e9bb1698 Reword the disclaimer in index.php.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17 12:58:16 -05:00
Loui Chang
692cc1e953 Make remembered sessions actually save themselves.
Also clean up a notice in index.php

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-25 01:31:08 -05:00
Callan Barrett
ac8b080e43 Clean up packages.php and document new package functions
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-23 13:23:33 -05:00
Loui Chang
f12b11abc7 Give group writable permissions to uploaded files.
Add a new function chown_group to recursively change permissions.
Tweak some of the coding style.
Replace some of the redundant string concatenation with a variable.

Thanks to Dan McGee for chmod_group.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-13 15:19:26 -05:00
Loui Chang
2ac75bd812 Move package notification into a function.
Also modify the way notification is done. Instead of toggling
notification, users can explicitly notify or unnotify.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-13 15:19:20 -05:00
Loui Chang
cf2a82fe85 Clear out old expired sessions on log out.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-13 15:18:48 -05:00
Loui Chang
21840941eb Tweak TU interface for appearance.
Show ten votes per page instead of five.
Change the vote preview to 75 characters so entries fit better
in the table.
Remove [More] links and make the description itself a link.
Clean up a couple notices.
Send unauthorised users to index.php.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-10 09:21:13 -05:00
Loui Chang
a6147ab5ab Merge branch 'testing'
Conflicts:
	web/html/pkgsubmit.php

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-03 21:52:07 -05:00
Callan Barrett
132fd7cfc7 Convert package voting to a function
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-30 10:45:31 -04:00
Callan Barrett
5d4303d0b6 Convert package adoption/disowning to a function
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-27 20:40:37 -04:00
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