Commit Graph

16 Commits

Author SHA1 Message Date
Jelle van der Waa
6b43ce1407 ruff: enable isort rule 2023-11-03 12:35:59 +01:00
Abhishek Srikanth
d108095aac Replaced re_path with path where path can be used 2021-11-20 18:21:03 +01:00
Abhishek Srikanth
3cb4be10ad Replaced url() with re_path() 2021-11-20 18:21:03 +01:00
Jelle van der Waa
12b1b0aa22 Add Tier 0 Mirror Access support
Support generating an access token for access to our tier0 mirror and
other services which are behind a nginx using
ngx_http_auth_request_module for authentication. This works as
following, nginx requires authentication for a route which is protected
and redirects the request to archweb which handles the authentication.

Closes: #347
2021-05-26 20:57:33 +02:00
Jelle van der Waa
6c6b4541b5 Update urls.py to non relative imports 2018-04-08 12:51:19 +02:00
Johannes Löthberg
996ef6ec72 Change urls.py from patterns to list of url()
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2018-04-08 12:51:19 +02:00
Dan McGee
66412aa103 Move stats portion of developer dashboard to separate view
This stuff is all below the fold when the page first loads, and adds a
good amount of loading time to the developer dashboard. Split it out,
where it will be wired back and hooked up via an AJAX insertion in a
future commit. Both parts work standalone as is in this commit.

Signed-off-by: Dan McGee <dan@archlinux.org>
2013-04-21 20:29:17 -05:00
Dan McGee
b8c20439c0 Change Django urls.py import
Until Django 1.3, the functions include(), patterns() and url() plus
handler404, handler500 were located in a django.conf.urls.defaults
module.

In Django 1.4, they live in django.conf.urls.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-23 19:54:40 -05:00
Dan McGee
ab97f5cdea Fix mismatched URL keyword arg
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-22 10:22:25 -06:00
Dan McGee
f252aede11 Add named devel URLs
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-14 19:18:14 -05:00
Dan McGee
f04de80528 Allow screening developer reports by maintainer
A simple link is added for each user, but the URLs are flexible enough
to screen by any maintainer if you know how they are constructed.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-15 11:25:17 -05:00
Dan McGee
381e0a7872 Developer reports
This commit adds four initial developer reports that are hopefully
useful to developers and packages in checking up on the state of things.
They include:

* big : the 100 biggest packages in the repos
* old : packages built > 2 years ago
* uncompressed-man : self-explanatory
* uncompressed-info : self-explanatory

There should obviously be some sort of index page to access all of
these, so that will be coming soon.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-25 18:09:39 -05:00
Dan McGee
1dc867587d Add Admin log overview page
This puts the admin log functionality to a bit more use and allows
seeing the last 100 overall entries. You can also drill down to see
actions on a per-user basis.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-10 10:49:11 -06:00
Dan McGee
710ec0a9de Remove devel notify view
All of this can just be set on the main profile page.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-03 14:44:02 -06:00
Dan McGee
c04d4abc88 Add developer world clocks page
This should make it easier for everyone to figure out whether someone is
awake, sleeping, and all that fun stuff. It does require everyone to update
their profile and fill in the field, but that shouldn't be too hard of a
task.

Don't suggest jokes to me Saturday morning on IRC unless you really want to
see them implemented. Thanks, Pierre!

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08 11:47:11 -06:00
Dan McGee
6e3dc1be01 Move more URLs out of root urlconf
Things are a bit cleaner now.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13 14:56:43 -06:00