Git Product home page Git Product logo

owndrop's People

Contributors

jancborchardt avatar leandros 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

owndrop's Issues

Credentials are saved unencrypted in defaults

Any (non-sandboxed) process can read the user's defaults. So saving the ownCloud credentials as basically plain text is a little irresponsible. The Keychain exists for a reason.

About the name

First off: This is awesome! :)

The only thing I am concerned about is the name. I searched on Twitter to look if the app has already been written about – there I found that the CloudApp client »ClouDrop« used to be named »DropCloud« but changed their name: https://twitter.com/search?q=dropcloud&src=typd
I don’t now why they renamed and couldn’t find any info about it. Might have even been that they were requested to change the name.

In any case, the name is attached to that app, and searches on Google etc bring that up and will continue to, rather than your app. So it would probably be wise to rename.

I don’t have any good/short ideas right now except »ownDrop«. ;)

(By the way: You should come to the ownCloud contributor conf, August 26–31 in Berlin!)

401 unauthorized upon dropping

hi
looks like owndrop is no longer maintained? nevertheless I'd like to report that with Owncloud 9.1.0 it is not working as it says "401 unauthorized".
User/Password/Url is copied form PW Manager/Browser and thus should be fine.

STDOUT looks like this (URL and filename replaced with ****):

2016-09-08 21:20:56.316 ownDrop[83203:297160] Upload Error: Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: unauthorized (401)" UserInfo={NSUnderlyingError=0x7f84a279e150 {Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: application/xml" UserInfo={com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x7f84a2636d00> { URL: https://cloud.*****//remote.php/webdav/****.pdf } { status code: 401, headers {
    "Cache-Control" = "no-store, no-cache, must-revalidate, post-check=0, pre-check=0";
    Connection = "Keep-Alive";
    "Content-Length" = 234;
    "Content-Security-Policy" = "default-src 'none';";
    "Content-Type" = "application/xml; charset=utf-8";
    Date = "Thu, 08 Sep 2016 19:20:56 GMT";
    Expires = "Thu, 19 Nov 1981 08:52:00 GMT";
    "Keep-Alive" = "timeout=15, max=99";
    Pragma = "no-cache";
    Server = Apache;
    "Set-Cookie" = "oc3e48f79a10=b3hssaci6rrdguse8t30nmimb6; path=/; secure; HttpOnly";
    "Strict-Transport-Security" = "max-age=15768000";
    "Www-Authenticate" = "Basic realm=\"ownCloud\"";
    "X-Content-Type-Options" = nosniff;
    "X-Download-Options" = noopen;
    "X-Frame-Options" = Sameorigin;
    "X-Permitted-Cross-Domain-Policies" = none;
    "X-Powered-By" = "PHP/5.6.24-pl0-gentoo";
    "X-Robots-Tag" = none;
    "X-XSS-Protection" = "1; mode=block";
} }, NSErrorFailingURLKey=https://cloud.*****//remote.php/webdav/****.pdf, com.alamofire.serialization.response.error.data=<3c3f786d 6c207665 7273696f 6e3d2231 2e302220 656e636f 64696e67 3d227574 662d3822 3f3e0a3c 643a6572 726f7220 786d6c6e 733a643d 22444156 3a222078 6d6c6e73 3a733d22 68747470 3a2f2f73 61627265 6461762e 6f72672f 6e73223e 0a20203c 733a6578 63657074 696f6e3e 53616272 655c4441 565c4578 63657074 696f6e5c 4e6f7441 75746865 6e746963 61746564 3c2f733a 65786365 7074696f 6e3e0a20 203c733a 6d657373 6167653e 55736572 6e616d65 206f7220 70617373 776f7264 20776173 20696e63 6f727265 63743c2f 733a6d65 73736167 653e0a3c 2f643a65 72726f72 3e0a>, NSLocalizedDescription=Request failed: unacceptable content-type: application/xml}}, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x7f84a2636d00> { URL: https://cloud.*****//remote.php/webdav/****.pdf } { status code: 401, headers {
    "Cache-Control" = "no-store, no-cache, must-revalidate, post-check=0, pre-check=0";
    Connection = "Keep-Alive";
    "Content-Length" = 234;
    "Content-Security-Policy" = "default-src 'none';";
    "Content-Type" = "application/xml; charset=utf-8";
    Date = "Thu, 08 Sep 2016 19:20:56 GMT";
    Expires = "Thu, 19 Nov 1981 08:52:00 GMT";
    "Keep-Alive" = "timeout=15, max=99";
    Pragma = "no-cache";
    Server = Apache;
    "Set-Cookie" = "oc3e48f79a10=b3hssaci6rrdguse8t30nmimb6; path=/; secure; HttpOnly";
    "Strict-Transport-Security" = "max-age=15768000";
    "Www-Authenticate" = "Basic realm=\"ownCloud\"";
    "X-Content-Type-Options" = nosniff;
    "X-Download-Options" = noopen;
    "X-Frame-Options" = Sameorigin;
    "X-Permitted-Cross-Domain-Policies" = none;
    "X-Powered-By" = "PHP/5.6.24-pl0-gentoo";
    "X-Robots-Tag" = none;
    "X-XSS-Protection" = "1; mode=block";
} }, NSErrorFailingURLKey=https://cloud.*****//remote.php/webdav/****.pdf, com.alamofire.serialization.response.error.data=<3c3f786d 6c207665 7273696f 6e3d2231 2e302220 656e636f 64696e67 3d227574 662d3822 3f3e0a3c 643a6572 726f7220 786d6c6e 733a643d 22444156 3a222078 6d6c6e73 3a733d22 68747470 3a2f2f73 61627265 6461762e 6f72672f 6e73223e 0a20203c 733a6578 63657074 696f6e3e 53616272 655c4441 565c4578 63657074 696f6e5c 4e6f7441 75746865 6e746963 61746564 3c2f733a 65786365 7074696f 6e3e0a20 203c733a 6d657373 6167653e 55736572 6e616d65 206f7220 70617373 776f7264 20776173 20696e63 6f727265 63743c2f 733a6d65 73736167 653e0a3c 2f643a65 72726f72 3e0a>, NSLocalizedDescription=Request failed: unauthorized (401)}

