Commit Graph

2019 Commits

Author SHA1 Message Date
Dan McGee
0f0ce18109 Update AUR feed URL
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-30 09:32:08 -05:00
Dan McGee
600143236d Update to OrderedDict usage for Django 1.7
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-22 18:15:28 -05:00
Dan McGee
39a52bbe34 Properly start the Django application in WSGI context
Apparently things changed a while back, but no notice was given
anywhere. https://code.djangoproject.com/ticket/23437

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-11 19:09:49 -05:00
Dan McGee
3e70c8107b Remove now unnecessary empty models.py files
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-11 18:35:36 -05:00
Dan McGee
b041219dec Whoops, this shouldn't be commented out
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-11 18:34:02 -05:00
Dan McGee
0bc64e77d4 Merge branch 'django-1.7' 2014-09-11 18:29:30 -05:00
Dan McGee
1173be8b91 Bump Django requirement to 1.7
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-02 20:09:59 -05:00
Dan McGee
9d0db65025 Fix up some IP address field issues
Ensure we always coerce values to unicode in our __unicode__ method, and
remove some now unneeded verbosity and comments since the upstream bug
has been fixed.

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01 18:26:05 -05:00
Dan McGee
28d486870d More changes for move to Django 1.7
The removal of the root `__init__.py` file is so the testing framework
does consistent imports of our models now that the loading strategy has
changed.

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01 18:26:05 -05:00
Dan McGee
df672693d9 Update for admin changes for Django 1.7
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01 18:26:05 -05: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
5232b186dc Remove dependency on South
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
345d756b88 Update to a version of django-countries compatible with 1.7
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01 18:26:05 -05:00
Dan McGee
4968aa9484 Silence warning with 1.7 by using new test runner
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01 18:25:48 -05:00
Dan McGee
a8ceba3429 Add details link to mirror status page
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01 16:16:44 -05:00
Dan McGee
9335d3330b Save some space, (secs) -> (s)
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01 15:53:23 -05:00
Dan McGee
0b17362c37 Add default value for boolean field
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01 15:35:06 -05:00
Dan McGee
08ecb6036b De-emphasize package files pages
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01 15:34:47 -05:00
Dan McGee
2382c55c43 Requirements bumping
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01 15:34:23 -05:00
Jakub Klinkovský
35fc1b458c update URLs to Arch wiki
Signed-off-by: Jakub Klinkovský <j.l.k@gmx.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01 15:30:12 -05:00
Dan McGee
45f5ba71e7 Bump some requirements
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-06-28 11:56:27 -05:00
Dan McGee
c51ff717d9 Use last element in args tuple as error message
When things blow up in low-level C code, the tuple is sometimes of
length one, such as when it contains this error message:

    _ssl.c:495: The handshake operation timed out

Just use the last element of the tuple, which works for all of the
cases.

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-06-10 21:04:39 -05:00
Dan McGee
d3a36903d0 Convert ~~~ to date/username text when editing mirror notes
Requested by Florian to make leaving notes on mirrors a bit easier.

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-05-31 15:30:18 -05:00
Dan McGee
be4b9dc363 Bump markdown requirement version
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-05-31 15:13:58 -05:00
Dan McGee
e660aa18eb Bump some requirements
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-05-18 21:28:09 -05:00
Dan McGee
fa5414a72a Bump Django version, again
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-04-29 09:19:29 -05:00
Dan McGee
dbe0ae1a77 Bump Django version
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-04-22 15:38:46 -05:00
Dan McGee
6a09ffdd8e Protect ORM migration portion in db.dry_run
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-29 12:28:05 -05:00
Dan McGee
945337177d Add last_modified column to mirrors
This will make it easier in the future to clear out inactive mirrors
that haven't been touched in a while.

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-29 11:56:32 -05:00
Dan McGee
21a4725b92 Bump django-countries and pytz requirements 2014-03-29 11:00:23 -05:00
Dan McGee
cd7222047b Make filename and directory name fields accept longer values
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-22 12:25:09 -05:00
Dan McGee
3f1ca4da2a Simplify filter reload code
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-09 12:02:00 -05:00
Dan McGee
268317dd33 Use localStorage to save/restore developer report filters
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-09 11:58:51 -05:00
Dan McGee
697a2b15c1 Use localStorage to save/restore todolist filters
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-09 11:49:22 -05:00
Dan McGee
2e06e74d3a Use localStorage to save/restore signoffs filters
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-09 11:40:58 -05:00
Dan McGee
81a2051e34 Allow filesize sorter to match &nbsp; character
This gets the sorter working correctly again on the developer reports
pages where we show file sizes. Apparently the Django filesizeformat tag
now uses non-breaking spaces.

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-09 11:12:40 -05:00
Dan McGee
e395bef724 Split signature report into two reports
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-22 13:57:03 -06:00
Dan McGee
871b284dd7 Generate list of reports dynamically
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-22 13:57:02 -06:00
Dan McGee
7947d36c4e Break out developer reports into a separate module
This code was getting quite unwieldy, and wasn't very modular. Introduce
a DeveloperReport class that contains the content for a single report,
and utilize it to create our various report metadata and package
filtering operations. Utilize these report objects in the reports view,
vastly simplifying it.

We don't yet dynamically generate the list of reports on the developer
index page; that will be coming soon.

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-22 13:57:02 -06:00
Dan McGee
16b22e4bfc Upgrade django-countries to 2.0
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-22 08:49:58 -06:00
Dan McGee
5fcc6af4dd Change long out-of-date report to 30 days
At the request of barthalion. This bumps the report from currently
showing 36 packages to 109 packages.

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-22 08:42:38 -06:00
Dan McGee
4d311163ed Upgrade markdown version
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-22 08:41:23 -06:00
Dan McGee
cd21694652 Ensure correct value gets submitted on package search typeahead
Populate the form field with the chosen item before submitting the form.

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-16 11:27:05 -06:00
Dan McGee
c47230a091 Bump requirements including Django version
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-06 18:09:36 -06:00
Dan McGee
35a44f7ca7 Releng release JSON view
FS#35049.

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-02 15:19:40 -06:00
Dan McGee
7c70083ed5 Cleanups and enhancments to JS package search typeahead
Remove the need to press enter twice when using this typeahead box.
Submit the form on enter, regardless of whether an item is selected or
not.

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-27 17:27:54 -06:00
Dan McGee
8af4d27cd6 Fix linebreak issues in preformatted code blocks
In text blocks that have preformatted code, such as news items, we don't
handle the overflow case very well. Let the browser do the job and wrap
things if absolutely required.

Fixes FS#35649.

Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-27 13:17:49 -06:00
Dan McGee
8a3553a7d2 Bump pgpdump required version
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-27 10:17:56 -06:00
Dan McGee
4a5714fba7 Revert "Change old packages report from two years to one year"
This reverts commit 8d3a1a1c50.
Turns out we aren't updating packages quite as often anymore. There are
currently 1900+ packages in the repos built more than one year ago.

Signed-off-by: Dan McGee <dan@archlinux.org>

Conflicts:
	devel/views.py
2014-01-26 12:55:33 -06:00