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/
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/">
<channel>
<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>
<language>en</language>
<item>
<title>Version 0.1.0</title>
<title>Version 0.1.1</title>
<sparkle:minimumSystemVersion>10.5.0</sparkle:minimumSystemVersion>
<sparkle:releaseNotesLink>http://jeenaparadies.net/tentia/ReleaseNotes.html</sparkle:releaseNotesLink>
<pubDate>Sun, 02 Oct 2011 21:23:23 +0200</pubDate>
<enclosure url="http://jeenaparadies.net/tentia/Tentia.app.zip"
sparkle:version="0.1.0"
length="752378"
<sparkle:releaseNotesLink>http://jabs.nu/Tentia/download/ReleaseNotes.html</sparkle:releaseNotesLink>
<pubDate>Sat, 03 Nov 2012 03:16:09 +0100</pubDate>
<enclosure url="http://jabs.nu/Tentia/download/Tentia.app.zip"
sparkle:version="0.1.1"
length="631057"
type="application/octet-stream"
sparkle:dsaSignature="MCwCFASGUE8sw1YzVGwsT0CHkSV4AFsrAhR2TnPTUHUNLea762QZc4Q3jc+f9Q==" />
sparkle:dsaSignature="MCwCFBIWYzANyXNp9wvyQdOeJZ+FN/JFAhQV+ubR0l8jEX3gIgPPyNMp5iIxGA==" />
</item>
</channel>
</rss>

View file

@ -27,6 +27,7 @@ function Core(action) {
}
Core.prototype.newStatus = function(status) {
if(status != null && status.length > 0) {
this.since_id = status[0]["id"];
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.
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.
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).
For more info check out the Wiki page: https://github.com/jeena/Tentia/wiki

View file

@ -12,6 +12,10 @@
</head>
<body>
<h1>Tentia 0.1.1</h1>
<p>Bugfixes</p>
<p>Changed to send on Cmd+Enter.</p>
<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>

View file

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

View file

@ -1,20 +1,20 @@
-----BEGIN PUBLIC KEY-----
MIIDOzCCAi4GByqGSM44BAEwggIhAoIBAQDL5cJ9vX94dkVue2J+xxPC+cnPyTXg
Jgq9q8nbHIdP8S1oDslBEQHaq7fc2Vh52DChi+02f0AKqQaXoBp4JLzlScqbzTNc
3i8F/+OuMKWpun1+HgomDZBDYAvC443blbmBaw6OgOg/8O5I7twddjTf4kwSnTJh
AgNKMtuVuOL6eBGxYmxqk48ZwAFETxKZ2YOIC89dpbl5vMepoeGTUMBWO6cAht2R
hHP/MgFjRbtho56GSlY/uIjghJbuTWXVnXAZdy2jgIEy9Ud6ifVzlRD1DYALwyKi
qY6e8rkQbPI85QgSdE0p1Z+ACbqORwXpMTf6gvVa9XCY5l3OZwSxgbB5AhUAz4jI
PuZbxukSJetErh74xS+HJYUCggEBALVy2tAn1csNit6PkyWg11JOWHygGTfkc0MJ
i68i75zAwQCCwWGcZ0t6ZL1/G6XlxFHq8qpYRu1cDEebpgtLSnpPVgWfAsjgGj/H
pQtyJrY1dsm8ms2r9LAuhS0AqtADer+WZbt0hS/IIDIufRwFH3C9wjaNVTtg1REs
g3EKi8S0Vc+R9zifz3m0FS9RoIkC4G/CPzbSTDFepW1l5/C9PaE3yJORxQAMOiT+
0dYHY3XrXBUTx3jiH3ZQsfbmA1nU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fZTMlDsCl6o19QmRbCLAqY0VhKZ
qPeL0atvdkaczDrNReZYRHcCfa9sO74Kt/m10UW7vEL5bIjYTN7kWvLh5HAuMvZo
Ta77PJpD0X0HbPUrX0/2YXZchxt3is1Tfy03T9aO4iWE+0Qy6wYDggEGAAKCAQEA
4AxqBHt4LMlsK330/0YXhyKYJEBjDHftz8vFuyq7Zob0t5euDExqtkjnDTo9BD/m
4tOE3/12IHL8kPpB0augGHONyoCO7Fdm+CR+mWNMqg2qo5mdPxEzP74WFrryhvh3
z/GMhBPfZ/qSbfOvI9snc2KS6Pi34L+Je1UiYt8+gmN/uF/cUTWIkOUavI6AuGIB
oCkWGpEYjAYfZkR80/pKNQq2qLc9hiUAj1VpY5B6pxlelmos+/F62Je+E6Fd1VZN
cJfvL2kp/9bPU35cye4/FGkrW94DgRBw3IpAVrnwjnglJn2JUr7BySLO7PhFfTvO
ZbWeowFp6qKpOugZ7kS//w==
-----END PUBLIC KEY-----

View file

@ -3,25 +3,25 @@ require 'time'
path = File.dirname File.expand_path(__FILE__)
# system "cd \"#{path}/build/Release/\"; zip -r Twittia.app.zip Twittia.app; cd \"#{path}\""
version = `defaults read \"#{path}/build/Release/Twittia.app/Contents/Info\" CFBundleVersion`.gsub(/\n/,'')
length = `stat -f %z \"#{path}/build/Release/Twittia.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/,'')
# system "cd \"#{path}/build/Release/\"; zip -r Tentia.app.zip Tentia.app; cd \"#{path}\""
version = `defaults read \"#{path}/build/Release/Tentia.app/Contents/Info\" CFBundleVersion`.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/Tentia.app.zip\" \"#{path}/dsa_priv.pem\"`.gsub(/\n/,'')
xml = <<XML
<?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/">
<channel>
<title>Twittia's Changelog</title>
<link>http://github.com/downloads/jeena/Twittia/Appcast.xml</link>
<title>Tentia's Changelog</title>
<link>http://jabs.nu/Tentia/download/Appcast.xml</link>
<description>Most recent changes with links to updates.</description>
<language>en</language>
<item>
<title>Version #{version}</title>
<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>
<enclosure url="http://jeenaparadies.net/twittia/Twittia.app.zip"
<enclosure url="http://jabs.nu/Tentia/download/Tentia.app.zip"
sparkle:version="#{version}"
length="#{length}"
type="application/octet-stream"
@ -33,8 +33,8 @@ 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}/ReleaseNotes.html\" jeena@jeenaparadies.net:~/jeenaparadies.net/htdocs/twittia/"
system "scp \"#{path}/Appcast.xml\" 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@jeena.net:~/jabs.nu/public/Tentia/download/"
system "scp \"#{path}/Appcast.xml\" jeena@jeena.net:~/jabs.nu/public/Tentia/download/"
puts "Done."