summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-28Update jQuery to 3.4.0.release_2019-04-28Jelle van der Waa3-3/+3
Close: #211
2019-04-28Merge pull request #217 from jelly/kde_unstable_testingjelle van der Waa2-3/+22
Kde unstable testing
2019-04-28Revert "main: Handle multiple testing repositories"Jelle van der Waa1-3/+2
This reverts commit 4a71835d07a716d6f910a2e652072af9e25bdfc9.
2019-04-28main: Add new Repo variant for kde-unstableJelle van der Waa2-0/+20
Kde-unstable is just a testing repository but does not require signoffs but does require to be seen as a public repo (not staging) so add a new variant.
2019-04-28Merge pull request #216 from jelly/cleanup_signoffsjelle van der Waa1-2/+17
populate_signoffs: clean up old signoff(specifications)
2019-04-28populate_signoffs: clean up old signoff(specifications)Jelle van der Waa1-2/+17
When populating new signoffs also clean up old signoff's and signoffspecifcations by querying the database for everything which is not displayed on the website.
2019-04-27populate_signoffs: remove unused argumentsJelle van der Waa1-3/+0
2019-04-27Revert "visualize: remove unrequired list() calls added"Jelle van der Waa1-2/+2
This reverts commit 1560c4d9040bab7b21b47d5d82599fd69b2eb324.
2019-04-27packages: remove duplicate vim commentJelle van der Waa1-3/+0
2019-04-27reporead: remove added list()Jelle van der Waa1-1/+1
2to3 added an unrequired list() call around the django ORM query.
2019-04-27visualize: remove unrequired list() calls addedJelle van der Waa1-2/+2
2to3 added list() for safety reasons, but not the right reasons, remove the conversion.
2019-04-27Remove deprecated db backend postgresql_psycopg2Jelle van der Waa1-1/+1
The PostgreSQL backend has been renamed to django.db.backends.postgresql and postgresql_psycopg2 has been an alias. Close: #195
2019-04-27packages: remove list()'s added by 2to3Jelle van der Waa1-3/+3
Remove unrequired list()'s around django query's.
2019-04-21Merge pull request #215 from jelly/multiple_testing_flaggedrelease_2019-04-21jelle van der Waa1-2/+3
main: Handle multiple testing repositories
2019-04-21main: Handle multiple testing repositoriesJelle van der Waa1-2/+3
Since there are multiple [testing] repositories when a package is in kde-unstable, testing and flagged in extra the in_testing function will generate an error since there are multiple results. Rewrite the query so it handles multiple results and order it by id since [testing] should have a lower id then kde-unstable.
2019-04-17visualize: remove archweb.js from being loadedJelle van der Waa1-1/+0
archweb.js is not used in the /visualize/ page and can be removed from being loaded. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-04-15rewrite len-as-conditionrelease_2019-04-15Jelle van der Waa2-2/+2
2019-04-15Merge pull request #213 from jelly/split_packagesjelle van der Waa1-0/+2
Hide unflag all split packages for non-split packages
2019-04-14Hide unflag all split packages for non-split packagesJelle van der Waa1-0/+2
Fixes: #143
2019-04-05travisci: set travis vm to xenialJelle van der Waa1-0/+1
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-04-05mirrors: IPNetworkField context parameter is deprecatedJelle van der Waa1-1/+1
In Django 3.0 the context parameter will be removed.
2019-04-05Bump django to 2.2Jelle van der Waa1-1/+1
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-03-26retro: remove retro moduleJelle van der Waa131-9268/+1
The retro pages have been moved to a seperate git repository with static content.
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.