Code Monkey home page Code Monkey logo

autoingest's People

Contributors

fcy avatar odrobnik avatar ricobeck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autoingest's Issues

Integrate New Animated Icon

I added a new animated icon and included it as good as I could. Please have a look.

AutoIngest_72px_with_Statusbar

Is there a better way to get the black of the icon to show as white while the menu is showing? I could only think of an XOR but that does not come out as white as it should.

Deactivate Sync Now if vendor ID is invalid

The default vendor ID is 8XXXXXXX. If this is not replaced with a 8-digit number that begins with an 8, then "sync now" should be disabled.

Currently you can push it and then you see "Stop Sync", but that never does anything.

Implement Download Options for Newsstand and Opt-In

Add download options for Newsstand and Opt-In.

I haven't found anybody with Opt-In reports yet, but it is implemented in DTITCReportDownloader as in outlined in Apple's PDF Guide

The total options to download should be:

  • Sales Summary Daily
  • Sales Summary Weekly
  • Sales Summary Monthly
  • Sales Summary Yearly
  • Newsstand Detailed Daily
  • Newsstand Detailed Weekly
  • Opt-In Summary Daily (?)
  • Opt-In Summary Weekly (?)

Newsstand does not seem to have longer periods than Weekly at present. I assume that the same is true for Opt-In. Only Newsstand has Detailed.

I'm thinking that a matrix would be nice. There is no combination where Summary and Detailed can occur at the same time so imagine a grid, where the Os are checkboxes

          D    W    M    Y
Sales     O    O    O    O
Newsstand O    O    -    -
Opt-In    -    O    -    -

Looks like Opt-In is only available weekly.

Third Party Code

This is to clarify usage of third party libraries. Please don't check in code into develop that you don't have the copyright for and are willing and able to assign it to Cocoanetics.

@JanX2 put in NoodleKit only for use of a helper method for NSTimer. And he did so right into develop.

I don't want this. Never add any third party code directly into develop. If you must put it in a branch for the other team members to review.

If it is functionality that would take more than 3 lines of code then make a project-local category or tell me to add it to DTFoundation.

Please help keep the project slim and understandable by others.

Organize Reports Into Folders

The original suggestion is to make this hierarchy: Vendor_ID/ReportType/ReportSubType/ReportDateType

I think a simpler and "always on" approach is better. Simpler because we could use only two levels of folders AppleID/VendorID because the report types, subtypes and date is already in the file name. In this case even only the VendorID would work.

Basically we've two options:

  1. Completely customizable folder structure per account (when the support is added)
  2. Not customizable folder structure

What do you thing?

Problem if both unzipping and organizing

If both unzipping and organizing post processing options are chosen, then some files might appear zipped in the organized structure.

The reason is that the files get written to the report folder before they get unzipped in place.

OS X 10.7 Compatibility

Is it possible to support OS X 10.7?

If yes, please see this issue as a feature request.

Autolayout, used in the XIBs, should not be a problem, right?

Improve handling of No Internet on Wakeup

For some Macs it takes a while for the network to become available after waking up. Currently this causes the sync to fail.

Investigate if Reachability is able to catch that (DNS resolution being late) or possibly if there is a later state change that can tell us if the IP address is now reachable.

Alternatively we could simply have a slight delay for a few seconds to wait with auto-sync after waking up.

New PDF-Icon too wide

It looks to me like the width of the new status item is wider then the other items.

screen shot 2013-04-30 at 17 09 07

The space between it and the round icon right of it is larger than the space between other items.

Implement Sparkle

