Compare commits

...

4 commits

Author SHA1 Message Date
eec5320f1c Merge pull request #1 from chmac/patch-1
Ping.fm is dead, switched to Composer.io
2013-06-12 19:58:23 -07:00
Callum Macdonald
f63bc06d2d Ping.fm is dead, switch to Composer.io
Ping.fm has gone down. Composer.io hosts a drop in replacement for the API.
2013-06-12 15:19:40 +03:00
a15f295d3f Added ignore files for Git. 2012-05-12 23:01:35 -07:00
5988e16ea7 Added support for TouchPad screen size. 2011-07-14 23:00:11 +00:00
7 changed files with 14 additions and 7 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
/.svn/
/*.ipk
/releases

3
Ping.fm/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
/.pmd
/.project
/.settings/

View file

@ -74,7 +74,7 @@ KeyDialogAssistant.prototype.checkKey = function()
Mojo.Log.info('checkKey: ' + params.toQueryString()); Mojo.Log.info('checkKey: ' + params.toQueryString());
var request = new Ajax.Request('http://api.ping.fm/v1/user.key', var request = new Ajax.Request('http://papi.cmp.sr/v1/user.key',
{ {
method: 'post', method: 'post',
parameters: params, parameters: params,
@ -519,7 +519,7 @@ MainAssistant.prototype.pingIt = function()
this.controller.modelChanged(this.pingBtnModel); this.controller.modelChanged(this.pingBtnModel);
var method = this.methodModel.value; var method = this.methodModel.value;
var url = 'http://api.ping.fm/v1/user.post'; var url = 'http://papi.cmp.sr/v1/user.post';
this.prefs.defaultMethod = method; this.prefs.defaultMethod = method;
@ -534,7 +534,7 @@ MainAssistant.prototype.pingIt = function()
if (method.charAt(0) == '#') if (method.charAt(0) == '#')
{ {
url = 'http://api.ping.fm/v1/user.tpost'; url = 'http://papi.cmp.sr/v1/user.tpost';
// toLowerCase workaround Ping.fm API bug // toLowerCase workaround Ping.fm API bug
params.set('trigger', method.substring(1).toLowerCase()); params.set('trigger', method.substring(1).toLowerCase());
} }
@ -647,7 +647,7 @@ MainAssistant.prototype.updateMethods = function()
if (this.updatedMethods.hasNoServices) if (this.updatedMethods.hasNoServices)
{ {
request = new Ajax.Request('http://api.ping.fm/v1/user.services', request = new Ajax.Request('http://papi.cmp.sr/v1/user.services',
{ {
method: 'post', method: 'post',
parameters: parameters:
@ -663,7 +663,7 @@ MainAssistant.prototype.updateMethods = function()
if (this.updatedMethods.hasNoTargets) if (this.updatedMethods.hasNoTargets)
{ {
request = new Ajax.Request('http://api.ping.fm/v1/user.triggers', request = new Ajax.Request('http://papi.cmp.sr/v1/user.triggers',
{ {
method: 'post', method: 'post',
parameters: parameters:

View file

@ -1,11 +1,12 @@
{ {
"id": "net.thauvin.erik.webos.pingfm", "id": "net.thauvin.erik.webos.pingfm",
"version": "1.0.2", "version": "1.0.3",
"vendor": "Erik C. Thauvin", "vendor": "Erik C. Thauvin",
"type": "web", "type": "web",
"theme": "light", "theme": "light",
"main": "index.html", "main": "index.html",
"title": "Ping.fm", "title": "Ping.fm",
"icon": "icon.png", "icon": "icon.png",
"noWindow": true "noWindow": true,
"uiRevision": 2
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB