Jakob Borg
5b37d0356c
lib/model, gui: Correct completion percentages when there are lots of deletes ( fixes #3496 )
...
We used to consider deleted files & directories 128 bytes large. After
the delta indexes change a bug slipped in where deleted files would be
weighted according to their old non-deleted size. Both ways are
incorrect (but the latest change made it worse), as if there are more
files deleted than remaining data in the repo the needSize can be
greater than the globalSize, resulting in a negative completion
percentage.
This change makes it so that deleted items are zero bytes large, which
makes more sense. Instead we expose the number of files that we need to
delete as a separate field in the Completion() result, and hack the
percentage down to 95% complete if it was 100% complete but we need to
delete files. This latter part is sort of ugly, but necessary to give
the user some sort of feedback.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3556
2016-09-02 06:45:46 +00:00
Jakob Borg
1188ebbb7b
gui, man: Update docs & translations
2016-08-23 10:42:09 +02:00
Jakob Borg
fa8f339478
gui: Fix division by zero in completion calc (ref #3493 )
2016-08-12 08:49:16 +02:00
Jakob Borg
7776839c82
cmd/syncthing, gui: Improve completion calculation ( fixes #3492 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3493
2016-08-12 06:41:43 +00:00
Jakob Borg
7114cacb85
gui, man: Update docs & translations
2016-08-10 11:41:46 +02:00
Antoine Lamielle
c9cf01e0b6
gui: weighting % of devices according to folder size ( fixes #1300 )
...
The completion of remote devices was based only on the average of the percentages of all folders, which is irrelevant in case of two folders with very different sizes.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3481
LGTM: calmh, AudriusButkevicius
2016-08-09 19:58:44 +00:00
Jakob Borg
946c074a41
authors: Add 0x010C
2016-08-08 08:19:02 +02:00
Jakob Borg
fbe42c156d
gui: Move "ignore patterns" away from "remove" in folder edit dialog
2016-08-07 14:26:32 +02:00
Audrius Butkevicius
08b5a7908f
gui: Add one-off notifications that need to be acked
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3254
2016-08-02 08:07:30 +00:00
derekriemer
a8cd9d0154
gui: Improve accessibility ( fixes #3297 )
...
skip-check: authors
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3463
2016-07-31 22:59:44 +00:00
Jakob Borg
a022b0cfff
gui, man: Update docs & translations
2016-07-28 13:15:14 +02:00
Jakob Borg
25a7b0a6f8
gui, man: Update docs & translations
2016-07-26 10:53:00 +02:00
Jakob Borg
e1a4f81e50
gui, man: Update docs & translations
2016-07-17 23:45:22 +02:00
Cedric Staniewski
e3ccc45d19
gui: Fix usage statistics URL in report usage preview ( fixes #3397 )
...
This applies the fix from 9d75652
to the usage report preview.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3402
2016-07-12 22:31:11 +00:00
Jakob Borg
beec9e834e
gui, man: Update docs & translations
2016-07-10 09:23:58 +02:00
Cedric Staniewski
21f5b16e47
gui: Sort device folder lists by label
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3381
2016-07-03 21:11:39 +00:00
Jakob Borg
223e14b0d0
gui, man: Update docs & translations
2016-07-03 13:29:32 +02:00
Peter Dave Hello
b701de60ce
gui, assets: Compress PNGs using ZopfliPNG
...
Skip-check: authors pr-build
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3358
2016-06-28 06:19:12 +00:00
Jakob Borg
3c77b8388c
gui: Suggest lower case only folder ID ( fixes #3128 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3353
2016-06-27 09:39:25 +00:00
Jakob Borg
b71cc8a580
gui, man: Update docs & translations
2016-06-26 12:48:18 +02:00
Jakob Borg
ac3b03881a
gui: Add addresses for disconnected devices ( fixes #3340 )
...
Also fixes an issue where the discovery cache call would only return the
newest cache entry for a given device instead of the merged addresses
from all cache entries (which is more useful).
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3344
2016-06-26 10:47:23 +00:00
Cedric Staniewski
89a29946f9
gui: Sort folders by label, fall back to ids if required ( fixes #3310 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3326
2016-06-18 19:16:53 +00:00
Jakob Borg
20a94fafa7
authors: Add xduugu
2016-06-18 21:04:32 +02:00
Daniel Harte
99ddf1e4ab
gui: Adjust border-radius on accordion title buttons ( fixes #3299 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3320
2016-06-17 06:59:07 +00:00
Daniel Harte
fb778218f5
gui: Improve layout of "out of sync" modal ( fixes #3306 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3296
2016-06-17 06:54:33 +00:00
Daniel Harte
55fc3cb2c5
gui: Load modals before calling initController() ( fixes #3301 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3319
2016-06-17 06:44:55 +00:00
Jakob Borg
bb5b1f8f01
gui: Temporarily disable the usage reporting prompt (ref #3301 )
2016-06-13 18:06:12 +02:00
Jakob Borg
c1a96d4900
gui, man: Update docs & translations
2016-06-12 16:21:34 +02:00
Daniel Harte
de298da532
gui: Modal tweaks
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3292
LGTM: AudriusButkevicius, calmh
2016-06-12 14:06:48 +00:00
Daniel Harte
9a25df01fe
gui: Add support for multiple stacked modals
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3288
2016-06-09 10:45:43 +00:00
Daniel Harte
09b7348595
gui: Accordion titles as buttons
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3284
LGTM: calmh, AudriusButkevicius
2016-06-08 15:55:44 +00:00
Daniel Harte
d2bb6e0c0a
gui: Bootstrap tooltips (in modals)
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3280
2016-06-08 14:55:30 +00:00
Daniel Harte
8632a03662
gui: Remove tooltip shown over whole modal
...
Changed the attribute 'title' (reserved) to 'heading' for the modal
template
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3281
2016-06-08 13:07:53 +00:00
Jakob Borg
03a8027efc
cmd/syncthing: Refactor out staticsServer (prev. embeddedStatic) a bit
...
The purpose of this operation is to separate the serving of GUI assets a
bit from the serving of the REST API. It's by no means complete. The end
goal is something like a combined server type that embeds a statics
server and an API server and wraps it in authentication and HTTPS and
stuff, plus possibly a named pipe server that only provides the API and
does not wrap in the same authentication etc.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3273
2016-06-07 07:46:45 +00:00
Jakob Borg
06e63aedea
gui: "Syncing" favicon is no longer animated ( fixes #3267 )
...
Resaved with just first frame in Photoshop, ran pngcrush on it.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3269
2016-06-06 13:01:40 +00:00
Daniel Harte
0320194757
gui: Swap edit / pause buttons on devices
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3266
2016-06-06 12:39:47 +00:00
Jakob Borg
eefcecc7ce
gui, man: Update docs & translations
2016-06-03 13:03:24 +02:00
Daniel Harte
3795a786c9
gui: CSS tweaks for mobile views
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3257
2016-06-02 23:21:19 +00:00
Daniel Harte
855a1bef89
gui: Vertically center identicons in panel titles
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3256
2016-06-02 20:52:10 +00:00
Daniel Harte
8709fec517
gui: Make warning titles more readable in Dark Theme
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3253
2016-06-02 20:03:21 +00:00
Majed Abdulaziz
48245effdf
lib/model, lib/stats: Keep track of folder's last scan time (ref #3143 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3250
LGTM: calmh, AudriusButkevicius
2016-06-02 19:26:52 +00:00
Daniel Harte
16063933d1
gui: Vertically center identicons in accordion titles
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3252
2016-06-02 19:03:18 +00:00
Daniel Harte
d317f197be
gui: Early return 'danger' over 'warning'
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3251
2016-06-02 18:34:25 +00:00
Jakob Borg
d67c0a1eda
authors: Clean up AUTHORS and NICKS files
...
Git didn't really understand the multiple email addresses in the NICKS
file the same way I expected it to, and this fixes that. It also makes
AUTHORS the "master" file that everything else depends on, so it
now includes all of name, nickname and email addresses.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3243
2016-06-02 08:19:12 +00:00
Daniel Harte
36c6a1955f
gui: Improve navigation header layout on mobile
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3240
2016-06-02 06:08:18 +00:00
Daniel Harte
f792989d9b
gui: Show 'scanning' on unshared folders ( fixes #3068 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3239
2016-06-02 00:17:48 +00:00
Daniel Harte
ee398f17e1
gui: Restore broken logo on mobile
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3238
2016-06-01 23:40:11 +00:00
Audrius Butkevicius
8c4723ff43
gui: Fix editing devices ( fixes #3236 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3237
2016-06-01 20:24:43 +00:00
Daniel Harte
01ae866d58
gui: Use favicon as indication for status ( fixes #1018 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3217
2016-06-01 19:06:36 +00:00
Jakob Borg
9d756525ce
gui: Extract URL from translated string ( fixes #3204 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3224
2016-05-31 07:24:42 +00:00