sparkle in its current binary distribution is not able to check developer signed apps. this is a very handy feature when you compare the affords to secure updates.
to enable it one has to use the latest version of its master branch. (see https://github.com/andymatuschak/Sparkle/wiki)
there are two options: add it as a submodule and make it a part of the build process or include it as a precompiled framework. both ways have there advantages. which one should we go?

crash when changing Report Download Folder

probably when there's a space in the path. Will investigate.

Edit: that was not it. Can't repro it now, even after throwing away the prefs.

2013-05-10 11:06:08.256 AutoIngest[40868:303] Report Download Folder changed to /Data/- iPhone programming/reports
2013-05-10 11:06:32.814 AutoIngest[40868:c767] An uncaught exception was raised
2013-05-10 11:06:32.815 AutoIngest[40868:c767] *** -[NSFileManager contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:]: URL is nil
2013-05-10 11:06:32.815 AutoIngest[40868:c767] (
    0   CoreFoundation                      0x00007fff8cde0b06 __exceptionPreprocess + 198
    1   libobjc.A.dylib                     0x00007fff86a0c3f0 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8cde08dc +[NSException raise:format:] + 204
    3   Foundation                          0x00007fff8897d921 -[NSFileManager contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:] + 111
    4   AutoIngest                          0x0000000100010b83 -[ReportOrganizer _organizeFolder:] + 371
    5   AutoIngest                          0x0000000100010930 __37-[ReportOrganizer organizeAllReports]_block_invoke + 96
    6   Foundation                          0x00007fff8896d12f -[NSBlockOperation main] + 124
    7   Foundation                          0x00007fff88943036 -[__NSOperationInternal start] + 684
    8   Foundation                          0x00007fff8894a861 __block_global_6 + 129
    9   libdispatch.dylib                   0x00007fff8412bf01 _dispatch_call_block_and_release + 15
    10  libdispatch.dylib                   0x00007fff841280b6 _dispatch_client_callout + 8
    11  libdispatch.dylib                   0x00007fff841291fa _dispatch_worker_thread2 + 304
    12  libsystem_c.dylib                   0x00007fff83dc2d0b _pthread_wqthread + 404
    13  libsystem_c.dylib                   0x00007fff83dad1d1 start_wqthread + 13
)
2013-05-10 11:06:32.816 AutoIngest[40868:c767] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSFileManager contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:]: URL is nil'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff8cde0b06 __exceptionPreprocess + 198
    1   libobjc.A.dylib                     0x00007fff86a0c3f0 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8cde08dc +[NSException raise:format:] + 204
    3   Foundation                          0x00007fff8897d921 -[NSFileManager contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:] + 111
    4   AutoIngest                          0x0000000100010b83 -[ReportOrganizer _organizeFolder:] + 371
    5   AutoIngest                          0x0000000100010930 __37-[ReportOrganizer organizeAllReports]_block_invoke + 96
    6   Foundation                          0x00007fff8896d12f -[NSBlockOperation main] + 124
    7   Foundation                          0x00007fff88943036 -[__NSOperationInternal start] + 684
    8   Foundation                          0x00007fff8894a861 __block_global_6 + 129
    9   libdispatch.dylib                   0x00007fff8412bf01 _dispatch_call_block_and_release + 15
    10  libdispatch.dylib                   0x00007fff841280b6 _dispatch_client_callout + 8
    11  libdispatch.dylib                   0x00007fff841291fa _dispatch_worker_thread2 + 304
    12  libsystem_c.dylib                   0x00007fff83dc2d0b _pthread_wqthread + 404
    13  libsystem_c.dylib                   0x00007fff83dad1d1 start_wqthread + 13
)
libc++abi.dylib: terminate called throwing an exception

Crash on sync with no internet connection

I just had a crash in “-syncDidFinish:”. It occurred when manually syncing right after waking from sleep. I was dropped right into Xcode/lldb. The previous message in the log was “NO Internet Connection”.

I can’t seem to be able reproduce it at this moment, so I am just logging it here. Apparently, the sync menu item is usually gray out when there is no net. I could be a timing issue…

Handle missing Download Folder

I haven't tested what happens to the organizer (or the app) when the Download Folder doesn't exists. What should we do?

The organizer can silently ignore this and disable itself until a existing folder is set. What about the downloader does it already handle it?

Correct Position of Status Bar Icon

The status bar icon looks to me like it is positioned a little bit too low. Will check the frame of the image drawing versus the status bar item view.

Provide App Icon

We need an app icon to replace the current Xcode default one.

I thought maybe a threedimensional Golden Apple that has a bite. The metaphor being that having an app on the app store should be like having a tree that produces golden apples. And the bite in combination with the Apple of course being a reference to Apple itself.

Support Multiple Vendor IDs

I would like to be able to enter multiple vendor IDs in the vendor ID field, separated by colon. This should be saved as an array in the user defaults. On synching this would then instantiate a sync as configured for each vendor ID.

I'm thinking that this would be a great use for a token field. You know where upon completing a valid 8-digit vendor id it would turn into one "blue pill", like e-mail addresses in mail.app.

Who's up for that?

Reporter

Do you have any plans to migrate this over to Apples Reporter tool? As Apple will be deprecating Autoingestion in November.

File Not Found - DTReachability.h

/AutoIngest-develop/AutoIngest/Source/DTITCReportManager.m:13:9: 'DTReachability.h' file not found

Any idea where I get this file from ? I did a search but didn't find anything ...

Changing account preferences causes exceptions

I just tried setting up AutoIngest. I immediately failed, because changing the account preferences results in exceptions:

An uncaught exception was raised
*** setObjectForKey: object cannot be nil (key: v_Data)

Additionally for mosts key pressed, two characters will appear.

Should this be a difficult fix, I will do this myself.

Menu Option not modified if Auto-Sync is occuring

With auto-sync enabled I launched the app and I could see synching occuring. But the menu option was still "Sync Now".

Instead I expect that I can cancel auto-synching the same way as I would cancel a manual sync, via a "Stop Sync" option.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.