Commit Graph

3441 Commits

Author SHA1 Message Date
Jakob Borg
4a228697cd cmd/syncthing: Enforce stricter CSRF policy on /rest GET requests
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3137
2016-05-21 22:56:10 +09:00
Jakob Borg
b4f941784f lib/config: Update size constraints and URL (ref #3086) 2016-05-13 14:02:47 +02:00
Jakob Borg
62142c8ccd gui, man: Update docs & translations 2016-05-06 16:16:28 +02:00
Jakob Borg
53f00ce02a lib/upgrade: Don't attempt processing files larger than expected max binary size (ref #3045) 2016-05-06 16:12:45 +02:00
Jakob Borg
a53ec582a6 lib/upgrade: Enforce limits on download archives (fixes #3045) 2016-05-06 15:39:13 +02:00
Jakob Borg
8b8c48900e lib/upgrade: Auto upgrade signature should cover version & arch (fixes #3044)
New signature is the HMAC of archive name (which includes the release
version and architecture) plus the contents of the binary. This is
expected in a new file "release.sig" which may be present in a
subdirectory. The new release tools put this in [.]metadata/release.sig.

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3043
2016-05-06 15:39:02 +02:00
Jakob Borg
c0abde3157 gui: Backport angular and angular-translate updates from master 2016-05-06 15:35:30 +02:00
Audrius Butkevicius
94c6110f2e cmd/syncthing: Skip a calculation if timediff is zero (fixes #2854) 2016-04-13 11:52:12 +02:00
Jakob Borg
55e80c3883 Caught up to master (no changes taken)
* master: (61 commits)
  gui: Better accessibility for folder & device panels (fixes #2288)
  cmd/syncthing: Extract interfaces for things the API depends on
  cmd/syncthing: Return 500 with an error object instead of empty 200 on marshalling failure in REST response
  lib/model: Properly handle deleting multiple files when doing scans with subs (fixes #2851)
  lib/model: Correct handling of multiple subs when scanning (fixes #2851)
  lib/relay/client: Log relay client messages (fixes #2624)
  Confirmation box for when adding multiple folders on the same path (#1960)
  meta: Amend wweich in NICKS
  gui: Update translation files and assets
  gui: Differentiate local and remote devices more clearly
  gui: Improve layout of footer on narrow screens (fixes #2663)
  connections: The Max{Send,Recv}Kbps variables are supposed to be in KiB/s
  tests: messagediff argument order should be expected, actual
  Use Bootstrap tooltips instead of plain title attributes
  Amend norgeous
  Let "systemctl help" command work
  Add dinosore
  Don't show restart prompt when changing folder label (fixes #2840)
  Amend wweich
  Mend GUI tests
  ...
2016-03-23 10:10:18 +01:00
Jakob Borg
6d280e7b64 Update docs & translations 2016-03-23 09:26:04 +01:00
Wulf Weich
e6918a5857 gui: Better accessibility for folder & device panels (fixes #2288) 2016-03-23 09:26:04 +01:00
Jakob Borg
dca8245ba4 cmd/syncthing: Return 500 with an error object instead of empty 200 on marshalling failure in REST response 2016-03-23 09:26:04 +01:00
Audrius Butkevicius
9550817078 lib/relay/client: Log relay client messages (fixes #2624) 2016-03-23 09:26:04 +01:00
Jakob Borg
7a91860735 meta: Amend wweich in NICKS 2016-03-23 09:26:04 +01:00
Jakob Borg
0f4abac8c2 gui: Update translation files and assets 2016-03-23 09:26:04 +01:00
Wulf Weich
b16050b978 gui: Differentiate local and remote devices more clearly 2016-03-23 09:26:04 +01:00
Jakob Borg
aced62fec3 gui: Improve layout of footer on narrow screens (fixes #2663) 2016-03-23 09:26:04 +01:00
Jakob Borg
5155e24bc7 Amend wweich 2016-03-23 09:26:04 +01:00
Jakob Borg
3aabe3a51d Add wweich (noreply-address) 2016-03-23 09:26:04 +01:00
wweich
17de015b90 Increase contrast for readonly form controls in dark theme (fixes #2820)
Increase the dark theme color value for text in readonly form controls for better contrast between text and background.
2016-03-23 09:26:04 +01:00
Audrius Butkevicius
f19e71b333 Clarify GUI stuff (fixes #2819) 2016-03-23 09:26:03 +01:00
Jakob Borg
8fea354b74 lib/model: Properly handle deleting multiple files when doing scans with subs (fixes #2851) 2016-03-23 09:26:03 +01:00
Jakob Borg
7a81c27cc6 lib/model: Correct handling of multiple subs when scanning (ref #2851)
Previously the code failed in that it would return top-level plus a sub,
i.e. ["", "foo"], and it would consider "usr/lib" a prefix of
"usr/libexec" which it is not.
2016-03-23 09:26:03 +01:00
Wulf Weich
31362dfc17 gui: Better accessibility for folder & device panels (fixes #2288) 2016-03-22 20:53:56 +00:00
Jakob Borg
a492cfba13 cmd/syncthing: Extract interfaces for things the API depends on
Enables testing of the API service, in the long run.
2016-03-21 19:36:08 +00:00
Audrius Butkevicius
894ccd18ff Merge pull request #2855 from calmh/marshalfail
cmd/syncthing: Return 500 with an error object instead of empty 200 on marshalling error in REST response
2016-03-20 11:09:59 +00:00
Jakob Borg
9dec6f1324 cmd/syncthing: Return 500 with an error object instead of empty 200 on marshalling failure in REST response 2016-03-20 11:54:53 +01:00
Jakob Borg
aba2cc4db2 lib/model: Properly handle deleting multiple files when doing scans with subs (fixes #2851) 2016-03-18 12:16:33 +00:00
Jakob Borg
2df001fe5c lib/model: Correct handling of multiple subs when scanning (fixes #2851)
Previously the code failed in that it would return top-level plus a sub,
i.e. ["", "foo"], and it would consider "usr/lib" a prefix of
"usr/libexec" which it is not.
2016-03-18 08:28:44 +00:00
Audrius Butkevicius
a49b8a2608 lib/relay/client: Log relay client messages (fixes #2624) 2016-03-18 07:25:37 +00:00
kc1212
bea272c40b Confirmation box for when adding multiple folders on the same path (#1960) 2016-03-17 23:05:37 +00:00
Jakob Borg
a455e32adf meta: Amend wweich in NICKS 2016-03-17 21:23:47 +01:00
Jakob Borg
9d522bd626 gui: Update translation files and assets 2016-03-17 21:05:55 +01:00
Wulf Weich
0427396f50 gui: Differentiate local and remote devices more clearly 2016-03-17 20:05:09 +00:00
Jakob Borg
c952468e13 gui: Improve layout of footer on narrow screens (fixes #2663) 2016-03-17 16:39:50 +00:00
Jakob Borg
94b3ce44e6 connections: The Max{Send,Recv}Kbps variables are supposed to be in KiB/s 2016-03-17 08:18:23 +01:00
Jakob Borg
c439c543d0 tests: messagediff argument order should be expected, actual
So that the diff describes the changes that happened in actual as
compared to expected. The opposite is confusing.
2016-03-17 08:03:29 +01:00
norgeous
78120bd989 Use Bootstrap tooltips instead of plain title attributes
By using data-original-title the tooltips live update without reapplying the
js code, such as .tooltip('fixTitle') each time the content changes. This
method also works well with angular expressions:

    data-original-title="{{'Download Rate' | translate}}"

This example provides a bootstrap tooltip saying 'Download Rate' that changes
automatically when the language is updated.
2016-03-16 14:55:29 +00:00
Jakob Borg
f66c1c3c9c Amend norgeous 2016-03-16 15:37:03 +01:00
dinosore
6f82d83bd6 Let "systemctl help" command work
Before this change, issuing either
    systemctl --user help syncthing[.service]
or
    systemctl help syncthing@user[.service]
gave the message
    Can't show: http://docs.syncthing.net/

Following this change the syncthing man page is displayed
2016-03-16 13:09:01 +00:00
Jakob Borg
3e218b146e Add dinosore 2016-03-16 14:08:24 +01:00
Jakob Borg
17517bcc3d Don't show restart prompt when changing folder label (fixes #2840) 2016-03-16 12:18:21 +01:00
Jakob Borg
d8fba47870 Amend wweich 2016-03-14 08:37:43 +01:00
Jakob Borg
e9c5261a49 Mend GUI tests 2016-03-13 17:24:49 +01:00
Jakob Borg
8d53175c20 Compact and slightly reorder author list
More prominent positions are given to authors with more commits, in
steps of magnitude. Authors with 100-999 commits are listed before
authors with 10-99 commits. Yes, this puts me at the head of the list
and is a slight ego trip, but I still think it's the right thing to do.
2016-03-13 15:38:13 +01:00
Jakob Borg
ba5231dc89 apiService should not reference global variable 'locations' (hinders testing) 2016-03-13 11:03:00 +01:00
Jakob Borg
032365d57c Fix STGUIASSETS search paths & order (fixes #2827) 2016-03-12 12:17:25 +00:00
Jakob Borg
e9aed494f8 Add wweich (noreply-address) 2016-03-11 16:42:06 +01:00
Lars K.W. Gohlke
16c3d39fd2 Add folder label in addition to ID (fixes #966)
An auto generated ID is suggested on folder creation to reduce conflicts with
folders created on other devices.
2016-03-11 09:48:46 +00:00
wweich
1875f7287e Increase contrast for readonly form controls in dark theme (fixes #2820)
Increase the dark theme color value for text in readonly form controls for better contrast between text and background.
2016-03-11 09:08:12 +00:00