Commit Graph

29 Commits

Author SHA1 Message Date
Charles Kerr be219ddee0
chore: add precommit hook for testing code style (#1448)
* chore: add precommit hook for testing code style

* chore: use prettier + eslint for js code
2020-09-13 21:41:32 -05:00
Charles Kerr efaa66a920
fix: resolve some lgtm warnings (#1444)
* fix: warnings found by LGTM static analyzer
2020-09-11 16:07:45 -05:00
Mike Gelfand 5569efc3d4 #6089: Beautified JavaScript (patch by skybon) 2016-03-10 19:05:13 +00:00
Mike Gelfand 7177d43ba1 #5944: Unify indentation style and strip trailing whitespaces across JS code, no functional changes (patch by xzcvczx + a lot more) 2015-05-05 19:12:48 +00:00
Mitchell Livingston 40a7634c78 #5086 Fix web interface ngettext 2012-10-10 03:03:32 +00:00
Jordan Lee 4dd6e35bd7 (trunk, web) replace Transmission.formatter.plural() with a slightly less brittle pluralization tool 2012-10-07 18:10:26 +00:00
Jordan Lee fbc7f3dc3c (trunk) use base-10 units for network bandwidth (ie, speed) and disk sizes.
It looks like the Mac client is already doing this and it's clearly the trend in other apps as well. Even apt-get is using kB/s, ferchrissake... :)

Flame away.
2012-02-03 21:21:52 +00:00
Jordan Lee 86d71b0118 Fix minor formatting issue in the web client
1. the formatter listed speed in units of 1000 bytes, but used "KB" rather than "kB"
2. the bytes-per-second speed was listed as "B" rather than "B/s"
2012-02-03 21:15:07 +00:00
Jordan Lee 438143f3ed (trunk web) fix minor pluralization issues 2011-11-13 16:51:05 +00:00
Jordan Lee 8755206dac (trunk web) #4564 "web client doesn't run in IE7" -- fixed. 2011-10-15 04:35:20 +00:00
Jordan Lee 9c2e8900a8 fix pluralization bug in formatter.timeInterval() 2011-09-14 16:26:13 +00:00
Jordan Lee 6b8a224059 (trunk web) refactor the preferences dialog into its own class. Make the prefs dialog invokable on iPhones/Androids (#1131) and add stop ratio functionality (#2006). 2011-09-14 05:10:51 +00:00
Jordan Lee 442d9fbea9 (trunk web) use "===" instead of "==" when appropriate. 2011-09-05 07:46:55 +00:00
Jordan Lee 2da83079f9 (trunk web) #4438 "Add tooltip for peer status in web interface" -- patch by niol 2011-08-24 18:42:10 +00:00
Jordan Lee 2dc746a7b6 (trunk web) A lot of web cleanup, refactoring, bugfixes, and probably new breakage. Filterbar/statusbar has been reworked. Added filter-by-tracker. Compact mode now works in "iPhone" mode. 2011-08-24 02:04:35 +00:00
Jordan Lee 879a2afcbd Update the copyright year in the source code comments.
The Berne Convention says that the copyright year is moot, so instead of adding another year to each file as in previous years, I've removed the year altogether from the source code comments in libtransmission, gtk, qt, utils, daemon, and cli.

Juliusz's copyright notice in tr-dht and Johannes' copyright notice in tr-lpd have been left alone; it didn't seem appropriate to modify them.
2011-01-19 13:48:47 +00:00
Charles Kerr ffe54a20ed (trunk) #3698 "creation date of magnet links are set before the epoch." -- fixed. 2010-11-08 19:16:03 +00:00
Charles Kerr 4d7046fd67 (trunk) #3547 "Wrong speed display in web UI" -- fixed 2010-09-18 23:06:03 +00:00
Charles Kerr aab93bc8d7 (trunk, web) we were appending lots and lots of strings. instead, use array.join() 2010-09-12 02:07:43 +00:00
Charles Kerr bda694b6da (trunk, web client) fix speed display 2010-09-12 01:13:38 +00:00
Charles Kerr 71cadc02b6 (trunk web) #3413 "download speed bad format in web interface" -- fixed. 2010-07-10 02:05:25 +00:00
Charles Kerr cdcc4705aa (trunk) #3045 "make libtransmission's API byte-oriented instead of KiB-oriented." -- implemented. This is a largish commit and will break the mac build for a little while. 2010-07-03 00:25:22 +00:00
Daniel Lee 58084f5b32 (web) r10834, whoops 2010-06-24 05:23:48 +00:00
Daniel Lee 03ea4a35e8 (web) Math.roundWithPrecision does the exact same thing as toFixed. 2010-06-24 05:22:56 +00:00
Daniel Lee bbe9e9843a #3298:Prettier formating of percentages 2010-06-22 22:30:58 +00:00
Daniel Lee ad9814612d (web) fix whitepsaces 2010-06-21 13:14:33 +00:00
Daniel Lee 1b15ec9879 refactor formatter.js 2010-06-19 21:42:16 +00:00
Daniel Lee a9671b93ac Goodbye 2010-06-19 20:54:20 +00:00
Charles Kerr 1aba1c8d66 (trunk web) add a more flexible speed / size formatter to the web client 2010-06-19 18:40:07 +00:00