Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Untitled #149

Open
wants to merge 67 commits into
base: master
Choose a base branch
from
Open

Untitled #149

wants to merge 67 commits into from

Conversation

benjaminjackson
Copy link

Hi there,

My fork fixes a memory leak in the OAuth helper classes, a crash when clicking the "more" button, and improves the messaging with the MBProgessHUD (and some convenience class methods in SHK.m).

It also has a bunch of other small improvements that I added for my own use and which might be useful in the main branch.

ideashower and others added 30 commits July 6, 2010 14:17
- Debug switch
- ModalPresentationStyle (for iPad apps)
- ModalTransitionStyle (for iPad apps)

New Features:
- Logout of all services +[SHK logoutOfAll]
- Logout of specific service +[SHK logoutOfService:serviceId]

Critical Fixes:
- Delicious token expiring after 1 hour
- Bit.ly could return non-bit.ly domains causing shortened url to be rejected

Minor Improvements:
- SHKActionSheet tried to act on indexes less than 0
- Cancelling OAuth login no longer prompts 'user cancelled' error message

Other bug fixes
- Fixed facebook logout
- Added additional comments for setting up twitter
- Added sanity check to catch pin based auth with twitter
- Version 0.1.6 - release going to website
You can add your own language by simply adding your lang in ShareKit.bundle.

You have to include ShareKit.bundle now in your project
…t were evaluated on clickedButtonAtIndex. This produced a black screen when no mail client was setup, mail was a favorite and the user pressed "more".
- SHKPhotoAlbum: Save images to photo album action
- Facebook accepts text sharing

Fixes:
- SHKItem now carries over full item when sharing
- Crash when saving items offline that did not contain custom variables
- Modal popups would not go away when using pagesheet modal type on iPad
- Editing sharers now affects actionsheet choices
- Race condition in SHKShareMenu

Improvements:
- Improved display of SHKTwitterForm on iPad
- Facebook uses text variable when sharing urls to repopulate status message
- SHKMail now uses up to date template, improved handling of text when it's available in SHKItem
- Updated SHKActionSheet to not override delegate, now you can assign your own delegate

Code Refactoring:
- Renamed SHLocalizedString to use proper SHK prefix
- Updated SHKLocalizedString to work like stringWithFormat
- Removed/Combined some localization strings
-SHKTwitter: Don't attempt to shorten while offline
-SHKTwitter: Crash on @"Follow %@" format string
-SHKEmail: Added 'Sent with ...'
-SHKDelicious: Titles were double encoded
-SHK: SHKStringOrBlank function

-Updated FBConnect to version 1.3.0
Benjamin Jackson added 22 commits November 10, 2010 15:17
…p, but instead shows an alert when selected.
…MBProgressHUD, now included in the project via a git submodule.
…ring options is the same as the total number of options.
@alariccole
Copy link

There's some good stuff in here, but you should review it for security. I noticed right off the bat that twitter usernames/passwords are stored in NSUserDefaults, which could compromise the user's login credentials.

@benjaminjackson
Copy link
Author

Good catch. Thanks for the heads up. Will review ASAP.

@benjaminjackson
Copy link
Author

Where did you see this? I'm not finding it.

@alariccole
Copy link

You know, I may have been taken aback by the simulator-only methods in ShareKit, and thought these applied to the device.

@alariccole
Copy link

Yeah, I double-checked and that's all it was. Sorry for the false alarm. I do have a verified issue with MBProgressHUD not getting the proper frame, though. I sometimes find it crammed in the bottom left corner on my app which runs in landscape. Rotating the device resets its frame and causes it do display properly in the center. I can't find the right way to fix it, but I have seen it getting negative values for its x coords by placing an NSLog(@"layout x %f", indFrame.origin.x) around line 508 (end of the layoutSubviews method).

@alariccole
Copy link

@benjaminjackson
Copy link
Author

Great! Thanks for letting me know. I haven't seen this issue but will check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants