| Age | Commit message (Collapse) | Author | 
|---|
|  | The first block here was before we integrated the 'evernote' wrapper gem
and is no longer used.
The second block was me thinking of getting all the notes for all
notebooks in the controller but I ended up just doing that in the view. | 
|  | This was originally for the 'evernote_oauth' gem but we're no longer
using that one. | 
|  | These have been superseded by other gems. | 
|  | This file is no longer used now that we're leveraging the cgs/kipcole9
'evernote' gem (https://github.com/teddywing/evernote). | 
|  | No longer used now that we're authenticating with OmniAuth. | 
|  | Use `make run` instead of `rails server` to take advantage of the
automatic sourcing of environment variables that the task provides. | 
|  | Create a `run` task that runs the development server after sourcing the
required configuration variables from the `.env` file. | 
|  | Include some background information, setup and run steps, and license
information. | 
|  | A setup script that does the initialisation necessary to start using the
app. | 
|  |  | 
|  | A sample .env file containing the environment variables required by the
application. You'll need to provide your own Evernote API keys. | 
|  | File that specifies environment variables. | 
|  | Updated the gem to fix the `LoadError` I ran into
(https://github.com/teddywing/evernote/commit/f10ec2efe2e2984109545e496f36067cb3707dd6).
Change our `NotesController` code to use the updated gem now instead of
the code we copied over directly into `services/evernote.rb`. | 
|  | For consistency with the 'evernote' gem that we're now using. | 
|  | For all notebooks, display all notes inside a notebook and the contents
and tags of each note.
Rendering the note contents with `html_safe` to get them to display
quickly in a user-readable form because the contents are formatted in
ENML, Evernote's XML markup language.
Tried collecting the notes in the controller but ultimately decided to
output them directly in the view. | 
|  | Copy 'note_store.rb' from 'kipcole9/evernote' directly into my Evernote
service file.
I was getting a `LoadError` when trying to load the 'evernote' gem so
to get moving quickly I'm just including the code directly in this app.
We can figure out the issue with the gem later.
Updating `NotesController` to interface with the 'evernote' gem classes
and get notebooks using its API. | 
|  | In searching for an easier way to interface with the Evernote SDK and to
get all notes for a given notebook, I came across a wrapper gem for the
Evernote Ruby SDK: https://github.com/cgs/evernote.
The trouble is, this gem was last updated on June 15, 2012, and is
likely out of date. Checked the GitHub Network tab to see if there were
any forks a little farther along. Turns out kipcole9 has one that has
some nice updates, and is the most recent of all the forks.
Installing kipcole9's version to help me get some note data. | 
|  | Want to be able to get all notes from a given Evernote notebook. But
it's proving harder than I thought. Geez, the Evernote SDK is so obtuse.
Going to look for a different way to do this.
Refactored the `EvernoteService` a bit in the process. | 
|  | List the names of all Evernote notebooks.
We create a new service to make it easier to query the Evernote Ruby SDK
and get all notebooks from it. This code to list notebooks was copied
from the Evernote Ruby SDK's sample EDAMTest.rb file
(https://github.com/evernote/evernote-sdk-ruby/blob/master/sample/client/EDAMTest.rb#L52-L62).
In our controller, we call this service to get our notebooks and pass
those to the view where we display each notebook's name.
Hard-coded the my Evernote Sandbox access token and NoteStore URL
because I didn't save them in the OmniAuth OAuth process. Using these to
query the Evernote API using the SDK.
Note to self: I'll want to deactivate that Evernote Sandbox account
before releasing this. | 
|  | This is the main Evernote Ruby SDK. We'll be using it to get note
information from Evernote's API. | 
|  |  | 
|  | This will show an example page that gets notebook & note information
from Evernote and displays it. | 
|  | 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. | 
|  | 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. | 
|  | This will handle the OAuth callback coming from OmniAuth. | 
|  | Add a call to initialise the Evernote provider specified by
'omniauth-evernote'.
Use the sandbox base URL. | 
|  | 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'. | 
|  |  | 
|  | * Add index method to HomeController
* Add root route to HomeController#index
* Add link on index page to `/auth/evernote` | 
|  | 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. | 
|  | Will serve our index page. | 
|  | Add the config file needed by the 'evernote-oauth' gem as specified in
the gem's README to provide our API keys. | 
|  | For authentication with Evernote. | 
|  | Don't commit vendored gems. | 
|  |  |