Commit Graph

73 Commits (f87c0f54610cc2a6f268f2c2878b3e99b902af3c)

Author SHA1 Message Date
Miguel Angel Mulero Martinez d27f1b806c Fix some Sonar issue of gulpfile 2020-10-15 19:30:48 +02:00
Tomas Chmelevskij d6cee386e8 Add Vue
Setup vue with gulp and initial components:

* Status Bar
* Logo
* Battery Legend
2020-10-14 17:51:03 +02:00
Miguel Angel Mulero Martinez fec4ab4b6a Remove ChromeOS support 2020-10-06 15:12:39 +02:00
TheIsotopes c21649692f
bump nwjs to version 0.47.0 2020-07-18 18:12:25 +02:00
WalcoFPV 9f323f22c7 Gulp cordova generation in dist_cordova folder and fix cleaning 2020-07-06 09:24:27 +02:00
Michael Keller 25c918feee
Merge pull request #2102 from McGiverGim/inno_setup 2020-07-05 20:56:57 +12:00
WalcoFPV 4f93e54ae6 Cordova framework integration, Android support, mobile UI & options tab
Cordova integration and android platform :
- Added cordova directory with required config
- Added cordova applications generation in gulpfile
- Added cordova development instructions
- Used cordova plugins to simulate missing chrome api  plugins (chrome.serial and chrome.fileSystem)
- Added cordova clipboard support
- Added android operating system and Cordova gui mode
- Fixed some css and js files to make them working on Android as well as on computers
- Added --skipdep argument to accelerate cordova build (gulp task)
- Added a webview helper to help people to update the webview app of their device

New options tab :
- Added options tab replacing the options dropdown
- Added option to switch between phones UI and computers UI

Mobile interface and global interface improvements :
- Simplified the structure of the header with flex css
- Made headerbar and tab container responsive (compact headerbar and side menu)
- All tabs are adapted to mobile interface (except firmware flasher)
- The servos and adjustments tabs are not fully adapted but are "usable"
- Improved header bar animation
- Improved log expandation animation
- Added swipe gesture to toggle side menu

Fixes during the development :
- Logo position
- Dark mode
- Auto connection
- Error messages (cordova_chromeapi.js)
- Responsive grid
- Testing
- Disconnection
- Width of boxes inside the OSD tab
- Fixed cli tab
- OSD tab
- Motor stop switch
- White spaces in boxes
- Dialogs size
- Connect button state
- Prevent tablet with a height larger than 575px to switch to computers ui
- Fixed logging tab
- Fixed code smell
- Fixed yarn cordova plugin install issue
- Fixed content_wrapper
- Fixed vibrations when scrolling
- Fixed scrolling bar alignment
- Fixed dialogReportProblem height
- Fixed rates logo
- Fixed auto connection default value (true)
- Fixed D to D max
- Fixed dialogs

Added required messages in locales/en/messages.json file

Requested changes
2020-07-03 16:19:33 +02:00
Miguel Angel Mulero Martinez 2051c67dde Replace NSIS by Inno Setup installer 2020-07-03 12:00:40 +02:00
mikeller 19988f9323 Updated NW.js to 44.6. 2020-06-22 00:03:47 +12:00
mikeller 0a43465ace Added debug-release build for installers with debug console, changed Azure jobs to build them. 2020-03-20 00:34:32 +13:00
mikeller 4672666226 Updated all dependencies and fixed resulting problem. 2020-02-22 16:49:13 +13:00
Kyle K 0c5f3656fb clean up gulpfile.js
throwing out the generator config as I can't find a place to use it.
2019-11-03 21:41:38 +00:00
TheIsotopes b97d7224a8
Update version of nw.js 2019-11-02 09:06:32 +01:00
mikeller 146edabf7f Updated versions of dependencies, including NW.js. 2019-10-22 23:17:58 +13:00
mikeller 3066643709 Fixed RPM build for release candidates. 2019-09-17 06:47:47 +12:00
Kyle K cbc21528fd Add a way to avoid trying to add a custom icon when building nw.js
Example use:
yarn run gulp release --win64 --nowinicon

