Commit Graph

391 Commits

Author SHA1 Message Date
Melvyn
512009f187 updated the progress reporter so that it uses the custom ApiMethodNameAttribute instead of trying to instantiate each command to get its Method property. 2015-06-20 12:36:14 +02:00
Melvyn
83fd97e85a implemented the "Method" property of each Command using the constants defined in LastMethodsNames. Each Command now also has a custom ApiMethodName attribute returning its correct api method name. 2015-06-20 12:24:23 +02:00
Melvyn
f05c76181b Added an auto-generated class containing all the Last.fm api methods names as constants, and an attribute to use them on the Commands. 2015-06-20 11:48:49 +02:00
Melvyn
dabe563a2f fix an ArgumentOutOfRangeException in the Unit Tests causing a few tests to fail.
The exception probably occured only with a local time zone with a positive offset, while performing the implicit conversion from DateTime.MinValue to a DateTimeOffset. http://stackoverflow.com/questions/6924198/converting-datetime-minvalue-to-datetimeoffset
2015-06-20 10:16:31 +02:00
Melvyn Laïly
6aa6146498 Updated scrobbling.md (formatting)
Removed useless extra backticks around in-line code, and added some more around methods and classes names.
2015-06-20 09:55:53 +02:00
Melvyn Laïly
d2fdbf1b10 Updated contributing.md (formatting and typo)
Wrapped classes and methods names in backticks so that the generic types parameters show on github, and corrected a typo.
2015-06-20 09:37:46 +02:00
Rikki Tooley
268afd59b8 Updating and clarifying some lines in contributing documentation 2015-05-19 13:44:45 +01:00
Rikki Tooley
bb9f18f0ad Updating docs 2015-05-19 13:34:11 +01:00
Rikki Tooley
54322086ea Aight then, just copying nupkgs to root after packing because it's easier than fiddling with the regex 2015-05-01 16:27:15 +01:00
Rikki Tooley
9a1769745e Fixing regex for nuget package deploy 2015-05-01 16:10:46 +01:00
Rikki Tooley
6f5f9c9805 Fixing typo in appveyor.yml 2015-05-01 11:53:30 +01:00
Rikki Tooley
02e85e4da4 Fixing NuGet on the build server 2015-05-01 10:50:01 +01:00
Rikki Tooley
e20378a1fe Updating version to 0.2.0 + Gitter webhook 2015-05-01 10:25:19 +01:00
Rikki Tooley
b28c3c1471 Fixing syro after httpclient changes 2015-04-29 13:45:52 +01:00
Rikki Tooley
57092d7bc9 Tidying up ScrobbleCommand and ScrobbleResponse 2015-04-28 14:35:27 +01:00
Rikki Tooley
65448d6032 Scrobbler.SendCachedScrobblesAsync() 2015-04-26 19:36:17 +01:00
Rikki Tooley
3e899833c2 Update README.md 2015-04-26 19:16:06 +01:00
Rikki Tooley
33a969c6df Match method names of *Api classes match REST api method names 2015-04-26 19:03:42 +01:00
Rikki Tooley
ecbea890f9 Use version from Package-Versions.ps1 for SQLite package version
Closes #67
2015-04-26 18:32:27 +01:00
Rikki Tooley
24d0c40f59 Return ignored scrobbles on ScrobbleResponses
Closes #59
2015-04-26 18:32:20 +01:00
Rikki Tooley
48be3af2c9 Update assembly info 2015-04-26 18:32:20 +01:00
Rikki Tooley
93a371674d Dispose classes created by LastfmClient #67, Scrobble command needs SSL for multiple scrobbles #61 2015-04-26 18:32:20 +01:00
Rikki Tooley
a44e158e95 LastfmClient class, closes #64 2015-04-26 01:13:12 +01:00
Rikki Tooley
6fcb990259 Add HttpClient parameter to api classes + pass them down to commands, make api classes disposable
Closes #66, closes #41
2015-04-26 00:36:52 +01:00
Rikki Tooley
742844b819 Move Scrobbler class to Objects namespace 2015-04-25 23:56:07 +01:00
Rikki Tooley
9a698ccf5f Merge pull request #63 from inflatablefriends/scrobbler
Batching and caching scrobbler classes.
2015-04-25 16:03:49 +01:00
Rikki Tooley
d65712505f Updating Inflatable.Lastfm.nuspec, defining package for Inflatable.Lastfm.SQLite 2015-04-25 15:31:50 +01:00
Rikki Tooley
6fe0c71e25 Test to ensure existng cached track is sent along with a new scrobble 2015-04-25 14:49:59 +01:00
Rikki Tooley
ea3a7eb2c3 Scrobble batching
TODO test batching combined with caching in unit tests
2015-04-24 00:47:30 +01:00
Rikki Tooley
64170d9a7c Merge branch 'master' into scrobbler
Conflicts:
	src/IF.Lastfm.Core/Api/Enums/LastResponseStatus.cs
