mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-28 20:10:11 +00:00
Compare commits
3 Commits
4a327c42c8
...
52bd61c928
Author | SHA1 | Date | |
---|---|---|---|
|
52bd61c928 | ||
084f8aa658 | |||
084a62e60f |
@ -1012,6 +1012,14 @@
|
||||
"value": true,
|
||||
"description": "Enable to store provided email addresses, monitor Jellyfin directory for pw-resets, and send reset pins"
|
||||
},
|
||||
"pwr_note": {
|
||||
"name": "Setup:",
|
||||
"type": "note",
|
||||
"value": "",
|
||||
"depends_true": "enabled",
|
||||
"required": "false",
|
||||
"description": "There are multiple ways password resets can be set up. See the <a href=\"https://wiki.jfa-go.com/docs/pwr/\" target=\"_blank\">wiki page</a> for more information."
|
||||
},
|
||||
"watch_directory": {
|
||||
"name": "Jellyfin directory",
|
||||
"required": false,
|
||||
|
1
package-lock.json
generated
1
package-lock.json
generated
@ -15,7 +15,6 @@
|
||||
"any-date-parser": "^1.5.4",
|
||||
"browserslist": "^4.21.7",
|
||||
"cheerio": "^1.0.0-rc.12",
|
||||
"esbuild": "^0.18.20",
|
||||
"fs-cheerio": "^3.0.0",
|
||||
"inline-source": "^8.0.2",
|
||||
"jsdom": "^22.1.0",
|
||||
|
@ -469,7 +469,9 @@ class DOMNote implements SNote {
|
||||
set name(n: string) { this._name.textContent = n; }
|
||||
|
||||
get description(): string { return this._description.textContent; }
|
||||
set description(d: string) { this._description.textContent = d; }
|
||||
set description(d: string) {
|
||||
this._description.innerHTML = d;
|
||||
}
|
||||
|
||||
get value(): string { return ""; }
|
||||
set value(v: string) { return; }
|
||||
|
@ -213,7 +213,8 @@ func (ud *Updater) GetTag() (Tag, int, error) {
|
||||
|
||||
func (t *Tag) IsNew() bool {
|
||||
// fmt.Printf("Build Time: %+v, Release Date: %+v", buildTime, t.ReleaseDate)
|
||||
return t.Version[:7] != commit && t.Ready && t.ReleaseDate.After(buildTime)
|
||||
// Add 20 minutes to account for build time
|
||||
return t.Version[:7] != commit && t.Ready && t.ReleaseDate.After(buildTime.Add(time.Duration(20)*time.Minute))
|
||||
}
|
||||
|
||||
func (ud *Updater) getRelease() (release GHRelease, status int, err error) {
|
||||
|
Loading…
Reference in New Issue
Block a user