syncthing/lib
Jakob Borg 4d979a1ce9
all: Truncate some timestamps (fixes #7457) (#7459)
This truncates times meant for API consumption to second precision,
where fractions won't typically matter or add any value. Exception to
this is timestamps on logs and events, and of course I'm not touching
things like file metadata.

I'm not 100% certain this is an exhaustive change, but it's the things I
found by grepping and following the breadcrumbs from lib/api...

I also considered general-but-ugly solutions, like having the API
serializer itself do reflection magic or even regexps on returned
objects, but decided against it because aurgh...
2021-03-12 10:35:10 +01:00
..
api lib/api: Fix body of renamed config/restart-required endpoint (ref #7402) (#7453) 2021-03-11 15:54:05 +01:00
assets lib/assets: Allow assets to remain uncompressed (#6661) 2020-05-25 08:51:27 +02:00
beacon lib/ur: Send unreported failures on shutdown (#7164) 2020-12-22 20:17:14 +01:00
build lib/api: Returns tags in version as list (#7190) 2020-12-10 12:22:09 +01:00
config lib/fs: Expose fs option on interface (fixes #7385, ref #7381) (#7389) 2021-03-11 15:23:56 +01:00
connections all: Truncate some timestamps (fixes #7457) (#7459) 2021-03-12 10:35:10 +01:00
db all: Truncate some timestamps (fixes #7457) (#7459) 2021-03-12 10:35:10 +01:00
dialer lib/dialer: Try dialing without reuse in parallel (fixes #6892) (#6893) 2020-08-18 13:11:12 +02:00
discover lib: Use counterfeiter to mock interfaces in tests (#7375) 2021-03-03 08:53:50 +01:00
events all: Truncate some timestamps (fixes #7457) (#7459) 2021-03-12 10:35:10 +01:00
fs lib/fs: Expose fs option on interface (fixes #7385, ref #7381) (#7389) 2021-03-11 15:23:56 +01:00
ignore lib/ignore: Store cache timestamps as Unix ns counts (#7326) 2021-02-04 18:39:06 +01:00
locations lib/db: Remove Badger experiment (#7413) 2021-03-01 09:16:08 +01:00
logger all: Truncate some timestamps (fixes #7457) (#7459) 2021-03-12 10:35:10 +01:00
model all: Truncate some timestamps (fixes #7457) (#7459) 2021-03-12 10:35:10 +01:00
nat all: Refactor preparing configuration (#7127) 2020-11-20 14:21:54 +01:00
osutil all: Fix Microsoft documentation links in code comments (#7387) 2021-02-20 14:56:45 +01:00
pmp lib/nat: Make service termination faster (#6777) 2020-06-22 09:01:57 +01:00
protocol all: Truncate some timestamps (fixes #7457) (#7459) 2021-03-12 10:35:10 +01:00
rand all: Use crypt/rand through its buffered version, but not in benchmarks (#7420) 2021-03-02 19:17:20 +01:00
rc test, lib/model: Various integration test updates & improvements (#6956) 2020-09-07 09:35:37 +02:00
relay lib/ur: Send unreported failures on shutdown (#7164) 2020-12-22 20:17:14 +01:00
scanner lib/fs: Expose fs option on interface (fixes #7385, ref #7381) (#7389) 2021-03-11 15:23:56 +01:00
sha256 all: Use crypt/rand through its buffered version, but not in benchmarks (#7420) 2021-03-02 19:17:20 +01:00
signature all: Use crypt/rand through its buffered version, but not in benchmarks (#7420) 2021-03-02 19:17:20 +01:00
stats all: Truncate some timestamps (fixes #7457) (#7459) 2021-03-12 10:35:10 +01:00
stun lib/stun: Inline util.OnDone, comment on its purpose (#7308) 2021-01-27 19:27:00 +01:00
svcutil lib: Return error from db.FileSet.Snapshot (fixes #7419, ref #5907) (#7424) 2021-03-07 13:43:22 +01:00
sync lib/sync: Cleanly fail instead of panic in tests (#6088) 2019-10-16 10:11:11 +02:00
syncthing all: Fix Microsoft documentation links in code comments (#7387) 2021-02-20 14:56:45 +01:00
testutils lib: Use counterfeiter to mock interfaces in tests (#7375) 2021-03-03 08:53:50 +01:00
tlsutil lib/tlsutil: Add O and OU to generated certificates (fixes #7108) (#7109) 2020-11-09 17:02:56 +01:00
upgrade all: Tweak error creation (#6391) 2020-03-03 22:40:00 +01:00
upnp lib/nat: Make service termination faster (#6777) 2020-06-22 09:01:57 +01:00
ur all: Truncate some timestamps (fixes #7457) (#7459) 2021-03-12 10:35:10 +01:00
util lib/stun: Inline util.OnDone, comment on its purpose (#7308) 2021-01-27 19:27:00 +01:00
versioner all: Fix versioning path handling (#7407) 2021-02-26 12:04:05 +01:00
watchaggregator all: Refactor preparing configuration (#7127) 2020-11-20 14:21:54 +01:00
weakhash lib/weakhash: Fix speed reporting in benchmark (#6470) 2020-03-29 17:07:25 +02:00