summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-06-05Update to Django 3.0.7release_2020-06-05Jelle van der Waa1-1/+1
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-05-31Add PGP key to the Release modelJelle van der Waa4-0/+26
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-22Fix Python formatting in releng.modelsJelle van der Waa1-3/+2
2020-05-22allow todo list name to wrapChristian Hesse2-2/+2
We have quite long todo list names, with attribute "nowrap" this looks pretty strange on small screens.
2020-05-22Update requirements.txt dependenciesJelle van der Waa1-4/+4
2020-04-09Set default Referrer Policy to no-referrer-when-downgraderelease_2020-04-09Jelle van der Waa1-0/+3
Do not send a Referrer header when the connection is downgraded from https to http. Closes: #177
2020-04-09Update to Django 3.0Jelle van der Waa1-3/+3
Update django extensions and django itself to 3.0.6. Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-04-08templates: "load staticfiles" is deprecated in favor of "load static"Jelle van der Waa33-33/+33
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-04-08Remove leftover PIA sponsor imagesJelle van der Waa2-0/+0
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-04-08Remove unrequired #arch-sponsors from CSSJelle van der Waa4-6/+1
Adjust the sponsor images to fit nicely and remove the sponsors id. Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-04-08Update bleach to 3.1.4Jelle van der Waa1-1/+1
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-03-28Add icons8 sponsor to the homepagerelease_2020-03-28Jelle van der Waa2-0/+5
Update the icons8 logo and put the logo on the frontpage Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-03-27Add created and last_modified to jsonMorten Linderud1-0/+2
Helps us write tools to find out if a package hasn't been checked off since todolist creation. Signed-off-by: Morten Linderud <morten@linderud.pw>
2020-03-25Update bleach to 3.1.3Jelle van der Waa1-1/+1
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2020-03-08Update django due to a security issueJelle van der Waa1-1/+1
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-03-06planet: add tests for updating planetJelle van der Waa1-0/+89
2020-03-05planet: handle response without 'status'Jelle van der Waa1-3/+7
feedparser's parse method returns an arbitrary dictionary which may or may not have the HTTP status. Rely on get() to return None if it's lacking and then return and log a message.
2020-03-05public: remove PIA as sponsor from the websiteJelle van der Waa2-15/+0
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-02-25Update bleach to non-vulnerable versionJelle van der Waa1-1/+1
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2020-02-20urls.py: add planet.archlinux.org fallback urlsJelle van der Waa1-0/+6
Add temporary fallback urls for old planet.archlinux.org urls. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2020-02-14mirrors: test the MirrorRsync modelJelle van der Waa1-0/+30
2020-02-13Update dependencies for Markdown, parse, django-jinjarelease_2020-02-13Jelle van der Waa1-3/+3
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2020-02-13packages: only send a signoff once the requirements are metJelle van der Waa1-1/+1
Instead of spamming packagers when the requirements are met, only send the email when it's enough.
2020-02-04sitestatic: minimize hetzner_logo.png sizeJelle van der Waa1-0/+0
Use oxipng to make the hetzner logo smaller. Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-02-04sitestatic: minimize click_and_pledge.pngJelle van der Waa1-0/+0
Use oxipng to optimise the png even further. Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-02-04Add the new hetzner logoGiancarlo Razzolini3-1/+1
Added the new hetzner logo in png format and deleted the old one and changed the index.html file to reflect the new file extension.
2020-02-03Introduce planet functionality in archwebJelle van der Waa21-3/+584
This change introduces a replacment for planet.archlinux.org which uses a python 2 project to generate static html from multiple RSS feed sources. For archweb a set of 'static' feeds can be created in the django admin view for the Arch forums and other static feeds, archweb users can add their own blog rss feed in their profile which will create a Feed model. When running the update_planet command, all Feed models are iterated over and the rss feed is parsed. The latest FeedItem is queried matching the current Feed model and every newer entry in the RSS feed is added as new FeedItem. Since the body is also stored in the FeedItem there is a limit to the amount of FeedItems per Feed configured in settings.py of which the default is 25. When a user is marked as inactive his Feed model and items are removed automatically to avoid keeping stale data around. Closes: #261
2020-02-03news: add note about news post procedureJelle van der Waa1-0/+10
2020-02-03Update django to 2.2.10Jelle van der Waa1-1/+1
2020-01-18devel: fix filtering repository's in report viewJelle van der Waa1-1/+1
2019-12-23README: add note about iPXE testingJelle van der Waa1-0/+5
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-12-23netboot: update imagesSantiago Torres6-0/+0
Fixes FS#58470
2019-12-18packages: remove onclick handlerrelease_2019-12-18Jelle van der Waa1-2/+2
The onclick handler is a CSP violator since no JavaScript is allowed to be executed without a nounce. The inline script has been replaced with a target="_blank". Closes: #202 Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-12-18remove psycopg2 from production requirementsJelle van der Waa1-1/+0
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-12-18add packages rss feeds for "all stable repos" and "all testing repos"Michal Donat2-35/+150
https://bugs.archlinux.org/task/59329
2019-12-18Update django to 2.2.9Jelle van der Waa1-1/+1
2019-12-02Update django to 2.2.8release_2019-12-02Jelle van der Waa1-1/+1
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2019-11-17Update django to 2.2.7release_2019-11-17Jelle van der Waa1-1/+1
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2019-11-17templates: add provides exampleJelle van der Waa1-1/+1
2019-11-17Add support for searching by package providesJohannes Löthberg1-2/+10
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2019-11-07Fix a typo in commands/retire_user.pyFelix Yan1-1/+1
2019-11-07public: update SPI links to httpsJelle van der Waa1-2/+2
Sadly it seems the SPI does not redirect http to https or implement hsts so it's better to hardcode the links to https. Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2019-11-04rename funding to the correct filenameJelle van der Waa1-0/+0
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2019-11-04Add Github funding for Arch Linux.Jelle van der Waa1-0/+3
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2019-11-04Add Github actions statusJelle van der Waa1-0/+1
2019-11-04Add github actions workfowJelle van der Waa1-0/+29
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2019-10-26about: Remove superfluous commaRobin B1-1/+1
2019-10-25Merge pull request #252 from grazzolini/arch_announce_passwordrelease_2019-10-25jelle van der Waa2-6/+13
news: Add the MAILMAN_PASSWORD option and use it for sending authenticated emails
2019-10-25news: Make the check for MAILMAN_PASSWORD backwards compatibleGiancarlo Razzolini1-4/+4
This makes the check work with previous versions of archweb while also taking into account downstreams that might not want or need this change.
2019-10-25news: Change the news app to use the EmailMessage class to be able to ↵Giancarlo Razzolini2-7/+14
include the mailman password Due to spamming to arch-announce mail list, we now use a poster password to make sure only authorized emails are allowed through to the list.