Commit Graph

378 Commits

Author SHA1 Message Date
Rikki Tooley
5aebac3dbd Change requirements for building the project to C# 6 and VS2015 2015-09-01 02:48:18 +01:00
Rikki Tooley
c49316fc66 Change default page value for user.getRecentTracks from 0 to 1
API seems to have changed behaviour
- page=1 no longer contains "now playing" track as its first item
- page=0 no longer returns same as page=1 but without the "now playing" track
See #78
2015-09-01 02:48:18 +01:00
Rikki Tooley
63a71053c8 Make track ScrobblesSingle integration test more lenient to make it pass 2015-09-01 02:48:18 +01:00
Rikki Tooley
799bdee290 Change enumerator of LastImageSet to exclude null Uris, plus C#6 2015-09-01 02:48:18 +01:00
Rikki Tooley
294021e416 Update version number to v0.2.1 2015-09-01 02:48:18 +01:00
Rikki Tooley
e5fe3dec14 Make Scrobble response parsing more tolerant
Fix #77
2015-09-01 02:48:18 +01:00
Rikki Tooley
142539ef16 Merge pull request #75 from rms81/tag_api_getTopAlbums
tag.getTopAlbums
2015-07-14 16:29:17 +01:00
Ricardo Santos
d26a1034ad Set HttpClient 2015-07-13 19:31:24 +01:00
Ricardo Santos
e258b4214f Update PROGRESS.md 2015-07-12 18:10:34 +01:00
Ricardo Santos
8abaa11dbe Add Tests 2015-07-12 18:07:56 +01:00
Ricardo Santos
b0eea4b304 Add tag.GetTopAlbumsCommand 2015-07-12 18:07:42 +01:00
Rikki Tooley
ef0b0ff9c9 Update dev NuGet feed URL 2015-07-12 01:34:49 +01:00
Rikki Tooley
139470d809 Update PROGRESS.md, 30%! 2015-07-08 12:41:07 +01:00
Rikki Tooley
05a4c894c5 tag.getTopTags, fix nullrefs from Tag Api 2015-07-08 12:39:07 +01:00
Rikki Tooley
1af3d9b7d7 Merge pull request #74 from rms81/tag_api_getInfo
tag.getInfo
2015-07-06 11:33:03 +01:00
Ricardo Santos
69c199ccb5 Add assertion to compare LastTag.Count property 2015-07-05 21:11:15 +01:00
Ricardo Santos
683bb60402 Set taggings value to Count property 2015-07-05 21:08:13 +01:00
Ricardo Santos
1fa98d41ee Add tests to TagApi.GetInfoCommand 2015-07-05 19:22:39 +01:00
Ricardo Santos
71a87cdb42 Add response resources to test 2015-07-05 19:21:49 +01:00
Ricardo Santos
b2dbe3bc45 Add GetInfoCommand to TagApi 2015-07-05 19:18:55 +01:00
Ricardo Santos
3378ec6a84 Add new property to LastTag 2015-07-05 19:17:55 +01:00
Rikki Tooley
2915ec082d Merge pull request #73 from piotrwiewiura/user.getTopArtists
user.getTopArtists
2015-06-28 20:22:28 +01:00
Piotr Wiewiura
23be035257 Implemented user.getTopArtists 2015-06-27 22:30:18 +02:00
Rikki Tooley
4cfac6a411 Add Tag API 2015-06-21 20:59:08 +01:00
Rikki Tooley
80c3308fd0 tag.getSimilar, tidying some tests 2015-06-21 19:58:04 +01:00
Rikki Tooley
3e991abc8a Add set accessor back to LastAsyncCommandBase, so Syro works again 2015-06-21 19:09:12 +01:00
Rikki Tooley
edc6e1d144 Merge pull request #72 from yaurthek/methodsNamesAsAttributes
Statically expose each LastCommand's method name using an attribute on the class
2015-06-21 17:49:33 +01:00
Melvyn
519d9fd884 code formatting in contributing.md 2015-06-20 16:48:23 +02:00
Melvyn
e15d2feeff added a note in the contributing guide remembering to add an ApiMethodName on new commands. 2015-06-20 16:46:37 +02:00
Melvyn
7e26fd64df Merge branch 'master' into methodsNamesAsAttributes 2015-06-20 16:40:49 +02:00
Melvyn
2e3ab5bf79 removed the api methods names constant list, and used the custom attribute on each command as the source for the LastAsyncCommandBase.Method property instead. 2015-06-20 16:22:20 +02:00
Rikki Tooley
c7881166bd Merge pull request #70 from yaurthek/master
Fixes an ArgumentOutOfRangeException in Library command unit tests, caused by implicit conversion of DateTime.MinValue to DateTimeOffset
2015-06-20 12:26:54 +01:00
Rikki Tooley
bc79e43eed Merge pull request #69 from yaurthek/patch-1
Improved documentation formatting
2015-06-20 12:23:35 +01:00
Melvyn
3aa33663b5 add a unit test checking whether each Command has an ApiMethodNameAttribute. 2015-06-20 13:11:15 +02:00
Melvyn
a4520fb31e removed now useless "CreateCommand()" method, previously used to create an instance of each Command for the progress reporter. 2015-06-20 12:38:32 +02:00
Melvyn
5b38910dd5 format the date in the progress report using the invariant culture. regenerated the progress report. 2015-06-20 12:37:51 +02:00
Melvyn
ff753c906c only allows the ApiMethodName attribute to be defined on classes. 2015-06-20 12:36:44 +02:00
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