Commit Graph

15 Commits (8f892d0f36fda170a5cecf0aea89887d6d0e45ef)

Author SHA1 Message Date
Lynx Linden 023bbc608d DEV-44136: Don't show previous search results when opening Find floater.
We now tear down the web view when we close the find floater. This
means that we don't show the previous search results when performing a
new search. It also makes for more efficient use of resources as we
don't have a web view continually running in the background. (This is
how the Help Browser currently works too.)
2010-02-18 16:48:02 +00:00
Lynx Linden 07aa9421e6 EXT-4145: Added a secondlife:///app/search SLapp
Displays the search floater and performs a search. You can specify an
optional category and an optional search string. See the wiki docs for
usage details: https://wiki.lindenlab.com/wiki/Viewer_2.0_SLapps
2010-01-11 11:39:37 +00:00
Lynx Linden 3726d3bda8 DEV-44136: Hide previous results when performing new search.
When a new search is performed, we first display a blank page in the
search floater so that the previous results are not visible while the
new results are being retrieved from the search server.
2010-01-04 11:42:48 +00:00
Lynx Linden 931591c0ab EXT-3496: Add a common authentication key for search and home.
Search and the Home sidetray now have their own specific
authentication keys that they support from login.cgi, but they
fallback to a common key as follows:

Search: "search_token", fallback to "auth_token"
Home: "home_sidetray_token", fallback to "auth_token"
2009-12-15 23:45:38 +00:00
Lynx Linden 870d4449f5 EXT-3441: Support various substitutions for Search URL.
The search URL is now specified in app_settings/settings.xml (instead
of in floater_search.xml), and it is now defined more flexibly with
support for various substitution strings, such as [QUERY], [AUTH_KEY],
[MATURITY], [GODLIKE], etc.

I pulled the common substitution code out into a new static method,
LLWeb::expandURLSubstitutions(). This provides support for common
strings like [VERSION], [CHANNEL], [LANGUAGE], [OS], etc. The Help and
Home sidetray code has been updated to use this new function, to avoid
replicating this behavior 3 times.

I also cleaned up the app_settings/settings.xml file and removed the
old search keys of: SearchURLDefault, SearchURLQuery, and
SearchURLSuffix2.
2009-12-15 16:00:28 +00:00
Lynx Linden d06ef88783 DEV-43679: Display god level warning in Search window.
If you change your god level from when you performed a search, the
search results may be inappropriate for your god level (we pass the
current god status to the search web pages). When this is the case, we
now display a warning at the bottom of the search floater to let the
user know that they should redo their search.
2009-12-10 19:02:33 +00:00
Lynx Linden 0c607a6b88 DEV-43679: Pass god mode through to search.
The state of gAgent.isGodlike() is now passed through to the Search
web pages via a new g=[0|1] query parameter.
2009-12-08 15:16:04 +00:00
Lynx Linden d491050c55 DEV-43439: Added navigation buttons to the Home side panel.
Added Back, Forward, and Home buttons to the web view for the Home
side panel. Still more work to do here, but the basic functionality
is there; albeit hardcoded to secondlife.com.

I notice that you can click Back on the first page. Seems to be an
issue for the general media browser too. I'll file a JIRA for that.
2009-12-02 21:18:59 +00:00
Lynx Linden 3a2fcad0cb DEV-41358: pass localization information to the Search web pages via a
new ?lang=<LANG> query parameter.
2009-12-01 13:07:41 +00:00
Lynx Linden 6b14f9a48f DEV-41358: Changed format of preferred maturity for search.
Now preferred maturity is passed to the search web pages as an
r={13|21|42} query param.
2009-11-11 22:42:25 +00:00
Lynx Linden a3017978d3 DEV-41358: Added user's preferred maturity level to search URL.
The Search URL now includes a "r=" query parameter to specify the
user's preferred maturity rating. This can be "pg" or "pg,mature"
or "pg,mature,adult".
2009-11-11 00:25:33 +00:00
Lynx Linden 068e132039 DEV-41358 DEV-41362: Get an authentication token from login.cgi and
pass this token through to the search web pages via a q= query
parameter in the search URL. This will let the search facility
determine the user's maturity and teen settings.

I also now escape the search string that the user typed in, 'cos they
could type anything.

Thanks to Mani for showing me how to get responses from login.cgi.
2009-11-04 09:12:32 +00:00
Martin Reddy 99aa77baae DEV-41358: Include the current user's maturity and teen ratings in the
URL that we send to the Search web page. This can be used to determine
the maturity levels to display. These bools are passed as query params
in the URL (as agreed upon with the search team).
2009-11-02 11:37:44 +00:00
Martin Reddy eb620735fc DEV-41358: Added support for search categories.
You can now specify a search category for all web-based searches,
e.g., "all" (default), "people", "places", "events", "groups", "wiki",
"destinations", "classifieds". Specifying a category will add the
relevant subdir to the search URL, as specified by the search team.
2009-10-20 14:07:50 +00:00
Martin Reddy 4ac6e30595 DEV-41359: Added a new web-based Search floater, LLFloaterSearch.
This new Search floater replaces the current XUI-based search
interface with one that is implemented entirely as a web service.

This is currently pointing toward a temporary search URL. The URL will
be updated when the stable version is available.
2009-10-19 11:59:57 +00:00