Commit graph

48 commits

Author SHA1 Message Date
rick 15614b0619
fix: not found artist when cases are different 2021-09-12 13:11:25 +02:00
rick 5fccd36d3f
update: add a forgotten var 2021-09-12 01:52:06 +02:00
rick eecaba74b9
fix: redirect on panic even when we launch a playlist
(close #10)
2021-09-12 01:48:28 +02:00
rick d6616573e2
update(bandcamp): avoid duplications (close #5) 2021-09-12 01:41:54 +02:00
rick a69da12bf8
refactor: use feudecamp with the views 2021-09-12 00:45:34 +02:00
rick a60f92d762
refactor: remove useless method 2021-09-12 00:36:31 +02:00
rick fcd683db7f
update(session): delete session after expiration (#8) 2021-09-12 00:28:18 +02:00
rick 94ed7f8fe5
refactor(logs): remove useless log and just panic (close #6) 2021-09-11 20:05:16 +02:00
rick c91d00418e
update(session): use session for refresh & more logs
(#6 #8)

feudecamp now deletes all tables and refresh them.
2021-09-11 19:56:56 +02:00
rick 680b1d5dbd
update(log): use more log.panic (#6) 2021-09-11 02:26:24 +02:00
rick c1e0c6defa
feat(sessions): use session 2021-09-11 00:57:17 +02:00
rick 7dbd82c450
update: focus on only few pages (use POST for fetch) 2021-09-10 18:36:21 +02:00
rick 8edd16e6ab
update(error): front error during Spotify connection
(#6)
2021-09-09 15:06:11 +02:00
rick 7d259ceef8
refactor: add ; 2021-09-09 02:06:39 +02:00
rick a07b893eb9
feat(front): use views (only index now) 2021-09-09 01:49:42 +02:00
rick 06386d2b18
refactor: rewrite with gofiber
close #7
2021-09-05 00:49:31 +02:00
rick b71067d84f
refactor: rename function and remove useless code 2021-09-04 19:50:42 +02:00
rick 67b05a30b4
refactor(find track): use tuple instead of struct 2021-09-04 19:50:33 +02:00
rick 070770f281
refactor: remove useless code 2021-09-04 19:48:58 +02:00
rick a2ef5d3b79
update(spotify): get token to use API 2021-09-04 19:05:09 +02:00
rick 9c12084665
fix: try to get data from api when logging 2021-09-04 13:13:18 +02:00
rick 1ff4d8a02a
feat(spotify): add connection to get token 2021-09-04 13:09:18 +02:00
rick dd9b054b33
feat(spotify): get all json before parsing
close #2
2021-09-01 23:44:09 +02:00
rick 5e7e5051be
!feat(categories): add 3 categories for artists
- albums: album found
- artists: found the artist, not the album
- notfound: not found on bandcamp (or limited by api)

API on refresh changes.
Use a extern script instead of write it in html page.
2021-09-01 16:00:07 +02:00
rick ad1556dbc0
fix: forget array in Spotify struct 2021-09-01 12:32:29 +02:00
rick d1def640ca
refactor: create struct Item 2021-09-01 12:24:04 +02:00
rick ea2eed9bf8
refactor(struct): change file for structs in server.go 2021-09-01 12:13:40 +02:00
rick 1d748b0fec
update(footer): add gpl logo and informations 2021-09-01 01:33:49 +02:00
rick 869f068057
update(front): css for results table 2021-09-01 00:48:14 +02:00
rick a0f5500220
feat(front): links to spotify/bandcamp + infos
Infos as artist and album are now provide and show in a table.
2021-09-01 00:34:07 +02:00
rick 014fb66867
refactor: change name tmp for feudecamp 2021-08-31 19:26:03 +02:00
rick 620c6c6aae
update(front): links to loader code, add css 2021-08-31 18:58:29 +02:00
rick e16b1c1fa8
update(form): required field 2021-08-31 18:42:21 +02:00
rick 1e292688c6
update(front): show how many tracks have been done 2021-08-31 18:39:56 +02:00
rick 7ee7676d6d
update: prevent user refresh 2021-08-31 14:44:12 +02:00
rick 4e7a541795
feat(front): auto refresh the page with new links 2021-08-29 21:12:17 +02:00
rick e3ea068163
refactor: use /test to test + some lines < 80c now
Somes lines under 80 columns now
2021-08-29 15:53:56 +02:00
rick 09ec28a1e5
update(bandcamp api): dont need key 2021-08-29 13:30:20 +02:00
rick 22c11b6276
update: use go, not perl 2021-08-29 13:27:35 +02:00
rick 036648bc66
feat(bandcamp): find album on bandcamp
still in test with a local file to avoid ban from Spotify.
2021-08-29 13:16:05 +02:00
rick 757d55e125
update(spotify/json): check if json is ok with status and not json structure 2021-08-28 23:46:45 +02:00
rick 89e4644430
feat(spotify/json): add struct error json 2021-08-28 21:53:12 +02:00
rick 05b5da5169
update(spotify): use struct for response (json)
outout je te suce
2021-08-28 21:05:38 +02:00
rick de43e8981b
feat(spotify): get playlist json with it id 2021-08-28 19:20:52 +02:00
rick 5b80cddf1d
feat(token): config file for token 2021-08-28 18:57:57 +02:00
rick a234c34043
update: add gitignore 2021-08-28 16:09:47 +02:00
rick e1caaac8a3
feat: index and go server 2021-08-28 16:08:54 +02:00
rick 67acc332bc
basic files 2021-08-28 16:08:15 +02:00