Commit Graph

267 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
0bd9c704f1 Merge pull request #90 from rom1504/patch-1
Add travis badge
2016-03-08 12:02:32 -08:00
Romain Beaumont
f5cbf977f1 ti -> travis-image, tu -> travis-url 2016-03-08 13:58:21 +01:00
DC
ff56d818f6 Torrent list styling
* Download button is a lot easier to read: white down arrow when off, animated and pulsating green down arrow when downloading, solid green up arrow when seeding

* Play button shows a spinner if you click play before a torrent is ready, then an exclamation point if the torrent still isn't ready after 10 seconds

* Drop target shows up always, not just when the torrent list is empty. Lights up when you drag something

* Fixed alignment, the Xs to delete torrents are now aligned with the + to add a new torrent
2016-03-08 04:20:37 -08:00
Romain Beaumont
c20cfff17b Add travis badge 2016-03-08 12:21:14 +01:00
DC
4c03e98a19 Video controls: never hide when paused
Also simplifies CSS
2016-03-08 02:36:33 -08:00
Feross Aboukhadijeh
4085dd1062 Update AUTHORS.md 2016-03-07 23:09:52 -08:00
Feross Aboukhadijeh
ea1d0ca718 Merge pull request #84 from feross/ui
use platform-dependent menu item name for 'close'
2016-03-07 23:06:42 -08:00
Feross Aboukhadijeh
f5a9aa9514 use platform-dependent menu item name for 'close' 2016-03-07 23:06:07 -08:00
Feross Aboukhadijeh
65065b1b27 Merge pull request #82 from feross/ui
UI polish (Windows fullscreen, Linux/Windows player window title)
2016-03-07 22:48:25 -08:00
Feross Aboukhadijeh
1681b8980b Merge pull request #81 from Flet/prettier-bytes
prettier bytes: drop fractional number if integer side is more than one digit
2016-03-07 22:47:51 -08:00
Feross Aboukhadijeh
81476a3954 fix bad merge 2016-03-07 22:33:23 -08:00
Feross Aboukhadijeh
0cca67a436 fix fullscreen on Windows
The win.isFullScreen() state takes a second to update so we should just
pass the state manually into onToggleFullScreen().
2016-03-07 22:22:25 -08:00
Feross Aboukhadijeh
7c68be4fd4 code style 2016-03-07 22:21:01 -08:00
Feross Aboukhadijeh
8ab2a1415b update player window title to torrent name (Windows, Linux)
This also moves all the state “diffing” for purposes of updating the
app’s window via Electron APIs into one function updateElectron().
2016-03-07 22:20:39 -08:00
Feross Aboukhadijeh
5171e1a7da code style 2016-03-07 22:20:08 -08:00
Feross Aboukhadijeh
aa82f73681 faster animation fade in 2016-03-07 22:18:36 -08:00
DC
4b890ee9f6 Show Blender Foundation videos by default
* Finishes the saved torrents feature!
* Torrents load and save correctly. Poster is autogenerated only once.
* Torrents can be paused and restarted
* Download button indicates state:
 - White means paused
 - Pulsating green means downloading
 - Solid green means finished downloading, only seeding
