Commit Graph

119 Commits (c5af8b1a25c09f92841a93650d1ee9890a967ea2)

Author SHA1 Message Date
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
Miguel Angel Mulero Martinez 6b6a49a39a Fix release chromeos 2018-01-08 11:37:32 +01:00
Miguel Angel Mulero Martinez 69f7af5a96 Better update system adding remove info 2018-01-05 19:35:34 +01:00
Miguel Angel Mulero Martinez 2c84d92cec Add a win32 installer
It needs NSIS (http://nsis.sourceforge.net/) installed and add makensis
executable to the path
2017-12-30 08:59:37 +01:00
Michael Keller 6dd68fb468 Some cosmetic fixes for `gulpfile.js`. 2017-12-19 09:09:20 +13:00
Miguel Angel Mulero Martinez e155b0756e Add support for win64 platform
Added support to create native win64 platforms.
2017-12-11 12:07:43 +01:00
kmitchel be0db20662 Update gulpfile.js with changes for linux32 2017-12-10 17:24:26 -05:00
Bas Delfos ecd2e17dc7 Added gulp task to clean nw.js cache folder 2017-12-08 13:48:55 +01:00
Michael Keller e78e674884 Changed to use npm for production node module install. 2017-12-05 08:09:52 +13:00
mikeller b15a391113 Added support for ChromeOS. 2017-12-04 23:03:35 +13:00
Michael Keller 7252c30c18
Merge pull request #755 from mikeller/added_release_checking
Added checking for latest configurator release and update notification.
2017-12-04 09:58:56 +13:00
Bas Delfos d101039e45 Run app after debug build 2017-12-03 21:18:03 +01:00
mikeller ec8b7449f8 Added checking for latest configurator release and update notification. 2017-12-03 18:41:11 +13:00
Michael Keller 2e610aa8ee
Merge pull request #745 from jflyper/Compress-osx-dmg-with-UDB0
OSX: Compress DMG
2017-11-26 02:01:42 +13:00
jflyper 24e80fb415 Moved format and background inside specification. 2017-11-25 21:53:28 +09:00
mikeller dd99f88648 Fixed bug in gulpfile affecting win32. 2017-11-26 01:37:17 +13:00
jflyper b5fe22c678 Compress DMG
UDB0 is good enough.
2017-11-25 16:47:32 +09:00
mikeller f9d8618c69 Fixed release build script. 2017-11-25 16:38:26 +13:00
Michael Keller b28812c519 Fixed build platform dependency, updated version. 2017-11-25 15:53:20 +13:00
Bas Delfos c482bc4028 Fixed build for macOS and enhanced build script to build only one platform 2017-11-23 22:52:42 +01:00
mikeller 5949e07c7a Improved 'release' build script. Changed version to 10.0.0-RC1. 2017-11-21 23:40:39 +13:00
Michael Keller 4064a02dbb Added files for travis build. 2017-11-14 16:00:02 +13:00
mikeller 3544955f28 Added linux builds (they work now) and debug build for NW.js. 2017-11-12 11:43:16 +13:00
sebastianp 805ec6063a Added Windows and Mac icons files
Build native Mac and Windows apps. Shamelessly stolen from iNAV, thanks!

NW.js requires us to disable pointer events on the inline images,
otherwise the drag/drop events are generated for the images rather
than for the html elements representing OSD items.
2017-11-04 18:27:33 +11:00