Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change APOD timezone to UTC - 8 | Andinus | 2020-04-24 | 1 | -1/+24 |
| | | | | | | | | | | | | | | | | | Subtract 8 hours from UTC to ensure program doesn't fail. This still doesn't mean anything, I've emailed them asking about timezone on server but no response :( The server returns "400 Bad Request" when you request future date, so if I request 2020-04-25 on 2020-04-24 23:59 UTC it will return "400 Bad Request" but if I re-request it on 2020-04-25 00:04 UTC it returns "500 Internal Server Error", I think the API server runs on UTC but the program that is responsible for syncing the images is running on a different timezone, which is why it returns "500 Internal Server Error" instead of "400 Bad Request". Hopefully this should work, it will work if the program responsible for syncing images is in or before UTC-8. | ||||
* | Add description for unveil() | Andinus | 2020-04-24 | 1 | -0/+10 |
| | |||||
* | Update drone ci config | Andinus | 2020-04-24 | 1 | -3/+3 |
| | |||||
* | Move app func to main | Andinus | 2020-04-24 | 6 | -30/+32 |
| | |||||
* | Upgrade to lynx v0.4.0 | Andinus | 2020-04-24 | 4 | -15/+4 |
| | |||||
* | Fix typo in readme | Andinus | 2020-04-07 | 1 | -2/+2 |
| | |||||
* | Switch to lynx & remove custom unveil wrappers | Andinus | 2020-04-06 | 3 | -50/+23 |
| | |||||
* | Bump version to v0.6.7 v0.6.7 | Andinus | 2020-04-05 | 1 | -1/+1 |
| | |||||
* | Add note explaning broken behaviour on OpenBSD | Andinus | 2020-04-05 | 1 | -0/+4 |
| | |||||
* | Unveil gsettings & pcmanfm | Andinus | 2020-04-05 | 1 | -12/+17 |
| | | | | | Previous versions will fail to set background on systems that support gsettings & pcmanfm & if it is running on OpenBSD. | ||||
* | Remove ineffectual assignment & log error | Andinus | 2020-04-05 | 1 | -0/+10 |
| | |||||
* | Bump version to v0.6.6 v0.6.6 | Andinus | 2020-04-05 | 1 | -1/+1 |
| | |||||
* | Fix notifications on OpenBSD | Andinus | 2020-04-05 | 1 | -0/+5 |
| | |||||
* | Bump version & warn on unveil failure v0.6.5 | Andinus | 2020-04-04 | 3 | -3/+6 |
| | |||||
* | Fix unveil rules | Andinus | 2020-04-04 | 2 | -18/+21 |
| | |||||
* | Update homepage in readme | Andinus | 2020-04-04 | 1 | -1/+1 |
| | |||||
* | Add install instructions to readme | Andinus | 2020-04-04 | 1 | -13/+8 |
| | |||||
* | Update install instructions to v0.6.4 v0.6.4 | Andinus | 2020-04-04 | 2 | -10/+10 |
| | |||||
* | Fix unveil flag for cacheDir | Andinus | 2020-04-04 | 1 | -1/+1 |
| | |||||
* | Bump version to v0.6.4 | Andinus | 2020-04-04 | 1 | -1/+1 |
| | |||||
* | Add support for unveil on OpenBSD | Andinus | 2020-04-04 | 5 | -2/+87 |
| | |||||
* | Add vet to pipeline v0.6.3 | Andinus | 2020-04-02 | 1 | -9/+14 |
| | |||||
* | Bump version to v0.6.3 | Andinus | 2020-04-02 | 2 | -2/+3 |
| | |||||
* | bpod: Re-enable cache & fix issues with v0.6.2 | Andinus | 2020-04-02 | 2 | -1/+38 |
| | |||||
* | Seperate go test pipeline | Andinus | 2020-03-26 | 1 | -4/+11 |
| | |||||
* | Fix logical error in fmt.Errorf statement | Andinus | 2020-03-26 | 1 | -1/+1 |
| | |||||
* | Add test for RandDate func | Andinus | 2020-03-26 | 2 | -0/+21 |
| | |||||
* | Add drone ci build config | Andinus | 2020-03-26 | 1 | -0/+28 |
| | |||||
* | Bump version to v0.6.2 v0.6.2 | Andinus | 2020-03-26 | 1 | -1/+1 |
| | |||||
* | Drop response caching on bpod | Andinus | 2020-03-26 | 1 | -83/+7 |
| | | | | | | | | | | | | | | Caching on bpod was full of assumptions and very hacky, this commits removes it all. Images are still cached and we prepend the date to their file name so that it becomes easier to work with them later. Also they are seperated by a colon so it's easy to remove the date too with a script or something. BPOD is not even an official api and it can get closed anyday, bing uses this to get bpod on bing.com and we are just using it. They still have pretty pictures though and so I'll still keep it. If users want to get all information then they can just use -dump flag and save it to a file. | ||||
* | Remove unnecessary comment | Andinus | 2020-03-26 | 1 | -9/+0 |
| | |||||
* | Unmarshal after dump | Andinus | 2020-03-26 | 1 | -8/+5 |
| | | | | | dump no longer exits the program, this doesn't make any different. We are still doing the same thing. | ||||
* | Fix dump logic | Andinus | 2020-03-26 | 2 | -2/+2 |
| | |||||
* | Disable caching on random (bpod) | Andinus | 2020-03-25 | 2 | -86/+11 |
| | |||||
* | Disable cache when random is not passed (bpod) | Andinus | 2020-03-25 | 1 | -8/+19 |
| | |||||
* | Enable random flag and fix issue with body and res not in sync (bpod) | Andinus | 2020-03-25 | 3 | -21/+61 |
| | |||||
* | Add examples to readme | Andinus | 2020-03-25 | 1 | -3/+28 |
| | |||||
* | Bump version to v0.6.1 v0.6.1 | Andinus | 2020-03-25 | 1 | -1/+1 |
| | |||||
* | Disable random flag on bpod & warn in readme | Andinus | 2020-03-25 | 2 | -3/+22 |
| | |||||
* | Describe bug in program | Andinus | 2020-03-25 | 1 | -0/+7 |
| | |||||
* | Add demo videos to readme | Andinus | 2020-03-25 | 2 | -1/+5 |
| | |||||
* | Add install instructions to readme v0.6.0 | Andinus | 2020-03-25 | 2 | -0/+96 |
| | |||||
* | Add bpod support | Andinus | 2020-03-25 | 4 | -13/+213 |
| | |||||
* | Rename dlAndCacheBody to dlAndCacheAPODBody to prevent conflict | Andinus | 2020-03-25 | 1 | -3/+3 |
| | |||||
* | Refill comment in apod.go | Andinus | 2020-03-25 | 1 | -4/+5 |
| | |||||
* | Add bpod package | Andinus | 2020-03-25 | 1 | -0/+62 |
| | |||||
* | Add apod support & fix errors | Andinus | 2020-03-25 | 11 | -6/+370 |
| | |||||
* | Add cache package | Andinus | 2020-03-24 | 2 | -0/+52 |
| | |||||
* | Add apod package | Andinus | 2020-03-24 | 2 | -0/+95 |
| | |||||
* | Add request package | Andinus | 2020-03-24 | 1 | -0/+70 |
| |