Commit Graph

253 Commits

Author SHA1 Message Date
Deluan 3790aa45e4 Refactored PurgeInactive as a "generic" function.
Also delete indexes when removing records
2016-03-18 19:32:49 -04:00
Deluan cac352b18c Using slices for Results, instead of pointers of slices 2016-03-18 17:30:38 -04:00
Deluan 1da0f7d412 Forgot to fix the response slices allocation... 2016-03-18 17:27:12 -04:00
Deluan 25d902c9d7 When ErroNotFound, return an new entity to avoid conversion from nil errors 2016-03-18 17:24:26 -04:00
Deluan aa6afdb976 Skip ids returned from search but not found in the DB 2016-03-18 17:21:15 -04:00
Deluan c90a50827a Get() methods from all repositories now return a ErrNotFound when the id is nonexistent 2016-03-18 11:33:50 -04:00
Deluan db34122faf Added comments with missing response parts 2016-03-17 22:29:58 -04:00
Deluan 10cbce5dca Fixed build 2016-03-17 19:00:31 -04:00
Deluan ee3e70c712 Register skipped songs! 2016-03-17 18:58:09 -04:00
Deluan ab7e70017a Raising the TTL for NowPlaying 2016-03-17 17:35:10 -04:00
Deluan c4b660fce3 getNowPlaying.view working 2016-03-17 10:37:19 -04:00
Deluan 68c456e188 Halfway of getNowPlaying implementation 2016-03-17 10:08:47 -04:00
Deluan a3238ce17b Cannot clear the index for now.
Have to come up with a solution to partially update the search index
2016-03-16 23:44:24 -04:00
Deluan 86da33f91d Revert "Always index songs and albums"
This reverts commit 4aa02e68e5.
2016-03-16 23:11:52 -04:00
Deluan cc89cb5bd1 Now Playing backend implemented 2016-03-16 22:30:34 -04:00
Deluan 9bfb61d994 Implemented nowplaying repo 2016-03-16 20:52:32 -04:00
Deluan f6866f23a0 Removed 'submit' parameter 2016-03-16 20:45:08 -04:00
Deluan 4748ce142f Introduced NowPlayingRepository. Don't do anything for now 2016-03-16 20:27:48 -04:00
Deluan b660a70688 Introduced engine.Scrobbler
Also refactored mocks into their original packages, to avoid cyclic references. Is there a better way to have mocks in GoLang tests?
2016-03-16 17:59:28 -04:00
Deluan 4aa02e68e5 Always index songs and albums 2016-03-16 15:35:21 -04:00
Deluan 31852ecf26 Better log 2016-03-15 17:44:15 -04:00
Deluan cdefabf760 Better log and less noise in prod mode 2016-03-15 17:31:35 -04:00
Deluan 714b100d03 Ignoring accents in search 2016-03-15 16:23:39 -04:00
Deluan ad3f45bef2 Removed unused file 2016-03-15 14:08:01 -04:00
Deluan cad65f517c Polishing 2016-03-15 13:17:51 -04:00
Deluan 12aedc0996 Using checksums to detect modified stats in the iTunes Library 2016-03-15 11:04:17 -04:00
Deluan bb5d4c920d Error when trying to index on an unsupported field type 2016-03-15 09:41:33 -04:00
Deluan f258592285 Experimenting with iTunes Artwork 2016-03-14 18:09:32 -04:00
Deluan 0ee070b38c Using Entries instead of []Entry 2016-03-14 11:42:33 -04:00
Deluan 393d6fb2dc Also simplify when formatting 2016-03-14 11:36:11 -04:00
Deluan e36a4201db implemented getStarred (just for albums, for now) 2016-03-14 11:35:48 -04:00
Deluan 14934dccf7 Supporting index annotations in domain structs 2016-03-14 10:32:22 -04:00
Deluan 11e128e08f Fixed a bug when the size was higher then the total number of albums 2016-03-13 23:31:24 -04:00
Deluan 4e0a47d2a6 Removed unused code 2016-03-13 23:25:43 -04:00
Deluan c01ce35f04 ignoring iTunesU and Podcasts (for now) 2016-03-13 22:11:44 -04:00
Deluan ed2eb11c87 getAlbumList type=random was always returning ALL albums 2016-03-13 13:26:28 -04:00
Deluan 27b47abfe0 Renamed method 2016-03-13 13:11:16 -04:00
Deluan 19de3e6a3c TODO 2016-03-13 13:03:28 -04:00
Deluan 2f1aa102e9 LICENSE 2016-03-13 12:42:27 -04:00
Deluan 4d7f9ee012 Fixed iTunes location decoding 2016-03-12 11:36:24 -05:00
Deluan 4b09eeccc2 Configuring "prod" 2016-03-11 21:14:32 -05:00
Deluan d23f5ca635 Scrobble working!!! I mean, iTunes scrobble, not Last.FM (for now) 2016-03-11 20:49:01 -05:00
Deluan 329297dab8 Task for continuously check for iTunes Library updates 2016-03-11 19:02:51 -05:00
Deluan 12b0350d3e Task for continuously check for iTunes Library updates 2016-03-11 18:37:37 -05:00
Deluan 71f1fab575 Updated Date takes Last Played into account 2016-03-11 17:09:47 -05:00
Deluan f4c1dbdd3c Simplified DI resolution 2016-03-11 15:16:17 -05:00
Deluan e9861e1b26 New target API version: 1.5.0 2016-03-11 15:08:37 -05:00
Deluan 147a178933 Logging tracks/albums updates 2016-03-11 12:10:37 -05:00
Deluan a918dc5a14 Searching is fully working 2016-03-11 10:03:33 -05:00
Deluan 32f69c4a74 Revert "Upgrade Beego to v1.6.1"
This reverts commit c228eb3184.

# Conflicts:
#	.travis.yml
2016-03-11 09:42:58 -05:00