unrhodecode/rhodecode/model
Marcin Kuzminski aca661a15e goto-switcher: optimized performance and query capabilities.
- Previous implementation had on significant bug. The use of LIMIT 20
was limiting results BEFORE auth checks. In case of large ammount of similarly
named repositories user didn't had access too, the result goto search was empty.

This was becuase first 20 items fetched didn't pass permission checks and final
auth list was empty.

To fix this we now use proper filtering for auth using SQL. It means we first check
user allowed repositories, and add this as a filter so end result from database is already
to only the accessible repositories.
2017-08-16 22:46:34 +02:00
..
validation_schema dependencies: bumped pyramid-debugtoolbar to 4.3.1 2017-07-12 22:55:39 +02:00
__init__.py core: removed usage of global pylons config in base lib. 2017-08-03 21:59:49 +02:00
auth_token.py auth-token: only delete token if it exists. 2017-06-26 13:55:07 +02:00
changeset_status.py pull-request: extended default reviewers functionality. 2017-05-29 20:10:17 +02:00
comment.py comments: remove usage of pylons global config. 2017-08-04 14:29:09 +02:00
db.py goto-switcher: optimized performance and query capabilities. 2017-08-16 22:46:34 +02:00
forms.py pyramid: if possible fetch csrf tokens from pyramid session. 2017-07-13 12:35:42 +02:00
gist.py gists: migrated gists controller to pyramid view. 2017-07-07 12:05:30 +02:00
integration.py events: re-organizate events handling. 2017-06-08 21:37:34 +02:00
meta.py license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
notification.py notifications: ported views to pyramid 2017-07-13 18:28:31 +02:00
permission.py global-permissions: ported controller to pyramid view. 2017-07-20 15:04:36 +02:00
pull_request.py pull-requests: migrated code from pylons to pyramid 2017-07-27 11:30:55 +02:00
repo.py repositories: rewrote whole admin section to pyramid. 2017-08-11 13:00:47 +02:00
repo_group.py repository-groups: introduce last change for repository groups. 2017-07-20 12:59:53 +02:00
repo_permission.py license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
scm.py renderer: remove usage of old non request PartialRenderer 2017-07-24 09:59:48 +02:00
settings.py hooks: expose refs on push. 2017-05-17 22:17:09 +02:00
ssh_key.py users: added SSH key management for user admin pages 2017-08-03 16:35:13 +02:00
supervisor.py license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
user.py db: use unicode for some of the defaults to reduce sqlalchemy warnings. 2017-07-26 12:14:56 +02:00
user_group.py audit-logs: implemented full audit logs across application. 2017-06-21 12:03:14 +02:00
validators.py dependencies: bumped pyramid-debugtoolbar to 4.3.1 2017-07-12 22:55:39 +02:00