summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-03-19Merge pull request #208 from kyrias/reporead-flagrequest-on-droprelease_2019-03-19jelle van der Waa1-0/+5
reporead: Delete old FlagRequests when deleting package from repo
2019-03-19reporead: Delete old FlagRequests when deleting package from repoJohannes Löthberg1-0/+5
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2019-03-19* Fix introduced typo.Giancarlo Razzolini1-1/+1
2019-03-19* Add the hetzner logo file.Giancarlo Razzolini2-1/+5
* Add the hetzner logo to the sponsors on the main page.
2019-03-17sitestatic: remove old assetsJelle van der Waa3-0/+0
Remove an old sponsor, a never used high resolution rss image and an old new icon.
2019-03-17sitestatic: remove unused bootstrap-typeaheadJelle van der Waa1-301/+0
2019-03-17visualize: update d3js to 3.5.0Jelle van der Waa5-7795/+9432
Update to the latest version 3 release which does not break backwards compatibility yet. Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2019-03-17templates: Add tag for d3jsJelle van der Waa4-6/+10
Create a simple tag for outputting the d3js <script> html so updating will be easier and the version has be changed in one file. Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2019-03-17settings: Add CSP FORM_ACTION headerJelle van der Waa1-0/+1
Add the content security policy for <form> posts to only allow posts to the origin form which it's served. This disallows posting forms to a third party if a browser supports this directive.
2019-03-17packages: fix <div > extranous spaceJelle van der Waa1-1/+1
2019-03-17public: remove unrequired hardcoded width/heightJelle van der Waa1-2/+2
2019-03-17public: remove extra whitespace in sentenceJelle van der Waa1-1/+1
2019-03-16Update to python's builtin virtualenvJelle van der Waa1-3/+2
Close: #188
2019-03-16Document updating the iPXE imagesJelle van der Waa1-0/+8
2019-03-15sitestatic: update ipxe imagesrelease_2019-03-15Jelle van der Waa6-0/+0
Update the ipxe image for the new CA root Let's Encrypt image. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-03-02donate: remove hardcoded width/height from img elements.Jelle van der Waa1-3/+3
2019-03-02templates: remove excessive whitespace after .Jelle van der Waa1-3/+3
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-03-02packages: use Pythonic syntax instead of len()Jelle van der Waa1-1/+1
not foo is preferred over len(foo) == 0.
2019-02-28releng: reduce SELECT's for archlinux.ipxe requestJelle van der Waa1-2/+1
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-28templates: get rid of modify_attributesJelle van der Waa2-18/+5
The modify_attributes was used for IE to set attributes on DOM elements, since Archweb no longer supports IE and this can be done easily with plain JavaScript. Also drop non-standard HTML attributes since they aren't worth keeping. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-02-24public: fix misplaced dot at the end of the </p>Jelle van der Waa1-1/+1
2019-02-24remove kartenzia as commercial sponsorJelle van der Waa2-6/+0
Kartenzia no longer sponsors a dedicated server. Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2019-02-24pylint: comment out warning without code changesJelle van der Waa1-1/+1
2019-02-24pylint: extend checksJelle van der Waa1-36/+28
2019-02-24mirrors: remove duplicate functionJelle van der Waa1-5/+1
2019-02-24Add base-uri and frame-ancestors to CSPrelease_2019-02-24Jelle van der Waa1-0/+2
The archweb website contains no <base> elements so this can be disallowed. Also set frame-ancestors is set to the same value as X-Frame-Options. Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2019-02-24Revert "rewrite logic to put some key at the beginning of the OrderedDict"Jelle van der Waa1-3/+7
This reverts commit adaa6d64c4466cff986e695d9d69d51a4d05ca59. old is undefined and therefore the code is broken.
2019-02-23css: disable focus outline on jQuery tablesorterrelease_2019-02-23Jelle van der Waa1-0/+4
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-02-23templates: Add "Getting involved" linkJelle van der Waa1-0/+2
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-02-22Decode subprocess outputFledermann1-1/+1
2019-02-22sitestatic: remove unused CSS rule #dash-pkg-notifyJelle van der Waa1-27/+1
The dash-pkg-notify view was removed in 710ec0a9de9a and since then never used. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-02-22sitestatic: remove unused pretty1 CSS classJelle van der Waa1-19/+0
This class was last used on the very old download page and since then never used. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-02-22templates: remove deprecated projection propertyJelle van der Waa9-9/+9
The media="projection" property is read by browsers but does not match anything remove it so our site is valid HTML. Closes: #184 Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-02-22templates: remove JavaScript form login pageJelle van der Waa1-11/+0
Remove setting focus on the username since this already works without Javascript.
2019-02-21mirrors: tests: add exception handling testsJelle van der Waa1-0/+55
Include more tests for exception handling cases, refactor this later using pytest fixture's so there is no need for massive code duplication.
2019-02-21README: add optional dependency on rsyncJelle van der Waa1-0/+1
2019-02-19sitestatic; fix typeahead for EdgeJelle van der Waa1-2/+2
Microsoft Edge has no x/y in the Clientrect structure so use top/left instead which works on all browsers.
2019-02-18urls.py: use Django 2.0 simplified url routing syntaxJelle van der Waa1-1/+1
2019-02-18mirrors: replace self-written floatvalue with floatformatJelle van der Waa5-20/+8
In 2013 floatformat was very slow in the mirror status page, these days floatformat is not that much slower.
2019-02-18main: remove leftover try/ImportError for Python2/3Jelle van der Waa1-5/+2
2019-02-18main: BigIntegerField fix Python styleJelle van der Waa1-1/+1
2019-02-18Merge pull request #162 from jelly/jquery_upgradejelle van der Waa41-1472/+3135
jQuery upgrade
2019-02-18flag: move inline css to a separate fileJelle van der Waa3-6/+9
CSP dissalows inline CSS styles so move the CSS to a separate file.
2019-02-18news: remove archweb.js includeJelle van der Waa1-1/+0
archweb.js supplies no functions required in the news add/edit/delete view.
2019-02-18packages: remove inline style from flag out of dateJelle van der Waa2-1/+5
Remove inline style and add new CSS rule for it.
2019-02-18templates: remove inline stylesJelle van der Waa4-4/+9
Remove inline styles to hide itemprop's and use a global css class for it.
2019-02-18releng: remove inline cssJelle van der Waa2-1/+6
Replace the usage of inline styles with a global css rule.
2019-02-18news: get rid of inline css stylesJelle van der Waa3-19/+20
Remove the usage of an inline style for hiding #news-preview and hide it in our global css. Also move the newspreview function to it's sole user to reduce our global JS size.
2019-02-18Implement CSP for archwebJelle van der Waa23-21/+30
Add django-csp as dependency to be able to set CSP inside django's settings and allow setting a CSP_NONCE for inline <script>'s in templates. Since archweb heavily uses this pattern it's the best compromise.
2019-02-18sitestatic: Update jQuery and tablesorterJelle van der Waa7-1383/+2919