1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/src/applications
epriestley a115810912 Give projects a proper on-demand datasource
Summary:
Fixes T5614. Ref T4420. Other than the "users" datasource and a couple of others, many datasources ignore what the user typed and just return all results, then rely on the client to filter them.

This works fine for rarely used ("legalpad documents") or always small ("task priorities", "applications") datasets, but is something we should graudally move away from as datasets get larger.

Add a token table to projects, populate it, and use it to drive the datasource query. Additionally, expose it on the applicationsearch UI.

Test Plan:
  - Ran migration.
  - Manually checked the table.
  - Searched for projects by name from ApplicationSearch.
  - Searched for projects by name from typeahead.
  - Manually checked the typeahead response.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T5614, T4420

Differential Revision: https://secure.phabricator.com/D9896
2014-07-17 16:35:54 -07:00
..
aphlict/management Try nodejs before node when starting notification server 2014-06-07 13:56:23 -07:00
arcanist/conduit Remove @group annotations 2014-07-10 08:12:48 +10:00
audit Modernize "user, project or package" typeahead datasource 2014-07-17 15:45:21 -07:00
auth Recover from a broken external OAuth2 account 2014-07-15 13:39:56 -07:00
base Remove @group annotations 2014-07-10 08:12:48 +10:00
cache Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
calendar Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
chatlog Remove @group annotations 2014-07-10 08:12:48 +10:00
conduit Remove user-independent date and time functions from Phabricator 2014-07-13 12:03:17 +10:00
config Security - disable conduit act as user by default 2014-07-10 15:43:53 -07:00
conpherence Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
countdown Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
daemon Remove user-independent date and time functions from Phabricator 2014-07-13 12:03:17 +10:00
dashboard Allow dashboard panels to be archived 2014-07-01 17:50:28 -07:00
differential Modernize "user or project" typeahead datasources 2014-07-17 15:45:07 -07:00
diffusion Make typeahead datasources default to PHID type icons 2014-07-17 15:49:11 -07:00
diviner Fix an issue with Diviner symbol rule using incorrect logic 2014-07-02 04:58:23 -07:00
doorkeeper Remove all edge events 2014-07-17 15:41:42 -07:00
draft/storage
drydock Remove @group annotations 2014-07-10 08:12:48 +10:00
fact Set device to false for all pages which don't specify device readiness 2014-06-23 15:15:11 -07:00
feed Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
files Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
flag Remove @group annotations 2014-07-10 08:12:48 +10:00
harbormaster Modernize "build plans" typeahead datasource 2014-07-10 16:20:58 -07:00
help Add support for aural-only and visual-only elements 2014-05-01 07:18:18 -07:00
herald Support placeholder text in Herald 2014-07-17 15:55:43 -07:00
home Remove all device = true from page construction 2014-06-23 15:18:14 -07:00
legalpad Make typeahead datasources default to PHID type icons 2014-07-17 15:49:11 -07:00
lipsum Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
macro Make typeahead datasources default to PHID type icons 2014-07-17 15:49:11 -07:00
mailinglists Make typeahead datasources default to PHID type icons 2014-07-17 15:49:11 -07:00
maniphest Modernize "owner" typeahead datasource 2014-07-17 15:49:00 -07:00
meta Modernize global search typeahead datasource 2014-07-17 15:48:36 -07:00
metamta Modernize "mailable" typeahead datasources 2014-07-17 15:44:29 -07:00
notification Make HTTP errors returned from the Aphlict server more specific 2014-07-18 09:01:46 +10:00
nuance Remove @group annotations 2014-07-10 08:12:48 +10:00
oauthserver Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
owners Make typeahead datasources default to PHID type icons 2014-07-17 15:49:11 -07:00
passphrase Allow linking to passphrase credential via remarkup 2014-06-25 14:59:12 -07:00
paste Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
people Give projects a proper on-demand datasource 2014-07-17 16:35:54 -07:00
phame Remove @group annotations 2014-07-10 08:12:48 +10:00
phid Remove @group annotations 2014-07-10 08:12:48 +10:00
phlux Remove all device = true from page construction 2014-06-23 15:18:14 -07:00
pholio Modernize "mailable" typeahead datasources 2014-07-17 15:44:29 -07:00
phortune Update Phortune UI elements 2014-07-13 09:18:50 -07:00
phpast Remove all device = true from page construction 2014-06-23 15:18:14 -07:00
phragment Remove @group annotations 2014-07-10 08:12:48 +10:00
phrequent Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
phriction Adjust Phriction remarkup rule priority 2014-07-17 14:49:11 -07:00
policy Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
ponder Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
project Give projects a proper on-demand datasource 2014-07-17 16:35:54 -07:00
releeph Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
remarkup/conduit When a conduit method requires a string constant, call it "string-const" not "enum" 2014-05-14 21:59:03 -07:00
repository Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
search Modernize "owner" typeahead datasource 2014-07-17 15:49:00 -07:00
settings Remove user-independent date and time functions from Phabricator 2014-07-13 12:03:17 +10:00
slowvote Modernize "users" typeahead datasource 2014-07-17 15:44:18 -07:00
subscriptions Remove all edge events 2014-07-17 15:41:42 -07:00
support/application Whitelist allowed editor protocols 2014-03-17 13:00:37 -07:00
system Remove all edge events 2014-07-17 15:41:42 -07:00
tokens Remove all device = true from page construction 2014-06-23 15:18:14 -07:00
transactions Modernize Project/Object edges 2014-07-17 15:42:19 -07:00
typeahead Give projects a proper on-demand datasource 2014-07-17 16:35:54 -07:00
uiexample Slimmer Shade Tags 2014-06-26 14:19:32 -07:00
xhprof Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00