Jakob Borg
92c44c8abe
Rework .stignore functionality ( fixes #561 ) (...)
...
- Only one .stignore is supported, at the repo root
- Negative patterns (!) are supported
- Ignore patterns affect sent and received indexes, not only scanning
2014-09-04 22:30:42 +02:00
Jakob Borg
a40217cf07
Trim dead bits of code
2014-09-04 22:07:59 +02:00
Jakob Borg
cf1bfdfb61
Hold rmut read lock when looking at nodeStatRefs
2014-08-31 13:48:43 +02:00
Jakob Borg
75b26513e1
Don't crash under suspicious circumstances... ( fixes #602 )
2014-08-31 13:48:16 +02:00
Jakob Borg
9818e2b550
Use more fnmatch-like matcher in .stignore ( fixes #426 )
2014-08-26 11:12:20 +02:00
Audrius Butkevicius
0cdb0daa8c
Add stats package and node related statistics model
2014-08-25 12:49:21 +01:00
Jakob Borg
6bbf1f9355
Emit Node/Repo Rejected events on unknown nodes / repos.
2014-08-18 23:34:03 +02:00
Jakob Borg
884aaab751
Always print hostname on connect (even if something is set in config)
2014-08-16 22:55:05 +02:00
Audrius Butkevicius
e8a679c280
Advertise and update node names on cluster config exchange
...
Closes #244
2014-08-16 21:26:30 +01:00
Jakob Borg
92eed3b33b
Don't load block lists from db unless necessary
2014-08-12 15:04:32 +02:00
Jakob Borg
fe7b77198c
Rip out the Suppressor (maybe to be reintroduced)
2014-08-12 15:04:02 +02:00
Jakob Borg
60da59623e
Limit size of sent indexes a bit, taking number of blocks into account
2014-08-11 20:54:59 +02:00
Jakob Borg
9752ea9ac3
Implement external scan request ( fixes #9 )
2014-08-11 20:20:01 +02:00
Jakob Borg
a47ee86bee
Don't show 100 warnings for unknown repo at connect when once is enough
2014-08-05 20:26:05 +02:00
Jakob Borg
62d703f967
Show 100% complete status for nodes without any files to sync ( fixes #453 )
2014-08-05 20:16:25 +02:00
Jakob Borg
cec3bad373
Move calmh/syncthing -> syncthing/syncthing
2014-08-01 16:48:46 +02:00
Jakob Borg
830be1035b
Remove pointless CompareClusterConfig
2014-07-31 14:17:46 +02:00
Jakob Borg
c47aebdd2a
Don't hold memory used for sending indexes forever
2014-07-30 20:08:04 +02:00
Jakob Borg
ee005fbc8e
Generate events on scanning updates
2014-07-29 11:53:45 +02:00
Jakob Borg
e27d42935c
Use event interface for GUI ( fixes #383 )
2014-07-29 11:06:52 +02:00
Jakob Borg
e8c8cc550b
Don't use 100% doing nothing
2014-07-25 14:59:56 +02:00
Jakob Borg
5087d02fba
Faster puller loop
2014-07-24 09:56:54 +02:00
Jakob Borg
75d4d2df8b
Remove SyncOrder, at least temporarily (sorry fREW)
...
Doesn't actually work very well with the batched approach to needed
files, not documented, not exposed in UI. I'll be happy to reintegrate
if this is solved.
2014-07-21 10:49:18 +02:00
Jakob Borg
74fd4a3722
Tick version clock on received changes.
2014-07-18 11:41:51 +02:00
Jakob Borg
884bb638bc
Fix locking screwup
2014-07-18 10:00:20 +02:00
Jakob Borg
f88a7a8e6a
Publish more event details
2014-07-17 13:47:46 +02:00
Jakob Borg
7943902d73
Handle needed files in batches
2014-07-15 17:54:00 +02:00
Jakob Borg
32a5e83612
Avoid buffering the entire file list during walks
2014-07-15 14:27:46 +02:00
Jakob Borg
8b349945de
Add Local Version field to files, send index in segments.
2014-07-15 13:04:37 +02:00
Jakob Borg
b0f46beffb
Basic events interface
2014-07-13 21:07:24 +02:00
Jakob Borg
0a633c526f
Copyright wording
2014-07-13 01:07:49 +02:00
Jakob Borg
655acb4cb2
Deprecate scanner.Block & File
2014-07-12 23:09:47 +02:00
Jakob Borg
27cd6e60f4
Fix localsize
2014-07-06 23:15:28 +02:00
Jakob Borg
31350b4352
Use LevelDB storage backend
2014-07-06 14:46:48 +02:00
Jakob Borg
193cea95ce
Revert "Add temporary debug logging for #344 (revert later)"
...
This reverts commit 5353659f9f
.
2014-07-04 15:20:29 +02:00
Jakob Borg
3c4002e149
Merge branch 'v0.8'
...
* v0.8:
Don't leak writer and index goroutines on close
Clean up protocol locking and closing
Send initial index in batches
Always send initial index, even if empty (ref #344 )
Simplify locking in protocol.Index
Protocol state machine on receiving side
Log client version on connect
Handle query parameters in UPnP control URL (fixes #211 )
Avoid deadlock during initial scan (fixes #389 )
Add temporary debug logging for #344 (revert later)
Tone down UPnP not found message (fixes #406 )
2014-07-04 15:16:41 +02:00
Jakob Borg
2f5a822ca4
Send initial index in batches
2014-07-03 12:30:10 +02:00
Jakob Borg
53898d2c60
Log client version on connect
2014-07-02 20:43:43 +02:00
Jakob Borg
0aa067a726
Avoid deadlock during initial scan ( fixes #389 )
2014-07-02 07:40:27 +02:00
Jakob Borg
5353659f9f
Add temporary debug logging for #344 (revert later)
2014-07-01 17:08:14 +02:00
Jakob Borg
d7cc48eab2
Merge branch 'v0.8'
...
* v0.8:
Increase deadlock timeout, make configurable (fixes #389 , fixes #393 )
Remove spurious debug output in .stignore handling
Connection notices are informational
No need to hold a write lock in Override
Don't whine about unexpected EOFs
Ensure correct version string format
Conflicts:
model/model.go
2014-06-30 01:47:32 +02:00
Jakob Borg
8f3effed32
Refactor node ID handling, use check digits ( fixes #269 )
...
New node ID:s contain four Luhn check digits and are grouped
differently. Code uses NodeID type instead of string, so it's formatted
homogenously everywhere.
2014-06-30 01:42:03 +02:00
Jakob Borg
a2da31056b
Increase deadlock timeout, make configurable ( fixes #389 , fixes #393 )
2014-06-26 11:29:41 +02:00
Jakob Borg
68750211ef
Connection notices are informational
2014-06-23 15:38:37 +02:00
Jakob Borg
db3e3ade80
No need to hold a write lock in Override
2014-06-23 11:52:13 +02:00
Jakob Borg
e6f04ed238
Don't whine about unexpected EOFs
2014-06-23 10:52:09 +02:00
Jakob Borg
4ab4816556
Detect deadlock in model and panic
2014-06-21 12:35:53 +02:00
Jakob Borg
efbdf72d20
Lower CPU usage at idle by reducing db polling
2014-06-20 00:28:45 +02:00
Jakob Borg
4dbce32738
Simplify memory handling
2014-06-19 01:02:32 +02:00
Jakob Borg
26ebbee877
Hard override on changes from master repo
2014-06-16 10:47:02 +02:00