maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Jolla1 & TOH (https://talk.maemo.org/forumdisplay.php?f=56)
-   -   Jolla tracking numbers (https://talk.maemo.org/showthread.php?t=91913)

HtheB 2013-12-12 14:12

Re: Jolla tracking numbers
 
Quote:

Originally Posted by aegis (Post 1395528)
Jeebus, now there's complaints about an apology.

Is there a way to virtually slap people?

Yes, you can always slap around a bit with a large trout

xgoan 2013-12-12 14:13

Re: Jolla tracking numbers
 
Anyway the apology is necessary. Because Jolla gave at some moment more importance to the deal with DNA than the deal with their initial supporters (people who paid 100€ blindly)

epmt 2013-12-12 14:14

Re: Jolla tracking numbers
 
Quote:

Originally Posted by aegis (Post 1395528)
Jeebus, now there's complaints about an apology.

Is there a way to virtually slap people?

Not every comment is a complaint, though, nor should be read in such a way as to suggest slapping an appropriate response. We can help Jolla with honest reactions and flesh out ideas for them. Feedback is actually usually considered a good thing.

What you are merely witnessing is people having different opinions and views. It is not the same people asking for apologies and saying they are unnecessary. That's the richness of opinion. You can't expect everyone having the same opinion.

SaiKo 2013-12-12 14:17

Re: Jolla tracking numbers
 
Quote:

Originally Posted by jamar (Post 1395478)
Don't know about Android app, but I've made a quick & dirty bash script for automatic checking of my order status, if anyone interested:

Code:

# cat check_order_status.sh
Code:

#!/bin/bash

email="your@email.org"
username="your.login@email.net"
password="_secret-pass_"

echo "Getting login page..."
curl -s -c cookie.txt https://shop.jolla.com/customer/account/login/ > /dev/null
echo "Sending POST data..."
curl -s -b cookie.txt -c cookie.txt -d "login[username]=$username" -d "login[password]=$password" -d "send=" https://shop.jolla.com/customer/account/loginPost/ > /dev/null
echo "Getting orders list..."
orders=`curl -s -b cookie.txt https://shop.jolla.com/sales/order/history/`
echo "Filtering status..."
order_status=`echo $orders | sed -e 's/.*<td><em>//g' -e 's/<\/em>.*$//g'`

if [ ! -f status.txt ]; then
        echo "unknown" > status.txt
fi

if [ `cat status.txt` == $order_status ]; then
        echo "Status of your order is still $order_status, nothing to do but wait."
else
        echo "Wohoo, your order status has just changed do $order_status, sending e-mail notification!"
        echo "Time to celebrate, after endless waiting your Jolla order status just changed to $order_status!" | mail -s "Your Jolla order status changed to $order_status" $email
        echo $order_status > status.txt
fi
echo "Done."

Just added it to crontab and now I can do more useful things than checking Jolla's store page ;)

I'm not a bash expert, so it surely could be done better. For the mail commad to work, you need to have set up local MTA. Also, if you're going to use this in any way, please don't hammer Jolla's server and set the check interval to maybe 30 minutes or so...

Will this work as a billboard script?
Code:

#!/bin/bash

email="your@email.org"
username="your.login@email.net"
password="_secret-pass_"

curl -s -c cookie.txt https://shop.jolla.com/customer/account/login/ > /dev/null
curl -s -b cookie.txt -c cookie.txt -d "login[username]=$username" -d "login[password]=$password" -d "send=" https://shop.jolla.com/customer/account/loginPost/ > /dev/null
orders=`curl -s -b cookie.txt https://shop.jolla.com/sales/order/history/`
order_status=`echo $orders | sed -e 's/.*<td><em>//g' -e 's/<\/em>.*$//g'`

if [ ! -f status.txt ]; then
        echo "unknown" > status.txt
fi

if [ `cat status.txt` == $order_status ]; then
        echo "Jolla :( $order_status."
else
        echo "Jolla :) $order_status!"
fi

No way to control billboard refresh speed though, would this eat a lot of battery?

cvp 2013-12-12 14:19

Re: Jolla tracking numbers
 
in picking #116x

YEAH :D



EDIT: lol wich one from you have delete all Order ID Numbers with x on the end? .... bravo guy, bravo!

SaiKo 2013-12-12 14:39

Re: Jolla tracking numbers
 
Quote:

Originally Posted by cvp (Post 1395540)
lol wich one from you have delete all Order ID Numbers with x on the end? .... bravo guy, bravo!

They are not deleted, x's have been replaced with 0's

TheBootroo 2013-12-12 14:40

Re: Jolla tracking numbers
 
@cvp: yeah, we replaced xxx with 0 to make sorting work properly...

xgoan 2013-12-12 14:45

Re: Jolla tracking numbers
 
Quote:

Originally Posted by SaiKo (Post 1395539)
Will this work as a billboard script?
Code:

#!/bin/bash

email="your@email.org"
username="your.login@email.net"
password="_secret-pass_"

curl -s -c cookie.txt https://shop.jolla.com/customer/account/login/ > /dev/null
curl -s -b cookie.txt -c cookie.txt -d "login[username]=$username" -d "login[password]=$password" -d "send=" https://shop.jolla.com/customer/account/loginPost/ > /dev/null
orders=`curl -s -b cookie.txt https://shop.jolla.com/sales/order/history/`
order_status=`echo $orders | sed -e 's/.*<td><em>//g' -e 's/<\/em>.*$//g'`

if [ ! -f status.txt ]; then
        echo "unknown" > status.txt
fi

if [ `cat status.txt` == $order_status ]; then
        echo "Jolla :( $order_status."
else
        echo "Jolla :) $order_status!"
fi

No way to control billboard refresh speed though, would this eat a lot of battery?


For Billboard:

Code:

#!/bin/bash

email="your@email.org"
username="your.login@email.net"
password="_secret-pass_"

curl -s -c cookie.txt https://shop.jolla.com/customer/account/login/ > /dev/null
curl -s -b cookie.txt -c cookie.txt -d "login[username]=$username" -d "login[password]=$password" -d "send=" https:/
orders=`curl -s -b cookie.txt https://shop.jolla.com/sales/order/history/`
order_status=`echo $orders | sed -e 's/.*<td><em>//g' -e 's/<\/em>.*$//g'`

echo $order_status

:)

I will miss low power mode in Jolla :(

SaiKo 2013-12-12 14:48

Re: Jolla tracking numbers
 
Quote:

Originally Posted by xgoan (Post 1395556)
For Billboard:

Code:

#!/bin/bash

email="your@email.org"
username="your.login@email.net"
password="_secret-pass_"

curl -s -c cookie.txt https://shop.jolla.com/customer/account/login/ > /dev/null
curl -s -b cookie.txt -c cookie.txt -d "login[username]=$username" -d "login[password]=$password" -d "send=" https:/
orders=`curl -s -b cookie.txt https://shop.jolla.com/sales/order/history/`
order_status=`echo $orders | sed -e 's/.*<td><em>//g' -e 's/<\/em>.*$//g'`

echo $order_status

:)

I will miss low power mode in Jolla :(

Thank you!

zwer 2013-12-12 14:52

Re: Jolla tracking numbers
 
Quote:

Originally Posted by xgoan (Post 1395556)
I will miss low power mode in Jolla :(

You, and pretty much anyone moving from the N9 to Jolla :(

I'd easily pay 100€ for an OLED screen with a LPM. Easily!


All times are GMT. The time now is 05:04.

vBulletin® Version 3.8.8