Commit Graph

15 Commits

Author SHA1 Message Date
Dan McGee
5bfe138a86 Add new StaffGroup object
This will allow us to be a bit more dynamic in showing the people
listings on the website. We'll be adding a Support Staff category to
recognize those that do things around here but aren't technically
developers.

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-02 10:44:03 -06:00
Dan McGee
0896b5697a Add auto-generated migrations from new Django migrations framework
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01 18:26:05 -05:00
Dan McGee
51d90e23c9 Remove old south migrations
Django 1.7 has built-in migrations support, so we no longer want these
around. All existing installs should be fully migrated at this point to
the latest schema.

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01 18:26:05 -05:00
Dan McGee
92136757bf Proper support for revoked signatures
The 'valid' column wasn't quite right. Add a new 'revoked' column that
works similar to the one we have on keys and use it instead, properly
parsing the output from `gpg` signature data and looking for the magic
prefix string.

Signed-off-by: Dan McGee <dan@archlinux.org>
2013-09-30 20:45:10 -05:00
Dan McGee
b9fab139ed Add PGP signature signer and signee indexes
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-06-14 12:13:02 -05:00
Dan McGee
9da8a63dd4 Add DeveloperKey model
We're starting to see developers use subkeys of their primary key to
sign packages, which we aren't handling well in the web interface. These
subkeys show up as unknown, which isn't strictly true. Start the process
of being able to handle these keys by adding a model that will store all
known keys and subkeys and the relationships among them, as well as
which developer owns each.

Signed-off-by: Dan McGee <dan@archlinux.org>
2013-02-03 13:56:35 -06:00
Dan McGee
e68a5073a6 Fix "RuntimeWarning: DateTimeField received a naive datetime" warnings
When running tests, we can find old migrations that didn't use datetime
objects with timezones attached.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-27 17:02:40 -06:00
Dan McGee
bbcbde0197 Add a last_modified field to user profiles
A behind the scenes field that might be slightly useful.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-06-20 17:03:26 -05:00
Dan McGee
104aec2726 Add migration to auto-populate developer countries, display flags
Add a quick and dirty migration to derive country info from the
developer-provided timezone, and display the flag next to the location
if we have it available on the clocks and developer profiles pages.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-26 13:25:15 -05:00
Dan McGee
22fc394e36 Add country attribute to developer profile
We can then show little flag icons later on in relevant places based off
of this, such as on the developer profile, clocks page, etc.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-26 12:07:38 -05:00
Dan McGee
d21d8be018 UserProfile model and fields shuffle
Move this model into the devel/ application, and move the PGPKeyField
which is used only by these models into the application as well. This
involves updating some old migrations along the way to ensure we don't
reference a field class that no longer exists.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-20 11:15:03 -05:00
Dan McGee
b1c42e16ac Convert master key datetimes to dates
The extra precision is not necessary and just makes entry of the data
harder anyway.
2011-12-07 13:05:49 -06:00
Dan McGee
f3a3ce5623 Add new PGPSignature model
This will be used to track cross-developer and master key signatures to
build a visualization in the web interface of key signatures, as well as
be able to provide info on who is verified, who is not, etc.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-05 16:53:26 -06:00
Dan McGee
da61fed4be Add master key model and admin integration 2011-11-30 13:31:51 -06:00
Dan McGee
04e830a1da Add initial migration for devel app
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-30 13:11:14 -06:00