Chocobo1
2e97311147
Unify translation files loading action
...
Since it is possible alternative WebUI could be coded in languages other than English,
WebUI must be able to load user-provided webui_en.qm.
At least one translated string must exist in order to generate an usable .qm file.
2018-12-24 18:19:28 +02:00
sledgehammer999
57bc564b2c
Use configured locale only for translating
...
Don't use other aspects of it eg for date formatting. We should depend
on the system locale for all these. The user probably likes it that way,
otherwise he would have changed it.
2018-12-24 18:19:27 +02:00
Stephen Dawkins
1295f1e31f
Keep track of REPACK/PROPER downloads
...
When using the smart episode filter, if the episode contains REPACK and/or
PROPER, these should be stored to prevent it from redownloading a duplicate
episodes.
Closes #9898 .
2018-12-24 18:19:26 +02:00
sledgehammer999
4916ed0efb
Update transifex config file
2018-12-24 18:19:25 +02:00
sledgehammer999
f15f99cb27
Sync translations from Transifex and run lupdate
2018-12-24 18:19:22 +02:00
sledgehammer999
93365d3b20
Update WebUI .ts files
2018-12-24 18:19:11 +02:00
Chocobo1
c756ab021d
Upgrade TravisCI to xenial
...
* Remove cmake installation, it is already pre-installed by TravisCI.
* Limit ccache cache size to 512 MB. Previously the size was 5 GB for
macOS and it took 1~3 mins just for packing & uploading the cache,
limiting the size should shorten total build time.
2018-12-17 00:49:09 +02:00
Nick Korotysh
34528dd544
Make file icon look like other macOS icons
2018-12-17 00:49:08 +02:00
Chocobo1
9380209afb
Revise CSP header
...
The majority of the CSP is tuned for built-in WebUI, it may not be
suitable for alternative UI.
Also add QLatin1String to strings. This code path is called repeatedly,
it is worth adding QLatin1String to squeeze out the last bit of
performance.
2018-12-17 00:49:07 +02:00
Chocobo1
be2895ac6f
Enforce referrer-policy in WebUI
...
This stops leaking private data to other websites via Referrer header.
2018-12-17 00:49:06 +02:00
Thomas Piccirello
e26d4642b8
Add torrent name filtering to WebUI
...
Closes #721
2018-12-17 00:49:05 +02:00
Thomas Piccirello
f470972bd4
Send numeric status without translation
2018-12-17 00:49:04 +02:00
Thomas Piccirello
443378c041
Remove condition for unsupported libtorrent version
2018-12-17 00:49:02 +02:00
Thomas Piccirello
e20dbe34a4
Simplify map initialization
2018-12-17 00:49:01 +02:00
Thomas Piccirello
86bde47a06
Add WebUI Trackers context menu
2018-12-17 00:49:00 +02:00
Thomas Piccirello
e273c777c7
Add DHT, PeX, and LSD to WebUI Tracker list
2018-12-17 00:48:59 +02:00
Thomas Piccirello
17845c6b25
Add additional Tracker columns to WebUI
2018-12-17 00:48:58 +02:00
Thomas Piccirello
27827ce16a
Use const where appropriate
2018-12-17 00:48:57 +02:00
Thomas Piccirello
b444ecc6af
Reorder and rename Tracker list context menu option
...
Adds an ellipses to indicate that the Edit option opens a dialog. Also moves Edit to top of the list to convey action's prominence.
2018-12-17 00:48:56 +02:00
Thomas Piccirello
34995350ee
Rename Tracker List columns
...
"Received" renamed to "Peers", "Peers" renamed to "Leeches".
2018-12-17 00:48:55 +02:00
sledgehammer999
73ceee52f8
Bump Web API version
2018-12-17 00:48:54 +02:00
Thomas Piccirello
85a3ba0eed
Update Copyright email address
2018-12-17 00:48:53 +02:00
Thomas Piccirello
86cce76e9d
Fix display bugs in WebUI Files tab. Remove <IE9 support
...
Priority select boxes would frequently go blank due to an unexpected priority value. On first load, the torrent-scoped file checkbox's state was inconsistent with the state of the torrent's files.
2018-12-17 00:48:52 +02:00
Thomas Piccirello
3358fd8e91
Fix incorrect priority value sent from WebUI
...
Closes #9070 .
2018-12-17 00:48:51 +02:00
Thomas Piccirello
120965f823
Set priority for multiple files in one WebAPI request
...
Closes #6259 .
2018-12-17 00:48:50 +02:00
Thomas Piccirello
e70ee9a5b6
Replace prio namespace with FilePriority enum class
2018-12-17 00:48:48 +02:00
Thomas Piccirello
a2d8e84e83
Match WebUI Peers table column order to GUI
2018-12-17 00:48:47 +02:00
Chocobo1
4a3648a693
Use gcc-5 for TravisCI linux builds
...
Remove workarounds for CXXFLAGS.
Using 3 compilation jobs should cause process trashing, tune it down to 2.
TravisCI container builds is deprecated, so remove the `sudo: false` command.
2018-12-17 00:48:43 +02:00
Chocobo1
baad45e638
Use CC, CXX from environment when available
2018-12-17 00:47:01 +02:00
Chocobo1
d9cb00aab2
Use correct locale to display date
2018-12-17 00:46:54 +02:00
Vladimir Golovnev (Glassez)
d703d98836
Show error message when Session failed to start
2018-12-17 00:41:30 +02:00
Thomas Piccirello
2f0646e7f0
Fetch data less frequently when torrents tab isn't visible
2018-12-17 00:41:28 +02:00
Thomas Piccirello
1a8a6dcef7
Add Search tab to WebUI
...
Closes #859 , #8107 .
2018-12-17 00:41:27 +02:00
Thomas Piccirello
990f961126
Allow tables to be added without a parent panel
2018-12-17 00:41:26 +02:00
Thomas Piccirello
06f04dea19
Simplify implementation
2018-12-17 00:41:25 +02:00
Thomas Piccirello
8eced2ef1f
Add ability to pass urls to the webui download page
2018-12-17 00:41:24 +02:00
Tom Piccirello
1e486ea92e
Fix JavaScript error
...
Fixes a JavaScript error caused by the element lookup returning null
2018-12-17 00:41:22 +02:00
Thomas Piccirello
b47f38675e
Disallow setting a blank alternative WebUI location
2018-12-17 00:41:21 +02:00
Thomas Piccirello
864f3393a0
Add slow torrent options
2018-12-17 00:41:20 +02:00
Thomas Piccirello
cebef74326
Add "Use alternative Web UI" option
2018-12-17 00:41:19 +02:00
Thomas Piccirello
e257b35cac
Add "Apply rate limit to peers on LAN" option
2018-12-17 00:41:17 +02:00
Thomas Piccirello
1f33991e4b
Add email "From" option
2018-12-17 00:41:16 +02:00
Thomas Piccirello
794053f212
Set WebUI download options using set preferences
...
"Start torrent" and "Create subfolder" are now set depending on the user's set preferences, which matches the behavior exhibited by the GUI.
2018-12-17 00:41:14 +02:00
Thomas Piccirello
3a130e1f74
Show list of categories on WebUI download page
2018-12-17 00:41:13 +02:00
Thomas Piccirello
3423f93230
Hide WebUI text input for custom monitor save locations
2018-12-17 00:41:12 +02:00
Thomas Piccirello
2219167253
Add "When adding a torrent" options
2018-12-17 00:41:10 +02:00
Thomas Piccirello
a0a32b89a6
Add WebUI Auto TMM options
2018-12-17 00:41:08 +02:00
Thomas Piccirello
59162bf426
Replace all line breaks and fix legend code style.
2018-12-17 00:41:07 +02:00
Thomas Piccirello
dfd148f55f
Add speed limit icons to WebUI Speed options
2018-12-17 00:41:05 +02:00
Thomas Piccirello
3af720b3bc
Add WebUI Random port button and proxy unencrypted password notice
2018-12-17 00:41:04 +02:00