summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-01-22Mirror tests (#78)release_2018-01-22jelle van der Waa9-105/+254
* mirrors: Move tests to mirrors/tests Move the tests to separate files in mirrors/tests and expand the model tests with tests for the Mirror class. * Add CheckLocation test * mirrors: Add tests for template filters Include tests for the filters used in the mirrors views. * devel: Add tests for template filter in_group Include a test for a simple case of the in_group filter.
2018-01-22Remove Konami code functionality (#77)jelle van der Waa5-29/+1
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.
2018-01-04Add more basic url tests (#76)jelle van der Waa2-0/+99
* packages: Add test for differences view Add a simple test to check if the differences view renders. * packages: Add tests for more urls Add basic tests for /packages/ related urls. * mirrors: Add mirrorlist urls
2018-01-04Add opensearch tests (#75)jelle van der Waa1-0/+16
2018-01-02mirrors/views/api: Fix mirrors.change_mirror perm typo (#74)Johannes Löthberg1-1/+1
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2018-01-02Add pagination to JSON package search (#73)release_2018-01-02Johannes Löthberg3-32/+176
* Add pagination to JSON search form using Paginator The downside of this is that we can't easily run prefetch_related anymore, but given the limit I don't suspect this to be a problem. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> * packages/views/search: Add appropriate newlines to search_json Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> * Update package fixture to be the same as devel/fixtures/core.db.tar.gz Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> * packages/tests: Add tests for JSON search pagination Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-12-29Add mirror detail URLs to JSON output (#71)Johannes Löthberg2-1/+12
* Add mirror detail URLs to JSON output Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> * Bump mirror details JSON version to 4 Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-12-29packages/test: Fix shadowed test name (#72)Johannes Löthberg1-1/+1
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-12-28Merge pull request #70 from kyrias/mirror-status-json-emailjelle van der Waa2-0/+5
Add admin emails to the mirror status JSON output when logged in
2017-12-28Require mirror.change_mirror perm to see emailsJohannes Löthberg2-1/+3
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-12-28Add admin emails to the mirror status JSON output when logged inJohannes Löthberg1-0/+3
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-11-28Return different dep types under different keys in JSON resultsJohannes Löthberg1-1/+7
* Return different dep types under different keys in JSON results * packages/utils: Put dependency type list above class Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-11-26Merge pull request #68 from jelly/test_searchAngel Velásquez1-0/+88
packages: Add tests for json and normal package search
2017-11-26packages: Add tests for json and normal package searchJelle van der Waa1-0/+88
Test all known scenario's and easy to test search scenario's.
2017-11-16Merge pull request #63 from eli-schwartz/masterrelease_2017-11-16Angel Velásquez1-1/+0
package details: remove category from bugtracker links
2017-11-16Merge pull request #65 from jelly/update_differencesAngel Velásquez3-65/+7
Update differences
2017-11-16Merge pull request #66 from jelly/i686_test_fixAngel Velásquez1-1/+1
Update test to x86_64
2017-11-15Merge pull request #64 from jelly/drop_i686Angel Velásquez4-11/+5
Drop i686
2017-11-15feeds: remove mention of i686Jelle van der Waa1-7/+1
Replace dropped i686 with x86_64
2017-11-15Update test to x86_64Jelle van der Waa1-1/+1
2017-11-15Update differences view for dropping i686Jelle van der Waa3-65/+7
Remove the i686 and x86_64 comparison since i686 is dropped and change the multilib difference to compare against x86_64 instead of i686.
2017-11-15Update test to x86_64Jelle van der Waa1-1/+1
2017-11-07templates: index.html remove i686Jelle van der Waa1-2/+2
2017-11-07templates: about.html remove i686Jelle van der Waa1-1/+1
2017-11-07devel: Update command example to x86_64Jelle van der Waa1-1/+1
2017-10-23package details: remove category from bugtracker linksEli Schwartz1-1/+0
This completely screws up searching for bugs, as you can easily miss any bugs filed to the testing package, and will *always* miss the ones that have been moved to "Upstream Bugs". There is no purpose in restricting the view of bugs filed against a specific package, to some arbitrary subcategory of "why" the bug was filed; all it accomplishes is causing unknowing users to file duplicate bug reports.
2017-10-18Merge pull request #57 from jelly/small_fixesAngel Velásquez5-26/+13
Make pylint scan all module directory's
2017-10-13Merge pull request #62 from Barthalion/icons8Angel Velásquez2-1/+10
donate: add Icons8
2017-10-11donate: add Icons8Bartłomiej Piotrowski2-1/+10
2017-09-05Merge pull request #61 from Barthalion/piarelease_2017-09-05jelle van der Waa4-1/+19
Add new sponsor (PIA)
2017-09-04index: add PIA logoBartłomiej Piotrowski2-0/+7
2017-09-04donate: add PIA entryBartłomiej Piotrowski2-1/+12
2017-09-01Merge pull request #60 from grazzolini/signoffspecificationrelease_2017-09-01Angel Velásquez1-2/+2
packages/admin: Fix the syntax for queryset
2017-09-01packages/admin: Fix the syntax for querysetGiancarlo Razzolini1-2/+2
Django 1.7 changed the method name to get_queryset.
2017-08-30Merge pull request #59 from jelly/remove_schwagAngel Velásquez1-5/+3
Remove schwag
2017-08-30Update Support links to httpsJelle van der Waa1-3/+3
All sites support https, some of them upgrade the connection to https while others don't. Change the links to be always https.
2017-08-30Remove Arch Schwag linkJelle van der Waa1-2/+0
swag.archlinux.ca has been discontinued, remove the link.
2017-08-28pylintrc: remove commentsJelle van der Waa1-12/+0
Remove comments which are not applicable to us.
2017-08-28travis: cache pip for faster buildsJelle van der Waa1-0/+1
2017-08-28pylint: Introduce more checksJelle van der Waa1-5/+7
2017-08-28pylint: add deprecated module checkJelle van der Waa2-5/+3
Remove deprecated import of cgi for parse_qs
2017-08-28devel: remove unused variables/importsJelle van der Waa2-3/+1
2017-08-28Make pylint scan all module directory'sJelle van der Waa1-1/+1
Instead of only scanning the base *.py files, scan all module directories.
2017-08-26Merge pull request #48 from jelly/reporead_command_testAngel Velásquez5-2/+46
devel: Add reporead test
2017-08-25devel: Add reporead testJelle van der Waa5-2/+46
Add a test for reporead import database functionality. Move tests for devel to a separate directory and depend on mock for patching the logging functonality. (Included by default in Python 3)
2017-08-23Merge pull request #50 from jelly/refactorAngel Velásquez14-21/+597
Refactor and introduce Pylint to travisci
2017-08-21Merge pull request #56 from jelly/pkg_details_newlinerelease_2017-08-21Angel Velásquez1-2/+3
packages: remove extranous space in Provides/Conflicts
2017-08-21Merge pull request #55 from grazzolini/donateAngel Velásquez2-15/+1
Donate
2017-08-18index: Remove velocity network from the index pageGiancarlo Razzolini1-6/+0
Remove the velocity network from the index page because it is no longer hosting our main site and every server related to it was decommissioned.
2017-08-18donate: Remove all the entries related to velocity network.Giancarlo Razzolini1-9/+1
Velocity network was the sponsor for our main site server and some other services that were hosted on gudrun which was decommissioned earlier this year.