preparations to autoupdate

This commit is contained in:
Jeena Paradies 2012-11-03 03:19:46 +01:00
parent f57ed62432
commit 136680e03a
8 changed files with 50 additions and 74 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
build/ build/
Tentia.xcodeproj/project.xcworkspace/xcuserdata/jeena.xcuserdatad/UserInterfaceState.xcuserstate Tentia.xcodeproj/project.xcworkspace/xcuserdata/jeena.xcuserdatad/UserInterfaceState.xcuserstate
dsa_priv.pem

View file

@ -2,19 +2,19 @@
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/"> <rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel> <channel>
<title>Tentia's Changelog</title> <title>Tentia's Changelog</title>
<link>http://github.com/downloads/jeena/Tentia/Appcast.xml</link> <link>http://jabs.nu/Tentia/download/Appcast.xml</link>
<description>Most recent changes with links to updates.</description> <description>Most recent changes with links to updates.</description>
<language>en</language> <language>en</language>
<item> <item>
<title>Version 0.1.0</title> <title>Version 0.1.1</title>
<sparkle:minimumSystemVersion>10.5.0</sparkle:minimumSystemVersion> <sparkle:minimumSystemVersion>10.5.0</sparkle:minimumSystemVersion>
<sparkle:releaseNotesLink>http://jeenaparadies.net/tentia/ReleaseNotes.html</sparkle:releaseNotesLink> <sparkle:releaseNotesLink>http://jabs.nu/Tentia/download/ReleaseNotes.html</sparkle:releaseNotesLink>
<pubDate>Sun, 02 Oct 2011 21:23:23 +0200</pubDate> <pubDate>Sat, 03 Nov 2012 03:16:09 +0100</pubDate>
<enclosure url="http://jeenaparadies.net/tentia/Tentia.app.zip" <enclosure url="http://jabs.nu/Tentia/download/Tentia.app.zip"
sparkle:version="0.1.0" sparkle:version="0.1.1"
length="752378" length="631057"
type="application/octet-stream" type="application/octet-stream"
sparkle:dsaSignature="MCwCFASGUE8sw1YzVGwsT0CHkSV4AFsrAhR2TnPTUHUNLea762QZc4Q3jc+f9Q==" /> sparkle:dsaSignature="MCwCFBIWYzANyXNp9wvyQdOeJZ+FN/JFAhQV+ubR0l8jEX3gIgPPyNMp5iIxGA==" />
</item> </item>
</channel> </channel>
</rss> </rss>

View file

