Commit Graph
7145 Commits
Author SHA1 Message Date
Jesse Lucas 9d126760fa Synchronously get the status of each device 2020-03-29 16:51:12 -04:00
Jesse Lucas 09673ba0c6 create db completion service and mock data 2020-03-29 16:51:12 -04:00
Jesse Lucas bc7d71ee3d Create system connections service, mocks, and work on updating devices chart 2020-03-29 16:51:12 -04:00
Jesse Lucas 78a31449aa create Device namespace and getStateType function 2020-03-29 16:51:12 -04:00
Jesse Lucas 0361d303f2 organize services into services folder 2020-03-29 16:51:12 -04:00
Jesse Lucas 2fe94736e6 update device chart to use donut chart updateData 2020-03-29 16:51:12 -04:00
Jesse Lucas 9589f25e57 refactor to use caching interceptor 2020-03-29 16:51:12 -04:00
Jesse Lucas 15c2556e06 fix conditional logic 2020-03-29 16:51:12 -04:00
Jesse Lucas f342a2a54b refactor to use array of objects to map state data to chart update 2020-03-29 16:51:12 -04:00
Jesse Lucas 598dc991e8 complete observers 2020-03-29 16:51:12 -04:00
Jesse Lucas 7d59dc6c18 add updateData and removeAllData methods to donut chart 2020-03-29 16:51:12 -04:00
Jesse Lucas 05f01a5d94 start of caching, csrf interceptor, and device service 2020-03-29 16:51:12 -04:00
Jesse Lucas 03c6fb2f82 Rename folders 2020-03-29 16:51:12 -04:00
Jesse Lucas 7a657bf3c7 Create states map and set chart-items based on map 2020-03-29 16:51:12 -04:00
Jesse Lucas 02d14c7e9b Add chart item component, StateType and getStateType to determine state from Folder 2020-03-29 16:51:12 -04:00
Jesse Lucas 32c849e18c Refactor Folder interface to use Folder namespace 2020-03-29 16:51:12 -04:00
Jesse Lucas c27fe5694d Update mock data 2020-03-29 16:51:12 -04:00
Jesse Lucas b0ebf56283 Add new component chart-item 2020-03-29 16:51:12 -04:00
Jesse Lucas fb33a8ad6b Remove unused tags in index.html 2020-03-29 16:51:12 -04:00
Jesse Lucas 9207562545 refactor status toggle to list toggle 2020-03-29 16:51:12 -04:00
Jesse Lucas 230eb20a34 update font styles 2020-03-29 16:51:12 -04:00
Jesse Lucas e0d9542bfe update status list template and add flex box 2020-03-29 16:51:12 -04:00
Jesse Lucas 063951cffa Synchronously get the status of each folder 2020-03-29 16:51:12 -04:00
Jesse Lucas dae0872379 Remove Folder object from array in development only 2020-03-29 16:51:12 -04:00
Jesse Lucas 123f4a6d9d Update mock data 2020-03-29 16:51:12 -04:00
Jesse Lucas 65679892b0 Don't encapsulate data for in memory services for development 2020-03-29 16:51:12 -04:00
Jesse Lucas c4979cf6d6 update readme to disable syncthing upgrade 2020-03-29 16:51:12 -04:00
Jesse Lucas 09d498bb80 Refactor charts to use @ViewChild instead of @Input 2020-03-29 16:51:12 -04:00
Jesse Lucas 90ed7aa121 add apiRetry to api-utils 2020-03-29 16:51:12 -04:00
Jesse Lucas 206c0d0933 Work on db status service 2020-03-29 16:51:12 -04:00
Jesse Lucas 81c539c516 new folder service 2020-03-29 16:51:12 -04:00
Jesse Lucas 75b3b31d11 create folder status interface 2020-03-29 16:51:12 -04:00
Jesse Lucas 90c39de0cc add system config service retry 2020-03-29 16:51:12 -04:00
Jesse Lucas 241864b43c create mock data 2020-03-29 16:51:12 -04:00
Jesse Lucas b2d839d4e7 fix race condition with Observables in list components 2020-03-29 16:51:12 -04:00
Jesse Lucas 8bdf409d07 start of db status service 2020-03-29 16:51:12 -04:00
Jesse Lucas 08da982de5 pass and add data to donut chart 2020-03-29 16:51:12 -04:00
Jesse Lucas f250425ef1 clean up mock data and update device interface 2020-03-29 16:51:12 -04:00
Jesse Lucas aebcc495f9 create style.ts to set elevation for all dashboard components 2020-03-29 16:51:12 -04:00
Jesse Lucas eaffbc0f92 refactor chart and list component structure 2020-03-29 16:51:12 -04:00
Jesse Lucas 37f2f2cdf6 add delay to in memory service and update check interval 2020-03-29 16:51:12 -04:00
Jesse Lucas 82f5706350 start of chart component 2020-03-29 16:51:12 -04:00
greatroarandGitHub 1e2379df1b lib/protocol: faster Luhn algorithm and better testing (#6475)
The previous implementation was very generic; its tests didn't cover the
actual alphabet for device IDs.

Benchmark results on amd64:

name         old time/op    new time/op     delta
Luhnify-8      1.00µs ± 1%     0.28µs ± 4%   -72.38%  (p=0.000 n=9+10)
Unluhnify-8     992ns ± 2%      274ns ± 1%   -72.39%  (p=0.000 n=10+9)
2020-03-29 22:28:04 +02:00
greatroarGitHubgreatroar <@>
ea5c9176e1 lib/protocol: Remove unused channel Connection.preventSends (#6473)
Co-authored-by: greatroar <@>
2020-03-29 17:09:53 +01:00
greatroarandGitHub cc1b003f21 lib/weakhash: Fix speed reporting in benchmark (#6470) 2020-03-29 17:07:25 +02:00
Jakob BorgandGitHub 38bd90e6f2 build: Simplify/correct Windows version tagging (fixes #6471) (#6472) 2020-03-29 16:51:50 +02:00
greatroarandGitHub 1c47fae206 lib/ur: Use sysctl syscall to get RAM size on Mac (#6468) 2020-03-29 14:28:46 +02:00
Simon FreiandGitHub 79a758be3c lib/model: Do Revert/Override synchronously (#6460) 2020-03-27 13:05:09 +01:00
Simon FreiandGitHub c7cf3ef899 lib/syncthing: Save version to db after upgrade ops are done (ref #6457) (#6458) 2020-03-26 16:58:21 +01:00
Jakob Borg 2c2e6cd0d5 cmd/ursrv: Minor heatmap tweaks 2020-03-26 15:19:05 +01:00