FAbrowser/settings.tscn
2024-07-22 11:06:25 -04:00

487 lines
15 KiB
Text

[gd_scene load_steps=6 format=2]
[ext_resource path="res://scripts/PrivacyNotice.gd" type="Script" id=1]
[ext_resource path="res://scripts/settings_menu.gd" type="Script" id=2]
[ext_resource path="res://scripts/httptest.gd" type="Script" id=3]
[ext_resource path="res://theme_panels/pane.tres" type="StyleBox" id=4]
[ext_resource path="res://scripts/ImportDialog.gd" type="Script" id=5]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="ColorRect" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0.207843, 0.231373, 0.270588, 1 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="httptest" type="HTTPRequest" parent="."]
script = ExtResource( 3 )
[node name="ImportDialog" type="PopupPanel" parent="."]
margin_left = 337.0
margin_top = 239.0
margin_right = 667.0
margin_bottom = 401.0
custom_styles/panel = ExtResource( 4 )
popup_exclusive = true
script = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VB" type="VBoxContainer" parent="ImportDialog"]
margin_left = 8.0
margin_top = 8.0
margin_right = 322.0
margin_bottom = 154.0
__meta__ = {
"_edit_lock_": true
}
[node name="Label" type="Label" parent="ImportDialog/VB"]
margin_right = 314.0
margin_bottom = 14.0
text = "Import Watches"
[node name="Username" type="LineEdit" parent="ImportDialog/VB"]
margin_top = 18.0
margin_right = 314.0
margin_bottom = 44.0
placeholder_text = "Username"
[node name="Note" type="RichTextLabel" parent="ImportDialog/VB"]
margin_top = 48.0
margin_right = 314.0
margin_bottom = 120.0
size_flags_vertical = 3
text = "This will import the watchlist from a user.
Note that if the page is only visible to logged in users, make sure the session cookie textbox is filled out first."
[node name="Buttons" type="HBoxContainer" parent="ImportDialog/VB"]
margin_top = 124.0
margin_right = 314.0
margin_bottom = 146.0
[node name="Close" type="Button" parent="ImportDialog/VB/Buttons"]
margin_right = 155.0
margin_bottom = 22.0
size_flags_horizontal = 3
text = "Close"
[node name="Import" type="Button" parent="ImportDialog/VB/Buttons"]
margin_left = 159.0
margin_right = 314.0
margin_bottom = 22.0
size_flags_horizontal = 3
text = "Import"
[node name="HTTPRequest" type="HTTPRequest" parent="ImportDialog"]
timeout = 10.0
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 8.0
margin_top = 8.0
margin_right = -8.0
margin_bottom = -8.0
__meta__ = {
"_edit_lock_": true
}
[node name="Sc" type="ScrollContainer" parent="VBoxContainer"]
margin_right = 1008.0
margin_bottom = 556.0
size_flags_vertical = 3
follow_focus = true
scroll_deadzone = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VB" type="VBoxContainer" parent="VBoxContainer/Sc"]
margin_right = 996.0
margin_bottom = 683.0
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="VBoxContainer/Sc/VB"]
margin_right = 996.0
margin_bottom = 35.0
text = "Enter the names of the accounts you (or someone else, follows.)
Write them as they appear in the URL. (no underscores)"
autowrap = true
[node name="UsersInput" type="HFlowContainer" parent="VBoxContainer/Sc/VB"]
margin_top = 39.0
margin_right = 996.0
margin_bottom = 67.0
[node name="Watches" type="LineEdit" parent="VBoxContainer/Sc/VB/UsersInput"]
unique_name_in_owner = true
margin_right = 861.0
margin_bottom = 28.0
rect_min_size = Vector2( 128, 0 )
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Imp" type="Button" parent="VBoxContainer/Sc/VB/UsersInput"]
margin_left = 865.0
margin_right = 996.0
margin_bottom = 28.0
text = "Import From User"
[node name="Label8" type="Label" parent="VBoxContainer/Sc/VB"]
margin_top = 71.0
margin_right = 996.0
margin_bottom = 87.0
text = "Enter some search queries here to keep up with new art from other users. One search query per line."
autowrap = true
[node name="Searches" type="TextEdit" parent="VBoxContainer/Sc/VB"]
unique_name_in_owner = true
margin_top = 91.0
margin_right = 996.0
margin_bottom = 155.0
rect_min_size = Vector2( 0, 64 )
wrap_enabled = true
[node name="Label3" type="Label" parent="VBoxContainer/Sc/VB"]
margin_top = 159.0
margin_right = 996.0
margin_bottom = 213.0
text = "Last viewed submission id.
Useful if migrating from the submisison notifications. Enter the ID of the last submission you looked at and nothing uploaded before that will be shown."
autowrap = true
[node name="LastID" type="SpinBox" parent="VBoxContainer/Sc/VB"]
unique_name_in_owner = true
margin_top = 217.0
margin_right = 996.0
margin_bottom = 245.0
max_value = 1e+09
[node name="Label4" type="Label" parent="VBoxContainer/Sc/VB"]
margin_top = 249.0
margin_right = 996.0
margin_bottom = 284.0
text = "Session cookie(s).
Optional. Required for Mature and Adult content... And for the artists that... Ugh... only allow logged in users to view their art."
autowrap = true
[node name="CookieInput" type="HBoxContainer" parent="VBoxContainer/Sc/VB"]
margin_top = 288.0
margin_right = 996.0
margin_bottom = 316.0
[node name="Cookies" type="LineEdit" parent="VBoxContainer/Sc/VB/CookieInput"]
unique_name_in_owner = true
visible = false
margin_right = 900.0
margin_bottom = 26.0
size_flags_horizontal = 3
secret = true
placeholder_text = "a=00000000-0000-0000-0000-000000000000; b=00000000-0000-0000-0000-000000000000"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="a" type="Label" parent="VBoxContainer/Sc/VB/CookieInput"]
margin_top = 6.0
margin_right = 16.0
margin_bottom = 22.0
text = "a="
[node name="CookieA" type="LineEdit" parent="VBoxContainer/Sc/VB/CookieInput"]
unique_name_in_owner = true
margin_left = 20.0
margin_right = 459.0
margin_bottom = 28.0
size_flags_horizontal = 3
secret = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="b" type="Label" parent="VBoxContainer/Sc/VB/CookieInput"]
margin_left = 463.0
margin_top = 6.0
margin_right = 480.0
margin_bottom = 22.0
text = "b="
[node name="CookieB" type="LineEdit" parent="VBoxContainer/Sc/VB/CookieInput"]
unique_name_in_owner = true
margin_left = 484.0
margin_right = 924.0
margin_bottom = 28.0
size_flags_horizontal = 3
secret = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ShowCB" type="CheckBox" parent="VBoxContainer/Sc/VB/CookieInput"]
margin_left = 928.0
margin_right = 996.0
margin_bottom = 28.0
text = "Show"
flat = true
[node name="HFlowContainer" type="HFlowContainer" parent="VBoxContainer/Sc/VB"]
margin_top = 320.0
margin_right = 996.0
margin_bottom = 344.0
custom_constants/hseparation = 10
[node name="ShowGallery" type="CheckBox" parent="VBoxContainer/Sc/VB/HFlowContainer"]
unique_name_in_owner = true
margin_right = 119.0
margin_bottom = 24.0
pressed = true
text = "Show Gallery"
flat = true
[node name="ShowScraps" type="CheckBox" parent="VBoxContainer/Sc/VB/HFlowContainer"]
unique_name_in_owner = true
margin_left = 129.0
margin_right = 246.0
margin_bottom = 24.0
text = "Show Scraps"
flat = true
[node name="ShowFavorites" type="CheckBox" parent="VBoxContainer/Sc/VB/HFlowContainer"]
unique_name_in_owner = true
margin_left = 256.0
margin_right = 388.0
margin_bottom = 24.0
text = "Show Favorites"
flat = true
[node name="Label5" type="Label" parent="VBoxContainer/Sc/VB"]
visible = false
margin_top = 206.0
margin_right = 1008.0
margin_bottom = 220.0
text = "When clicking a thumbnail, "
autowrap = true
[node name="OpenWhere" type="OptionButton" parent="VBoxContainer/Sc/VB"]
unique_name_in_owner = true
visible = false
margin_top = 206.0
margin_right = 1008.0
margin_bottom = 228.0
text = "Open in preview sidebar"
items = [ "Open in preview sidebar", null, false, 0, null, "Open in web browser", null, false, 1, null, "Download", null, false, 2, null ]
selected = 0
[node name="Label6" type="Label" parent="VBoxContainer/Sc/VB"]
margin_top = 348.0
margin_right = 996.0
margin_bottom = 402.0
text = "Keyword Blacklist.
Submissions with these words in their titles will not show up in your feed. Case-insensitive. One entry per line.
Examples: \"ych\", \"streaming\", \"announcement\""
autowrap = true
[node name="BlackList" type="TextEdit" parent="VBoxContainer/Sc/VB"]
unique_name_in_owner = true
margin_top = 406.0
margin_right = 996.0
margin_bottom = 470.0
rect_min_size = Vector2( 0, 64 )
wrap_enabled = true
[node name="Label9" type="Label" parent="VBoxContainer/Sc/VB"]
margin_top = 474.0
margin_right = 996.0
margin_bottom = 528.0
text = "User Blacklist
Put the names of users in here and submissions posted by them will be hidden.
Write the names how they appear on the webpage. (with letter case and underscores)"
autowrap = true
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Sc/VB"]
margin_top = 532.0
margin_right = 996.0
margin_bottom = 560.0
[node name="UserBL" type="LineEdit" parent="VBoxContainer/Sc/VB/HBoxContainer"]
unique_name_in_owner = true
margin_right = 924.0
margin_bottom = 28.0
rect_min_size = Vector2( 128, 0 )
size_flags_horizontal = 3
secret = true
[node name="ShowBL" type="CheckBox" parent="VBoxContainer/Sc/VB/HBoxContainer"]
margin_left = 928.0
margin_right = 996.0
margin_bottom = 28.0
text = "Show"
flat = true
[node name="Label7" type="Label" parent="VBoxContainer/Sc/VB"]
margin_top = 564.0
margin_right = 996.0
margin_bottom = 599.0
text = "Refresh interval.
How often should the programme check for new submissions when there are none. Set to 0 to disable."
autowrap = true
[node name="ReloadInt" type="SpinBox" parent="VBoxContainer/Sc/VB"]
unique_name_in_owner = true
margin_top = 603.0
margin_right = 996.0
margin_bottom = 631.0
max_value = 168.0
step = 0.5
value = 2.0
allow_greater = true
suffix = "hours"
[node name="Label2" type="Label" parent="VBoxContainer/Sc/VB"]
margin_top = 635.0
margin_right = 996.0
margin_bottom = 651.0
text = "Quick download directories."
[node name="DownloadDirs" type="VBoxContainer" parent="VBoxContainer/Sc/VB"]
unique_name_in_owner = true
margin_top = 655.0
margin_right = 996.0
margin_bottom = 655.0
[node name="AddDir" type="Button" parent="VBoxContainer/Sc/VB"]
margin_top = 659.0
margin_right = 104.0
margin_bottom = 683.0
size_flags_horizontal = 0
text = "Add Directory"
[node name="Hflex" type="HFlowContainer" parent="VBoxContainer"]
margin_top = 560.0
margin_right = 1008.0
margin_bottom = 584.0
[node name="Cancel" type="Button" parent="VBoxContainer/Hflex"]
visible = false
margin_left = 131.0
margin_right = 185.0
margin_bottom = 22.0
size_flags_horizontal = 6
text = "Cancel"
[node name="SaveButton" type="Button" parent="VBoxContainer/Hflex"]
margin_left = 403.0
margin_right = 605.0
margin_bottom = 24.0
size_flags_horizontal = 6
text = "Save and Show Submissions"
[node name="Apply" type="Button" parent="VBoxContainer/Hflex"]
visible = false
margin_left = 747.0
margin_right = 795.0
margin_bottom = 22.0
size_flags_horizontal = 6
text = "Apply"
[node name="PrivacyNotice" type="PopupPanel" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -512.0
margin_top = -300.0
margin_right = -210.0
margin_bottom = -88.0
popup_exclusive = true
script = ExtResource( 1 )
[node name="VB" type="VBoxContainer" parent="PrivacyNotice"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 4.0
margin_right = -4.0
margin_bottom = -4.0
[node name="Label" type="Label" parent="PrivacyNotice/VB"]
margin_right = 294.0
margin_bottom = 16.0
text = "Privacy Notice!"
[node name="NoticeText" type="RichTextLabel" parent="PrivacyNotice/VB"]
margin_top = 20.0
margin_right = 294.0
margin_bottom = 120.0
size_flags_vertical = 3
bbcode_enabled = true
bbcode_text = "This software communicates with the Fur Affinity servers which requires communicating with Cloudflare servers and therefore requires that you agree to both the [url=https://www.furaffinity.net/privacy]Fur Affinity[/url] and [url=https://www.cloudflare.com/privacypolicy/]Cloudflare Privacy Policy[/url]."
text = "This software communicates with the Fur Affinity servers which requires communicating with Cloudflare servers and therefore requires that you agree to both the Fur Affinity and Cloudflare Privacy Policy."
[node name="CheckBox1" type="CheckBox" parent="PrivacyNotice/VB"]
margin_top = 124.0
margin_right = 294.0
margin_bottom = 148.0
text = "I agree to the Fur Affinity Privacy Policy"
flat = true
[node name="CheckBox2" type="CheckBox" parent="PrivacyNotice/VB"]
margin_top = 152.0
margin_right = 294.0
margin_bottom = 176.0
text = "I agree to the Cloudflare Privacy Policy"
flat = true
[node name="HBox" type="HFlowContainer" parent="PrivacyNotice/VB"]
margin_top = 180.0
margin_right = 294.0
margin_bottom = 204.0
[node name="Decline" type="Button" parent="PrivacyNotice/VB/HBox"]
margin_right = 147.0
margin_bottom = 24.0
size_flags_horizontal = 7
text = "Decline"
[node name="Accept" type="Button" parent="PrivacyNotice/VB/HBox"]
margin_left = 151.0
margin_right = 293.0
margin_bottom = 24.0
size_flags_horizontal = 7
disabled = true
text = "Accept"
[connection signal="request_completed" from="httptest" to="httptest" method="_on_httptest_request_completed"]
[connection signal="pressed" from="ImportDialog/VB/Buttons/Close" to="ImportDialog" method="_on_Close_pressed"]
[connection signal="pressed" from="ImportDialog/VB/Buttons/Import" to="ImportDialog" method="_on_Import_pressed"]
[connection signal="request_completed" from="ImportDialog/HTTPRequest" to="ImportDialog" method="_on_HTTPRequest_request_completed"]
[connection signal="pressed" from="VBoxContainer/Sc/VB/UsersInput/Imp" to="." method="_on_Imp_pressed"]
[connection signal="toggled" from="VBoxContainer/Sc/VB/CookieInput/ShowCB" to="." method="_on_ShowCB_toggled"]
[connection signal="toggled" from="VBoxContainer/Sc/VB/HBoxContainer/ShowBL" to="." method="_on_ShowBL_toggled"]
[connection signal="pressed" from="VBoxContainer/Sc/VB/AddDir" to="." method="_on_AddDir_pressed"]
[connection signal="pressed" from="VBoxContainer/Hflex/Cancel" to="." method="_on_Cancel_pressed"]
[connection signal="pressed" from="VBoxContainer/Hflex/SaveButton" to="." method="_on_SaveButton_pressed"]
[connection signal="pressed" from="VBoxContainer/Hflex/Apply" to="." method="_on_Apply_pressed"]
[connection signal="meta_clicked" from="PrivacyNotice/VB/NoticeText" to="PrivacyNotice" method="_on_NoticeText_meta_clicked"]
[connection signal="toggled" from="PrivacyNotice/VB/CheckBox1" to="PrivacyNotice" method="_on_CheckBox1_toggled"]
[connection signal="toggled" from="PrivacyNotice/VB/CheckBox2" to="PrivacyNotice" method="_on_CheckBox2_toggled"]
[connection signal="pressed" from="PrivacyNotice/VB/HBox/Decline" to="PrivacyNotice" method="_on_Decline_pressed"]
[connection signal="pressed" from="PrivacyNotice/VB/HBox/Accept" to="PrivacyNotice" method="_on_Accept_pressed"]