Commit Graph

412 Commits

Author SHA1 Message Date
Jonas Dellinger
3c82b0376b Merge pull request #106 from petrroll/configureAwaitFix
Configure await fix + removed bunch of unnecessary async/await before return
2016-09-09 14:47:09 +02:00
Jonas Dellinger
812a11df32 Merge pull request #107 from petrroll/asyncShouldReturnTask
Async methods return Tasks instead of void.
2016-09-09 14:44:07 +02:00
Petr Houška
3e7265a657 Async methods return Tasks instead of void. 2016-09-08 12:38:37 +02:00
Petr Houška
1ae1f2380a Fixed missed await. 2016-09-08 12:24:16 +02:00
Petr Houška
80f58df929 Fixed rest of awaits. 2016-09-08 12:06:24 +02:00
Petr Houška
a67305cb14 Reworked async/await in WebAPI 2016-09-08 08:30:33 +02:00
Jonas Dellinger
dd2b39292a Added OpenGraphState, got removed somehow?! 2016-09-03 00:44:51 +02:00
Jonas Dellinger
e0357ef2b1 Updated Port to HTTPS-Version 2016-09-03 00:40:55 +02:00
Jonas Dellinger
ec32ba8c06 Fixed small misspelling 'shuffle' 2016-09-03 00:40:31 +02:00
Jonas Dellinger
ce376a3513 Fixed wrong comparing of track objects 2016-08-28 22:35:47 +02:00
Jonas Dellinger
af7dcf840f Fixed small doc mistake 2016-08-27 17:58:06 +02:00
Jonas Dellinger
7745698fe5 Added Local API Docs 2016-08-27 17:26:42 +02:00
Jonas Dellinger
88c5074fc1 Updated mkdocs.yml structure to latest version 2016-08-26 00:58:28 +02:00
AppVeyor Doc Generation
01a9069422 Another check for branches 2016-08-25 21:50:54 +02:00
AppVeyor Doc Generation
70282859a4 Updated docs.cmd - One more ../ 2016-08-25 20:44:12 +02:00
AppVeyor Doc Generation
f0ecf297d7 Updated docs.cmd - Works? 2016-08-25 20:40:52 +02:00
Johnny @PC
25e126b0f1 Updated docs.cmd 2016-08-25 20:10:02 +02:00
Johnny @PC
8bee9f2127 Code cleanup/docs in SpotifyWebAPI.cs 2016-08-24 13:17:46 +02:00
Jonas Dellinger
eb469bd9a5 Merge pull request #97 from petrroll/master
Adds support for automatic retry on 502, 503, and 500 errors + refactoring of duplicated code
2016-08-24 13:08:43 +02:00
Petr Houška
83ea4cd9e7 Fixed docs for RetryErrorCodes. 2016-08-23 19:18:04 +02:00
Petr Houška
9952f3e939 Generalized Download list functions. 2016-08-23 19:13:11 +02:00
Petr Houška
0fb4a5ba16 Merge remote-tracking branch 'upstream/master' 2016-08-23 18:50:06 +02:00
Petr Houška
4598410016 Fixed UseAutoRetry doc comment. 2016-08-23 18:44:17 +02:00
Jonas Dellinger
f5d45d0efa Added docs.cmd 2016-08-20 13:20:52 +02:00
Jonas Dellinger
6f126389c1 Added docs to main branch 2016-08-20 12:49:09 +02:00
Petr Houška
78387da0ef Turned automatic retry off by default. 2016-08-14 04:29:01 +02:00
Petr Houška
4b05542696 Added timeout for retry. 2016-08-14 04:27:32 +02:00
Petr Houška
ea317dcbeb Removes duplicated code + adds support for retry to Alt functions. 2016-08-14 04:14:16 +02:00
Petr Houška
cf2d2f632b Removed code duplicity. 2016-08-14 03:49:39 +02:00
Petr Houška
0250131345 Updates Download and UploadData functions. 2016-08-14 03:39:35 +02:00
Petr Houška
9ccd257f43 Removed some code duplication. 2016-08-14 03:24:09 +02:00
Johnny @PC
0f993ceda5 Cleanup HTTPServer and more stuff 2016-07-31 16:24:27 +02:00
Johnny @PC
0cefd0ac13 Removed wrong factory 2016-07-31 16:19:58 +02:00
Johnny @PC
417869548a Added additional constructor to WebAPIFactory 2016-07-31 16:18:42 +02:00
Jonas Dellinger
409a444d53 Merge pull request #92 from jholzer/master
Stability improvement:
2016-07-31 15:56:17 +02:00
Jürgen
4699246068 Adapted code style 2016-07-30 00:19:57 +02:00
Jürgen
1699519c95 Renamed AuthenticationFactory to WebApiFactory (better description of what the class does...) 2016-07-24 23:58:45 +02:00
Jürgen
f13ac73671 restore original .gitignore 2016-07-24 23:54:13 +02:00
Jonas Dellinger
a5c584a8d9 Merge pull request #94 from nphmuller/NullRefInApiCall
Added null check to fix NullReferenceException in api call.
2016-07-23 23:47:24 +02:00
Nick Muller
c3a63d71e4 Added empty json container if server response is empty.
This fixes a possible NullReferenceException, which at least occurred in every call to SaveAlbums().
2016-07-23 23:35:23 +02:00
Jürgen
961f25a487 - Changes from manual reading of header content to Linq-approach (pro: no more chance of deadlocks in StreamReadLine)
- Flush output stream and close it
2016-07-23 19:53:02 +02:00
Jonas Dellinger
0b259c3da1 Merge pull request #93 from nphmuller/CheckSavedAlbumsUrl
Corrected url in CheckSavedAlbum method.
2016-07-23 19:40:56 +02:00
Nick Muller
59f9c1aa98 Corrected url in CheckSavedAlbum method. 2016-07-23 18:36:15 +02:00
Jürgen Holzer
08137421ea Timer should be disabled and events detached if no longer needed.
So IDisposable is introduced which handles the above...
2016-07-22 21:38:58 +02:00
Jürgen Holzer
234a522f8f Cleaning up after timeout
Proper Re-Use is now possible
2016-07-20 09:56:05 +02:00
Jürgen
f0290fa037 WebControl with new AuthenticationFactory 2016-07-19 21:16:03 +02:00
Jürgen
d21e84476c AuthenticationFactory 2016-07-19 21:15:22 +02:00
Jürgen
0130c96c54 - Changed Listener handling to asynchronious handling
+ New: AuthenticationFactory for awaitatble getting of fully initalized SpotifyWebApi
- Changed demo-app to usage of AuthenticationFactory
2016-07-19 21:14:42 +02:00
Jürgen
8dde236256 Stability improvement:
Processing in separate threat may cause racing condition and timeouts in browser.
By putting processing in original threat we get a more sequential processing and more stability.
2016-07-19 00:04:27 +02:00
Jonas Dellinger
0ab2952e18 Merge pull request #91 from jholzer/master
Fix in HttpProcessor
2016-07-17 20:00:19 +02:00