Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump version & warn on unveil failure v0.6.5 | Andinus | 2020-04-04 | 2 | -2/+4 |
| | |||||
* | Fix unveil rules | Andinus | 2020-04-04 | 1 | -13/+8 |
| | |||||
* | 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 | 3 | -2/+83 |
| | |||||
* | Bump version to v0.6.3 | Andinus | 2020-04-02 | 1 | -1/+1 |
| | |||||
* | bpod: Re-enable cache & fix issues with v0.6.2 | Andinus | 2020-04-02 | 1 | -1/+21 |
| | |||||
* | Fix logical error in fmt.Errorf statement | Andinus | 2020-03-26 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | 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 | 1 | -67/+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 | 1 | -21/+31 |
| | |||||
* | 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 | 1 | -3/+17 |
| | |||||
* | Describe bug in program | Andinus | 2020-03-25 | 1 | -0/+7 |
| | |||||
* | Add bpod support | Andinus | 2020-03-25 | 3 | -11/+211 |
| | |||||
* | Rename dlAndCacheBody to dlAndCacheAPODBody to prevent conflict | Andinus | 2020-03-25 | 1 | -3/+3 |
| | |||||
* | Add apod support & fix errors | Andinus | 2020-03-25 | 4 | -0/+305 |
| | |||||
* | Reinitialize project and change module url | Andinus | 2020-03-24 | 3 | -417/+0 |
| | |||||
* | Bump version to v0.5.2 v0.5.2 | Andinus | 2020-03-23 | 1 | -1/+1 |
| | |||||
* | Add notify functionality to cetus | Andinus | 2020-03-23 | 3 | -2/+33 |
| | |||||
* | Put the functions into seperate files & fix compile time error | Andinus | 2020-03-19 | 3 | -227/+243 |
| | | | | | | | Splitting the program into seperate programs will cause the binary size to double if the end user wants both services. Instead splitting the functions in seperate files will keep the binary size small for both services combined & also the program will be maintainable. | ||||
* | Bump version to v0.5.1 v0.5.1 | Andinus | 2020-03-19 | 1 | -1/+1 |
| | |||||
* | Add local cache for fetched body | Andinus | 2020-03-19 | 1 | -59/+127 |
| | |||||
* | Check local cache before downloading background | Andinus | 2020-03-19 | 1 | -7/+55 |
| | |||||
* | Fix logical error in execAPOD() | Andinus | 2020-03-19 | 1 | -1/+1 |
| | |||||
* | Add examples to readme | Andinus | 2020-03-19 | 1 | -1/+1 |
| | |||||
* | Move apod & bpod blocks to their own function | Andinus | 2020-03-19 | 1 | -115/+148 |
| | |||||
* | Remove package cetus | Andinus | 2020-03-19 | 1 | -2/+3 |
| | | | | Moved req.go to request package & version to main.go | ||||
* | Initial commit for Cetus v0.5.0 v0.5.0 | Andinus | 2020-03-18 | 1 | -0/+220 |
| | |||||
* | Restructure for Cetus v0.5 | Andinus | 2020-03-18 | 3 | -412/+0 |
| | | | | | This version aims for a cleaner code, better documentation & to adopt better practices. | ||||
* | cetus-wallhaven: Print additional information, fix logical error | Andinus | 2020-03-16 | 1 | -23/+24 |
| | |||||
* | Add Wallhaven support | Andinus | 2020-03-16 | 1 | -0/+151 |
| | |||||
* | Export struct fields v0.4.9 | Andinus | 2020-03-16 | 2 | -47/+46 |
| | | | | | | | Only exported structs and fields are visible to other packages, including the encoding/json package. So you must capitalize the field names of the structs to export those fields so the Marshal func can see them | ||||
* | Rewrite apod response retrival | Andinus | 2020-03-16 | 2 | -57/+61 |
| | |||||
* | Add dump option & rewrite bpod response retrieval function | Andinus | 2020-03-16 | 1 | -44/+59 |
| | |||||
* | Remove license text from headers | Andinus | 2020-03-15 | 2 | -28/+0 |
| | |||||
* | cetus-nasa: Fix compile time error | Andinus | 2020-03-15 | 1 | -1/+1 |
| | |||||
* | cetus-bing: Correct date format v0.4.5 | Andinus | 2020-03-15 | 1 | -1/+12 |
| | |||||
* | Port path-only to cetus-nasa | Andinus | 2020-03-15 | 1 | -0/+6 |
| | |||||
* | Support Bing Photo of the Day | Andinus | 2020-03-15 | 1 | -0/+121 |
| | |||||
* | Clean up repeat variable declaration | Andinus | 2020-03-15 | 1 | -13/+5 |
| | |||||
* | Handle if block within printDetails function | Andinus | 2020-03-15 | 1 | -3/+4 |
| | |||||
* | Fix url on media types other than image | Andinus | 2020-03-15 | 1 | -1/+1 |
| | |||||
* | Split getting api response into a function | Andinus | 2020-03-15 | 1 | -7/+18 |
| | |||||
* | Fix url when media type is not an image | Andinus | 2020-03-15 | 1 | -1/+5 |
| | |||||
* | Check media type | Andinus | 2020-03-15 | 1 | -8/+18 |
| | | | | | | | Today's media type was video & that broke the program, currently this will check the media type & set background only if it's an image. It exits if media type is not an image, this behaviour might change later. |