forked from openlp/openlp
Head
This commit is contained in:
commit
e921e63e35
@ -36,8 +36,7 @@ from openlp.core.lib import Settings, translate
|
|||||||
|
|
||||||
class FormattingTags(object):
|
class FormattingTags(object):
|
||||||
"""
|
"""
|
||||||
Static Class to HTML Tags to be access around the code the list is managed
|
Static Class to HTML Tags to be access around the code the list is managed by the Options Tab.
|
||||||
by the Options Tab.
|
|
||||||
"""
|
"""
|
||||||
html_expands = []
|
html_expands = []
|
||||||
|
|
||||||
@ -56,12 +55,11 @@ class FormattingTags(object):
|
|||||||
tags = []
|
tags = []
|
||||||
for tag in FormattingTags.html_expands:
|
for tag in FormattingTags.html_expands:
|
||||||
if not tag[u'protected'] and not tag.get(u'temporary'):
|
if not tag[u'protected'] and not tag.get(u'temporary'):
|
||||||
# Using dict ensures that copy is made and encoding of values
|
# Using dict ensures that copy is made and encoding of values a little later does not affect tags in
|
||||||
# a little later does not affect tags in the original list
|
# the original list
|
||||||
tags.append(dict(tag))
|
tags.append(dict(tag))
|
||||||
tag = tags[-1]
|
tag = tags[-1]
|
||||||
# Remove key 'temporary' from tags.
|
# Remove key 'temporary' from tags. It is not needed to be saved.
|
||||||
# It is not needed to be saved.
|
|
||||||
if u'temporary' in tag:
|
if u'temporary' in tag:
|
||||||
del tag[u'temporary']
|
del tag[u'temporary']
|
||||||
for element in tag:
|
for element in tag:
|
||||||
@ -73,15 +71,12 @@ class FormattingTags(object):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def load_tags():
|
def load_tags():
|
||||||
"""
|
"""
|
||||||
Load the Tags from store so can be used in the system or used to
|
Load the Tags from store so can be used in the system or used to update the display.
|
||||||
update the display.
|
|
||||||
"""
|
"""
|
||||||
temporary_tags = [tag for tag in FormattingTags.html_expands
|
temporary_tags = [tag for tag in FormattingTags.html_expands if tag.get(u'temporary')]
|
||||||
if tag.get(u'temporary')]
|
|
||||||
FormattingTags.html_expands = []
|
FormattingTags.html_expands = []
|
||||||
base_tags = []
|
base_tags = []
|
||||||
# Append the base tags.
|
# Append the base tags.
|
||||||
# Hex Color tags from http://www.w3schools.com/html/html_colornames.asp
|
|
||||||
base_tags.append({u'desc': translate('OpenLP.FormattingTags', 'Red'),
|
base_tags.append({u'desc': translate('OpenLP.FormattingTags', 'Red'),
|
||||||
u'start tag': u'{r}',
|
u'start tag': u'{r}',
|
||||||
u'start html': u'<span style="-webkit-text-fill-color:red">',
|
u'start html': u'<span style="-webkit-text-fill-color:red">',
|
||||||
@ -195,19 +190,17 @@ class FormattingTags(object):
|
|||||||
The end tag, e. g. ``{/r}``
|
The end tag, e. g. ``{/r}``
|
||||||
|
|
||||||
* start html
|
* start html
|
||||||
The start html tag. For instance ``<span style="
|
The start html tag. For instance ``<span style="-webkit-text-fill-color:red">``
|
||||||
-webkit-text-fill-color:red">``
|
|
||||||
|
|
||||||
* end html
|
* end html
|
||||||
The end html tag. For example ``</span>``
|
The end html tag. For example ``</span>``
|
||||||
|
|
||||||
* protected
|
* protected
|
||||||
A boolean stating whether this is a build-in tag or not. Should be
|
A boolean stating whether this is a build-in tag or not. Should be ``True`` in most cases.
|
||||||
``True`` in most cases.
|
|
||||||
|
|
||||||
* temporary
|
* temporary
|
||||||
A temporary tag will not be saved, but is also considered when
|
A temporary tag will not be saved, but is also considered when displaying text containing the tag. It has
|
||||||
displaying text containing the tag. It has to be a ``boolean``.
|
to be a ``boolean``.
|
||||||
"""
|
"""
|
||||||
FormattingTags.html_expands.extend(tags)
|
FormattingTags.html_expands.extend(tags)
|
||||||
|
|
||||||
|
@ -58,6 +58,7 @@ else:
|
|||||||
|
|
||||||
from PyQt4 import QtCore
|
from PyQt4 import QtCore
|
||||||
|
|
||||||
|
from openlp.core.lib import ScreenList
|
||||||
from openlp.core.utils import delete_file, get_uno_command, get_uno_instance
|
from openlp.core.utils import delete_file, get_uno_command, get_uno_instance
|
||||||
from presentationcontroller import PresentationController, PresentationDocument
|
from presentationcontroller import PresentationController, PresentationDocument
|
||||||
|
|
||||||
@ -254,7 +255,7 @@ class ImpressDocument(PresentationDocument):
|
|||||||
window = self.document.getCurrentController().getFrame().getContainerWindow()
|
window = self.document.getCurrentController().getFrame().getContainerWindow()
|
||||||
window.setVisible(False)
|
window.setVisible(False)
|
||||||
self.presentation = self.document.getPresentation()
|
self.presentation = self.document.getPresentation()
|
||||||
self.presentation.Display = self.controller.plugin.renderer.screens.current[u'number'] + 1
|
self.presentation.Display = ScreenList().current[u'number'] + 1
|
||||||
self.control = None
|
self.control = None
|
||||||
self.create_thumbnails()
|
self.create_thumbnails()
|
||||||
return True
|
return True
|
||||||
|
@ -36,6 +36,7 @@ if os.name == u'nt':
|
|||||||
import win32ui
|
import win32ui
|
||||||
import pywintypes
|
import pywintypes
|
||||||
|
|
||||||
|
from openlp.core.lib import ScreenList
|
||||||
from presentationcontroller import PresentationController, PresentationDocument
|
from presentationcontroller import PresentationController, PresentationDocument
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
@ -252,8 +253,7 @@ class PowerpointDocument(PresentationDocument):
|
|||||||
dpi = win32ui.GetForegroundWindow().GetDC().GetDeviceCaps(88)
|
dpi = win32ui.GetForegroundWindow().GetDC().GetDeviceCaps(88)
|
||||||
except win32ui.error:
|
except win32ui.error:
|
||||||
dpi = 96
|
dpi = 96
|
||||||
renderer = self.controller.plugin.renderer
|
rect = ScreenList().current[u'size']
|
||||||
rect = renderer.screens.current[u'size']
|
|
||||||
ppt_window = self.presentation.SlideShowSettings.Run()
|
ppt_window = self.presentation.SlideShowSettings.Run()
|
||||||
if not ppt_window:
|
if not ppt_window:
|
||||||
return
|
return
|
||||||
|
@ -34,6 +34,7 @@ if os.name == u'nt':
|
|||||||
from ctypes import cdll
|
from ctypes import cdll
|
||||||
from ctypes.wintypes import RECT
|
from ctypes.wintypes import RECT
|
||||||
|
|
||||||
|
from openlp.core.lib import ScreenList
|
||||||
from presentationcontroller import PresentationController, PresentationDocument
|
from presentationcontroller import PresentationController, PresentationDocument
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
@ -120,8 +121,7 @@ class PptviewDocument(PresentationDocument):
|
|||||||
PptView task started earlier.
|
PptView task started earlier.
|
||||||
"""
|
"""
|
||||||
log.debug(u'LoadPresentation')
|
log.debug(u'LoadPresentation')
|
||||||
renderer = self.controller.plugin.renderer
|
rect = ScreenList().current[u'size']
|
||||||
rect = renderer.screens.current[u'size']
|
|
||||||
rect = RECT(rect.x(), rect.y(), rect.right(), rect.bottom())
|
rect = RECT(rect.x(), rect.y(), rect.right(), rect.bottom())
|
||||||
filepath = str(self.filepath.replace(u'/', u'\\'))
|
filepath = str(self.filepath.replace(u'/', u'\\'))
|
||||||
if not os.path.isdir(self.get_temp_folder()):
|
if not os.path.isdir(self.get_temp_folder()):
|
||||||
|
@ -5,4 +5,9 @@ sip.setapi(u'QString', 2)
|
|||||||
sip.setapi(u'QTextStream', 2)
|
sip.setapi(u'QTextStream', 2)
|
||||||
sip.setapi(u'QTime', 2)
|
sip.setapi(u'QTime', 2)
|
||||||
sip.setapi(u'QUrl', 2)
|
sip.setapi(u'QUrl', 2)
|
||||||
sip.setapi(u'QVariant', 2)
|
sip.setapi(u'QVariant', 2)
|
||||||
|
|
||||||
|
from PyQt4 import QtGui
|
||||||
|
|
||||||
|
# Only one QApplication can be created. Use QtGui.QApplication.instance() when you need to "create" a QApplication.
|
||||||
|
application = QtGui.QApplication([])
|
||||||
|
78
tests/functional/openlp_core_lib/test_formattingtags.py
Normal file
78
tests/functional/openlp_core_lib/test_formattingtags.py
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
"""
|
||||||
|
Package to test the openlp.core.lib.formattingtags package.
|
||||||
|
"""
|
||||||
|
import copy
|
||||||
|
from unittest import TestCase
|
||||||
|
|
||||||
|
from mock import patch
|
||||||
|
|
||||||
|
from openlp.core.lib import FormattingTags
|
||||||
|
|
||||||
|
|
||||||
|
TAG = {
|
||||||
|
u'end tag': '{/aa}',
|
||||||
|
u'start html': '<span>',
|
||||||
|
u'start tag': '{aa}',
|
||||||
|
u'protected': False,
|
||||||
|
u'end html': '</span>',
|
||||||
|
u'desc': 'name'
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
class TestFormattingTags(TestCase):
|
||||||
|
|
||||||
|
def tearDown(self):
|
||||||
|
"""
|
||||||
|
Clean up the FormattingTags class.
|
||||||
|
"""
|
||||||
|
FormattingTags.html_expands = []
|
||||||
|
|
||||||
|
def get_html_tags_no_user_tags_test(self):
|
||||||
|
"""
|
||||||
|
Test the FormattingTags class' get_html_tags static method.
|
||||||
|
"""
|
||||||
|
with patch(u'openlp.core.lib.translate') as mocked_translate, \
|
||||||
|
patch(u'openlp.core.lib.settings') as mocked_settings, \
|
||||||
|
patch(u'openlp.core.lib.formattingtags.cPickle') as mocked_cPickle:
|
||||||
|
# GIVEN: Our mocked modules and functions.
|
||||||
|
mocked_translate.side_effect = lambda module, string_to_translate, comment: string_to_translate
|
||||||
|
mocked_settings.value.return_value = u''
|
||||||
|
mocked_cPickle.load.return_value = []
|
||||||
|
|
||||||
|
# WHEN: Get the display tags.
|
||||||
|
FormattingTags.load_tags()
|
||||||
|
old_tags_list = copy.deepcopy(FormattingTags.get_html_tags())
|
||||||
|
FormattingTags.load_tags()
|
||||||
|
new_tags_list = FormattingTags.get_html_tags()
|
||||||
|
|
||||||
|
# THEN: Lists should be identically.
|
||||||
|
assert old_tags_list == new_tags_list, u'The formatting tag lists should be identically.'
|
||||||
|
|
||||||
|
def get_html_tags_with_user_tags_test(self):
|
||||||
|
"""
|
||||||
|
Test the FormattingTags class' get_html_tags static method in combination with user tags.
|
||||||
|
"""
|
||||||
|
with patch(u'openlp.core.lib.translate') as mocked_translate, \
|
||||||
|
patch(u'openlp.core.lib.settings') as mocked_settings, \
|
||||||
|
patch(u'openlp.core.lib.formattingtags.cPickle') as mocked_cPickle:
|
||||||
|
# GIVEN: Our mocked modules and functions.
|
||||||
|
mocked_translate.side_effect = lambda module, string_to_translate: string_to_translate
|
||||||
|
mocked_settings.value.return_value = u''
|
||||||
|
mocked_cPickle.loads.side_effect = [[], [TAG]]
|
||||||
|
|
||||||
|
# WHEN: Get the display tags.
|
||||||
|
FormattingTags.load_tags()
|
||||||
|
old_tags_list = copy.deepcopy(FormattingTags.get_html_tags())
|
||||||
|
|
||||||
|
# WHEN: Add our tag and get the tags again.
|
||||||
|
FormattingTags.load_tags()
|
||||||
|
FormattingTags.add_html_tags([TAG])
|
||||||
|
new_tags_list = FormattingTags.get_html_tags()
|
||||||
|
|
||||||
|
# THEN: Lists should not be identically.
|
||||||
|
assert old_tags_list != new_tags_list, u'The lists should be different.'
|
||||||
|
|
||||||
|
# THEN: Added tag and last tag should be the same.
|
||||||
|
new_tag = new_tags_list.pop()
|
||||||
|
assert TAG == new_tag, u'Tags should be identically.'
|
||||||
|
|
@ -20,7 +20,7 @@ class TestImageManager(TestCase):
|
|||||||
Create the UI
|
Create the UI
|
||||||
"""
|
"""
|
||||||
Registry.create()
|
Registry.create()
|
||||||
self.app = QtGui.QApplication([])
|
self.app = QtGui.QApplication.instance()
|
||||||
ScreenList.create(self.app.desktop())
|
ScreenList.create(self.app.desktop())
|
||||||
self.image_manager = ImageManager()
|
self.image_manager = ImageManager()
|
||||||
|
|
||||||
|
55
tests/functional/openlp_core_lib/test_screen.py
Normal file
55
tests/functional/openlp_core_lib/test_screen.py
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
"""
|
||||||
|
Package to test the openlp.core.lib.screenlist package.
|
||||||
|
"""
|
||||||
|
import copy
|
||||||
|
from unittest import TestCase
|
||||||
|
|
||||||
|
from mock import MagicMock
|
||||||
|
from PyQt4 import QtGui, QtCore
|
||||||
|
|
||||||
|
from openlp.core.lib import ScreenList
|
||||||
|
|
||||||
|
|
||||||
|
SCREEN = {
|
||||||
|
u'primary': False,
|
||||||
|
u'number': 1,
|
||||||
|
u'size': QtCore.QRect(0, 0, 1024, 768)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
class TestScreenList(TestCase):
|
||||||
|
|
||||||
|
def setUp(self):
|
||||||
|
"""
|
||||||
|
Set up the components need for all tests.
|
||||||
|
"""
|
||||||
|
self.application = QtGui.QApplication.instance()
|
||||||
|
self.screens = ScreenList.create(self.application.desktop())
|
||||||
|
|
||||||
|
def tearDown(self):
|
||||||
|
"""
|
||||||
|
Delete QApplication.
|
||||||
|
"""
|
||||||
|
del self.application
|
||||||
|
|
||||||
|
def add_desktop_test(self):
|
||||||
|
"""
|
||||||
|
Test the ScreenList class' screen_count_changed method to check if new monitors are detected by OpenLP.
|
||||||
|
"""
|
||||||
|
# GIVEN: The screen list.
|
||||||
|
old_screens = copy.deepcopy(self.screens.screen_list)
|
||||||
|
# Mock the attributes.
|
||||||
|
self.screens.desktop.primaryScreen = MagicMock(return_value=SCREEN[u'primary'])
|
||||||
|
self.screens.desktop.screenCount = MagicMock(return_value=SCREEN[u'number'] + 1)
|
||||||
|
self.screens.desktop.screenGeometry = MagicMock(return_value=SCREEN[u'size'])
|
||||||
|
|
||||||
|
# WHEN: Add a new screen.
|
||||||
|
self.screens.screen_count_changed(len(old_screens))
|
||||||
|
|
||||||
|
# THEN: The screen should have been added.
|
||||||
|
new_screens = self.screens.screen_list
|
||||||
|
assert len(old_screens) + 1 == len(new_screens), u'The new_screens list should be bigger.'
|
||||||
|
|
||||||
|
# THEN: The screens should be identically.
|
||||||
|
assert SCREEN == new_screens.pop(), u'The new screen should be identically to the screen defined above.'
|
||||||
|
|
@ -39,7 +39,7 @@ class TestServiceItem(TestCase):
|
|||||||
"""
|
"""
|
||||||
# GIVEN: A new service item
|
# GIVEN: A new service item
|
||||||
|
|
||||||
# WHEN:A service item is created (without a plugin)
|
# WHEN: A service item is created (without a plugin)
|
||||||
service_item = ServiceItem(None)
|
service_item = ServiceItem(None)
|
||||||
|
|
||||||
# THEN: We should get back a valid service item
|
# THEN: We should get back a valid service item
|
||||||
@ -270,4 +270,5 @@ class TestServiceItem(TestCase):
|
|||||||
first_line = items[0]
|
first_line = items[0]
|
||||||
except IOError:
|
except IOError:
|
||||||
first_line = u''
|
first_line = u''
|
||||||
return first_line
|
return first_line
|
||||||
|
|
||||||
|
22
tests/functional/openlp_core_lib/test_uistrings.py
Normal file
22
tests/functional/openlp_core_lib/test_uistrings.py
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
"""
|
||||||
|
Package to test the openlp.core.lib.uistrings package.
|
||||||
|
"""
|
||||||
|
|
||||||
|
from unittest import TestCase
|
||||||
|
|
||||||
|
from openlp.core.lib import UiStrings
|
||||||
|
|
||||||
|
class TestUiStrings(TestCase):
|
||||||
|
|
||||||
|
def check_same_instance_test(self):
|
||||||
|
"""
|
||||||
|
Test the UiStrings class - we always should have only one instance of the UiStrings class.
|
||||||
|
"""
|
||||||
|
# WHEN: Create two instances of the UiStrings class.
|
||||||
|
first_instance = UiStrings()
|
||||||
|
second_instance = UiStrings()
|
||||||
|
|
||||||
|
# THEN: Check if the instances are the same.
|
||||||
|
assert first_instance is second_instance, "They should be the same instance!"
|
||||||
|
|
||||||
|
|
@ -5,4 +5,9 @@ sip.setapi(u'QString', 2)
|
|||||||
sip.setapi(u'QTextStream', 2)
|
sip.setapi(u'QTextStream', 2)
|
||||||
sip.setapi(u'QTime', 2)
|
sip.setapi(u'QTime', 2)
|
||||||
sip.setapi(u'QUrl', 2)
|
sip.setapi(u'QUrl', 2)
|
||||||
sip.setapi(u'QVariant', 2)
|
sip.setapi(u'QVariant', 2)
|
||||||
|
|
||||||
|
from PyQt4 import QtGui
|
||||||
|
|
||||||
|
# Only one QApplication can be created. Use QtGui.QApplication.instance() when you need to "create" a QApplication.
|
||||||
|
application = QtGui.QApplication([])
|
||||||
|
@ -26,13 +26,14 @@ class TestPluginManager(TestCase):
|
|||||||
Settings().set_filename(self.ini_file)
|
Settings().set_filename(self.ini_file)
|
||||||
Registry.create()
|
Registry.create()
|
||||||
Registry().register(u'service_list', MagicMock())
|
Registry().register(u'service_list', MagicMock())
|
||||||
self.app = QtGui.QApplication([])
|
self.app = QtGui.QApplication.instance()
|
||||||
self.main_window = QtGui.QMainWindow()
|
self.main_window = QtGui.QMainWindow()
|
||||||
Registry().register(u'main_window', self.main_window)
|
Registry().register(u'main_window', self.main_window)
|
||||||
self.plugins_dir = os.path.abspath(os.path.join(os.path.basename(__file__), u'..', u'openlp', u'plugins'))
|
self.plugins_dir = os.path.abspath(os.path.join(os.path.basename(__file__), u'..', u'openlp', u'plugins'))
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
os.unlink(self.ini_file)
|
os.unlink(self.ini_file)
|
||||||
|
del self.app
|
||||||
|
|
||||||
def find_plugins_test(self):
|
def find_plugins_test(self):
|
||||||
"""
|
"""
|
||||||
|
@ -15,7 +15,7 @@ class TestStartFileRenameForm(TestCase):
|
|||||||
Create the UI
|
Create the UI
|
||||||
"""
|
"""
|
||||||
registry = Registry.create()
|
registry = Registry.create()
|
||||||
self.app = QtGui.QApplication([])
|
self.app = QtGui.QApplication.instance()
|
||||||
self.main_window = QtGui.QMainWindow()
|
self.main_window = QtGui.QMainWindow()
|
||||||
Registry().register(u'main_window', self.main_window)
|
Registry().register(u'main_window', self.main_window)
|
||||||
self.form = filerenameform.FileRenameForm()
|
self.form = filerenameform.FileRenameForm()
|
||||||
|
@ -18,7 +18,7 @@ class TestStartNoteDialog(TestCase):
|
|||||||
Create the UI
|
Create the UI
|
||||||
"""
|
"""
|
||||||
Registry.create()
|
Registry.create()
|
||||||
self.app = QtGui.QApplication([])
|
self.app = QtGui.QApplication.instance()
|
||||||
ScreenList.create(self.app.desktop())
|
ScreenList.create(self.app.desktop())
|
||||||
Registry().register(u'application', MagicMock())
|
Registry().register(u'application', MagicMock())
|
||||||
self.main_window = MainWindow()
|
self.main_window = MainWindow()
|
||||||
|
@ -17,7 +17,7 @@ class TestStartNoteDialog(TestCase):
|
|||||||
Create the UI
|
Create the UI
|
||||||
"""
|
"""
|
||||||
Registry.create()
|
Registry.create()
|
||||||
self.app = QtGui.QApplication([])
|
self.app = QtGui.QApplication.instance()
|
||||||
self.main_window = QtGui.QMainWindow()
|
self.main_window = QtGui.QMainWindow()
|
||||||
Registry().register(u'main_window', self.main_window)
|
Registry().register(u'main_window', self.main_window)
|
||||||
self.form = servicenoteform.ServiceNoteForm()
|
self.form = servicenoteform.ServiceNoteForm()
|
||||||
@ -66,4 +66,5 @@ class TestStartNoteDialog(TestCase):
|
|||||||
QtTest.QTest.mouseClick(okWidget, QtCore.Qt.LeftButton)
|
QtTest.QTest.mouseClick(okWidget, QtCore.Qt.LeftButton)
|
||||||
|
|
||||||
# THEN the following text is returned
|
# THEN the following text is returned
|
||||||
self.assertEqual(self.form.text_edit.toPlainText(), text, u'The new text should be returned')
|
self.assertEqual(self.form.text_edit.toPlainText(), text, u'The new text should be returned')
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ class TestStartTimeDialog(TestCase):
|
|||||||
Create the UI
|
Create the UI
|
||||||
"""
|
"""
|
||||||
Registry.create()
|
Registry.create()
|
||||||
self.app = QtGui.QApplication([])
|
self.app = QtGui.QApplication.instance()
|
||||||
self.main_window = QtGui.QMainWindow()
|
self.main_window = QtGui.QMainWindow()
|
||||||
Registry().register(u'main_window', self.main_window)
|
Registry().register(u'main_window', self.main_window)
|
||||||
self.form = starttimeform.StartTimeForm()
|
self.form = starttimeform.StartTimeForm()
|
||||||
@ -93,4 +93,4 @@ class TestStartTimeDialog(TestCase):
|
|||||||
self.assertEqual(self.form.hourSpinBox.value(), 0)
|
self.assertEqual(self.form.hourSpinBox.value(), 0)
|
||||||
self.assertEqual(self.form.minuteSpinBox.value(), 2)
|
self.assertEqual(self.form.minuteSpinBox.value(), 2)
|
||||||
self.assertEqual(self.form.secondSpinBox.value(), 3)
|
self.assertEqual(self.form.secondSpinBox.value(), 3)
|
||||||
self.assertEqual(self.form.item[u'service_item'].start_time, 123, u'The start time should have changed')
|
self.assertEqual(self.form.item[u'service_item'].start_time, 123, u'The start time should have changed')
|
||||||
|
Loading…
Reference in New Issue
Block a user