Page MenuHomePhabricator

Allow repository push logs to be filtered by pusher and repository
ClosedPublic

Authored by epriestley on Dec 5 2013, 5:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 12:10 PM
Unknown Object (File)
Thu, Dec 12, 8:01 AM
Unknown Object (File)
Tue, Dec 10, 11:08 PM
Unknown Object (File)
Wed, Dec 4, 4:11 AM
Unknown Object (File)
Sat, Nov 23, 12:02 PM
Unknown Object (File)
Sat, Nov 23, 12:02 PM
Unknown Object (File)
Sat, Nov 23, 12:02 PM
Unknown Object (File)
Sat, Nov 23, 11:43 AM
Subscribers

Details

Summary

Ref T4195. Add UI options to filter push logs by pusher and repository. Add a link from the repository view page to the push logs.

Test Plan

Viewed a hosted repository, clicked logs link, saw logs. Filtered lgos by repo/pusher.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan added inline comments.
src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php
15

Why filter for type here and not below? Looks like both typeaheads are configured for end points that only return one type of object so its not necessary in either case?

src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php
15

Users can access /pushlog/?repositories=T123,D22 and I don't want to fill the database up with garbage. If we don't filter, they'll prefill in the typeahead and things will generally be confusing. Users won't be able to typeahead them or cause any real damage, but this is a little cleaner.