Commit Graph

66 Commits

Author SHA1 Message Date
Dan McGee
a5e8c5a8d5 Add flag date column to developer dashboard list
This only implements about 25% of FS#14656, but it is a good start and
trivial to add for now.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-21 18:14:02 -05:00
Dan McGee
9e7e1a5ea6 Make it actually possible to upload a new dev image
We need to both submit the form with the correct encoding and then bind the
form itself to request.FILES and not just request.POST.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-06 01:05:29 -05:00
Angel Velasquez
d6d9a08e63 Adding changing of user profile details
The idea of this patch is allow to the developers who have an account, to
change their data without asking some admin to do it for them.

Dan: put private email address field back as it is used for a different
purpose; add some help text and field names as appropriate.

Signed-off-by: Angel Velasquez <angvp@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-05 15:11:50 -05:00
Dan McGee
3682fb285b Move most inline JS into script file
We're getting to the point where we are starting to have a good chunk of JS
scattered about. Centralize a lot of it for maintenance and performance
purposes.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-30 13:15:20 -05:00
Dan McGee
1c6099f4b2 Make general mirror list view public
Hide some columns when not logged in because they aren't relevant for the
general public, but this will work nicely as a base page for all of our
known mirrors.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-24 19:39:37 -05:00
Dan McGee
fa4f5c15c8 Restore flagged package count by maintainer in dashboard
We need to do a little dropping into SQL to accomplish this, but it isn't
all that bad to actually do and we can do the whole thing in one query.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-10 18:27:18 -05:00
Dan McGee
5ea7b4c732 Developer dashboard fixes
As reported by Thomas, the dashboard JS dies when we try to apply table
sorting to a table with no entries (those in the top section). Use some
selector magic to only apply tablesorting if the table actually has rows
worth sorting.

Also move the package todo lists table down in the dashboard as the other
two tables are more relevant for the individual developer.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08 09:57:34 -05:00
Dan McGee
0181177f86 Dev dashboard: enable sorting by package count
Add another custom parser to the mix here so we can sort by package count,
which just involves extracting the digits from the table cell contents and
ignoring the text.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-01 07:50:50 -05:00
Dan McGee
7dcdb0a315 Mark todo desc as safe on dev dashboard
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28 11:34:19 -05:00
Dan McGee
181573a74a Restore odd/even markup after JS sort
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 09:33:16 -05:00
Dan McGee
e247e0dd8c Add table sorting to a handful of pages
Anything that it makes sense to add it to gets the treatment here. Anything
with pagination can wait as that will be tougher. We also need to deal with
odd/even formatting.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 09:20:14 -05:00
Dan McGee
97a262e8ee Fix up click events on developer dashboard
Rather than using 'onclick', attach an event at the end of page load.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25 16:14:50 -05:00
Dusty Phillips
8ce58ee97a Remove an extra trailing slash that is causing a broken url on todolists.
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25 15:49:06 -05:00
Dan McGee
85807311ca Show incomplete todo list packages in dev dashboard
Implements FS#20081.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-05 22:22:19 -05:00
Dan McGee
cb9c74eff8 Add absolute URL method for todo lists
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-05 22:20:28 -05:00
Dan McGee
b3059dd3e8 Remove action when submitting to same URL
It looks like the `action="."` business was screwing up some browsers,
notably lynx and links. We don't need it as the default is to submit to the
same page anyway, so kill this gunk and see if it fixes a login CSRF issue.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-11 17:29:46 -05:00
Dan McGee
bad2825fab Updates for CSRF protection in Django 1.2.X
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-05 12:58:31 -05:00
Thayer Williams
f5ac1bf3ae Redesigned Dashboard
* descriptive semantics
* proper django cell cycling
* link titles throughout

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 15:55:39 -05:00
Thayer Williams
1c8e8eb5e6 Updated form semantics for accessibility
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
08f886380c Redesigned dev mirrorlist page, proper django cycling, semantics
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Dan McGee
fe832ea845 Move package maintainer off of package model
This is an attempt to fix our long-standing problems dealing with maintainer
information. Move the actual maintainer information off of the package model
into a PackageRelation object, which has some flexibility to later represent
more than just maintainership.

This solves multiple problems:
* If a package gets accidentally deleted, so did the maintainer info
* Testing packages have always shown up as orphans
* With split packages, it was easy to miss some of the sub-packages

