syncthing/lib
Pablo 9b01e64c66 gui, lib/api: Adds support for prefers-color-scheme (fixes #6115)
* gui, lib/api: Adds support for prefers-color-scheme on default theme (fixes #6115)

- Renames current default theme into a new "light" theme
- Modifies assets serving to allow getting assets from different themes

* lib/api: Serve assets from arbitrary theme when path starts with "theme-assets"

* lib/api: Moves constant out of function

* Loads light theme in browsers without support for prefers-color-scheme

* gui: Disables dark theme when printing

* Prevents repeated injection and adds support for older browsers

The CSS is always loaded if there is no support for `matchMedia`.
2019-11-08 21:44:37 +00:00
..
api gui, lib/api: Adds support for prefers-color-scheme (fixes #6115) 2019-11-08 21:44:37 +00:00
auto build: Let "go generate" create assets 2018-06-26 10:29:36 +02:00
beacon all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
build cmd/*, lib/build: Set correct LongVersion (fixes #5993) (#5997) 2019-10-07 13:30:25 +02:00
config all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
connections lib/connections: Rate limit quic accept loop (fixes #6081) (#6082) 2019-10-18 09:55:37 +02:00
db all: Upgrade github.com/gogo/protobuf and regenerate (fixes #6085) 2019-10-18 09:53:59 +02:00
dialer all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
discover all: Upgrade github.com/gogo/protobuf and regenerate (fixes #6085) 2019-10-18 09:53:59 +02:00
events all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
fs all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
ignore lib/ignore: Don't crash in partial #include line (ref #5985) (#5986) 2019-08-30 11:36:31 +02:00
locations all: Remove potentially problematic errors from panics (fixes #5839) (#5912) 2019-07-31 10:53:35 +02:00
logger all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
model lib/model: Remove some testing deadlocks (#6138) 2019-11-08 18:53:51 +01:00
nat all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
osutil all: Remove dead code, fix lost msgLen checks (#6129) 2019-11-06 07:09:58 +01:00
pmp all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
protocol Fix bufferpool puts (ref #4976) (#6125) 2019-11-06 10:53:10 +00:00
rand lib/connections: Add QUIC protocol support (fixes #5377) (#5737) 2019-05-29 09:56:40 +02:00
rc all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
relay all: Remove dead code, fix lost msgLen checks (#6129) 2019-11-06 07:09:58 +01:00
scanner lib/scanner: Don't scan if input path is below symlink (fixes #6090) (#6101) 2019-10-22 11:12:21 +02:00
sha256 all: Remove dead code, fix lost msgLen checks (#6129) 2019-11-06 07:09:58 +01:00
signature all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stats all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
stun all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
sync lib/sync: Cleanly fail instead of panic in tests (#6088) 2019-10-16 10:11:11 +02:00
syncthing lib/model: Add folders on start in model (#6135) 2019-11-08 10:56:16 +01:00
testutils lib/model, lib/testutils: Test closing a connection on folder restart (#5707) 2019-05-18 08:53:59 +02:00
tlsutil all: Update certificate lifetimes (fixes #6036) (#6078) 2019-10-16 20:31:46 +02:00
upgrade all: Remove dead code, fix lost msgLen checks (#6129) 2019-11-06 07:09:58 +01:00
upnp lib/upnp: Fix outdated comment (#6110) 2019-11-05 18:56:51 +00:00
ur all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
util lib/util: Add caller info to service (ref #5932) (#5973) 2019-10-16 09:06:16 +02:00
versioner all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
watchaggregator all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
weakhash lib/scanner: Use standard adler32 when we don't need rolling (#5556) 2019-02-25 13:29:31 +04:00