3030 Commits

Author SHA1 Message Date
Juan Cruz Viotti
0b0c3dc9fa Merge pull request #120 from resin-io/fix/96/then-of-undefined
Fix sporadic Cannot read property 'then' of undefined
2016-01-22 13:25:36 -04:00
Juan Cruz Viotti
03e9b977cb Prevent pointer events in hero-progress-button if active is true
Fixes: https://github.com/resin-io/resin-etcher/issues/121
2016-01-22 13:10:21 -04:00
Juan Cruz Viotti
111529ee71 Fix sporadic Cannot read property 'then' of undefined
This error happened when trying to burn an image when there is already a
burn in progress.

Fixes: https://github.com/resin-io/resin-etcher/issues/96
2016-01-22 13:10:13 -04:00
Juan Cruz Viotti
9d68199ecd Merge pull request #119 from resin-io/refactor/state-log-app
Move burn state log to app controller
2016-01-22 12:48:31 -04:00
Juan Cruz Viotti
73176ca203 Merge pull request #118 from resin-io/refactor/drivelist-bluebird
Use Bluebird's filter to simplify listRemovable()
2016-01-22 12:45:02 -04:00
Juan Cruz Viotti
84d87e5a10 Move burn state log to app controller
This change required re-architecting the way we store the burn state.
2016-01-22 12:30:42 -04:00
Juan Cruz Viotti
1faa631f89 Use Bluebird's filter to simplify listRemovable() 2016-01-22 11:55:01 -04:00
Juan Cruz Viotti
9026e6ce2d Merge pull request #117 from resin-io/refactor/es6
Make use of ES6 in Etcher
2016-01-22 11:52:52 -04:00
Juan Cruz Viotti
30fc989c86 Merge pull request #116 from resin-io/feat/trackjs-npm
Install TrackJS from NPM
2016-01-22 11:40:02 -04:00
Juan Cruz Viotti
122f136ff8 Refactor Etcher using ES6 features 2016-01-22 11:38:46 -04:00
Juan Cruz Viotti
f7ddce3000 Enable ES6 in JSHint
- Also rename `Promise` to `Bluebird` since now JSHint complains that
`Promise` is already defined.
2016-01-22 10:53:16 -04:00
Juan Cruz Viotti
7f03c02532 Merge pull request #115 from resin-io/refactor/scss-css
Convert angular.scss and desktop.scss to plain CSS files
2016-01-22 10:48:27 -04:00
Juan Cruz Viotti
d2e3c3106e Install TrackJS from NPM
See https://www.npmjs.com/package/trackjs
2016-01-22 10:48:02 -04:00
Juan Cruz Viotti
ee9a12dcca Merge pull request #114 from resin-io/doc/travis-master
Show master branch status in Travis CI badge
2016-01-22 10:41:23 -04:00
Juan Cruz Viotti
573d237569 Convert angular.scss and desktop.scss to plain CSS files
These are files that contain static rules that are not likely change nor
require the advanced functionality that SASS requires.

