openintents / calendar-web

Private, Encrypted calendar in the cloud with Blockstack
https://cal.openintents.org
19 stars 9 forks source link

"Move from google calendar" doesn't work as it is a cross-origin request #38

Open StevenJNPearce opened 5 years ago

StevenJNPearce commented 5 years ago

Could have a file upload dialog where user can choose a .ics file from their PC. Alternatively use something like this: https://github.com/Rob--W/cors-anywhere/

@friedger

friedger commented 5 years ago

@StevenJNPearce Good point! I was testing with a cors browser plugin.

friedger commented 5 years ago

Hmm, will users trust the proxy?

StevenJNPearce commented 5 years ago

Hmm, will users trust the proxy?

Maybe It's better to just have an <input type="file">, the readme can be updated to instruct users to save the .ics from the secret url in google calendar. This way it would also be easier to migrate from any desktop calendar app that can export .ics

Negative of this is that it wouldn't stay up to date with new changes made on google calendar.

friedger commented 5 years ago

Do you want to send a pull request for the input file addition?

StevenJNPearce commented 5 years ago

Do you want to send a pull request for the input file addition?

Will do once I get my head round all the code in the app. It's very verbose.

StevenJNPearce commented 5 years ago

Is there some way to get blockstack login to work from localhost? I can login fine with it served over https from my server, but it wont login when running from npm start

friedger commented 5 years ago

@StevenJNPearce Use 127.0.0.1:3000

friedger commented 5 years ago

Ping me directly on riot, slack (https://blockstack.slack.com/) if you need a quick answer