aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/skins/default/xui
diff options
context:
space:
mode:
authorthickbrick2011-03-28 20:11:12 +0200
committerthickbrick2011-03-28 20:11:12 +0200
commitf6347b941b08a620d82ba5a11254362f392a439e (patch)
treefecfdfd1c0e3e110e0df132898192201565e8270 /linden/indra/newview/skins/default/xui
parentFix #811: Map tiles are deformed when NOT on Aurora. (diff)
downloadmeta-impy-f6347b941b08a620d82ba5a11254362f392a439e.zip
meta-impy-f6347b941b08a620d82ba5a11254362f392a439e.tar.gz
meta-impy-f6347b941b08a620d82ba5a11254362f392a439e.tar.bz2
meta-impy-f6347b941b08a620d82ba5a11254362f392a439e.tar.xz
Sync media filter patch to Henri Beauchamp's MediaFilter_v4
Compared to v3, this adds resolving domains to IPs in order to list them and match them against listed IPs. Also shows both the full stream url and the munged domain that will be added to the lists.
Diffstat (limited to 'linden/indra/newview/skins/default/xui')
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/floater_media_filter.xml39
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/notifications.xml8
2 files changed, 34 insertions, 13 deletions
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_media_filter.xml b/linden/indra/newview/skins/default/xui/en-us/floater_media_filter.xml
index 9b7355c..5faaf1a 100644
--- a/linden/indra/newview/skins/default/xui/en-us/floater_media_filter.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/floater_media_filter.xml
@@ -15,47 +15,64 @@
15 background_visible="true" mouse_opaque="true" 15 background_visible="true" mouse_opaque="true"
16 multi_select="false" column_padding="5" draw_border="true" draw_heading="true" 16 multi_select="false" column_padding="5" draw_border="true" draw_heading="true"
17 bottom_delta="-205" left="15" height="200" width="280"> 17 bottom_delta="-205" left="15" height="200" width="280">
18 <column name="whitelist_col" label="Allowed domains/objects" dynamicwidth="true" /> 18 <column name="whitelist_col" label="Allowed domains or server objects" dynamicwidth="true" />
19 </scroll_list> 19 </scroll_list>
20 20
21 <scroll_list name="blacklist_list" follows="top|bottom|right" 21 <scroll_list name="blacklist_list" follows="top|bottom|right"
22 background_visible="true" mouse_opaque="true" 22 background_visible="true" mouse_opaque="true"
23 multi_select="false" column_padding="5" draw_border="true" draw_heading="true" 23 multi_select="false" column_padding="5" draw_border="true" draw_heading="true"
24 bottom_delta="0" right="-15" height="200" width="280"> 24 bottom_delta="0" right="-15" height="200" width="280">
25 <column name="blacklist_col" label="Blocked domains/objects" dynamicwidth="true" /> 25 <column name="blacklist_col" label="Blocked domains or server objects" dynamicwidth="true" />
26 </scroll_list> 26 </scroll_list>
27 27
28 <button name="add_whitelist" font="SansSerif" label="Add..." halign="center" 28 <button name="add_whitelist" font="SansSerif" label="Add..." halign="center"
29 tool_tip="Add a server to the whitelist"
29 enabled="true" mouse_opaque="true" follows="bottom|left" 30 enabled="true" mouse_opaque="true" follows="bottom|left"
30 bottom_delta="-25" left="30" height="20" width="80" /> 31 bottom_delta="-25" left="15" height="20" width="80" />
31 32
32 <button name="remove_whitelist" font="SansSerif" label="Remove" halign="center" 33 <button name="remove_whitelist" font="SansSerif" label="Remove" halign="center"
34 tool_tip="Remove the selected server from the whitelist"
33 enabled="true" mouse_opaque="true" follows="bottom|left" 35 enabled="true" mouse_opaque="true" follows="bottom|left"
34 bottom_delta="0" left_delta="100" height="20" width="80" /> 36 bottom_delta="0" left="100" height="20" width="80" />
35 37
36 <button name="clear_lists" font="SansSerif" label="Clear lists" halign="center" 38 <button name="clear_lists" font="SansSerif" label="Clear lists" halign="center"
37 enabled="true" mouse_opaque="true" follows="bottom|left|right" 39 tool_tip="Clear all lists"
38 bottom_delta="0" left_delta="110" height="20" width="120" /> 40 enabled="true" mouse_opaque="true" follows="bottom|left"
41 bottom_delta="0" left="205" height="20" width="90" />
42
43 <button name="show_ips" font="SansSerif" label="Show IPs" halign="center"
44 tool_tip="Show the IP associated with each domain name (makes the viewer pause while the list is refreshed, because of DNS lookups)"
45 enabled="true" mouse_opaque="true" follows="bottom|right"
46 bottom_delta="0" right="-205" height="20" width="90" />
39 47
40 <button name="add_blacklist" font="SansSerif" label="Add..." halign="center" 48 <button name="add_blacklist" font="SansSerif" label="Add..." halign="center"
49 tool_tip="Add a server to the blacklist"
41 enabled="true" mouse_opaque="true" follows="bottom|right" 50 enabled="true" mouse_opaque="true" follows="bottom|right"
42 bottom_delta="0" right="-130" height="20" width="80" /> 51 bottom_delta="0" right="-100" height="20" width="80" />
43 52
44 <button name="remove_blacklist" font="SansSerif" label="Remove" halign="center" 53 <button name="remove_blacklist" font="SansSerif" label="Remove" halign="center"
54 tool_tip="Remove the selected server from the blacklist"
45 enabled="true" mouse_opaque="true" follows="bottom|right" 55 enabled="true" mouse_opaque="true" follows="bottom|right"
46 bottom_delta="0" right="-30" height="20" width="80" /> 56 bottom_delta="0" right="-15" height="20" width="80" />
47 57
48 <text name="add_text" font="SansSerif" mouse_opaque="true" enabled="true" 58 <text name="add_text" font="SansSerif" mouse_opaque="true"
49 bottom_delta="-25" left="20" height="20" width="500" follows="left|right|bottom"> 59 bottom_delta="-25" left="20" height="20" width="450" follows="left|right|bottom">
50 New domain: 60 New domain:
51 </text> 61 </text>
52 62
63 <check_box name="match_ip" label="Add/remove matching IP" initial_value="true"
64 tool_tip="Add or remove any IP associated with the added or removed domain name"
65 font="SansSerifSmall" mouse_opaque="true" radio_style="false"
66 bottom_delta="2" right="-95" height="16" width="70" follows="right|bottom" />
67
53 <line_editor name="input_domain" max_length="255" font="SansSerif" enabled="false" 68 <line_editor name="input_domain" max_length="255" font="SansSerif" enabled="false"
69 tool_tip="Enter the new URL, domain name, IP or scripted object HTTP server path here"
54 select_all_on_focus_received="true" select_on_focus="true" 70 select_all_on_focus_received="true" select_on_focus="true"
55 bevel_style="in" border_style="line" border_thickness="1" 71 bevel_style="in" border_style="line" border_thickness="1"
56 bottom_delta="-20" right="-100" height="20" left="15" follows="left|bottom|right"/> 72 bottom_delta="-22" right="-100" height="20" left="15" follows="left|bottom|right"/>
57 73
58 <button name="commit_domain" font="SansSerif" label="Add" halign="center" enabled="false" 74 <button name="commit_domain" font="SansSerif" label="Add" halign="center" enabled="false"
75 tool_tip="Add to the list"
59 mouse_opaque="true" follows="bottom|right" 76 mouse_opaque="true" follows="bottom|right"
60 bottom_delta="0" right="-15" height="20" width="80"/> 77 bottom_delta="0" right="-15" height="20" width="80"/>
61</floater> 78</floater>
diff --git a/linden/indra/newview/skins/default/xui/en-us/notifications.xml b/linden/indra/newview/skins/default/xui/en-us/notifications.xml
index 27f5529..aa4a1b5 100644
--- a/linden/indra/newview/skins/default/xui/en-us/notifications.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/notifications.xml
@@ -7324,11 +7324,15 @@ The Second Life Terms of Service do not allow you to opt out. By logging in to S
7324 icon="alert.tga" 7324 icon="alert.tga"
7325 name="MediaAlert" 7325 name="MediaAlert"
7326 type="alert"> 7326 type="alert">
7327The owner of this parcel has requested [TYPE] URL pertaining to the following domain or scripted object to be loaded by your viewer[WARNING]: 7327The owner of this parcel has requested the following [TYPE] URL to be loaded by your viewer:
7328
7329[URL]
7330
7331You may choose to allow or deny the corresponding domain or in-world scripted object server:
7328 7332
7329[DOMAIN] 7333[DOMAIN]
7330 7334
7331"Allow" and "Deny" apply only for this session, while "Blacklist" and "Whitelist" apply forever to the above domain or scripted object. 7335"Allow" and "Deny" apply only for this session, while "Blacklist" and "Whitelist" apply forever.
7332 <form name="form"> 7336 <form name="form">
7333 <button 7337 <button
7334 index="0" 7338 index="0"