Maybe OC 9 is not supported as last commit here is from 2014?
Cheers,

Sometimes quits just after opening

6/2/14 6:37:32.779 PM ownDrop[17866]: *** Assertion failure in -[NSSecureTextFieldCell _objectValue:forString:errorDescription:], /SourceCache/AppKit/AppKit-1265.20/AppKit.subproj/NSCell.m:1637
6/2/14 6:37:32.780 PM ownDrop[17866]: An uncaught exception was raised
6/2/14 6:37:32.780 PM ownDrop[17866]: Invalid parameter not satisfying: aString != nil
6/2/14 6:37:32.780 PM ownDrop[17866]: (
    0   CoreFoundation                      0x00007fff89fc525c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8cb29e75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff89fc5038 +[NSException raise:format:arguments:] + 104
    3   Foundation                          0x00007fff8ade7d41 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
    4   AppKit                              0x00007fff85e468d8 -[NSCell _objectValue:forString:errorDescription:] + 159
    5   AppKit                              0x00007fff85e4682a -[NSCell _objectValue:forString:] + 20
    6   AppKit                              0x00007fff85e46798 -[NSCell setStringValue:] + 41
    7   AppKit                              0x00007fff85ec25b4 -[NSControl setStringValue:] + 138
    8   ownDrop                             0x000000010a0d56bb ownDrop + 9915
    9   CoreFoundation                      0x00007fff89ee53b9 -[NSSet makeObjectsPerformSelector:] + 201
    10  AppKit                              0x00007fff85df5b1d -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1157
    11  AppKit                              0x00007fff85dea5ee loadNib + 327
    12  AppKit                              0x00007fff85de9b8c +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 288
    13  AppKit                              0x00007fff85de997c -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 197
    14  AppKit                              0x00007fff85de976b +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 357
    15  AppKit                              0x00007fff85de55b7 NSApplicationMain + 448
    16  libdyld.dylib                       0x00007fff822d45fd start + 1
)
6/2/14 6:37:32.781 PM ownDrop[17866]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: aString != nil'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff89fc525c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8cb29e75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff89fc5038 +[NSException raise:format:arguments:] + 104
    3   Foundation                          0x00007fff8ade7d41 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
    4   AppKit                              0x00007fff85e468d8 -[NSCell _objectValue:forString:errorDescription:] + 159
    5   AppKit                              0x00007fff85e4682a -[NSCell _objectValue:forString:] + 20
    6   AppKit                              0x00007fff85e46798 -[NSCell setStringValue:] + 41
    7   AppKit                              0x00007fff85ec25b4 -[NSControl setStringValue:] + 138
    8   ownDrop                             0x000000010a0d56bb ownDrop + 9915
    9   CoreFoundation                      0x00007fff89ee53b9 -[NSSet makeObjectsPerformSelector:] + 201
    10  AppKit                              0x00007fff85df5b1d -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1157
    11  AppKit                              0x00007fff85dea5ee loadNib + 327
    12  AppKit                              0x00007fff85de9b8c +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 288
    13  AppKit                              0x00007fff85de997c -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 197
    14  AppKit                              0x00007fff85de976b +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 357
    15  AppKit                              0x00007fff85de55b7 NSApplicationMain + 448
    16  libdyld.dylib                       0x00007fff822d45fd start + 1
)

