Add icons for desktop applications and Apple App store.

- Add yapf style file for consistency of formatting
- Some minor changes and renaming
- Add template tag filters for checking conditions
- Move icons from img directory to icons directory

Currently the client listing is in both the SetupView and ServceView for ease of
development. Have to remove from ServiceView.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati authored and James Valleroy committed 2017-12-04 12:15:03 -05:00
1 parent defcb37472
commit d3cddfa68c
21 files changed
+382 -272

No files matched your search

+13 -14
View File
@@ -17,18 +17,17 @@
from django.utils.translation import ugettext_lazy as _
clients = [
{
'name': _('Deluge'),
'description': _('Bittorrent client written in Python/PyGTK '),
'platforms': [
{
'type': 'web',
'relative_path': '/deluge'
},
{
'type': 'apt',
'os': 'Debian',
'package_name': 'deluge'
}]
clients = [{
'name':
_('Deluge'),
'description':
_('Bittorrent client written in Python/PyGTK '),
'platforms': [{
'type': 'web',
'relative_path': '/deluge'
}, {
'type': 'package',
'format': 'deb',
'name': 'deluge',
}]
}]
+29 -34
View File
@@ -17,37 +17,32 @@
from django.utils.translation import ugettext_lazy as _
clients = [
{
'name': _('Minetest'),
'platforms': [
{
'type': 'download',
'os': 'Windows(64-bit)',
'os_version': 'XP, Vista, >=7',
'url': 'https://github.com/minetest/minetest/releases'
'/download/0.4.16/minetest-0.4.16-win64.zip '
},
{
'type': 'store',
'os': 'Android',
'store_name': 'google_play_store',
'fully_qualified_name': 'net.minetest.minetest',
'url': 'https://play.google.com/store/apps/details?id=net'
'.minetest.minetest '
},
{
'type': 'store',
'os': 'Android',
'store_name': 'fdroid_store',
'fully_qualified_name': 'net.minetest.minetest',
'url': 'https://f-droid.org/packages/net.minetest.minetest/ '
},
{
'type': 'apt',
'os': 'Debian',
'package_name': 'minetest'
}
]
}
]
clients = [{
'name':
_('Minetest'),
'platforms': [{
'type': 'download',
'os': 'Windows',
'arch': 'amd64',
'os_version': 'XP, Vista, >=7',
'url': 'https://github.com/minetest/minetest/releases'
'/download/0.4.16/minetest-0.4.16-win64.zip '
}, {
'type': 'store',
'os': 'Android',
'store_name': 'google_play_store',
'fully_qualified_name': 'net.minetest.minetest',
'url': 'https://play.google.com/store/apps/details?id=net'
'.minetest.minetest '
}, {
'type': 'store',
'os': 'Android',
'store_name': 'fdroid_store',
'fully_qualified_name': 'net.minetest.minetest',
'url': 'https://f-droid.org/packages/net.minetest.minetest/ '
}, {
'type': 'package',
'format': 'deb',
'name': 'minetest'
}]
}]
+60 -70
View File
@@ -17,73 +17,63 @@
from django.utils.translation import ugettext_lazy as _
clients = [
{
'name': _('Mumble'),
'platforms': [
{
'type': 'download',
'os': 'Windows(32-bit)',
'url': 'https://github.com/mumble-voip/mumble/releases'
'/download/1.2.19/mumble-1.2.19.msi '
},
{
'type': 'download',
'os': 'Windows(64-bit)',
'url': 'https://dl.mumble.info/mumble-1.3.0~2569~gd196a4b'
'~snapshot.winx64.msi '
},
{
'type': 'download',
'os': 'macOS',
'url': 'https://github.com/mumble-voip/mumble/releases'
'/download/1.2.19/Mumble-1.2.19.dmg '
},
{
'type': 'apt',
'os': 'Debian',
'package_name': 'mumble'
},
{
'type': 'store',
'os': 'iOS',
'os_version': '>=8.0',
'store_name': 'apple_store',
'url': 'https://itunes.apple.com/us/app/mumble/id443472808'
}
]
},
{
'name': _('Plumble'),
'platforms': [
{
'type': 'store',
'os': 'Android',
'store_name': 'google_play_store',
'url': 'https://play.google.com/store/apps/details?id=com'
'.morlunk.mumbleclient.free ',
'fully_qualified_name': 'com.morlunk.mumbleclient'
},
{
'type': 'store',
'os': 'Android',
'store_name': 'fdroid_store',
'url': 'https://play.google.com/store/apps/details?id=com'
'.morlunk.mumbleclient.free ',
'fully_qualified_name': 'com.morlunk.mumbleclient'
}
]
},
{
'name': _('Mumblefly'),
'platforms': [
{
'type': 'store',
'os': 'iOS',
'os_version': '>=7.0',
'store_name': 'apple_store',
'url': 'https://itunes.apple.com/dk/app/mumblefy/id858752232'
}
]
}
]
clients = [{
'name':
_('Mumble'),
'platforms': [{
'type': 'download',
'os': 'Windows',
'arch': 'i386',
'url': 'https://github.com/mumble-voip/mumble/releases'
'/download/1.2.19/mumble-1.2.19.msi '
}, {
'type': 'download',
'os': 'Windows(64-bit)',
'arch': 'amd64',
'url': 'https://dl.mumble.info/mumble-1.3.0~2569~gd196a4b'
'~snapshot.winx64.msi '
}, {
'type': 'download',
'os': 'macOS',
'url': 'https://github.com/mumble-voip/mumble/releases'
'/download/1.2.19/Mumble-1.2.19.dmg '
}, {
'type': 'package',
'format': 'deb',
'name': 'mumble'
}, {
'type': 'store',
'os': 'iOS',
'os_version': '>=8.0',
'store_name': 'apple_store',
'url': 'https://itunes.apple.com/us/app/mumble/id443472808'
}]
}, {
'name':
_('Plumble'),
'platforms': [{
'type': 'store',
'os': 'Android',
'store_name': 'google_play_store',
'url': 'https://play.google.com/store/apps/details?id=com'
'.morlunk.mumbleclient.free ',
'fully_qualified_name': 'com.morlunk.mumbleclient'
}, {
'type': 'store',
'os': 'Android',
'store_name': 'fdroid_store',
'url': 'https://play.google.com/store/apps/details?id=com'
'.morlunk.mumbleclient.free ',
'fully_qualified_name': 'com.morlunk.mumbleclient'
}]
}, {
'name':
_('Mumblefly'),
'platforms': [{
'type': 'store',
'os': 'iOS',
'os_version': '>=7.0',
'store_name': 'apple_store',
'url': 'https://itunes.apple.com/dk/app/mumblefy/id858752232'
}]
}]
+55 -70
View File
@@ -17,73 +17,58 @@
from django.utils.translation import ugettext_lazy as _
clients = [
{
'name': _('Jitsi Meet'),
'description': _('Jitsi is a set of open-source projects that allows '
'you to easily build and deploy secure '
'videoconferencing solutions. At the heart of Jitsi '
'are Jitsi Videobridge and Jitsi Meet, which let you '
'have conferences on the internet, while other '
'projects in the community enable other features '
'such as audio, dial-in, recording, '
'and simulcasting.'),
'platforms': [
{
'type': 'store',
'os': 'Android',
'store_name': 'google_play_store',
'fully_qualified_name': 'org.jitsi.meet',
'url': 'https://play.google.com/store/apps/details?id=org'
'.jitsi.meet '
},
{
'type': 'store',
'os': 'iOS',
'store_name': 'apple_store',
'url': 'https://itunes.apple.com/in/app/jitsi-meet/id1165103905'
},
{
'type': 'download',
'os': 'Linux',
'url': 'https://download.jitsi.org/jitsi/debian/'
},
{
'type': 'dnf',
'os': 'Linux',
'package_name': 'jitsi'
},
{
'type': 'download',
'os': 'macOS',
'url': 'https://download.jitsi.org/jitsi/macosx/jitsi-latest'
'.dmg '
},
{
'type': 'download',
'os': 'Windows',
'url': 'https://download.jitsi.org/jitsi/windows/jitsi-latest'
'-x86.exe '
},
{
'type': 'download',
'os': 'macOS',
'url': 'https://download.jitsi.org/jitsi/macosx/jitsi-latest'
'.dmg '
}
]
},
{
'name': _('CSipSimple'),
'platforms': [
{
'type': 'store',
'os': 'Android',
'store_name': 'google_play_store',
'fully_qualified_name': 'com.csipsimple',
'url': 'https://play.google.com/store/apps/details?id=com'
'.csipsimple '
}
]
}
]
clients = [{
'name':
_('Jitsi Meet'),
'description':
_('Jitsi is a set of open-source projects that allows '
'you to easily build and deploy secure '
'videoconferencing solutions. At the heart of Jitsi '
'are Jitsi Videobridge and Jitsi Meet, which let you '
'have conferences on the internet, while other '
'projects in the community enable other features '
'such as audio, dial-in, recording, '
'and simulcasting.'),
'platforms': [{
'type': 'store',
'os': 'Android',
'store_name': 'google_play_store',
'fully_qualified_name': 'org.jitsi.meet',
'url': 'https://play.google.com/store/apps/details?id=org'
'.jitsi.meet '
}, {
'type': 'store',
'os': 'iOS',
'store_name': 'apple_store',
'url': 'https://itunes.apple.com/in/app/jitsi-meet/id1165103905'
}, {
'type': 'download',
'os': 'GNU/Linux',
'url': 'https://download.jitsi.org/jitsi/debian/'
}, {
'type': 'package',
'format': 'deb',
'name': 'jitsi'
}, {
'type': 'download',
'os': 'macOS',
'url': 'https://download.jitsi.org/jitsi/macosx/jitsi-latest'
'.dmg '
}, {
'type': 'download',
'os': 'Windows',
'url': 'https://download.jitsi.org/jitsi/windows/jitsi-latest'
'-x86.exe '
}]
}, {
'name':
_('CSipSimple'),
'platforms': [{
'type': 'store',
'os': 'Android',
'store_name': 'google_play_store',
'fully_qualified_name': 'com.csipsimple',
'url': 'https://play.google.com/store/apps/details?id=com'
'.csipsimple '
}]
}]
+2 -1
View File
@@ -67,7 +67,8 @@ service = None
def init():
"""Intialize the module."""
menu = main_menu.get('apps')
menu.add_urlname(name, 'glyphicon-refresh', 'syncthing:index', short_description)
menu.add_urlname(name, 'glyphicon-refresh',
'syncthing:index', short_description)
global service
setup_helper = globals()['setup_helper']
+76 -42
View File
@@ -17,45 +17,79 @@
from django.utils.translation import ugettext_lazy as _
clients = [
{
'name': _('Syncthing'),
'platforms': [
{
'type': 'download',
'os': 'Debian',
'url': 'https://apt.syncthing.net/',
},
{
'type': 'download',
'os': 'macOS',
'url': 'https://github.com/syncthing/syncthing/releases'
},
{
'type': 'download',
'os': 'Windows',
'url': 'https://github.com/syncthing/syncthing/releases'
},
{
'type': 'store',
'os': 'Android',
'store_name': 'google_play_store',
'fully_qualified_name': 'com.nutomic.syncthingandroid',
'url': 'https://play.google.com/store/apps/details?id=com'
'.nutomic.syncthingandroid '
},
{
'type': 'store',
'os': 'Android',
'store_name': 'fdroid_store',
'fully_qualified_name': 'com.nutomic.syncthingandroid',
'url': 'https://f-droid.org/packages/com.nutomic'
'.syncthingandroid/ '
},
{
'type': 'web',
'relative_url': '/syncthing'
}
]
}
]
metadata = {
'syncthing': {
'version': '0.14.39',
'android-package-id': 'com.nutomic.syncthingandroid',
},
}
clients = [{
'name':
_('Syncthing'),
'platforms': [{
'type': 'package',
'format': 'deb',
'name': 'syncthing',
}, {
'type': 'package',
'format': 'homebrew',
'name': 'syncthing',
}, {
'type':
'download',
'os':
'all',
'url':
'https://github.com/syncthing/syncthing/releases/tag/v{}'
.format(metadata['syncthing']['version'])
}, {
'type': 'download',
'os': 'GNU/Linux',
'arch': 'amd64',
'url': 'https://github.com/syncthing/syncthing/releases/'
'download/v{0}/syncthing-linux-amd64-v{0}.tar.gz'
.format(metadata['syncthing']['version']),
}, {
'type': 'download',
'os': 'macOS',
'arch': 'amd64',
'url': 'https://github.com/syncthing/syncthing/releases/'
'download/v{0}/syncthing-macosx-amd64-v{0}.tar.gz'
.format(metadata['syncthing']['version']),
}, {
'type': 'download',
'os': 'Windows',
'arch': 'amd64',
'url': 'https://github.com/syncthing/syncthing/releases/'
'download/v{0}/syncthing-windows-amd64-v{0}.zip'
.format(metadata['syncthing']['version']),
}, {
'type':
'store',
'os':
'Android',
'store_name':
'google_play_store',
'fully_qualified_name':
'com.nutomic.syncthingandroid',
'url':
'https://play.google.com/store/apps/details?id={}'
.format(metadata['syncthing']['android-package-id'])
}, {
'type':
'store',
'os':
'Android',
'store_name':
'fdroid_store',
'fully_qualified_name':
'com.nutomic.syncthingandroid',
'url':
'https://f-droid.org/packages/{}'
.format(metadata['syncthing']['android-package-id'])
}, {
'type': 'web',
'relative_url': '/syncthing'
}]
}]