Moving webpage to wiki
authorEd Page <eopage@byu.net>
Sun, 3 Oct 2010 04:08:46 +0000 (23:08 -0500)
committerEd Page <eopage@byu.net>
Sun, 3 Oct 2010 04:08:46 +0000 (23:08 -0500)
src/constants.py
src/libliststorehandler.py
src/multilist_gtk.py
www/.htaccess [new file with mode: 0644]
www/download.html
www/index.html
www/multilist.deb

index 472ef42..1dd2437 100644 (file)
@@ -3,7 +3,8 @@ import os
 __pretty_app_name__ = "Multilist"
 __app_name__ = "multilist"
 __version__ = "0.3.11"
-__build__ = 0
+__build__ = 2
 _data_path_ = os.path.join(os.path.expanduser("~"), ".multilist")
 __app_magic__ = 0xdeadbeef
+_user_settings_ = "%s/settings.ini" % _data_path_
 _user_logpath_ = "%s/multilist.log" % _data_path_
index 893a354..4c64fe0 100644 (file)
@@ -20,6 +20,8 @@ along with Multilist.  If not, see <http://www.gnu.org/licenses/>.
 Copyright (C) 2008 Christoph Würstle
 """
 
+from __future__ import with_statement
+
 import ConfigParser
 import csv
 import uuid
index 0a050e1..9d78195 100755 (executable)
@@ -65,9 +65,6 @@ PROFILE_STARTUP = False
 
 class Multilist(hildonize.get_app_class()):
 
-       _user_data = os.path.join(os.path.expanduser("~"), ".%s" % constants.__app_name__)
-       _user_settings = "%s/settings.ini" % _user_data
-
        def __init__(self):
                super(Multilist, self).__init__()
                self._clipboard = gtk.clipboard_get()
@@ -75,7 +72,7 @@ class Multilist(hildonize.get_app_class()):
                logging.info('Starting Multilist')
 
                try:
-                       os.makedirs(self._user_data)
+                       os.makedirs(constants._data_path_)
                except OSError, e:
                        if e.errno != 17:
                                raise
@@ -286,7 +283,7 @@ class Multilist(hildonize.get_app_class()):
        def _save_settings(self):
                config = ConfigParser.SafeConfigParser()
                self.save_settings(config)
-               with open(self._user_settings, "wb") as configFile:
+               with open(constants._user_settings_, "wb") as configFile:
                        config.write(configFile)
 
        def save_settings(self, config):
@@ -299,7 +296,7 @@ class Multilist(hildonize.get_app_class()):
 
        def _load_settings(self):
                config = ConfigParser.SafeConfigParser()
-               config.read(self._user_settings)
+               config.read(constants._user_settings_)
                self.load_settings(config)
 
        def load_settings(self, config):
@@ -311,7 +308,7 @@ class Multilist(hildonize.get_app_class()):
                except ConfigParser.NoSectionError, e:
                        _moduleLogger.info(
                                "Settings file %s is missing section %s" % (
-                                       self._user_settings,
+                                       constants._user_settings_,
                                        e.section,
                                )
                        )
diff --git a/www/.htaccess b/www/.htaccess
new file mode 100644 (file)
index 0000000..bc6f1b4
--- /dev/null
@@ -0,0 +1,5 @@
+Redirect permanent /index.html http://wiki.maemo.org/Multilist
+Redirect 301 /index.html http://wiki.maemo.org/Multilist
+Redirect permanent /download.html http://wiki.maemo.org/Multilist
+Redirect 301 /download.html http://wiki.maemo.org/Multilist
+
index 415c9db..a1a3c70 100644 (file)
@@ -1,37 +1,9 @@
 <html>
        <head>
-               <title>Multilist</title>
+               <meta http-equiv="Refresh" content="0; url=http://wiki.maemo.org/Multilist" />
        </head>
        <body>
-               <h1>
-                       Multilist
-               </h1>
-               <h2>Simple checklist program</h2>
-               <h3><a href="index.html">[About]</a> <a href="download.html">[Download]</a>
-               <h3>Download</h3>
-
-               <h4>Packages</h4>
-               <p>Maemo 5 and Later: Go to the application installer, enable Extras, and download Dialcentral (Note: technically its still in extras-testing because people haven't been reviewing it)</p>
-
-               <p>Maemo 4.1 and Earlier: Add the <a href="http://wiki.maemo.org/Extras">Extras Repository</a> and check the App Manager for DialCentral</p>
-
-               <p>Linux: <a href="multilist.deb">.deb files</a></p>
-
-               <h3>Development</h3>
-               <h4>Source</h4>
-               <p>For the most up to date version check out <a href="https://garage.maemo.org/scm/?group_id=457">svn</a>.
-               </p>
-               <p>Requires</p>
-               <ul>
-                       <li>PyGTK / Glade</li>
-                       <li>Python bindings for hildon, and osso</li>
-               </ul>
-
-               <h4>Bugs</h4>
-
-               <p>Discuss your issue on <a href="http://talk.maemo.org/showthread.php?p=589083#post589083">Maemo.Org Talk</a></p>
-
-               <p>File a <a href="https://bugs.maemo.org/enter_bug.cgi?product=multilist">bug report</a> against Extras-&gt;ejpi</p>
-               <p>View  <a href="https://bugs.maemo.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=multilist&content=">existing bug reports</a></p>
+               <p>Please follow <a href="http://wiki.maemo.org/Multilist">link</a>!</p>
        </body>
 </html>
+
index 44eab92..a1a3c70 100644 (file)
@@ -1,43 +1,9 @@
 <html>
        <head>
-               <title>Multilist</title>
+               <meta http-equiv="Refresh" content="0; url=http://wiki.maemo.org/Multilist" />
        </head>
        <body>
-               <h1>
-                       Multilist
-               </h1>
-               <h2>Simple checklist program</h2>
-               <h3><a href="index.html">[About]</a> <a href="download.html">[Download]</a>
-
-               <h3>Documentation</h3>
-
-               <h3>About</h3>
-               <p></p>
-
-               <p>Multilist has been tested on Ubuntu 9.05, Maemo 5, and Maemo 4.1</p>
-
-               <p>See also Multilist's <a href="http://axique.de/?f=Multilist">old webpage</a></p>
-
-               <p>Quicknote is Free Software and available under the <a href="http://www.gnu.org/licenses/gpl-2.1.html">GPLv2.1</a>.
-
-               <h4>Features</h4>
-               <p>Multilist 0.3.1 (See <a href="http://talk.maemo.org/showthread.php?p=589083#post589083">t.m.o Thread</a>)</p>
-
-               <ul>
-                       <li>Task lists</li>
-                       <li>Categories within lists</li>
-                       <li>Track whether a task is "New", "Active", or "Complete"</li>
-               </ul>
-
-               <h4>Sample Screenshots</h4>
-
-               <p>
-               <img src="multilist_0.3.7_portrait.png"/>
-               </p>
-
-               <p>
-               <img src="multilist_0.3.7_landscape.png"/>
-               </p>
-
+               <p>Please follow <a href="http://wiki.maemo.org/Multilist">link</a>!</p>
        </body>
 </html>
+
index c3a5d84..7520bed 100644 (file)
Binary files a/www/multilist.deb and b/www/multilist.deb differ