Commit graph

12 commits

Author SHA1 Message Date
guoguangwu
cf53730f6c chore: remove refs to deprecated io/ioutil 2023-07-10 17:55:04 +08:00
Matt Baer
d08f067e9c Change copyright notices to Musing Studio LLC
A Bunch Tell is now Musing Studio.
2022-11-10 23:49:16 -05:00
Matt Baer
d17e82d34c Prevent update check from slowing app init
Previously, we'd wait for a response before finishing app
initialization, meaning an overall slower startup. This fixes that.

Ref T572
2020-02-25 14:20:32 -05:00
Matt Baer
987c74c93a Add logging around automated update checks
Logs requests when --debug enabled, and always logs errors from the
check.

Ref T572
2020-02-15 12:58:45 -05:00
Matt Baer
37b7755c08 Tell admin that automated check failed when necessary
This keeps track when automated update check fails, and displays a
relevant message to the admin on /admin/updates

Ref T572
2020-02-15 12:56:33 -05:00
Matt Baer
c2ece926e0 Show update notification in admin nav bar
When a WriteFreely update is available, indicate this on the "Updates"
navigation item

Ref T572
2020-02-15 12:53:47 -05:00
Matt Baer
389dc8b9db Show functional Updates page when checks are disabled
Ref T572
2020-02-15 12:19:06 -05:00
Matt Baer
a06bb457de Change copy and design on WF Updates page
- Tweak the copy
- Include link to download latest release
- Change the version status design a bit
- Restyle some text
2020-02-15 11:59:47 -05:00
Matt Baer
0d79057bae Rename ReleaseURL() to ReleaseNotesURL() 2020-02-14 16:13:54 -05:00
Rob Loranger
908f009248
clean up and add tests for updates cache
- removes the parameter for newVersionCheck as was not being used
- changes newUpdatesCache to take expiry parameter for possible future
configuration option
- adds basic test quite to verify all cache fucntions work as expected
2019-09-09 10:24:29 -07:00
Rob Loranger
2a7a8298e1
strings.ReplaceAll is not in go 1.11 2019-08-29 16:20:41 -07:00
Rob Loranger
eae4097677
add update checks
includes cache of latest version and page to view if updates are
available with a link to the latest update's release notes and a link to
check for the latest update now, refreshing the cache manually.
2019-08-29 15:30:27 -07:00