1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-16 12:55:14 +03:00
Commit graph

11 commits

Author SHA1 Message Date
Mark Haslinghuis
f41e135333 Migrate chrome storage API to window.localStorage
Add remove function

Remove callback from set and remove

Rebased

Rebased
2022-04-22 01:08:48 +02:00
Tomas Chmelevskij
03690e087f chore: add comman dangle rule for multiline 2021-12-18 08:21:05 +01:00
Tomas Chmelevskij
616c2e796d chore: add semi rule to the linter and run --fix
Adds semicolon to the linter rules.
2021-02-14 07:37:03 +01:00
Mark Haslinghuis
9b13f8a11a Change lexical scope jenkins 2020-12-17 19:02:20 +01:00
Kyle K
0e57243c51 Some minor cleanup for hacktoberfest
Links that open target="_blank" should also specify rel="noopener noreferrer"

jenkins_loader wasn't properly called in strict mode
2019-10-02 20:51:49 +00:00
Kyle K
3ab9097090 Small bug fixes
Cleaning up some errors in the javascript console before I start adding new ones.

src/js/ConfigStorage.js: forgot to test writing multiple keys at once, can now write multiple keys at once.
src/js/FirmwareCache.js: avoid throwing an error if someone comes asking for an undefined firmware
src/js/jenkins_loader.js: same .error deprecation as #1568
2019-08-16 22:15:58 +00:00
Kyle K
27f509ca23 fix a deprecation in jQuery 3.0
https://api.jquery.com/jQuery.ajax/#jqXHR
jqXHR.error() callback removed.
2019-08-09 09:11:47 +00:00
Kyle K
5d8958a9a0 Fix storage key name for caching the jenkins builds list.
Due to regular quotes being used in `jenkins_loader.js` instead of backticks the current JobsData is cached as
"${viewUrl}JobsData"
"${viewUrl}JobsLastUpdate"

Instead of something like:
"https://ci.betaflight.tech/view/Firmware_JobsData"
"https://ci.betaflight.tech/view/Firmware_JobsLastUpdate"

Another idea would be to do "jenkinsJobsData" and "jenkinsJobsLastUpdate" to match with the other cache keys

I've chosen to add an underscore in between the URL and the rest of the key to make it easier to look at.
2019-07-21 00:37:10 +00:00
Andrey Mironov
b3ca039b9a Allowed using cached CI info after timeout when GET fails 2018-08-07 11:21:08 +03:00
Andrey Mironov
402863837c Fixed caching for Jenkins, added enumeration of Firmware view 2018-08-07 11:08:58 +03:00
DieHertz
befafc07e6 Added Build Type select for CI builds 2018-06-17 12:32:42 +03:00