Seems like you just need to check some variable if it's nil or a string

Delete Shared File?

Hi, there is no option to delete files shared with ownDrop, or? I can delete the file by hand, but its still in the ownDrop menu. :-/ Would be great the ownDrop scan regularly the ownDrop Folder for deleted (or new files). And a delete option in ownDrop UI would be nice too.
Best regards jazz

Renaming the target from DropCloud to ownDrop broke 'pod install'

(OS X 10.9.3, ruby 2.0.0, gem 2.0.14, pod 0.33.1)

When doing a 'pod install' as per the README, this error message comes up:

[!] Unable to find a target named `DropCloud`

This happened, I guess, because of the project rename and the .xcodeproj target now being "ownDrop".

Upload not working

After setting everything up, the upload is not working. First I thought my path couldn't be found, but after setting no path it also fails. I'm getting no feedback message what so ever after dropping a file onto the icon. Console also doesn't show any output.

Maybe related to #2 ?

I'm using Mac OS 10.9.3.
I'm available in case you need any further info or testing.

show list of recent ownDrops

Hi,
first of all thanks for this neat little application.
Is there any chance you could provide a list of recent uploads so one can recopy the urls?
Cloudapp for example does this and its really helpful.

Thanks

Login is not being saved

After quitting and re-opening the app, the login data has not been saved in the respective input fields.

I'm using Mac OS 10.9.3.

I'm available in case you need any further info or testing.

Path gets ignored while uploading

I'm setting a path, which surely exists on the server (I just created a folder "Drops"), but it still uploads into the root directory. I tried with added slashes before and after the path, nothing changed the behaviour.

URL in settings should not require http

I just configured owdrop for the first time and did not enter the url with http:// but just the domain. I think it would be easy to spot this and change it or at least give the user any feedback about a failed login. I only found it the console:

23.08.15 09:51:30,626 ownDrop[52940]: Upload Error:
Error Domain=NSURLErrorDomain Code=-1002 "Der Vorgang konnte nicht abgeschlossen werden. (NSURLErrorDomain-Fehler -1002.)"
UserInfo=0x60800026efc0 {NSErrorFailingURLStringKey=example.org/remote.php/webdav/MT4_4_FarbeImKontext2.zip,
NSUnderlyingError=0x608000254880 "Der Vorgang konnte nicht abgeschlossen werden. (kCFErrorDomainCFNetwork-Fehler -1002.)",
NSErrorFailingURLKey=example.org/remote.php/webdav/MT4_4_FarbeImKontext2.zip}

