Jelle van der Waa
f8995eb72e
releng: cache the torrent urls
2024-07-29 21:02:14 +02:00
Jelle van der Waa
bebd3c055a
Update to Django 5
2024-05-31 21:17:06 +02:00
nl6720
e7b46dce89
releng/models.py: update bootstrap tarball extension
...
archiso v77 changed the bootstrap tarball compression from gzip to zstd.
See https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/373
Related to https://gitlab.archlinux.org/archlinux/archiso/-/issues/130
2024-05-02 18:47:59 +02:00
nl6720
b018f09fca
templates/public/download.html: update checksum and signature list and verification
...
Link to *sum.txt files on archlinux.org, just like with the GPG
signatures, as the mirrors cannot be trusted.
Add the GnuPG verification command from https://wiki.archlinux.org/title/Installation_guide#Verify_signature .
It would be better if we do not duplicate it in both archweb and the wiki.
2024-02-28 14:51:39 +01:00
Jelle van der Waa
4a11883a7f
ruff: enable prefer f-string rule
2023-11-03 12:35:59 +01:00
Jelle van der Waa
6b43ce1407
ruff: enable isort rule
2023-11-03 12:35:59 +01:00
Jelle van der Waa
54c331c17b
Move from pytz to zoneinfo
...
Since Python 3.9 zoneinfo is available and datetime also has a timezone
module attribute which can be used. Also refactor the
utcnow/fromutctimestamp usage to according to this excellent blogpost.
https://blog.ganssle.io/articles/2019/11/utcnow.html
2023-02-14 20:21:47 +01:00
nl6720
b8ad265f4d
Add bootstrap tarball PGP signature to the downloads page
...
Previosly it was not linked from anywhere, making one think that it can only be downloaded from the mirrors which is not safe.
2022-08-12 16:33:51 +02:00
kpcyrd
b9c3d53211
Change version
in release fixture to a recent value
2022-06-24 13:28:20 +02:00
Jelle van der Waa
e36eaddbc0
Add missing django migrations
...
Closes : #410
2022-06-20 21:13:22 +02:00
Jelle van der Waa
dddce67bf8
Handle multiple ipxe packages in our repositories
2022-04-22 09:01:59 +02:00
Jelle van der Waa
bc9ea52a6d
Correctly pass security_banner to temlate context
2022-04-14 12:11:19 +02:00
Moises Sanchez
ea1deedf57
Fixed error handling mistake
...
Previous did not have context in except. Moved context outside of try/except.
2022-02-23 21:51:07 +01:00
Moises Sanchez
6c408faa08
Added error handling
2022-02-23 21:51:07 +01:00
Moises Sanchez
a282287486
Extended netboot_info + replaced hardcoded url
2022-02-23 21:51:07 +01:00
kpcyrd
4283ed7046
Add sha256 and b2sum to release page
2022-01-09 19:08:53 +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
c9e108502e
Port releng tests to pytest
2021-09-20 10:32:00 +02:00
fish-dango
68b734e817
extended release model to include wkd_email
2021-07-05 22:52:16 +02:00
Justin !
093e4f4c1f
Unlint more migrations
2020-11-11 22:23:29 +01:00
Justin !
c6cf91a40d
Fix pep8 errors
2020-11-11 22:23:29 +01:00
Santiago Torres
8b2f897702
netboot: add downgraded cipher banner
...
The banner is pretty self-explanatory. Inform users that the chainloaded
script is served on downgraded ciphers due to a limitation on the ssl
stack of ipxe. Also, add a configuration variable so that downstream
users of archweb can prevent the banner from displaying.
2020-08-03 21:38:11 +02:00
Jelle van der Waa
db10dd5d2c
Remove torrent tracker from archweb
...
Arch no longer runs it's own torrent tracker as DHT and webseeds work
well enough for us.
2020-07-09 21:55:13 +02:00
Jelle van der Waa
dae2e6adf3
Apply PEP8 on releng.views
2020-07-09 21:52:18 +02:00
Jelle van der Waa
5da8fa6ce1
Add PGP key to the Release model
...
Add a pgp_key field to the Release model so we can display the PGP
fingerprint of the used PGP key on the download page.
Closes : #282
2020-05-31 21:14:53 +02:00
Jelle van der Waa
1c831f6b5a
Fix Python formatting in releng.models
2020-05-22 23:20:54 +02:00
Jelle van der Waa
073a04bb6b
releng: reduce SELECT's for archlinux.ipxe request
...
Only querying the required fields makes the code smaller and 20% faster
on Sqlite.
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-02-28 21:54:57 +01:00
Jelle van der Waa
b8b85e7f21
Update migrations for Python 3
2019-01-21 21:19:58 +01:00
Jelle van der Waa
fcc810bfdf
Update django reverse import
2019-01-21 21:19:58 +01:00
Frank Vanderham
0ca04132d0
Refactor Python 3 __unicode__ to __str__
...
In Python 3 for Django, class method __unicode__ must be changed to
__str__. This commit replaces all models that use __unicode__ to
__str__.
2019-01-21 21:19:58 +01:00
Jelle van der Waa
b911b3308e
Remove all squashed migrations
...
this makes it easier to upgrade to Python 3 since less on_delete lines
have to be fixed.
2019-01-21 21:19:58 +01:00
jelle van der Waa
21211d3cb4
Merge pull request #154 from jelly/squashmigrations
...
squash all migrations
2018-12-16 15:29:02 +01:00
Jelle van der Waa
87c63bd2c7
releng: Add test for netboot config
2018-11-20 22:28:10 +01:00
Jelle van der Waa
3fc26cdb27
Squash all migrations
2018-11-17 21:58:50 +01:00
Jelle van der Waa
338b462b72
releng: remove empty directories
2018-09-23 22:06:17 +02:00
Jelle van der Waa
ed1f4ce0f3
test: use response.json()
...
Instead of importing json and loading the response.content using
json.loads use Django's response.json() method.
2018-06-17 22:02:16 +02:00
Jelle van der Waa
30583255d6
releng: remove old fixtures and add missing migration
...
Add missing migration which removes the old releng models and remove the
old json fixtures.
2018-06-16 12:04:40 +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
Jelle van der Waa
74ec6c9d61
Re-add missing release details view
...
In 875d50d8f
the Iso Model was removed and also the release_detail view
which should have stayed since it's still used.
2018-03-13 20:59:53 +01:00
jelle van der Waa
875d50d8f2
Remove unused Iso Model ( #82 )
...
The ISO model was used for the releng feedback form which was removed
earlier. All this code is therefore now unused.
2018-02-17 12:55:13 -05:00
jelle van der Waa
15e4f75321
releng: Add tests for a few views ( #83 )
...
Add a few simple tests for some of the releases views.
2018-02-17 12:54:09 -05:00
jelle van der Waa
2ff2b26aa9
Remove old releng feedback form ( #80 )
...
Remove the old feedback functionality for released iso's. The last
submission was in 2012 and it's no longer used by the current released
iso's.
2018-01-29 14:09:55 -05:00
Jelle van der Waa
8486851f7e
releng.views: fix list declaration style
2017-07-11 21:55:29 +02:00
Jelle van der Waa
1a4e0f8c4c
mirrors.models: remove unused imports
2017-07-11 21:54:51 +02:00
Jelle van der Waa
ea09e5a37c
releng.models: remove unused import
2017-07-11 21:53:41 +02:00
Jelle van der Waa
48cc6edfc3
releng.tests: remove unused imports
2017-07-11 21:52:56 +02:00
Angel Velásquez
ddf70d1c6a
Merge pull request #32 from jelly/syncisos
...
Syncisos
2017-06-12 11:47:36 -04:00
Jelle van der Waa
22acfa3391
tests: add tests for sitemaps
2017-06-11 20:54:21 +02:00