summaryrefslogtreecommitdiff
path: root/app/finders
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests and unassigned filter for issues. Updated CHANGELOGDmitriy Zaporozhets2015-03-271-1/+1
|
* No magic numbers for issues filteringDmitriy Zaporozhets2015-03-261-3/+5
|
* Merge pull request #8092 from cirosantilli/factor-finder-permsDmitriy Zaporozhets2015-03-021-1/+1
|\ | | | | Factor permission check in issuable finder
| * Factor permission check in issuable finderCiro Santilli2015-01-011-1/+1
| |
* | Fix trending projects orderingDmitriy Zaporozhets2015-02-181-1/+1
| |
* | Add index on order columnsDmitriy Zaporozhets2015-02-061-6/+5
| |
* | Apply default scope to labels and remove one for notesDmitriy Zaporozhets2015-02-051-1/+2
| |
* | Rubocop: indentation fixes Yay!!!Dmitriy Zaporozhets2015-02-021-1/+1
| |
* | Rubocop: Style/CaseIndentation enabledDmitriy Zaporozhets2015-02-021-12/+13
|/
* Add author filter for issues & merge requests pagesDmitriy Zaporozhets2014-12-051-0/+9
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'dashboard_issues_and_mr' into 'master'Dmitriy Zaporozhets2014-10-281-1/+5
|\ | | | | | | | | | | | | | | Dashboard issues and merge request filters Fixes #1597 See merge request !1219
| * Do not filter out issues and merge requests related to user right away.Marin Jankovski2014-10-271-1/+5
| |
* | internal snippets: fix exposing of titleValery Sizov2014-10-241-0/+2
|/
* Admin: user sortingValery Sizov2014-10-131-11/+11
|
* Snippets: public/internal/privateValery Sizov2014-10-091-0/+61
|
* Improve formatting of app/finders/README.mdCiro Santilli2014-10-071-4/+4
|
* Fix finder and tests for new membership modelsDmitriy Zaporozhets2014-09-151-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Huge replace of old users_project and users_group referencesDmitriy Zaporozhets2014-09-141-4/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor finders. Prevent circular dependency errorDmitriy Zaporozhets2014-09-023-4/+6
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Prevent duplicates in issue finder when filter by labelDmitriy Zaporozhets2014-07-301-1/+7
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix issues label finderDmitriy Zaporozhets2014-07-301-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Migrate issue/mr labels from act_as_taggable to own labelsDmitriy Zaporozhets2014-07-291-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Explore areaDmitriy Zaporozhets2014-07-231-0/+19
| | | | | | | Create one place for exploring GitLab instance projects and groups for both signed in and anonymous users Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix project snippet comments loadingDmitriy Zaporozhets2014-07-021-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor some search scopes to prevent wierd behaviour and PG::Error issuesDmitriy Zaporozhets2014-06-052-5/+33
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add GroupFinder for collection all groups user has access toDmitriy Zaporozhets2014-06-051-0/+38
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Default last_fetched_at to 0 for old clientsJacob Vosmaer2014-04-281-1/+2
| | | | | | | Users who have not refreshed their browser tab will poll GitLab using outdated JS. This change makes the server fall back to the old behavior (send all comments) for old clients, instead of throwing an exception for old clients.
* Serialize last_fetched_at as a string with secondsJacob Vosmaer2014-04-281-1/+1
|
* Filter out old notes in NotesFinderJacob Vosmaer2014-04-281-1/+7
|
* Fail faster on an invalid target_typeJacob Vosmaer2014-04-281-0/+2
|
* Fix deprecation warning outputRobert Speicher2014-03-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Removes the following from test output: DEPRECATION WARNING: It looks like you are eager loading table(s) (one of: merge_requests, projects) that are referenced in a string SQL snippet. For example: Post.includes(:comments).where("comments.title = 'foo'") Currently, Active Record recognizes the table in the string, and knows to JOIN the comments table to the query, rather than loading comments in a separate query. However, doing this without writing a full-blown SQL parser is inherently flawed. Since we don't want to write an SQL parser, we are removing this functionality. From now on, you must explicitly tell Active Record when you are referencing a table from a string: Post.includes(:comments).where("comments.title = 'foo'").references(:comments) If you don't rely on implicit join references you can disable the feature entirely by setting `config.active_record.disable_implicit_join_references = true`.
* Update tests and fix Finders readmeDmitriy Zaporozhets2014-02-251-5/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move services for collecting items to FindersDmitriy Zaporozhets2014-02-256-0/+285
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>