Commit Graph

654 Commits

Author SHA1 Message Date
Dan McGee
d21de73592 Add last updated column to package groups view
Just another annotation to the queryset to get this data, and a little more
manipulation in the group data function. This will help when adding a
sitemap in a subsequent commit.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 17:24:08 -05:00
Dan McGee
ddc4b974fe Add a package group overview page
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 17:06:07 -05:00
Dan McGee
f2b3bcc4a1 Link to the package group view from package details
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 17:05:42 -05:00
Dan McGee
e0674de776 Add a group details view
This makes the support asked for in FS#19801 a lot more useful since we
actually have an overview page for the entire group.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 17:05:07 -05:00
Dan McGee
1cfcf13e1b Remove an unnecessary iexact
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 16:10:48 -05:00
Dan McGee
538f57c744 Make public todolist view more useful
Show all the details the developer page does, make the lists always visible,
and add JS table sorting to each table on the page. This commit also adds
table sorting to the developer list view as well.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 10:04:00 -05:00
Dan McGee
ff427f6d9b Mark todolist description as being safe to contain HTML
Hopefully we can trust our developers on this one. :)

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 09:50:55 -05:00
Dan McGee
661b5e6b63 Add missing RequestContext in feeds view
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 09:41:28 -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
ecdd4ad6da Add styles for tablesorter sorting
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 09:19:28 -05:00
Dan McGee
c16771430e Add jQuery tablesorter 2.0.3 plugin
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 08:10:53 -05:00
Dan McGee
60d59131de Use new repository fields in link generation code
We can rip out a lot of the code for SVN and bugs links now that this data
is pulled off the model instead.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25 14:12:43 -05:00
Dan McGee
6da97045a6 Simple migration to populate repo data
Also update the repos fixture to include the new fields and [multilib]
repository.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25 14:12:14 -05:00
Dan McGee
94fe9fc548 Add more metadata to repo model
Things like the flyspray project ID and SVN repo path should go here rather
than being hardcoded in the code.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25 14:04:23 -05:00
Dan McGee
ae5483c230 Package Differences by Architecture view
Implements FS#20416. Port over the architecture differences view from
archlinux.de and reimplement in Django with our DB schema. Also use a far
simpler SQL query to do the dirty work rather than the triple UNION
operation. This is accomplished by doing a bit more of the fetching work in
code once we know what packages are actually involved.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25 13:45:04 -05:00
Dan McGee
ebfc46026f Fix multilib SVN link
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25 12:12:29 -05:00
Dan McGee
ed71d525e3 Make package size fields big integers
We had a package go in today that has an installed size > 2GB, which
makes PostgreSQL blow up when trying to create the package entry.
Enlarge these fields to big integers so they can store all conceivable
package size values.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-17 09:43:40 -05:00
Dan McGee
9300b43b79 Show maintainer full names in search dropdown
Instead of just showing usernames. It is especially helpful since we have
many similarly named developers at this point. In addition, only show active
developers/TUs and remove the rest from the list.

Also remove some cargo-cult code that set widget.choices; this is not
necesary as the widget automatically grabs the choices from the field.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-13 11:05:48 -05:00
Dan McGee
c93ed3f6fe Clarify what the date field means on package search
It sounded like the date had to match exactly which wasn't true, so clarify
the label on the form field.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-13 11:05:11 -05:00
Dan McGee
2f3f793670 Move update mirrorlist link
It is no longer new, so get rid of that graphic and move it down to
somewhere relatively relevant.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-13 10:36:44 -05:00
Dan McGee
dbde19828f Enable the cached_db session engine by default
This will work out well when using memcached in production, and should just
fall back to using the DB when developing locally with no cache or any other
sort of caching.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-09 13:33:09 -05:00
Dan McGee
141cff90d2 Clean up settings file
Unify to using single quotes everywhere. No functional changes.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-09 13:32:56 -05:00
Dan McGee
efba7e8ba0 reporead: Add ability to generate traceback via signal
Every once in a while we see this command hanging on the main server but it
isn't making any system calls, so it is hard to tell where it is getting
stuck. Add a signal handler on SIGQUIT that will listen and print a
traceback when signaled.

This is the easiest thing to implement; future additions may need to be able
to hook up to a remote debugger (e.g. pdb) if this doesn't work.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-04 07:06:49 -05:00
Dan McGee
8e1b9a8424 Add more information to "package in testing" text
Make it a link to the testing package itself, and add a title so we have
these attributes on every link.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-04 07:06:49 -05:00
Dan McGee
7bb61331e3 Add missing or update title attribute on links
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-04 07:06:49 -05:00
Dan McGee
d993e1f1a8 Add a title to the userpkgs link
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-04 07:00:41 -05:00
Dan McGee
97322236b0 Fix stupid mistake in user parsing
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-01 13:18:52 -05:00
Pierre Schmitz
617c446aa7 adjust some colors to match forums and wiki 2010-08-01 16:40:11 +02:00
Dan McGee
f9aa30e7bd Clean up find_user() code a bit
With suggestions from Jason Chu, make the code a bit less repetitive with
regards to exception handling and fallthrough to the next method of finding
the user.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-28 15:38:33 -05:00
Dan McGee
573357b799 Use userpkgs tag on package details page
To link to a given person's maintained packages.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-28 15:03:55 -05:00
Dan McGee
2461b12cef Add new 'userpkgs' template tag
For easy linking to a given person's packages when we have a user object.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-28 15:02:17 -05:00
Dan McGee
88eb925d03 Add missing group delete in reporead
Otherwise we get duplicate groups each time we update the package, and any
group removals would never actually happen.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-28 15:01:32 -05:00
Dan McGee
ed5c5f525a Display packager info on details page
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-28 14:43:17 -05:00
Dan McGee
77d130e33d Add packager support to reporead
This is a bit more work than just a simple field addition. We attempt to map
packager specs (e.g. "A. U. Thor <author@example.com>") to actual Django
users in a relatively robust way- first try matching on User.email, then
fall back to UserProfile.public_email, then finally try a name-based match.
For those packages we can't generate a mapping, the raw string is still
stored so it can be displayed.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-28 14:42:43 -05:00
Dan McGee
aada299712 Add packager fields to package model
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-28 14:41:13 -05:00
Dan McGee
6efe7bd176 Update OSDisc affiliate link
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-26 12:17:36 -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
Dan McGee
5e58ad921e Add box style to public todo list page
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25 16:14:39 -05:00
Dusty Phillips
ce87aadd97 Add a link to the read only todo lists on the index page.
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25 16:08:21 -05:00
Dusty Phillips
ca409654b1 Hide the details of the todo list until clicking
Dan: don't load jQuery until late in the page load.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25 16:07:47 -05:00
Dusty Phillips
d316f4b197 Add a basic view for todo lists
Dan: rename template and view to something a bit more concise.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25 15:57:10 -05:00
Dan McGee
ea18bc7362 Remove ArchCon 2010 banner
FS#20276.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25 15:49:06 -05:00
Dan McGee
727bb68587 Don't link to the AUR if search term is blank
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25 15:49:06 -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
63696563a3 Add package groups model and display to packages
They show up but aren't hotlinked to anything...just yet.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25 15:49:06 -05:00
Dan McGee
05c943b3a3 Remove unnecessary redirect on flaghelp link
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-10 17:45:44 -05:00
Dan McGee
e1be5f1619 Add some more template fragment caching
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-10 16:24:11 -05:00
Dan McGee
6b4c8e63b3 Make the cache_function key a bit more descriptive
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-10 16:23:36 -05:00
Dan McGee
7ca91098fa Turn off L10N and I18N
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-10 10:07:49 -05:00