This is the first step towards an attempt to get rid of preprocessor and
use native supported web technologies.
2016-01-22 10:40:05 -04:00
Juan Cruz Viotti
7b14b1b4a2 Merge pull request #107 from resin-io/feat/jscs
Integrate JSCS
2016-01-22 10:35:01 -04:00
Juan Cruz Viotti
a6103fd29b Show master branch status in Travis CI badge 2016-01-22 10:33:24 -04:00
Juan Cruz Viotti
dbc148085d Merge pull request #112 from resin-io/misc/reporter
Make use of "progress" mocha reporter
2016-01-22 10:30:57 -04:00
Juan Cruz Viotti
14c0a60cbc Run jscs as part of gulp lint 2016-01-22 10:25:33 -04:00
Juan Cruz Viotti
861ecdfeb7 Adapt JSCS for tests 2016-01-22 10:25:33 -04:00
Juan Cruz Viotti
13af009b4c Fix style issues detected by JSCS 2016-01-22 10:25:33 -04:00
Juan Cruz Viotti
3fb0a747f9 Add .jscsrc configuration file 2016-01-22 10:24:12 -04:00
Juan Cruz Viotti
e770e858e3 Merge pull request #111 from resin-io/refactor/logger-log
Move LoggerService timestamp to $log decorator
2016-01-22 10:21:27 -04:00
Juan Cruz Viotti
dbdbde5b99 Make use of "progress" mocha reporter 2016-01-22 10:19:04 -04:00
Juan Cruz Viotti
34b7bdb59f Move LoggerService timestamp to $log decorator 2016-01-22 10:17:18 -04:00
Juan Cruz Viotti
030ff7d9b7 Merge pull request #110 from resin-io/upgrade/electron
Upgrade Electron to v0.36.4
2016-01-22 09:46:55 -04:00
Juan Cruz Viotti
efb055eb89 Upgrade Electron to v0.36.4 2016-01-22 09:37:57 -04:00
Juan Cruz Viotti
a03d1214ec Merge pull request #109 from resin-io/refactor/remove-browserify
Get rid of Browserify
2016-01-22 00:10:43 -04:00
Juan Cruz Viotti
96bf7f3624 Get rid of Browserify
Electron already exposes `require()` in the renderer process.
2016-01-21 23:57:04 -04:00
Juan Cruz Viotti
20cb3d0fc2 Merge pull request #108 from resin-io/doc/improve-readme-style
Improve README header style
2016-01-21 13:27:35 -04:00
Juan Cruz Viotti
119f617bb3 Improve README header style 2016-01-21 12:58:35 -04:00
Juan Cruz Viotti
6362158caf Merge pull request #106 from resin-io/doc/svg-badges
Make use of SVG badges
2016-01-21 12:51:28 -04:00
Juan Cruz Viotti
83319dac39 Make use of SVG badges 2016-01-21 11:19:28 -04:00
Juan Cruz Viotti
a50a07a233 Merge pull request #104 from resin-io/feat/trackjs
Integrate Etcher with TrackJS
2016-01-20 16:38:45 -04:00
Federico Martín Alconada Verzini
6331ee4aa1 Add button to burn the same image again. Fixes #74 2016-01-20 12:28:15 -04:00
Juan Cruz Viotti
9a125c2a36 Integrate Etcher with TrackJS 2016-01-19 14:00:20 -04:00
Juan Cruz Viotti
1f3baf3f4d Merge pull request #103 from resin-io/feat/-logger
Make LoggerService use Angular's $log
2016-01-19 10:39:55 -04:00
Juan Cruz Viotti
4ab2dc1948 Merge pull request #102 from resin-io/fix/use-logger-service
Make use of LoggerService in reselection routines
2016-01-19 10:31:35 -04:00
Juan Cruz Viotti
26f2104163 Merge pull request #101 from resin-io/doc/ng-cloak
Explain why we toggle body's display manually instead of using ngCloak
2016-01-19 10:27:45 -04:00
Juan Cruz Viotti
238c459d01 Make LoggerService use Angular's $log
This has the added benefit that services like TrackJS, which deeply
integrate with Angular, will share the messages with the service.
2016-01-19 10:26:51 -04:00
Juan Cruz Viotti
7d6a43e091 Make use of LoggerService in reselection routines 2016-01-19 10:25:13 -04:00
Juan Cruz Viotti
f20fb36328 Merge pull request #100 from resin-io/feat/logger
Implement a decent debug logger service
2016-01-19 10:16:33 -04:00
Juan Cruz Viotti
817a6f591b Explain why we toggle body's display manually instead of using ngCloak 2016-01-19 10:14:37 -04:00
Juan Cruz Viotti
f1a91ddebc Merge pull request #99 from resin-io/style/image-supported-label
Only show supported files label when there is no selected image
2016-01-19 10:08:49 -04:00
Juan Cruz Viotti
cc7f6f2587 Merge pull request #98 from resin-io/feature/step-reselection
Allow to re-select the first two step selections
2016-01-19 10:08:38 -04:00
Juan Cruz Viotti
6478982896 Implement a decent debug logger service
This service prints the exact date and time of the messages.
2016-01-19 10:07:59 -04:00
Juan Cruz Viotti
347d965e52 Only show supported files label when there is no selected image 2016-01-19 09:50:00 -04:00
Juan Cruz Viotti
8026cef1df Allow to re-select the first two step selections
You can click on the selected image/drive label to select them again.

The re-selection is disabled if there is a burning in process.

Fixes: https://github.com/resin-io/resin-etcher/issues/90
2016-01-19 09:47:58 -04:00
Juan Cruz Viotti
b3dde83083 Implement removeDrive and removeImage in selection service 2016-01-19 09:42:57 -04:00
Juan Cruz Viotti
ffbccc5aec Merge pull request #97 from resin-io/feat/86/format-explanation
Add image format footer explanation
2016-01-18 15:56:04 -04:00