Permalink
Commits on Mar 19, 2011
Commits on Dec 22, 2010
  1. Refactor with intial bulk imap support

    geoffyoungs committed Dec 22, 2010
    * Add Gmail::Mailbox#move_to, #copy_to, #contains_message?,
      #uid_for_message_id, #flag, #unflag for bulk imap operations
    * Add Gmail::MessageList#archive!, #delete!, #mark, #remove_label
      utility functions for bulk operations on search result sets
    * Start adding yardoc documentation
  2. Add test task to Rakefile

    geoffyoungs committed Dec 22, 2010
Commits on Dec 18, 2010
  1. Add tests

    geoffyoungs committed Dec 18, 2010
    * Add test for Gmail.auto_segment
    * Add test to check that empty result sets are not fetched during
      search.
  2. Group imap calls into batches of 25

    geoffyoungs committed Dec 18, 2010
    * Adds Gmail.auto_segment(list, segment_size) { |segment| } function
       - Expects block to return array
       - Returns concatenation of all block return values.
Commits on Dec 4, 2010
  1. Add new tests

    geoffyoungs committed Dec 4, 2010
    Add tests for new search functionality
  2. Misc fixes

    geoffyoungs committed Dec 4, 2010
    Gmail
    - Changes to Gmail#labels
       - Use '*' wildcard instead of '%' to return all labels in one call
    - Changes to Gmail#imap_xlist
      - Fix imap_xlist monkey patch to use method parameters
      - Use Gmail#imap instead of @imap to ensure that we're logged in
    
    Gmail::Mailbox::MessageList
    - Add #empty? to detect empty result set
    - Fix #with_label
      - Don't execute any IMAP commands if resultset is already empty
      - Don't double fetch envelope
    
    Gmail::Message
    - Add #envelope? to indicate whether the envelope object has been
      fetched yet
  3. Fix current tests

    geoffyoungs committed Dec 4, 2010
    - Add basic bundler support to ensure correctness of dependencies
    - Update tests to reflect current state of code
    - Remove reference to mime/message - mail gem handles all our mail needs
      now?
Commits on Dec 2, 2010
  1. Add ability to filter search results

    geoffyoungs committed Dec 2, 2010
    GMail::Message
    - Add #envelope to store/read back imap envelope contents
    - Add #message_id? to check whether we know the message id yet
    - Add #subject, #from, #to to read values from envelope with body
      fallback
    
    GMail::Mailbox
    - Change behaviour - always fetch IMAP ENVELOPE for search results
      unless we have already loaded message
    - Add GMail::Mailbox::MessageList - array like class for search results
    - Add MessageList#with_label(label) - filter results
      - Searches label folder for messages in MessageList
Commits on Dec 1, 2010
  1. Add support for pre-fetching the messages returned by search

    geoffyoungs committed Dec 1, 2010
    In Gmail::Mailbox
     - Add support for :fetch key in #emails() to indicate the message
       bodies should be fetched
    
    In Gmail::Mail
     - Add #loaded? to check whether message has already been downloaded
     - Add #set_body(body) to set the contents of a message
  2. Add more advanced label functions and searching.

    geoffyoungs committed Nov 30, 2010
    In GMail
     - Fix #labels on non-gmail accounts - stop assuming that the "[Gmail]"
       hierachy exists
     - Add #imap_xlist
       - Monkey patches XLIST support into Net::IMAP if it's missing.
       - Caches result until a new label is created
     - Add #inbox_label, #allmail_label, #spam_label, #trash_label,
       #drafts_label, #important_label, #starred_label
       - Uses XLIST to identify function of standard folders
     - Add #inbox, #allmail, #spam, #trash, #drafts, #important, #starred,
       #sent
       - Short cuts to known mailboxes
     - Add #normal_labels
       - Returns list of "normal" labels - ie. not sent, etc.
     - Add #label_of_type(type)
       - Looks up known mailbox
    
    In GMail::Mailbox
     - In #emails
       - Add support for additional all IMAP search keywords via hash params
         to #emails().
       - Throw runtime error for unknown keys
    
    In GMail::Message
     - Add #message_id
       - UIDs are different for the same message across different folders,
         so Message-ID header is the test for uniqueness
     - Add #has_label?(name)
       - Indicates whether message has given label applied
     - Add #archived?, #starred?, #sent?, #important?
       - Shortcuts to check whether the message has been archived, starred
         etc.
     - Add #labels - returns list of labels applied to message
       - Search all known folders for messages with this message-id
     - Add #remove_label(label) - deletes message from given mailbox/label
       - ie. delete message from named folder
Commits on Nov 30, 2010
  1. Fix typos

    geoffyoungs committed Nov 30, 2010
Commits on Nov 8, 2010
  1. Merge branch 'master' of https://github.com/elberskirch/ruby-gmail in…

    adimircolen committed Nov 8, 2010
    …to elberskirch-master
Commits on Nov 7, 2010
  1. Fixed ArgumentErrors

    elberskirch committed Nov 7, 2010
Commits on Aug 30, 2010
Commits on May 14, 2010
  1. Updated README for new release.

    dcparker committed May 14, 2010
  2. Version bump to 0.2.0

    dcparker committed May 14, 2010
  3. Integrated the Mail rubygem instead of TMail. MUCH better mail parsin…

    dcparker committed May 14, 2010
    …g and generating capabilities! I've now removed all of my previous attempt at a multi-part-email-generating library.
Commits on May 11, 2010
  1. * Added explicit tmail dependency in gemspec

    dcparker committed May 11, 2010
    * Added better README tutorial content
    * Version bump to 0.1.1
Commits on May 5, 2010
  1. Version bump to 0.1.0 and release.

    dcparker committed May 5, 2010
  2. Small modification of the initializer which fixes a bug preventing us…

    rtlong committed with dcparker Apr 26, 2010
    …e of Ruby-Gmail withOUT a block
  3. Access passed tmail object in from_tmail (local var instead of instan…

    namxam committed with Daniel Parker May 5, 2010
    …ce var)
Commits on Apr 18, 2010
  1. Version bump to 0.0.9

    dcparker committed Apr 18, 2010
  2. Added labels method to get a list of labels.

    julienXX committed with dcparker Jan 18, 2010
Commits on Mar 23, 2010
  1. Made a few things actually work.

    dcparker committed Mar 23, 2010