Commit Graph

163 Commits

Author SHA1 Message Date
Andinus 83754e3a06
Add an entry to Tested on in README
Tested the latest binary on OpenBSD 6.7 with i3wm.
2020-06-17 23:15:13 +05:30
Andinus f95d3e3d12
Bump version to v0.6.9
continuous-integration/drone/push Build is passing Details
2020-04-24 20:30:53 +05:30
Andinus 1bc0e6faed
Add Dir func on darwin systems 2020-04-24 20:30:09 +05:30
Andinus f1ff0fec41
Update email in license
continuous-integration/drone/push Build was killed Details
2020-04-24 20:25:55 +05:30
Andinus f1ceff2eb8
Bump version to v0.6.8
continuous-integration/drone/push Build is failing Details
2020-04-24 20:23:01 +05:30
Andinus 6edb082db5
Change APOD timezone to UTC - 8
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.
2020-04-24 20:19:39 +05:30
Andinus 76468d2f51
Add description for unveil() 2020-04-24 20:01:55 +05:30
Andinus e358ce49e0
Update drone ci config 2020-04-24 19:53:42 +05:30
Andinus 53d4a70ed2
Move app func to main 2020-04-24 19:52:18 +05:30
Andinus a01ce7b968
Upgrade to lynx v0.4.0 2020-04-24 19:46:49 +05:30
Andinus 1491618044
Fix typo in readme
continuous-integration/drone/push Build is passing Details
2020-04-07 20:01:32 +05:30
Andinus 202c8a1380
Switch to lynx & remove custom unveil wrappers
continuous-integration/drone/push Build is passing Details
2020-04-06 14:59:25 +05:30
Andinus 0883e2777d
Bump version to v0.6.7
continuous-integration/drone/push Build is passing Details
2020-04-05 23:38:13 +05:30
Andinus 106aa7446c
Add note explaning broken behaviour on OpenBSD 2020-04-05 23:37:12 +05:30
Andinus 538028fdd2
Unveil gsettings & pcmanfm
Previous versions will fail to set background on systems that support
gsettings & pcmanfm & if it is running on OpenBSD.
2020-04-05 20:56:24 +05:30
Andinus 0ba76c22e4
Remove ineffectual assignment & log error
continuous-integration/drone/push Build is failing Details
2020-04-05 14:39:19 +05:30
Andinus ec62156564
Bump version to v0.6.6
continuous-integration/drone/push Build is failing Details
2020-04-05 14:19:48 +05:30
Andinus 9f3b4257a6
Fix notifications on OpenBSD 2020-04-05 14:18:36 +05:30
Andinus 68b5fcce0d
Bump version & warn on unveil failure
continuous-integration/drone/push Build is passing Details
2020-04-04 22:03:25 +05:30
Andinus 206a776f64
Fix unveil rules 2020-04-04 21:59:01 +05:30
Andinus ffe417d98b
Update homepage in readme
continuous-integration/drone/push Build is passing Details
2020-04-04 20:03:34 +05:30
Andinus 23bc7c116d
Add install instructions to readme
continuous-integration/drone/push Build is passing Details
2020-04-04 19:58:24 +05:30
Andinus 2249af4c6d
Update install instructions to v0.6.4
continuous-integration/drone/push Build is passing Details
2020-04-04 19:36:02 +05:30
Andinus 245c0bd029
Fix unveil flag for cacheDir 2020-04-04 19:22:22 +05:30
Andinus 6d4b0f3a49
Bump version to v0.6.4 2020-04-04 19:06:19 +05:30
Andinus 37c097e4ae
Add support for unveil on OpenBSD 2020-04-04 18:40:04 +05:30
Andinus 8dd58b9256
Add vet to pipeline
continuous-integration/drone/push Build is passing Details
2020-04-02 13:34:56 +05:30
Andinus d0ae6bd621
Bump version to v0.6.3 2020-04-02 13:31:52 +05:30
Andinus cf93554a77
bpod: Re-enable cache & fix issues with v0.6.2 2020-04-02 13:29:29 +05:30
Andinus 3c77b9c4b7
Seperate go test pipeline
continuous-integration/drone/push Build is passing Details
2020-03-26 15:38:09 +05:30
Andinus 79bad7258f
Fix logical error in fmt.Errorf statement
continuous-integration/drone/push Build is failing Details
2020-03-26 15:31:26 +05:30
Andinus afd4130b38
Add test for RandDate func 2020-03-26 15:31:00 +05:30
Andinus 945ea27d5f
Add drone ci build config
continuous-integration/drone/push Build is passing Details
2020-03-26 14:22:10 +05:30
Andinus 9af848b93f
Bump version to v0.6.2 2020-03-26 00:39:43 +05:30
Andinus 42fd17db30
Drop response caching on bpod
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.
2020-03-26 00:35:08 +05:30
Andinus 448fb602b9
Remove unnecessary comment 2020-03-26 00:09:21 +05:30
Andinus cf5f79c398
Unmarshal after dump
dump no longer exits the program, this doesn't make any different. We
are still doing the same thing.
2020-03-26 00:02:56 +05:30
Andinus 9173bb6224
Fix dump logic 2020-03-26 00:01:57 +05:30
Andinus c55368d4f4
Disable caching on random (bpod) 2020-03-25 23:57:26 +05:30
Andinus 57fb2b88ba
Disable cache when random is not passed (bpod) 2020-03-25 23:32:05 +05:30
Andinus 370a9f224e
Enable random flag and fix issue with body and res not in sync (bpod) 2020-03-25 23:23:55 +05:30
Andinus 4977a2fef3
Add examples to readme 2020-03-25 13:02:13 +05:30
Andinus bd6fa184f5
Bump version to v0.6.1 2020-03-25 02:55:35 +05:30
Andinus f86d02187b
Disable random flag on bpod & warn in readme 2020-03-25 02:54:37 +05:30
Andinus db07755187
Describe bug in program 2020-03-25 02:42:00 +05:30
Andinus a56fb80def
Add demo videos to readme 2020-03-25 02:28:21 +05:30
Andinus 4dcdf6a3cd
Add install instructions to readme 2020-03-25 01:10:29 +05:30
Andinus 509622432b
Add bpod support 2020-03-25 00:50:20 +05:30
Andinus 989d6341ee
Rename dlAndCacheBody to dlAndCacheAPODBody to prevent conflict 2020-03-25 00:29:46 +05:30
Andinus f5bf0978d4
Refill comment in apod.go 2020-03-25 00:22:41 +05:30