2015-04-23 23:56:04 +01:00
Rikki Tooley
f16528f5ad Enums can only have 32 types! 2015-04-23 23:42:52 +01:00
Rikki Tooley
0ad13f4463 Let's see what the problem is... 2015-04-23 23:31:19 +01:00
Rikki Tooley
85bb18366d Tryin to get AppVeyor to run nunit under 4.5 2015-04-23 23:10:12 +01:00
Rikki Tooley
d10bdd79f6 Fix scrobble request body tests 2015-04-23 22:51:26 +01:00
Rikki Tooley
92d69f3619 Fix tests failure in different timezone 2015-04-17 18:13:41 -07:00
Rikki Tooley
8919d68597 More scrobbling documentation 2015-04-17 17:48:06 +01:00
Rikki Tooley
211fb3a559 Support batch scrobbling
Adjusted generate method signature to sort by ASCII order
2015-04-17 01:54:19 +01:00
Rikki Tooley
7bff9c698b Scrobble command parameter test 2015-04-12 04:16:13 +01:00
Rikki Tooley
2aa4ab68de Testing for correct request as well as response for scrobble command, marking ITrackApi.ScrobbleAsync as obsolete 2015-04-12 03:50:50 +01:00
Rikki Tooley
96c7b4cc34 Bumping version number to 0.1.5 2015-04-11 00:31:52 +01:00
Rikki Tooley
69bfa2a8b7 Move contributing.md to docs directory 2015-04-11 00:16:40 +01:00
Rikki Tooley
16af668c8e Parameter correct tests for library.removeScrobble and library.removeTrack 2015-04-11 00:03:51 +01:00
Rikki Tooley
d30519e38d Fixing enum collision bug caused by #62
it was impossible to represent Cached, CachedFailed or RequestFailed because their auto assigned int overlapped with other members at 2, 3, 4.
2015-04-10 22:52:45 +01:00
Rikki Tooley
7da15fd8f4 SQLiteScrobbler, tests passing 2015-04-06 01:57:01 +01:00
Rikki Tooley
a0209625c2 Fixing enum collision bug 2015-04-06 00:17:01 +01:00
Rikki Tooley
e30bc37f41 Fix build, upgrade SQLite integration tests to NUnit 2015-04-05 23:30:50 +01:00
Rikki Tooley
f299b1f8e9 Merge branch 'master' into scrobbler
Conflicts:
	src/IF.Lastfm.Core.Tests.Integration/packages.config
	src/IF.Lastfm.Core.Tests/TestHelper.cs
2015-04-05 23:26:34 +01:00
Rikki Tooley
1c9b87a3f1 Switching MSTest to NUnit 2015-04-05 22:26:10 +01:00
Rikki Tooley
8db319d342 Base SQLiteScrobbler, plus ScrobblerTestsBase... but MSTest doesn't support unit tests across assemblies 2015-04-05 21:46:03 +01:00
Rikki Tooley
7207d05b3d Update PROGRESS.md, 27% 2015-04-05 01:04:49 +01:00