Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
* Add the hetzner logo to the sponsors on the main page.
|
|
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>
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
|
|
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>
|
|
|
|
Kartenzia no longer sponsors a dedicated server.
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
|
|
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
|
|
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>
|
|
Remove setting focus on the username since this already works without
Javascript.
|
|
In 2013 floatformat was very slow in the mirror status page, these days
floatformat is not that much slower.
|
|
CSP dissalows inline CSS styles so move the CSS to a separate file.
|
|
archweb.js supplies no functions required in the news add/edit/delete
view.
|
|
Remove inline styles to hide itemprop's and use a global css class for
it.
|
|
Replace the usage of inline styles with a global css rule.
|
|
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.
|
|
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.
|
|
Use a self written typeahead inmplemenation which gets rid of the
jQuery requirement. This saves upgrading issues and reduces the amount
of data to be loaded for the homepage by half.
|
|
Add a link to the SPI donation page which contains a PayPal donation
link.
Closes: #180
|
|
|
|
templates/public/about: remove unsupported section
|
|
|
|
|
|
The [unsupported] section blurb was outdated in both its existence and
the fact that there are almost 50k PKGBUILDs inside of it as of $DATE.
|
|
In 373a426cb we removed the i686/x64_64 differences report and forgot to
remove the used JavaScript functions.
|
|
Add the “rel” attribute for “prev” and “next” to the pagination links
of news and packages.
|
|
The signoff report command was removed in 32e3c6f9a76928d0250b55e92 but
the template file was kept while it should have been removed.
|
|
Closes: #112
|
|
Add new feeds for newly added packages and packages which where removed
from the repository's.
|
|
Mention the official Vagrant image on the download page and where to
find it.
|
|
According to the docs cycle takes two string arguments.
|
|
It's available already since we're no longer in the past, and can't load
from future *in* the future.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
|
Include a link to the HELLOTUX t-shirt store, which donates $2 per
bought t-shirt to Arch Linux.
|
|
|
|
In 875d50d8f the Iso Model was removed and also the release_detail view
which should have stayed since it's still used.
|
|
This reverts commit 5578d3ac6d0318b9a94713e82044783aa1f5b3b5.
|
|
Release details links was removed so it was giving a 500 because the
template does not exist anymore, removing the link
|
|
* Update coveragerc to exclude newly located tests
There are now tests under main/tests/* etc, which should be omitted for
coverage.
* omit settings from coverage
settings and local_settings aren't interesting for coverage, omit them.
* remove leftover secure context processor
The secure context processor was used to determine if the cdn served
assets should be loaded over https or http. Since assets are no longer
served with a cdn and the whole site is loaded over https these days,
this code is dead and can be removed.
* packages: Add test for flagging packages out of date
Add simple test cases for flagging packages out of date, should later be
improved to query the Package model for packages and use that data
instead of hardcoding.
|
|
The ISO model was used for the releng feedback form which was removed
earlier. All this code is therefore now unused.
|
|
* main: move tests to main/tests
Move the templatetags tests to main/tests/test_templatetags.
* main: Add test for templatetags country
Create a test for the templatetag country_flag.
* main: remove duplicate floatvalue
floatvalue is only used in the mirrors templates and the same exact
function exists in the mirror_status templatetags.
* main: Remove duplicate hours filter
The hours filter is also defined in the mirror_status and only used in
mirrors.
* main: move percentage filter to mirrors
Move the percentage filter to the only user of it and add a test for
basic use cases.
* main: remove duplicate duration implementation
The duration templatetag filter is also defined in mirror_status.py
* templates: remove unrequired import flags
* main: Add missing testcase for country_flag
Add the None test case, so that the function is fully covered.
* todolists: create tests for Todolist model
Add basic tests for the Todolist model
|
|
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.
|
|
Remove the easteregg on the home page which shows a tux when a user
enters the Konami code. Which reduces maintenance of a non-critical
component.
|
|
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
|
Update differences
|
|
Replace dropped i686 with x86_64
|
|
Remove the i686 and x86_64 comparison since i686 is dropped and change
the multilib difference to compare against x86_64 instead of i686.
|