@ -27,6 +27,7 @@ function Core(action) {
} }
Core.prototype.newStatus = function(status) { Core.prototype.newStatus = function(status) {
if(status != null && status.length > 0) { if(status != null && status.length > 0) {
this.since_id = status[0]["id"]; this.since_id = status[0]["id"];
for(var i = status.length-1, c=0; i>=c; --i) { for(var i = status.length-1, c=0; i>=c; --i) {

View file

@ -2,35 +2,5 @@ Tentia
======= =======
Tentia is a slim Tent client for OS X written in mostly JavaScript. Tentia is a slim Tent client for OS X written in mostly JavaScript.
It doesn't implement much of Tents functionality, only the things **I**
care for. Therefore it is **small** and **fast** and looks good
by doing so. _"Keep it simple, stupid!"_ Is the mantra, therefore there
will not by much more functionality as it is now. But you're welcome to
fork and extend it.
Sorry, Tentia is in the first development stage so nothing is working yet. For more info check out the Wiki page: https://github.com/jeena/Tentia/wiki
It works on Mac OS 10.5 and higher.
![Tentia screenshot](http://github.com/downloads/jeena/Tentia/Icon.png)
FAQ:s
-----
1. The global hotkey for a new Message is: `Ctrl Alt Cmd m`
2. Yes there is a tentia: url scheme.
3. Yes, there is a JavaScript-plugin-API. Create this file:
`~/Library/Application Support/Tentia/Plugin.js`
4. Yes, you can change the look through CSS. Create this file:
`~/Library/Application Support/Tentia/Style.css`
Nice to know
------------
Originally the code was written for a Twitter client called
[Twittia](https://github.com/jeena/Twittia/wiki).

View file

@ -12,6 +12,10 @@
</head> </head>
<body> <body>
<h1>Tentia 0.1.1</h1>
<p>Bugfixes</p>
<p>Changed to send on Cmd+Enter.</p>
<h1>Tentia 0.1.0</h1> <h1>Tentia 0.1.0</h1>
<p>First attempt to rewrite the old Twitter client Twittia to a new and shiny Tent client Tentia.</p> <p>First attempt to rewrite the old Twitter client Twittia to a new and shiny Tent client Tentia.</p>

View file

@ -30,11 +30,11 @@
<key>CFBundleHelpBookFolder</key> <key>CFBundleHelpBookFolder</key>
<string>Tentia.help</string> <string>Tentia.help</string>
<key>CFBundleHelpBookName</key> <key>CFBundleHelpBookName</key>
<string>net.jeena.apps.tentia.help</string> <string>nu.jabs.apps.tentia.help</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>Icon.icns</string> <string>Icon.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>net.jeena.apps.tentia</string> <string>nu.jabs.apps.tentia</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
@ -42,14 +42,14 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>0.1.0</string> <string>0.1.1</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
<array> <array>
<dict> <dict>
<key>CFBundleURLName</key> <key>CFBundleURLName</key>
<string>net.jeena.apps.tentia.handler</string> <string>nu.jabs.apps.tentia.handler</string>
<key>CFBundleURLSchemes</key> <key>CFBundleURLSchemes</key>
<array> <array>
<string>tentia</string> <string>tentia</string>
@ -57,7 +57,7 @@
</dict> </dict>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>0.1.0</string> <string>0.1.1</string>
<key>LSApplicationCategoryType</key> <key>LSApplicationCategoryType</key>
<string>public.app-category.lifestyle</string> <string>public.app-category.lifestyle</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
@ -69,7 +69,7 @@
<key>NSServices</key> <key>NSServices</key>
<array/> <array/>
<key>SUFeedURL</key> <key>SUFeedURL</key>
<string>http://jeenaparadies.net/tentia/Appcast.xml</string> <string>http://jabs.nu/Tentia/download/Appcast.xml</string>
<key>SUPublicDSAKeyFile</key> <key>SUPublicDSAKeyFile</key>
<string>dsa_pub.pem</string> <string>dsa_pub.pem</string>
<key>UTExportedTypeDeclarations</key> <key>UTExportedTypeDeclarations</key>

View file

@ -1,20 +1,20 @@
-----BEGIN PUBLIC KEY----- -----BEGIN PUBLIC KEY-----
MIIDOzCCAi4GByqGSM44BAEwggIhAoIBAQDL5cJ9vX94dkVue2J+xxPC+cnPyTXg MIIDPDCCAi4GByqGSM44BAEwggIhAoIBAQDjho3c9LB9TBv/wUQSegtiD2Q/YFjK
Jgq9q8nbHIdP8S1oDslBEQHaq7fc2Vh52DChi+02f0AKqQaXoBp4JLzlScqbzTNc HvJH2ndtw2MIwd9iLA4JgXuZAZHpIa+YV7vU97TCvdRmO50VkfULkRona2SjE8lR
3i8F/+OuMKWpun1+HgomDZBDYAvC443blbmBaw6OgOg/8O5I7twddjTf4kwSnTJh oK3VMOkJNGlAK0MfNgDF3/KcI7W6wTZRq/QLLI9Hi1oUpfheDCrrONyvHhCRW5UD
AgNKMtuVuOL6eBGxYmxqk48ZwAFETxKZ2YOIC89dpbl5vMepoeGTUMBWO6cAht2R Rm/1Y/TltWfvDi2XmzvVFc9ISnuWoAntzp0IshWeAkcpDLbXJ3u9GudVAHeowEps
hHP/MgFjRbtho56GSlY/uIjghJbuTWXVnXAZdy2jgIEy9Ud6ifVzlRD1DYALwyKi +BlMHMrzKPyvviRp0skJkmYvDpZn1YI9WhI4a65hPvgGO7a0/bgc1WbI6nR9mx6f
qY6e8rkQbPI85QgSdE0p1Z+ACbqORwXpMTf6gvVa9XCY5l3OZwSxgbB5AhUAz4jI v+L37eqXoAJ+jrd2BaxD73BH7gBidO3xEYP0oUAxi1xkh2t587yyPU9lAhUAkKxj
PuZbxukSJetErh74xS+HJYUCggEBALVy2tAn1csNit6PkyWg11JOWHygGTfkc0MJ 3QWYyr+bYg6PDQyx2XpU+hcCggEBAJjhPOB+yLjbobEKJLzdjYujO0XMKVwej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wCCsNfiwP3Emmjpteetg8THF7AHXfpohRcWg9xsgw oCkWGpEYjAYfZkR80/pKNQq2qLc9hiUAj1VpY5B6pxlelmos+/F62Je+E6Fd1VZN
58H74UJkF0bMA1fqfChLSD5hD2Es9nIH64W+gMhsVSPS0ZY9bs6Y9fPjoKcv6kE+ cJfvL2kp/9bPU35cye4/FGkrW94DgRBw3IpAVrnwjnglJn2JUr7BySLO7PhFfTvO
mExuNMEgnFOwNmiC1Sg8 ZbWeowFp6qKpOugZ7kS//w==
-----END PUBLIC KEY----- -----END PUBLIC KEY-----

View file

@ -3,25 +3,25 @@ require 'time'
path = File.dirname File.expand_path(__FILE__) path = File.dirname File.expand_path(__FILE__)
# system "cd \"#{path}/build/Release/\"; zip -r Twittia.app.zip Twittia.app; cd \"#{path}\"" # system "cd \"#{path}/build/Release/\"; zip -r Tentia.app.zip Tentia.app; cd \"#{path}\""
version = `defaults read \"#{path}/build/Release/Twittia.app/Contents/Info\" CFBundleVersion`.gsub(/\n/,'') version = `defaults read \"#{path}/build/Release/Tentia.app/Contents/Info\" CFBundleVersion`.gsub(/\n/,'')
length = `stat -f %z \"#{path}/build/Release/Twittia.app.zip\"`.gsub(/\n/,'') length = `stat -f %z \"#{path}/build/Release/Tentia.app.zip\"`.gsub(/\n/,'')
signature = `ruby \"#{path}/../Sparkle\ 1.5b6/Extras/Signing Tools/sign_update.rb\" \"#{path}/build/Release/Twittia.app.zip\" \"#{path}/dsa_priv.pem\"`.gsub(/\n/,'') signature = `ruby \"#{path}/../Sparkle\ 1.5b6/Extras/Signing Tools/sign_update.rb\" \"#{path}/build/Release/Tentia.app.zip\" \"#{path}/dsa_priv.pem\"`.gsub(/\n/,'')
xml = <<XML xml = <<XML
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/"> <rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel> <channel>
<title>Twittia's Changelog</title> <title>Tentia's Changelog</title>
<link>http://github.com/downloads/jeena/Twittia/Appcast.xml</link> <link>http://jabs.nu/Tentia/download/Appcast.xml</link>
<description>Most recent changes with links to updates.</description> <description>Most recent changes with links to updates.</description>
<language>en</language> <language>en</language>
<item> <item>
<title>Version #{version}</title> <title>Version #{version}</title>
<sparkle:minimumSystemVersion>10.5.0</sparkle:minimumSystemVersion> <sparkle:minimumSystemVersion>10.5.0</sparkle:minimumSystemVersion>
<sparkle:releaseNotesLink>http://jeenaparadies.net/twittia/ReleaseNotes.html</sparkle:releaseNotesLink> <sparkle:releaseNotesLink>http://jabs.nu/Tentia/download/ReleaseNotes.html</sparkle:releaseNotesLink>
<pubDate>#{Time.now.rfc2822}</pubDate> <pubDate>#{Time.now.rfc2822}</pubDate>
<enclosure url="http://jeenaparadies.net/twittia/Twittia.app.zip" <enclosure url="http://jabs.nu/Tentia/download/Tentia.app.zip"
sparkle:version="#{version}" sparkle:version="#{version}"
length="#{length}" length="#{length}"
type="application/octet-stream" type="application/octet-stream"
@ -33,8 +33,8 @@ XML
File.open("#{path}/Appcast.xml", 'w') {|f| f.write(xml) } File.open("#{path}/Appcast.xml", 'w') {|f| f.write(xml) }
system "scp \"#{path}/build/Release/Twittia.app.zip\" jeena@jeenaparadies.net:~/jeenaparadies.net/htdocs/twittia/" system "scp \"#{path}/build/Release/Tentia.app.zip\" jeena@jeena.net:~/jabs.nu/public/Tentia/download/"
system "scp \"#{path}/ReleaseNotes.html\" jeena@jeenaparadies.net:~/jeenaparadies.net/htdocs/twittia/" system "scp \"#{path}/ReleaseNotes.html\" jeena@jeena.net:~/jabs.nu/public/Tentia/download/"
system "scp \"#{path}/Appcast.xml\" jeena@jeenaparadies.net:~/jeenaparadies.net/htdocs/twittia/" system "scp \"#{path}/Appcast.xml\" jeena@jeena.net:~/jabs.nu/public/Tentia/download/"
puts "Done." puts "Done."