Upload failed

If i try to upload a file, i get:

30.05.14 13:30:43,113 ownDrop[14251]: Upload Error: Error Domain=NSURLErrorDomain Code=-999 "Abgebrochen" UserInfo=XXXXXXXX {NSErrorFailingURLKey=https://cloud.mydomain.com//remote.php/webdav/image.jpg, NSLocalizedDescription=Abgebrochen, NSErrorFailingURLStringKey=https://cloud.mydomain.com//remote.php/webdav/image.jpg}

My Preferences are:
https://cloud.mydomain.com
Path empty

On a sidenote: if i close owndrop and reopen it, the password field in preferences is empty.
Is this normal behaviour?

Instant link creation before full upload

Hi,
the main reason we are using dropbox to share files is that when you are syncing a file with dropbox you already have the option to create a link and share that link with your clients.

Is it possible to do this with ownDrop?
Let your file sync with ownCloud but already create the link to email to your clients.

Regards,
Ely

Cannot start it

Hi, @Leandros

I follow your step.
  1. download
  2. unzip
  3. copy it to Applications

but when I click it in Applications, there is nothing happened. Could you help me for this?

Thanks!

Crash after upload

14/09/14 17:08:53,715 ownDrop[74934]: *** Assertion failure in -[NSMenu removeItem:], /SourceCache/AppKit/AppKit-1265.21/Menus.subproj/NSMenu.m:750
14/09/14 17:08:53,723 ownDrop[74934]: An uncaught exception was raised
14/09/14 17:08:53,724 ownDrop[74934]: Invalid parameter not satisfying: item != nil
14/09/14 17:08:53,724 ownDrop[74934]: (
    0   CoreFoundation                      0x00007fff971bd25c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff923cae75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff971bd038 +[NSException raise:format:arguments:] + 104
    3   Foundation                          0x00007fff96944d41 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
    4   AppKit                              0x00007fff9009cd01 -[NSMenu removeItem:] + 135
    5   ownDrop                             0x0000000107a6697c ownDrop + 14716
    6   ownDrop                             0x0000000107a689f9 ownDrop + 23033
    7   ownDrop                             0x0000000107a82432 ownDrop + 128050
    8   libdispatch.dylib                   0x00007fff9aa241bb _dispatch_call_block_and_release + 12
    9   libdispatch.dylib                   0x00007fff9aa2128d _dispatch_client_callout + 8
    10  libdispatch.dylib                   0x00007fff9aa28ef0 _dispatch_main_queue_callback_4CF + 333
    11  CoreFoundation                      0x00007fff971244f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
    12  CoreFoundation                      0x00007fff970df714 __CFRunLoopRun + 1636
    13  CoreFoundation                      0x00007fff970dee75 CFRunLoopRunSpecific + 309
    14  HIToolbox                           0x00007fff97374a0d RunCurrentEventLoopInMode + 226
    15  HIToolbox                           0x00007fff973747b7 ReceiveNextEventCommon + 479
    16  HIToolbox                           0x00007fff973745bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
    17  AppKit                              0x00007fff9009424e _DPSNextEvent + 1434
    18  AppKit                              0x00007fff9009389b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
    19  AppKit                              0x00007fff9008799c -[NSApplication run] + 553
    20  AppKit                              0x00007fff90072783 NSApplicationMain + 940
    21  libdyld.dylib                       0x00007fff954865fd start + 1
    22  ???                                 0x0000000000000002 0x0 + 2
)

Upload from clipboard

Hi,

I think it's a cool feature to add the ability to upload content from clipboard

Regards,
Yann

Wording improvement

Currently the notification is:

Upload complete!
The URL has been copied to the clipboard

I’d suggest two improvements:

  1. include the filename
  2. use the more common word »link« instead of »URL«

Testfile.txt uploaded!
The link has been copied to your clipboard

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.