Commit 6f3d1cfc authored by Stephan Raue's avatar Stephan Raue

Initial import 'service.openelec.settings-0.1.6

Signed-off-by: 's avatarStephan Raue <stephan@openelec.tv>
parents
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="service.openelec.settings"
name="OpenELEC Configuration"
version="0.1.6"
provider-name="lufie">
<requires>
<import addon="xbmc.python" version="2.0"/>
</requires>
<extension point="xbmc.python.script" library="default.py"></extension>
<extension point="xbmc.service" library="service.py" start="startup"></extension>
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<summary lang="en">OpenELEC Configuration</summary>
<description lang="en">Use this addon to manage your OpenELEC system's underlying operating system. From here you can manage the entire system so you don't have to worry about what runs under the hood.[CR][CR]From here you can change your network connectivity, your keyboard layout and language and enable/disable remote access including Samba and SSH.</description>
<summary lang="de">OpenELEC Konfiguration</summary>
<description lang="de">Verwenden Sie dieses Addon um das Betriebbssystem auf dem OpenELEC läuft zu administrieren. Von hier aus können sie das gesamte System verwalten ohne sich gedanken zu machen was im Hintergrund läuft.[CR][CR]Hier haben Sie die möglichkeit Netzwerkeinstellungen, Tastaturlayouts oder Systemdienste wie SSH oder Samba zu konfigurieren.</description>
</extension>
</addon>
2013-03-30 v-0.1.6
(fix) hide ssh service if kernel parameter is set (read file)
2013-03-30 v-0.1.5
(add) hide ssh service if kernel parameter is set
2013-03-27 v-0.1.4
(fix) enable / disable | wifi / ethernet
2013-03-25 v-0.1.3
(fix) Move Update Files after extract
(fix) network service autoconnect
(add) start service addon on startup
2013-03-11 v-0.1.2
(add) Info Text Placeholder added in Strings.xml
(add) Display InfoText Placeholder in bottom
2013-03-08 v-0.1.1
(change) about dialog change donate text
(change) connman context menu order
2013-03-08 v-0.1.0
(change) about dialog rework
2013-03-08 v-0.0.29
(change) Check for updates every 6 hours
(add) Network wait
(change) extract updates to /storage/.xbmc/temp and move on complete
(add) backup .xbmc and .config
(add) restore from zip
(change) vpn now works with .config files found in /storage/.config/config-vpn
(add) oe module copy_file added
(fix) set_busy fixed
(fix) enable / disable ethernet
2013-02-22 v-0.0.28
(fix) update url for update.openelec.tv
2013-02-22 v-0.0.28
(fix) global file lock for xml config
(change) inet socket changed to unix socket
(add) hostname validation
(add) tethering SSID name validation
(add) tethering password validation
(add) timeserver validation
(add) validate needed data for a mount
(fix) auto update notification
(fix) some manual update fixes
(add) search updates manual added
(change) update rework
2013-02-18 v-0.0.26
(fix) wizard fixes for 025
2013-02-18 v-0.0.25
(change) optimize service load_value (samba conf)
(fix) error if no mounts defined
(change) optimized images from seo
(change) unused pictures removed
(change) use service as main window
2013-02-17 v-0.0.24
(fix) double mount
2013-02-17 v-0.0.23
(change) upload logfiles moved to system
(change) connman double code removed
(fix) double mount (i hope)
(change) main menu fokus double paint removed (flickering)
2013-02-16 v-0.0.22
(change) discovery button removed
(change) double paint focused main menu entry
(add) remove vpn added
(change) english string.xml from chewitt
(change) bluetooth autodiscovery if entry is selected
(add) double mount prevention
2013-02-15 v-0.0.21
(fix) edit vpn removed
(change) orderd context menu entrys
(add) trust and connect to bluetooth context menu
(change) error message on dismaount fail
(change) no window preload, load select and context window ondemand
(change) update monitor modified
(fix) only mount drives from service if everything is defined
(fix) samba uses kill not kill -9
(changed) last save buttons removed
(change) default tethering data set
2013-02-12 v-0.0.20
(fix) user, pass separator in cifs mount
(fix) create .update folder if does not exists pre update
(fix) dismount network drives while edit
2013-02-12 v-0.0.19
(fix) MOUNT Network Path
2013-02-12 v-0.0.18
(fix) SYSLOG_SERVER
2013-02-12 v-0.0.17
(fix) syscontrol file newline fixed
(fix) missing blutooth mouse icon
(fix) navigation problems in connection window
(fix) localisation fixed in mainWindow.xml
(change) background removed (RFE SEO)
(add) HDD idle enable boolean
(change) temporary snapshot update location changed to update.openelec.tv
(add) mount network drives
2013-02-11 v-0.0.16
(fix) busy dialog in create_device
(change) write SYSLOG_REMOTE=true to /storage/.cache/syslog/remote
(fix) wizard does not end on first start
(fix) list navigation changed to loop
(fix) button navigation changed (left and up = list)
(add) bluetoothd disable option in powersaving (system)
(add) bluetoothd start by service script
(add) context menu for bt and network list
(change) most buttons removed
(add) write version to log on startup
2013-02-10 v-0.0.15
(fix) Passkey Window Bug
(fix) Cleanup more ressources on exit
(change) add handler to Bluetooth Calls
(change) add handler to Connman Connect
(change) test ps3 pairing fix
(fix) check already paired
(fix) disconnect bt device
2013-02-09 v-0.0.14
(fix) Bug for Default Icon
2013-02-09 v-0.0.13
(add) Remote Syslog Support
(add) Bluetooth Passkey Window
2013-02-08 v-0.0.12
(fix) Passkey Display
(fix) Button Focus (Logfiles)
2013-02-08 v-0.0.11
(change) About Dialog Changed to prevent display on Addon Startup
(change) Blutooth Support (BETA)
2013-02-03 v-0.0.10
(fix) Intention error
2013-02-03 v-0-0-9
(change) get available lcd drivers from /usr/lib/lcdproc
(change) connman vpn new api
(fix) write sshd.conf
(fix) file selection bug
(change) read keyboard layouts from xml
(add) keyboard type option
(add) option to write "/storage/.cache/reset_xbmc"
(add) option to write "/storage/.cache/reset_oe"
(add) Bluetooth Support (ALPHA)
2013-01-23 v-0.0.8
(fix) ssh changes
(fix) bug in local update folder
(fix) cron / avahi dont read settings bug
(change) make busy dialog global
(fix) lock / unlock removed
(change) some wizard text changes
(change) .tv removed from Name
2013-01-23 v-0.0.7
(add) LCD Driver 'CFontz'
(fix) hdd spindown default disabled
(add) cron service
(fix) avahi service startup
(fix) avahi directory security 755
(fix) cron directory security 755
(fix) select window scrollbar focus
(fix) wizard networklist focus problems
(fix) wizard network list misalignments
(fix) write sshd.conf for ssh startup
(fix) language selector fixed
(change) some buttons removed
(fix) info dialog button access
(change) reduce buttons for connections
(change) add delete button to service window
(change) wizard: samba / ssh buttons replaced wit radiobuttons
(add) ssh enable_ssh support to detect ssh enabled
(add) sshd.conf support to detect ssh enabled
(change) wizard image
(change) wizard text (many thx to gilphilbert)
2013-01-20 v-0.0.6
(fix) VPN Delete connection
(fix) VPN Connect pp2p without setting Domain
(fix) Connman Wifi / VPN Agent Redesign
(add) set hwclock from connman module
(fix) some connman rework
(fix) wrong functions for buttons bug
(add) proxy config in connection
(add) avahi service config
(fix) restart networking removed
(fix) ssh service start removed
(add) cancel button in connection edit window
(add) cpupower frequency-set -g ondemand in system.py
(add) upload logfiles (paste.fiebach.de)
(add) Welcome Wizard
2013-01-10 v-0.0.5
(add) Samba Config
(add) SSH Config
(add) Service Module
(fix) vpn pp2p Username wrong Translation
2013-01-06 v-0.0.4
(fix) home button removed
(add) reduce focus effects
(fix) list navigation rewritten
2013-01-06 v-0.0.3
(fix) focus problem in edit network dialog
(fix) changed update thread pause to 5
(fix) clock and info removed
(fix) about dialog controls are default hidden
2013-01-06 v-0.0.2
(add) multithreding menu's (should no longer hang)
(add) About / Info Dialog Prototype
(fix) missing texture if only 1 network is avail
(fix) double animation on addon startup fixed
(fix) version number changed to 3 diggits
2013-01-03 v-0.0.1.2
(add) System Hostname changeable
(fix) Tethering Username renamed to SSID
(add) development release autoupdate
(fix) Some Skin misalignements fixed
(fix) Fixed manual configure network connection (IPv4)
(add) some connman debug code added, will be removed later
(add) list object button
(add) function to restart network (it is possible that xbmc restarts to)
(add) placeholder for menu about / support added
2013-01-01 v-0.0.1.1
(fix) Python Platform module is buggy
2013-01-01 v-0.0.1.0
(add) Autoupdate
2012-12-30 v-0.0.0.9
(fix) Cable Network Tethering removed
(add) config file added (/storage/.cache/openelec/settings.xml)
(add) functions to read and write xml settings (oe.write_setting, oe.read_settings)
(fix) network list refresh now shows xbmc busy dialog
(add) addon load shows xbmc busy dialog
(add) XBMC service script
(add) set LCD Driver
(add) set Keyboard Layout
(add) set hdd Stanby
2012-12-29 v-0.0.0.8
VPN Redesign
Config Global Timeservers
2012-12-28 v-0.0.0.7
Advanced PPTP VPN options added
VPN Testing with old Connman Method ConnectProvider()
# -*- coding: utf-8 -*-
import socket
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
sock.connect('/var/run/service.openelec.settings.sock')
sock.send('openConfigurationWindow')
sock.close()
icon.png