This commit does not include the deletion of the original maintainer column;
that will come at a later time when I feel more confident that the data was
migrated correctly.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27 16:15:20 -05:00
Dan McGee
e485ab5310 Add tier column to mirrorlist page
Obviously this page could use some more work anyway, but for now just
quickly throw it in there.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06 10:36:35 -06:00
Dan McGee
83b7b94c0b Merge branch 'master' into cdn-jquery
Conflicts:
	templates/todolists/view.html
2010-03-03 06:55:54 -06:00
Dan McGee
8777ccf001 Fix up HTML titles on a lot of pages
We didn't include them on many pages, or the ones we did weren't always
useful. Also try to keep the boilerplate to a minimum so you can see the
important bits in the title. 'Arch Linux - ' comes first in all titles, and
from there it can be filled in with something useful.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-01 21:43:52 -06:00
Dan McGee
696c97b7f8 Convert templates to use jquery cdn tag
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27 14:13:44 -06:00
Dan McGee
8ffc8fc63d Upgrade jQuery to 1.4.1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30 13:58:10 -06:00
Ismael Carnales
b4999b495e changed landing view
- moved devel.views.siteindex to public.views.index
 - using template from public view with added devel menu
 - added extra styles and images
2009-11-09 22:24:41 -02:00
Thomas Bächler
5a6b984a62 Correct link to WebSVN 2009-10-18 00:34:09 +02:00
Dan McGee
9dc89e8287 Add a basic mirror view for the dev site
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-15 20:14:06 -05:00
Dusty Phillips
62d2eb8edd Make the dashboard stats collapsed by default. 2009-01-16 18:44:06 -05:00
Dusty Phillips
a1ff8ff05c fix my flagged packages urls. 2009-01-01 16:42:18 -05:00
Dusty Phillips
2f9d725b02 proper columns on my flagged packages. 2008-11-11 08:26:57 -05:00
Dusty Phillips
a181df791a drop seeveral unnecessary templates 2008-10-12 18:46:57 -04:00
Dusty Phillips
7dedeeafd5 simplify both look and code for dashboard 2008-10-11 19:50:08 -04:00
Dusty Phillips
13d730ab2b fix broken maintainer packages links 2008-10-10 18:32:25 -04:00
Dusty Phillips
d97d3a447c drop search/ url and just go to packages 2008-10-10 17:28:05 -04:00
Dusty Phillips
51d9478274 trying to flesh out the page 2008-10-07 17:28:37 -04:00
Dusty Phillips
fb9158dec8 fairly invasive refactor to developer dashboard to be more django friendly 2008-10-07 11:48:58 -04:00
Dusty Phillips
53784f4db1 use external links to avoid duplicate code between projects 2008-10-07 11:10:06 -04:00
Dusty Phillips
6d632344f1 remove reference to old cvs entry 2008-10-07 10:57:27 -04:00
Dusty Phillips
851e6d55be port profile_form to newforms 2008-09-16 21:12:26 -04:00
Dusty Phillips
7e0f1c0dae Remove guide from dashboard and link to wikiFix for FS#10647 2008-06-21 19:38:18 -04:00
eliott
202e71d049 Removed some fields from the fellows page.
Most emails were forwarded from arch.org, which may or may not be still working.
2008-06-04 18:56:39 -07:00
eliott
21f1b34ba3 Template fix. doh! 2008-06-04 18:50:49 -07:00
eliott
b6d6cc6062 Added an ex-developer 'fellows' page. 2008-06-04 18:28:27 -07:00
eliott
45b1c2593e Updates for deployment.
- Fix for reporead when description is empty.
- Fix for settings.py. Middleware wasn't found (changed import name)
- Clarity change for dashboard.
2008-05-23 00:32:32 -04:00
eliott
405d3e1608 update siteindex page to reflect move to svn 2008-04-28 18:10:46 -07:00
eliott
015854b886 Change to landing page. 2008-04-09 22:39:52 -07:00
eliott
b8c6f969fb Fix for dev names in developer list
Had to backport from archweb_pub.
2008-04-09 21:40:58 -07:00
eliott
3eea31d8f2 Changed to arches and repos in the db.
Added them to the django admin interface as well.
2008-04-09 19:28:24 -07:00