Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: a02d5213dc52e6d7b609fdf1d464caaf3554dcee
https://github.com/openSUSE/open-build-service/commit/a02d5213dc52e6d7b609fd...
Author: Björn Geuken
Date: 2018-12-18 (Tue, 18 Dec 2018)
Changed paths:
M src/api/app/models/project.rb
M src/api/app/models/user.rb
Log Message:
-----------
Limit results for autocompletion queries to 50
We have a couple of pages that offer auto completion of searches of
packages, group and alike.
Depending on the search string this can return a lot of results and as
a result freeze the user's browser. Because of that, and because a
huge list of proposed projects (or groups, or ...) won't help users
anyway, we limit the returned results to 50.
Fixes #6558
Commit: 2411d39ceff3c06a9a2c0ee1930d59c205e77a3c
https://github.com/openSUSE/open-build-service/commit/2411d39ceff3c06a9a2c0e...
Author: Björn Geuken
Date: 2018-12-18 (Tue, 18 Dec 2018)
Changed paths:
M src/api/app/models/project.rb
M src/api/spec/controllers/webui/project_controller_spec.rb
Log Message:
-----------
Return all results of project autocompletion
Since we now limit the search results, we don't have to filter
subprojects of a matched project.
Before this change a search for 'hom' would return no result. Although
there are many projects of the form 'home:$login'.
Now it would return the first 50 projects that start with 'hom'.
Commit: 3f82208acabc769d1450bf24cd63868f4b6714fe
https://github.com/openSUSE/open-build-service/commit/3f82208acabc769d1450bf...
Author: Björn Geuken
Date: 2018-12-18 (Tue, 18 Dec 2018)
Changed paths:
M src/api/app/controllers/webui/project_controller.rb
M src/api/app/models/project.rb
M src/api/app/models/user.rb
Log Message:
-----------
Order autocomple results
This ensures that autocomplete search results are ordered by the
searched attribute value (login / name).
Commit: 01066a5119eb8d0021e6744d38098f5836826e8c
https://github.com/openSUSE/open-build-service/commit/01066a5119eb8d0021e674...
Author: Ana María Martínez Gómez
Date: 2018-12-18 (Tue, 18 Dec 2018)
Changed paths:
M src/api/app/controllers/webui/project_controller.rb
M src/api/app/models/project.rb
M src/api/app/models/user.rb
M src/api/spec/controllers/webui/project_controller_spec.rb
Log Message:
-----------
Merge pull request #6591 from bgeuken/solve_autocompletion_issues
Solve autocompletion issues
Compare: https://github.com/openSUSE/open-build-service/compare/7105991c8b12...01066a...
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.