12.4 KB

This diff is collapsed.
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Dummy file to make this directory a package.
This diff is collapsed.
This diff is collapsed.
# -*- coding: utf-8 -*-
class about:
menu = {'99': {
'name': 32196,
'menuLoader': 'menu_loader',
'listTyp': 'other',
'InfoText': 705,
}}
def __init__(self, oeMain):
try:
oeMain.dbg_log('about::__init__', 'enter_function', 0)
self.oe = oeMain
self.controls = {}
self.oe.dbg_log('about::__init__', 'exit_function', 0)
except Exception, e:
self.oe.dbg_log('about::__init__', 'ERROR: (' + repr(e)
+ ')')
def menu_loader(self, menuItem):
try:
self.oe.dbg_log('about::menu_loader', 'enter_function', 0)
if len(self.controls) == 0:
self.init_controls()
self.oe.dbg_log('about::menu_loader', 'exit_function', 0)
except Exception, e:
self.oe.dbg_log('about::menu_loader', 'ERROR: (' + repr(e)
+ ')', 4)
def exit_addon(self):
try:
self.oe.dbg_log('about::exit_addon', 'enter_function', 0)
self.oe.winOeMain.close()
self.oe.dbg_log('about::exit_addon', 'exit_function', 0)
except Exception, e:
self.oe.dbg_log('about::exit_addon', 'ERROR: (' + repr(e)
+ ')')
def init_controls(self):
try:
self.oe.dbg_log('about::init_controls', 'enter_function', 0)
distri = self.oe.load_file('/etc/distribution')
arch = self.oe.load_file('/etc/arch')
version = self.oe.load_file('/etc/version')
self.oe.winOeMain.setProperty('arch', arch)
self.oe.winOeMain.setProperty('distri', distri)
self.oe.winOeMain.setProperty('version', version)
self.oe.dbg_log('about::init_controls', 'exit_function', 0)
except Exception, e:
self.oe.dbg_log('about::init_controls', 'ERROR: ('
+ repr(e) + ')')
def exit(self):
try:
self.oe.dbg_log('about::exit', 'enter_function', 0)
for control in self.controls:
try:
self.oe.winOeMain.removeControl(self.controls[control])
except:
pass
self.controls = {}
self.oe.dbg_log('about::exit', 'exit_function', 0)
except Exception, e:
self.oe.dbg_log('about::exit', 'ERROR: (' + repr(e) + ')')
def do_wizard(self):
try:
self.oe.dbg_log('about::do_wizard', 'enter_function', 0)
self.oe.winOeMain.set_wizard_title(self.oe._(32317))
self.oe.winOeMain.set_wizard_text(self.oe._(32318))
self.oe.dbg_log('about::do_wizard', 'exit_function', 0)
except Exception, e:
self.oe.dbg_log('about::do_wizard', 'ERROR: (' + repr(e)
+ ')')
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<window id="5537">
<defaultcontrol>4323</defaultcontrol>
<coordinates>
<posx>590</posx>
<posy>220</posy>
<posx>0</posx>
<posy>0</posy>
</coordinates>
<controls>
<control type="group" id="1998">
<animation type="WindowOpen" reversible="false">
<effect type="zoom" start="80" end="100" center="640,360" easing="out" tween="back" time="300" />
<effect type="fade" start="0" end="100" time="300" />
</animation>
<animation type="WindowClose" reversible="false">
<effect type="zoom" start="100" end="80" center="640,360" easing="in" tween="back" time="300" />
<effect type="fade" start="100" end="0" time="300" />
</animation>
<control type="image" id="1999">
<description>background image</description>
<posx>0</posx>
<posy>0</posy>
<width>340</width>
<height>400</height>
<texture border="20">DialogBack.png</texture>
</control>
<control type="list" id="4323">
<posx>18</posx>
<posy>18</posy>
<width>320</width>
<height>380</height>
<pagecontrol>-</pagecontrol>
<scrolltime>300</scrolltime>
<visible>true</visible>
<itemlayout height="40">
<posx>0</posx>
<posy>0</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>304</width>
<height>38</height>
<texture border="5">button-nofocus.png</texture>
</control>
<control type="label">
<posx>155</posx>
<posy>0</posy>
<width>704</width>
<height>38</height>
<align>center</align>
<aligny>center</aligny>
<info>ListItem.Label</info>
<label>-</label>
</control>
</itemlayout>
<focusedlayout height="40">
<posx>0</posx>
<posy>0</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>304</width>
<height>38</height>
<texture border="5">button-nofocus.png</texture>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>304</width>
<height>38</height>
<texture border="5">button-focus2.png</texture>
</control>
<control type="label">
<posx>155</posx>
<posy>0</posy>
<width>704</width>
<height>38</height>
<align>center</align>
<aligny>center</aligny>
<info>ListItem.Label</info>
<label>-</label>
</control>
</focusedlayout>
</control>
</control>
</controls>
</window>
<window id="5533">
<defaultcontrol always="true">2000</defaultcontrol>
<allowoverlay>no</allowoverlay>
<controls>
<control type="group">
<posx>440</posx>
<posy>260</posy>
<animation type="WindowOpen" reversible="false">
<effect type="zoom" start="80" end="100" center="640,360" easing="out" tween="back" time="300" />
<effect type="fade" start="0" end="100" time="300" />
</animation>
<animation type="WindowClose" reversible="false">
<effect type="zoom" start="100" end="80" center="640,360" easing="in" tween="back" time="300" />
<effect type="fade" start="100" end="0" time="300" />
</animation>
<control type="image">
<posx>5</posx>
<posy>5</posy>
<width>400</width>
<height>174</height>
<texture border="15">ContentPanel.png</texture>
</control>
<control type="image">
<posx>5</posx>
<posy>5</posy>
<width>400</width>
<height>174</height>
<texture border="15">ContentPanel.png</texture>
</control>
<control type="group">
<posx>17</posx>
<posy>16</posy>
<width>200</width>
<height>174</height>
<control type="label" id="1700">
<posx>20</posx>
<posy>10</posy>
<width>340</width>
<height>30</height>
<font>font12</font>
<textcolor>white</textcolor>
<label></label>
<align>center</align>
<visible>true</visible>
</control>
<control type="label" id="1701">
<posx>10</posx>
<posy>50</posy>
<width>350</width>
<height>30</height>
<font>font24_title</font>
<textcolor>blue</textcolor>
<label></label>
<align>center</align>
<visible>true</visible>
</control>
<control type="label" id="1702">
<posx>10</posx>
<posy>90</posy>
<width>350</width>
<height>30</height>
<font>font24_title</font>
<textcolor>blue</textcolor>
<label></label>
<align>center</align>
<visible>true</visible>
</control>
<control type="progress" id="1703">
<posx>10</posx>
<posy>140</posy>
<width>355</width>
<height>10</height>
</control>
</control>
</control>
</controls>
</window>
This diff is collapsed.
<window id="5535">
<defaultcontrol always="true">2000</defaultcontrol>
<allowoverlay>no</allowoverlay>
<controls>
<control type="group">
<posx>340</posx>
<posy>260</posy>
<animation type="WindowOpen" reversible="false">
<effect type="zoom" start="80" end="100" center="640,360" easing="out" tween="back" time="300" />
<effect type="fade" start="0" end="100" time="300" />
</animation>
<animation type="WindowClose" reversible="false">
<effect type="zoom" start="100" end="80" center="640,360" easing="in" tween="back" time="300" />
<effect type="fade" start="100" end="0" time="300" />
</animation>
<control type="image">
<posx>5</posx>
<posy>5</posy>
<width>600</width>
<height>174</height>
<texture border="15">ContentPanel.png</texture>
</control>
<control type="image">
<posx>5</posx>
<posy>5</posy>
<width>600</width>
<height>174</height>
<texture border="15">ContentPanel.png</texture>
</control>
<control type="group">
<posx>17</posx>
<posy>16</posy>
<width>200</width>
<height>174</height>
<fadetime>500</fadetime>
<control type="list" id="2000">
<posx>0</posx>
<posy>0</posy>
<width>590</width>
<height>150</height>
<onright>121</onright>
<pagecontrol>121</pagecontrol>
<scrolltime>300</scrolltime>
<visible>true</visible>
<itemlayout height="30">
<posx>0</posx>
<posy>0</posy>
<control type="image">
<posx>2</posx>
<posy>2</posy>
<width>555</width>
<height>28</height>
<texture border="5">button-nofocus.png</texture>
</control>
<control type="label">
<posx>20</posx>
<posy>4</posy>
<width>190</width>
<font>font12</font>
<textcolor>white</textcolor>
<label>$INFO[ListItem.Label]</label>
</control>
<control type="label">
<posx>540</posx>
<posy>4</posy>
<width>400</width>
<font>font12</font>
<textcolor>white</textcolor>
<align>right</align>
<label>$INFO[ListItem.Label2]</label>
</control>
</itemlayout>
<focusedlayout height="30">
<posx>0</posx>
<posy>0</posy>
<control type="image">
<posx>2</posx>
<posy>2</posy>
<width>555</width>
<height>28</height>
<texture border="5">button-focus2.png</texture>
</control>
<control type="label">
<posx>20</posx>
<posy>4</posy>
<width>190</width>
<font>font12</font>
<textcolor>white</textcolor>
<label>$INFO[ListItem.Label]</label>
</control>
<control type="label">
<posx>540</posx>
<posy>4</posy>
<width>400</width>
<font>font12</font>
<textcolor>white</textcolor>
<align>right</align>
<label>$INFO[ListItem.Label2]</label>
</control>
</focusedlayout>
</control>
</control>
<control type="scrollbar" id="121">
<description>scroll bar indicator for lists</description>
<posx>575</posx>
<posy>10</posy>
<width>24</width>
<height>165</height>
<onleft>2000</onleft>
<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
<texturesliderbar border="0,14,0,14">ScrollBarV_bar.png</texturesliderbar>
<texturesliderbarfocus border="0,14,0,14">ScrollBarV_bar_focus.png</texturesliderbarfocus>
<textureslidernib>ScrollBarNib.png</textureslidernib>
<textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus>
<orientation>vertical</orientation>
<showonepage>true</showonepage>
</control>
</control>
</controls>
</window>
This diff is collapsed.