commit
8178b83efe
2 changed files with 10 additions and 0 deletions
|
@ -73,6 +73,8 @@
|
||||||
|
|
||||||
- (void)notificateViewsAboutDeletedPostWithId:(NSString *)postId byEntity:(NSString*)entity;
|
- (void)notificateViewsAboutDeletedPostWithId:(NSString *)postId byEntity:(NSString*)entity;
|
||||||
|
|
||||||
|
- (NSURLRequest *)webView:(WebView *)sender resource:(id)identifier willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse fromDataSource:(WebDataSource *)dataSource;
|
||||||
|
|
||||||
- (void)setString:(NSString *)string forKey:(NSString *)aKey;
|
- (void)setString:(NSString *)string forKey:(NSString *)aKey;
|
||||||
- (void)setSecret:(NSString *)string;
|
- (void)setSecret:(NSString *)string;
|
||||||
- (NSString *)secret;
|
- (NSString *)secret;
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
- (void)awakeFromNib
|
- (void)awakeFromNib
|
||||||
{
|
{
|
||||||
[timelineViewWindow setExcludedFromWindowsMenu:YES];
|
[timelineViewWindow setExcludedFromWindowsMenu:YES];
|
||||||
|
[timelineView setResourceLoadDelegate:self];
|
||||||
|
|
||||||
[self initHotKeys];
|
[self initHotKeys];
|
||||||
|
|
||||||
|
@ -432,6 +433,13 @@
|
||||||
[timelineView stringByEvaluatingJavaScriptFromString:fun];
|
[timelineView stringByEvaluatingJavaScriptFromString:fun];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* we disable cookies to avoid see a timeline during the consultation of a profile with which the user are connected through safari cf https://github.com/jeena/Bungloo/issues/189 */
|
||||||
|
- (NSURLRequest *)webView:(WebView *)sender resource:(id)identifier willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse fromDataSource:(WebDataSource *)dataSource{
|
||||||
|
NSMutableURLRequest * response = [request mutableCopy];
|
||||||
|
[response setHTTPShouldHandleCookies:FALSE];
|
||||||
|
return response;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)loggedIn
|
- (void)loggedIn
|
||||||
{
|
{
|
||||||
[loginActivityIndicator stopAnimation:self];
|
[loginActivityIndicator stopAnimation:self];
|
||||||
|
|
Reference in a new issue