winIco and winVersionString cause a wine requirement
2019-08-14 00:07:13 +00:00
Kyle K 3fb1d96370 read version information from... version.json 2019-08-12 20:19:26 +00:00
Kyle K 6fe3cb1500 migrate privacy policy and changelog to a tab 2019-08-02 20:56:26 +00:00
Kyle K 71320169da fix gulp tasks such that yarn gets its lock file
Also stop npm 6 from being installed for travis-ci, for speedup reasons
2019-07-27 23:49:13 +00:00
Kyle K 73fa4f981b update some libraries, wrestle with yarn/npm, refactor some css
* separate our styling from a libraries included .css
* update npm packages: bluebird, inflection, jbox, jquery, jquery-ui-npm
* ports and osd tabs needed small javascript changes for the above
* refactored CSS style sheets, in summary Cascading was being ignored
* tweaked colors in dark mode.
* tweaked betaflight logo for dark mode care of frozenskys
* dark mode can also trigger on `(prefers-color-scheme: dark)` signal from the OS when NW.js 0.40.0/Chrome 76 is released.
* changed how `gulp-appdmg` is brought in, mixing yarn and npm was causing trouble
* version.json is now written in a more gulpful manner

Note: this works fine with NW.js 0.40.0-beta1
2019-07-23 20:55:50 +00:00
Miguel Angel Mulero Martinez c673e0b2ac Add images to the MCM fonts 2019-07-01 12:47:52 +02:00
mikeller 0069fd917f Fixed yarn production install. 2019-05-09 07:58:43 +12:00
Michael Keller a66cf83ce4 Fixed yarn install for production dependencies, fixed instructions for development. 2019-05-04 16:44:14 +12:00
Michael Keller 4c1fdf7925 Moved from 'npm' to 'yarn'.
Changed travis config.

Simplified package.json.

Try with a newer npm, who knows, it's for Mac.
2019-04-30 23:57:35 +12:00
mikeller c6132b6a0d Fixed flashing on MacOS by updating NW.js. 2019-04-12 14:17:45 +12:00
mikeller 5f5166cc41 Fixed ownership of installed files on debian. 2019-03-24 11:52:59 +13:00
mikeller 171538f66e Updated versions of NW and other libraries. 2018-12-25 17:12:20 +13:00
mikeller 4e505fc7d0 Added support for building outside of a git repository. 2018-08-22 23:28:53 +12:00
mikeller 234128d71c Updated libraries. 2018-08-14 01:18:15 +12:00
mikeller 6b7ac3e542 Improvements to analytics collection. 2018-08-12 20:19:02 +12:00
mikeller 3d1ad1088f Removed cleaning steps from 'debug' build. 2018-08-01 21:22:12 +12:00
mikeller c0c92b38ec Changed build to install the app uncompressed. 2018-06-18 00:10:26 +12:00
mikeller 17d967c88b Updated versions of npm packages and NW builder. 2018-06-08 01:33:55 +12:00
mikeller 2cadc0efd1 Made coding style consistent, fixed registry error in 'package-lock.json'. 2018-05-20 13:11:36 +12:00
Niccolò Maggioni 78b7bccefa
Code style 2018-05-20 02:16:50 +02:00
Niccolò Maggioni cc35065129
ARMv7 build process 2018-05-18 16:15:59 +02:00
Miguel Angel Mulero Martinez e8de9bebd7 Update nw.js to version 0.28.3 2018-02-27 13:21:16 +01:00
Miguel Angel Mulero Martinez e5a7203fbb Fix rpm packages size 2018-02-05 12:50:27 +01:00
Miguel Angel Mulero Martinez 1b20e99241 Generate RPM packages 2018-01-30 11:42:32 +01:00
Miguel Angel Mulero Martinez 3e181a3012 Simplify gulp dist filter 2018-01-29 15:40:04 +01:00
Miguel Angel Mulero Martinez c467f59f1d Language user selectable in app 2018-01-28 13:39:23 +01:00
Michael Keller bac6e2ea53 Fixed `npm` build. 2018-01-26 12:52:10 +13:00
Bas Delfos fd8e47706d Changes as per review comment 2018-01-25 00:37:07 +01:00
Bas Delfos 24c81375a4 Move src files 2018-01-24 22:50:40 +01:00
Michael Keller f354f30524
Merge pull request #868 from McGiverGim/bf-fix_debian_packages
Fix debian packages (copyright needed)
2018-01-18 22:57:06 +13:00
Miguel Angel Mulero Martinez d8c543249c Fix debian packages (copyright needed) 2018-01-18 08:34:54 +01:00
Miguel Angel Mulero Martinez f2fef0f2ee Fix osx package generation 2018-01-17 16:38:41 +01:00
Miguel Angel Mulero Martinez 11aad4905f Migration to Gulp 4.0 2018-01-14 18:25:03 +01:00
Miguel Angel Mulero Martinez 7fcd4e5567 Create debian packages 2018-01-11 22:22:04 +01:00
Michael Keller 2adad10c20 Fixed NW.js toolkit version. 2018-01-09 13:44:13 +13:00