2016-03-07 22:15:47 -08:00
Dan Flettre
6a596fdde5 prettier bytes: drop fractional number if integer side is more than one digit 2016-03-07 23:48:32 -06:00
Feross Aboukhadijeh
904d3a6c4b Merge pull request #79 from feross/ui
Fix Windows UX issues
2016-03-07 19:42:45 -08:00
Feross Aboukhadijeh
31a0a7ef15 Merge pull request #80 from rom1504/hide_menu_bar_fullscreen
hide menu bar in fullscreen, fix #51
2016-03-07 19:42:39 -08:00
Romain Beaumont
251eff830f hide menu bar in fullscreen, fix #51 2016-03-08 04:00:02 +01:00
Feross Aboukhadijeh
f32825a79e Don't resize window if maximized (when player is opened)
For #3
2016-03-07 18:42:16 -08:00
Feross Aboukhadijeh
35ec241b01 Leave fullscreen when player closes
For #3
2016-03-07 18:39:11 -08:00
Feross Aboukhadijeh
ca68e85520 add comments for window options 2016-03-07 18:18:40 -08:00
Feross Aboukhadijeh
58d7f93ec8 Hide top menu bar unless Alt key is pressed (Windows, Linux) 2016-03-07 18:18:31 -08:00
Feross Aboukhadijeh
1ea055eb4a show window without 50ms timeout
Shouldn’t be needed since @ngoldman changed the <script> tag to async.
2016-03-07 18:15:21 -08:00
Nate Goldman
c5a5943f73 Merge pull request #76 from feross/feross/config
Show video name in title bar; misc fixes
2016-03-07 15:53:33 -08:00
Feross Aboukhadijeh
dc26a87e0c remove unused css selector 2016-03-07 15:51:13 -08:00
Feross Aboukhadijeh
2ea94de8c6 Show video title in app title bar 2016-03-07 15:48:22 -08:00
Feross Aboukhadijeh
2a423a8cb3 Use config.APP_NAME throughout 2016-03-07 15:48:22 -08:00
Feross Aboukhadijeh
0b7f97ba6b torrent poster: support m4v 2016-03-07 15:48:00 -08:00
Feross Aboukhadijeh
ba0b71d6a2 Merge pull request #74 from feross/empty-list
add empty list state
2016-03-07 15:41:14 -08:00
Nate Goldman
01b37e54c9 Merge pull request #71 from feross/home-dir
Cross-platform home directory detection
2016-03-07 15:29:54 -08:00
Nate Goldman
96fa5747a7 add empty list state 2016-03-07 15:28:19 -08:00
Feross Aboukhadijeh
aa3e12dadd Merge pull request #69 from feross/loading
add loading state, ui tweaks
2016-03-07 15:18:07 -08:00
Feross Aboukhadijeh
031adeecc5 Cross-platform home directory detection
os.homedir() handles cross-platform complexities for us.
2016-03-07 15:15:34 -08:00
Nate Goldman
9bbb9c3706 Merge pull request #70 from feross/authors
Add AUTHORS.md
2016-03-07 14:27:05 -08:00
Feross Aboukhadijeh
fdb228f937 add AUTHORS.md 2016-03-07 13:16:12 -08:00
Nate Goldman
98eef0819b ui tweaks 2016-03-07 13:05:04 -08:00
Feross Aboukhadijeh
271f827197 tweak CONTRIBUTING.md 2016-03-07 13:01:54 -08:00
Feross Aboukhadijeh
e82e7d9aad Merge pull request #55 from feross/contributing
add CONTRIBUTING.md
2016-03-07 12:51:42 -08:00
Nate Goldman
5f0c8e86ad improve loading experience 2016-03-07 12:42:39 -08:00
Nate Goldman
37e1d60a31 Merge pull request #63 from ChrisMorrisOrg/chrismorris-adhoc
Double-click video to enter fullscreen
2016-03-07 12:39:05 -08:00
Feross Aboukhadijeh
0d18641bcb Merge pull request #59 from feross/load-state
load state first
2016-03-07 11:18:11 -08:00
Nate Goldman
de7bc442a7 fix empty infoHash issue 2016-03-07 10:51:32 -08:00
Feross Aboukhadijeh
3bb4a1ab3d Merge pull request #66 from giuscri/sbar_ppause
Make spacebar trigger play/pause event
2016-03-07 10:49:11 -08:00
Feross Aboukhadijeh
cf4900d0df Merge pull request #48 from feross/vertical-center
perfectly vertically center OS menu buttons (OS X)
2016-03-07 10:47:15 -08:00
Feross Aboukhadijeh
ca509e05e9 Merge branch 'master' into vertical-center 2016-03-07 10:46:55 -08:00
Nate Goldman
383659ad1a add downloads folder - fix #53
- fixed issue where nothing but infoHash was getting saved
- better defaults mgmt for state.saved
- no duplicates saved
2016-03-07 10:34:05 -08:00
Nate Goldman
4e07ecf05c load state first 2016-03-07 10:33:31 -08:00