aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-12-30Create NotesControllerTeddy Wing
This will show an example page that gets notebook & note information from Evernote and displays it.
2015-12-30SessionsController: Remove `User`-related codeTeddy Wing
Since we don't have a `User` model or any user handling whatsoever in this app currently, let's remove any references to a "user" and just output the auth hash to the server log to see what we get. We can just copy our auth tokens manually to start making some requests to the Evernote API.
2015-12-30SessionsController: Add sample code provided by OmniAuthTeddy Wing
This is the sample callback code to get access to the OAuth auth hash. A new route specifies that `SessionsController#create` should handle the OAuth callback coming from Evernote.
2015-12-30Create SessionsControllerTeddy Wing
This will handle the OAuth callback coming from OmniAuth.
2015-12-30Add OmniAuth middlewareTeddy Wing
Add a call to initialise the Evernote provider specified by 'omniauth-evernote'. Use the sandbox base URL.
2015-12-30Get rid of 'evernote-oauth' and install 'omniauth'Teddy Wing
Removing the 'evernote-oauth' gem because I couldn't figure out how to get it to work. Decided to go with OmniAuth to handle OAuth because I had a good experience with it in the past and figured it would be simpler to set up. Also installing the 'omniauth-evernote' provider to enable authentication with Evernote. Comment out the route I had created to `auth/evernote#index` for 'evernote-oauth'.
2015-12-30routes.rb: Add route to Evernote auth controller methodTeddy Wing
2015-12-30Add a link to login with Evernote on homepageTeddy Wing
* Add index method to HomeController * Add root route to HomeController#index * Add link on index page to `/auth/evernote`
2015-12-30Add Auth::EvernoteControllerTeddy Wing
Include some sample code from the 'evernote-oauth' gem README (https://github.com/evernote/evernote-oauth-ruby). Not quite sure how I'm going to get this to work just yet though.
2015-12-30Create HomeControllerTeddy Wing
Will serve our index page.
2015-12-30Add config/evernote.ymlTeddy Wing
Add the config file needed by the 'evernote-oauth' gem as specified in the gem's README to provide our API keys.
2015-12-30Add 'evernote-oauth' gemTeddy Wing
For authentication with Evernote.
2015-12-30.gitignore: Ignore `/vendor/bundle/`Teddy Wing
Don't commit vendored gems.
2015-12-30Initial commit. Base Rails 4.2.5 project.Teddy Wing