André Colomb
a5792f3c42
gui: Sort already shared devices in edit folder modal ( fixes #7940 ) ( #7945 )
...
The list of unshared devices is built from deviceList(), which sorts
the result. But the shared devices are listed in undefined order from
the unsorted currentFolder.devices array. Apply the same sorting
after building the array used in the dialog.
2021-09-13 20:41:15 +02:00
Simon Frei
721cd740d8
lib/model: Don't reset db while folder is running ( fixes #7935 ) ( #7936 )
2021-09-11 17:14:47 +02:00
greatroar
de719ac409
lib/db: Inline sync.Once in releaser ( #7938 )
...
Having a pointer to a Once suggests that it is shared with other
objects, but it never is.
2021-09-10 09:58:17 +02:00
jtagcat
0ffa7f3f57
all: Clarify 'Cleaning data for folder' log message ( #7937 )
...
Instead of data (could be read as user data), use metadata.
2021-09-10 09:56:44 +02:00
Jakob Borg
4868d347db
gui, man, authors: Update docs, translations, and contributors
2021-09-08 07:45:36 +02:00
greatroar
7fa141ea39
all: Unused args, retvals, assignments ( #7926 )
2021-09-08 00:11:16 +02:00
greatroar
13196ddd92
lib/relay/protocol: Merge two Sprintf calls
2021-09-06 15:30:56 +02:00
greatroar
eafb40460d
lib/discover, lib/protocol: Buffer allocation
2021-09-06 15:30:56 +02:00
Simon Frei
4e2a9bb139
lib/model: Remove encryption pw on folder stop ( #7925 )
2021-09-03 09:54:47 +02:00
greatroar
3b2239357f
lib/model: Add missing error assignment + Remove unused argument ( #7922 )
2021-09-01 22:03:06 +02:00
tomasz1986
7be1f0a71c
gui: Move dismiss button after add/ignore buttons ( #7848 )
...
Currently, the dismiss button is displayed as the first of the three
buttons. However, the most common action that the user wants to do when
sharing a new folder is to add it on a different device. Because of
this, the add button should be displayed first as the most prominent of
the three. The ignore button is the opposite of the add button, and also
results in a parmenent action, hence it makes sense to lump the two
together. Thus, the dismiss button should be moved to the last place as
an alternative to the two main actions, when the user is yet unsure what
they want to do with the notification.
Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com >
2021-09-01 21:59:47 +02:00
Jakob Borg
96f5a11fd5
gui, man, authors: Update docs, translations, and contributors
2021-09-01 07:45:32 +02:00
Ross Smith II
7501bee430
lib/model: Typo in folder_recvonly.go ( #7919 )
2021-09-01 07:41:18 +02:00
jtagcat
445c5f13c3
readme: Add a link to docs source ( #7909 )
2021-08-29 22:32:46 +02:00
greatroar
ed98039aa5
lib/fs: Optimize TempName + some cosmetic changes ( #7911 )
2021-08-29 10:47:53 +02:00
Jakob Borg
2816780b52
lib/api: Set "Secure" on session cookies served over HTTPS (ref #7399 ) ( #7907 )
...
So that it does not unnecessarily leak over clear text connections.
2021-08-27 17:56:54 +02:00
Jakob Borg
c76bd7dcc4
gui, man, authors: Update docs, translations, and contributors
2021-08-25 07:45:41 +02:00
xjtdy888
48796a1b60
lib/ur: Fix panic build goroutines for failures ( #7903 )
2021-08-25 07:16:55 +02:00
Simon Frei
5711bacd83
build: Readd systemd files to deb releases (ref #7564 ) ( #7899 )
2021-08-22 20:04:47 +02:00
Simon Frei
70a840d3d5
lib/connections: Remove future go build constraints on quic ( #7898 )
2021-08-19 21:05:28 +02:00
Benjamin Nater
37df662325
build: Update x/sys to fix new issue in go 1.17
2021-08-19 20:38:14 +02:00
Jakob Borg
ca908270ec
gui, man, authors: Update docs, translations, and contributors
2021-08-18 07:45:38 +02:00
Jakob Borg
d47745a86b
all: Update build constraints to Go 1.17 style ( #7894 )
2021-08-17 10:10:41 +02:00
Jakob Borg
8c94ce8d14
build: Simplify gem command in Debian Docker image
2021-08-17 09:38:42 +02:00
Simon Frei
0fe72e6fc5
lib/model: Schedule pull after revert on recv-enc ( #7892 )
2021-08-17 09:24:10 +02:00
Simon Frei
c025e76f30
lib/model: Do not wait for scan when setting ignores ( fixes #7893 ) ( #7891 )
2021-08-17 09:23:33 +02:00
Simon Frei
e1bf1e672e
lib/ur: Fix panic getting goroutines for failures (ref #7785 ) ( #7890 )
2021-08-16 22:47:05 +02:00
tomasz1986
a5bbb500e6
gui: Use large modals for Listeners and Discovery ( #7884 )
2021-08-13 20:09:10 +02:00
Jakob Borg
a615f868a5
gui, man, authors: Update docs, translations, and contributors
2021-08-11 07:45:33 +02:00
Simon Frei
db302b15ea
lib/syncthing: Set system timezone on android ( #7878 )
2021-08-09 09:27:14 +02:00
Simon Frei
952f3ffb0c
lib/db/backend: Prevent panic in errors.As ( #7873 )
2021-08-05 11:25:20 +01:00
Audrius Butkevicius
fe77fac23f
Update quic to 0.22.0 to support RFC9000, enable batch reads ( #7862 )
...
* Update quic to 0.22.0 to support RFC9000, enable batch reads
* Remove wrappers that are not needed anymore
2021-08-05 05:44:22 +02:00
Simon Frei
e61091d240
lib/stun: Prevent nil deref when naming service ( #7872 )
2021-08-05 00:04:22 +01:00
Simon Frei
50aacdf1f0
lib/protocol: Ensure correct blocksize on enc. fileinfo (ref #7861 ) ( #7870 )
2021-08-04 23:12:01 +02:00
Simon Frei
e56e8b7aa1
lib/model: Don't consider hashes pulling on recv-enc ( #7869 )
2021-08-04 11:10:10 +02:00
Jakob Borg
6d0816e85a
gui, man, authors: Update docs, translations, and contributors
2021-08-04 07:45:31 +02:00
tomasz1986
abdf024517
gui: Improve revert/override/delete warning modals ( #7847 )
...
1. Change each modal title text to match the action that is being
executed (i.e. "Revert" to "Revert Local Additions", "Override" to
"Override Changes", "Delete" to "Delete Unexpected Items").
2. Change the icons to match the icons used by each action (i.e. arrow-
circle-down for Revert, arrow-circle-up for Override). Replace the
broken lock icon for Delete with minus-circle.
3. Rearrange the order in the modal HTML code to simplify it a little.
2021-08-03 10:46:20 +01:00
tomasz1986
5a1f6cb813
lib/fs: Improve case conflict error message ( fixes #7827 ) ( #7829 )
2021-08-01 22:44:49 +02:00
greatroar
37d0ba1660
lib/watchaggregator: Replace counter map by two integers ( #7856 )
2021-08-01 12:30:20 +02:00
Simon Frei
734c2fc870
Merge branch 'release'
2021-07-30 14:46:20 +02:00
Jonathan
490ec4350c
lib/model: Fix config deadlock when deleting a paused folder ( #7854 )
2021-07-30 14:41:57 +02:00
Jonathan
0836439256
lib/model: Fix config deadlock when deleting a paused folder ( #7854 )
2021-07-30 14:41:00 +02:00
Jakob Borg
b197b698a4
gui, man, authors: Update docs, translations, and contributors
2021-07-28 07:45:33 +02:00
Simon Frei
67b18569cf
all: Send deadlocks as failures, crash only as a last resort ( #7785 )
2021-07-27 21:27:52 +02:00
Simon Frei
dc0dd09e93
lib/model: Don't try to delete deleted item on revert ( #7843 )
2021-07-23 14:26:20 +02:00
Simon Frei
7ec76095e6
gui, script: Parse JS files for translation values ( fixes #7845 ) ( #7846 )
2021-07-23 14:24:08 +02:00
Simon Frei
cb26552440
gui, script: Fix various gui string/translation issues ( fixes #7839 ) ( #7842 )
2021-07-22 11:47:03 +02:00
Simon Frei
1ae5ac7d0b
cmd/stcrashreceiver: Sanitize failure report fingerprints ( #7840 )
2021-07-22 11:16:24 +02:00
Simon Frei
eeb7091180
lib/model: Missing fmut-lock on encryption failures ( #7841 )
2021-07-22 11:15:25 +02:00
greatroar
dc38e6ae88
lib/relay/client: Stricter typing and remove unused code ( #7819 )
2021-07-21 09:49:09 +02:00
Jakob Borg
eb6cad7f93
gui, man, authors: Update docs, translations, and contributors
2021-07-21 07:45:25 +02:00
jtagcat
ae30b46bfe
gui: advanced: On open collapse all, inc. GUI section. ( #7820 )
2021-07-16 06:40:30 +02:00
Jakob Borg
eab268f5f8
gui, man, authors: Update docs, translations, and contributors
2021-07-14 07:45:27 +02:00
greatroar
1e21042138
lib/connections: switch statement to get the QUIC network ( #7816 )
2021-07-10 13:53:51 +02:00
Jakob Borg
a56f70ab94
gui, man, authors: Update docs, translations, and contributors
2021-07-07 07:45:25 +02:00
Chih-Hsuan Yen
11c57b9097
lib/connections: Resolve IPv6 for quic6:// peers ( fixes #7809 ) ( #7810 )
...
Before this patch, IPv4-compatible addresses (::ffff:aaa.bbb.ccc.ddd)
may be used if a quic6://some.domain:port is specified and both IPv4 and
IPv6 addresses exist for that domain name.
2021-07-05 13:19:56 +02:00
Simon Frei
1921533c4c
lib/connections: Fully dial resumed devices ( #7798 )
2021-07-03 18:26:55 +02:00
Simon Frei
89e762fd6e
lib/model: Prevent folder-type change from/to encrypted ( fixes #7704 ) ( #7796 )
2021-07-03 13:47:04 +02:00
Simon Frei
a63d3ee625
lib/model: Scan removed dirs when reverting recv-enc ( fixes #7706 ) ( #7797 )
2021-07-03 13:46:24 +02:00
Jakob Borg
82741ad207
gui, man, authors: Update docs, translations, and contributors
2021-06-30 07:45:30 +02:00
greatroar
bd363fe0b7
lib/protocol: Write uncompressible messages uncompressed ( #7790 )
2021-06-27 17:59:30 +02:00
Vladimir Rusinov
7a4c6d262f
build: Remove no longer used temporaryBuildDir ( #7795 )
2021-06-27 17:59:02 +02:00
Simon Frei
445a82f120
lib/model: Compare all items with global on scan ( fixes #7740 ) ( #7791 )
2021-06-27 08:48:54 +02:00
Simon Frei
69ce121267
lib/db: Missing event-logger in write-transaction ( #7793 )
2021-06-27 08:43:49 +02:00
Simon Frei
08e3cd1cce
lib/fs: Set expiry after DirNames in case-fs ( #7794 )
2021-06-27 08:30:02 +02:00
André Colomb
da0e5edbec
gui: Fix typo "recurr", again and for real ( #7788 )
2021-06-25 12:08:18 +02:00
Simon Frei
c78fa42f31
lib/connections: Dial devices in parallel ( #7783 )
2021-06-25 11:38:04 +02:00
Jakob Borg
993a3ebe73
lib/api: Always include usage reporting data in support bundle ( #7786 )
2021-06-24 22:00:14 +04:00
Jakob Borg
8040502599
gui, man, authors: Update docs, translations, and contributors
2021-06-23 07:45:27 +02:00
Simon Frei
c84e8d1e09
gui: Consider size 0 items in remote completion ( fixes #7741 ) ( #7781 )
2021-06-21 22:53:50 +02:00
Simon Frei
5fb72eed85
gui: Make listener/discovery modal more discoverable ( #7780 )
2021-06-21 21:44:28 +02:00
Simon Frei
400d62c1e6
lib/connections: Missed map init in nextDialAt (ref #7753 ) ( #7778 )
2021-06-17 21:13:57 +04:00
Simon Frei
857caf3637
lib/connections: Trigger dialer when connection gets closed ( #7753 )
2021-06-17 13:57:44 +02:00
Simon Frei
aeca1fb575
lib/db: Check if sequences change when repairing metadata ( #7770 )
2021-06-17 13:53:39 +02:00
Simon Frei
ac2988a485
gui, lib: Handle pw adding remote encrypted folder ( fixes #7705 ) ( #7772 )
2021-06-17 13:53:02 +02:00
Simon Frei
cb5ef250f4
build: Add codecov upload script to repo ( #7776 )
2021-06-17 13:52:10 +02:00
Simon Frei
23a0e18292
lib/db: Fix accounting bug when dropping indexes ( #7774 )
2021-06-17 10:15:11 +02:00
Simon Frei
aa6c55dec1
lib/model: Remove bogus failureevent when restarting folder ( #7773 )
2021-06-17 08:57:24 +02:00
André Colomb
7e0c24ec89
gui: Move the QR code button next to device ID in editDevice modal ( #7653 )
2021-06-16 21:10:16 +02:00
Simon Frei
2c7d9b59c6
gui: Fix race in online event callback ( fixes #7733 ) ( #7771 )
2021-06-16 19:32:30 +02:00
Jakob Borg
adb7763f87
gui, man, authors: Update docs, translations, and contributors
2021-06-16 07:45:27 +02:00
André Colomb
89740490ac
gui: Fix typo in new tooltip. ( #7769 )
2021-06-14 23:06:24 +02:00
greatroar
0b290f7206
all: go mod tidy ( #7758 )
2021-06-10 13:16:44 +02:00
Simon Frei
1e7a3997e3
lib/db, lib/model: Improve error handling on pending items ( #7754 )
2021-06-09 13:35:17 +02:00
Anur
e7f8538e4d
lib/fs: Add bitmasks for Darwin to handle change to empty files ( fixes #7731 ) ( #7756 )
2021-06-09 12:57:06 +02:00
Jakob Borg
18a608a6ff
gui, man, authors: Update docs, translations, and contributors
2021-06-09 07:45:34 +02:00
Simon Frei
1a22689328
lib/db: Add failure reports to failures iterating over hashes ( #7755 )
2021-06-07 23:10:35 +02:00
Jakob Borg
ce65aea0ab
lib/db: Use a more concurrent GC ( fixes #7722 ) ( #7750 )
...
This changes the GC mechanism so that the first pass (which reads all
FileInfos to populate bloom filters with block & version hashes) can
happen concurrently with normal database operations.
The big gcMut still exists, and we grab it temporarily to block all
other modifications while we set up the bloom filters. We then release
the lock and let other things happen, with those other things also
updating the bloom filters as required. Once the first phase is done we
again grab the gcMut, knowing that we are the sole modifier of the
database, and do the cleanup.
I also removed the final compaction step.
2021-06-07 10:52:06 +02:00
André Colomb
45edad867c
all: Allow dismissing pending devices / folders without ignoring ( fixes #7700 ) ( #7712 )
2021-06-07 10:29:24 +02:00
André Colomb
ea0a408849
gui: Modal dialog for listeners and discovery status ( #7539 )
2021-06-07 09:08:44 +02:00
Simon Frei
18592af993
lib/model: Fix wrongly hardcoded arguments in test helper ( #7749 )
2021-06-05 17:01:23 +02:00
Simon Frei
b1e0e7b923
lib/model: Fix indexhandling for new folders paused on remote ( #7747 )
2021-06-05 16:27:15 +02:00
Jakob Borg
1e212a8dc6
cmd/syncthing: Wording on error return in "cli debug file"
2021-06-05 11:45:29 +02:00
Jakob Borg
0e9d2a13af
cmd/syncthing: Improve "cli debug file" handling
...
Proper URL encoding, and return a sensible error when it's not found.
2021-06-05 11:19:02 +02:00
Simon Frei
6494a9332d
lib/model: Fix test introduced in #7714 failing due to #7689 ( #7745 )
2021-06-04 15:32:47 +02:00
Simon Frei
41baccb85d
lib/model: Fix passwords on receive-enc needing token (ref #7518 ) ( #7739 )
2021-06-03 15:39:49 +02:00
Simon Frei
52eb7392c4
lib/api, lib/config: Apply defaults before deserializing json ( #7690 )
2021-06-03 15:09:35 +02:00
Simon Frei
855c53ad02
lib/model: Fix reverting when version has only our own ID ( fixes #7708 ) ( #7714 )
2021-06-03 15:08:56 +02:00
Simon Frei
004eded398
lib/model: Don't share with introduced device if encrypted ( fixes #7724 ) ( #7734 )
2021-06-03 15:02:57 +02:00
Simon Frei
df48276300
lib/model: Ensure indexes are only received after checking IDs (ref #7649 ) ( #7689 )
2021-06-03 14:58:50 +02:00