Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,8 @@ def HandleRequest(self):
class ResponderModerator(BaseAdminPageHandler):
"""Displays the UI for moderating responder data."""
def EvalData(self, data):
if not data:
return {}
try:
evaled_data = eval(data, {})
return evaled_data
Expand Down
3 changes: 2 additions & 1 deletion contrib.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ def BuildResponderList(self, responders):

def GetURLOrNone(self, param):
url = self.request.get(param)
if not url or not url.startswith('http://'):
if not url or not (url.startswith('http://') or
url.startswith('https://')):
return None
return url

Expand Down
2 changes: 1 addition & 1 deletion data/controller_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
],
0x454E: [
{'name': 'DMX USB Pro',
'link': 'https://www.enttec.co.uk/product/protocols/dmx512/2-universe-usb-computer-interface-dmx/',
'link': 'https://www.enttec.com/product/dmx-usb-interfaces/dmx-usb-pro-professional-1u-usb-to-dmx512-converter/',
'image_url': 'http://www.enttec.com/img/dmxusbpro/flip.gif',
'tags': ['tool', 'RDM Responder Tests', 'USB']},
{'name': 'RDM USB Pro',
Expand Down
3 changes: 3 additions & 0 deletions data/manufacturer_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
(0x07EA, "http://www.lemaitreltd.com/"),
(0x0808, "http://zero88.com/"),
(0x0854, "https://www.nec-display-solutions.com/"),
(0x088E, "https://www.stage1.com.tw/"),
(0x0896, "https://www.csdcnc.com/"),
(0x089C, "https://swit.cc/"),
(0x089D, "http://www.gobo.ws/"),
Expand Down Expand Up @@ -111,6 +112,7 @@
(0x3B10, "https://www.nxp.com/"),
(0x4144, "https://www.adbstagelight.com/"),
(0x414C, "https://www.artisticlicence.com/"),
(0x4151, "http://aquariitech.com/"),
(0x4179, "https://www.ayrton.eu/"),
(0x434D, "http://www.coemar.com/"),
(0x4350, "https://www.claypaky.it/"),
Expand All @@ -122,6 +124,7 @@
(0x4744, "http://www.goddarddesign.com/"),
(0x4801, "http://www.capture.se/"),
(0x4845, "http://www.helluk.com/"),
(0x4947, "https://www.iguzzini.com/"),
(0x4953, "https://www.istl.com/"),
(0x4A54, "http://jthomaseng.com/"),
(0x4A61, "https://www.jands.com.au/"),
Expand Down
2 changes: 1 addition & 1 deletion templates/display_model.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.tmpl" %}

{% block title %}{{ manufacturer }} - {{ description }}{% endblock %}
{% block title %}{{ manufacturer }} - {% if description %}{{ description }}{% else %}Model ID {{ model_id }}{% endif %}{% endblock %}

{% block content %}
<div id="fb-root"></div>
Expand Down
Loading