Commit Graph

72 Commits

Author SHA1 Message Date
David Baker 19ee3d4aff Add some checks for the tools we need
May not be exhastive, but useful on Windows where you need to
remember to install stuff.
2020-02-17 15:44:06 +00:00
David Baker fa3925194d Lint hak scripts 2020-02-17 14:52:24 +00:00
David Baker 5fc72e8f73 Lint scripts dir 2020-02-17 14:49:26 +00:00
David Baker 046170e3ec Less hacky fix for yarnrc 2020-02-15 20:17:35 +00:00
David Baker a0d9359ef0 Working seshat building on Windows 2020-02-15 16:52:41 +00:00
David Baker 337ccf02aa Patch for sqlcipher makefile on windows 2020-02-14 11:32:48 +00:00
David Baker 0258d456e6 Initial commit of native dependency building. 2020-02-13 23:52:16 +00:00
David Baker 3716545085 Typo 2020-02-04 22:19:28 +00:00
David Baker 79a362b385 Fix the remainder of the cookie links
Port https://github.com/vector-im/riot-web/pull/12008
2020-02-03 16:25:50 +00:00
David Baker 0fdba02e07 ElectronPlatform: Add the indexSize method.
Port https://github.com/vector-im/riot-web/pull/11529
2020-02-03 16:23:42 +00:00
David Baker ab91a311c4 ElectronPlatform: Add the ability to load file events from the event index
Port https://github.com/vector-im/riot-web/pull/11907
2020-02-03 16:21:35 +00:00
David Baker a3021fce0a Updates URL for Electron Command Line Switches
Port https://github.com/vector-im/riot-web/pull/11810
2020-02-03 16:20:09 +00:00
David Baker b7b9779b65 electron-main: Provide a better error message if Seshat isn't installed.
Port https://github.com/vector-im/riot-web/pull/11691
2020-02-03 16:19:16 +00:00
Michael Telatynski b622cd8e35 Merge pull request #19 from vector-im/t3chguy/context_menu_accelerators
Add accelerators to context menu options like cut&paste in electron
2019-12-19 19:27:20 +00:00
Michael Telatynski 7d6ae5437a Add accelerators to context menu options like cut&paste in electron 2019-12-19 11:16:32 +00:00
David Baker 4f1586ed81 Bump to 1.5.6
Not that it makes a lot of difference at this stage, but for general
sanity.
2019-12-13 17:24:12 +00:00
David Baker 238d503341 Merge pull request #18 from vector-im/dbkr/debrepo
Build the deb into a repo
2019-12-13 17:22:07 +00:00
David Baker 4d2c8883de Use jq 2019-12-13 17:21:24 +00:00
David Baker 54421f8dc6 Merge remote-tracking branch 'origin/master' into dbkr/debrepo 2019-12-13 17:19:38 +00:00
David Baker 5bfd0ed383 Merge pull request #17 from vector-im/dbkr/moredocker
Better Docker Support
2019-12-13 17:18:16 +00:00
David Baker 39c6db4063 Merge pull request #14 from vector-im/dbkr/debcontrol
Use a custom control file for the Debian package
2019-12-13 17:16:43 +00:00
David Baker bc90d011ae set both on one line 2019-12-13 16:46:29 +00:00
David Baker 26735585b2 Actually add the distributions file
and also remove env.sh which didn;t want to be here
2019-12-13 16:42:59 +00:00
David Baker 9a3c0f7cdc rename indocker script 2019-12-13 16:37:07 +00:00
David Baker 39c5e64406 Bundle deb into a repo 2019-12-13 16:14:33 +00:00
David Baker d7b8d25a34 More appropriate section
Co-Authored-By: Hubert Chathi <hubert@uhoreg.ca>
2019-12-13 15:48:56 +00:00
David Baker c9be601c7f Fix readme 2019-12-13 12:18:32 +00:00
David Baker 6def288521 Slightly better docker support
So you can run yarn install in the docker container
2019-12-13 12:17:54 +00:00
David Baker dc42e2cafa Merge pull request #15 from vector-im/dbkr/config
Support config directories
2019-12-13 11:46:43 +00:00
David Baker 50b43bfa60 Merge pull request #16 from vector-im/dbkr/allow_no_notarise
Don't bail if we can't notarise
2019-12-13 11:46:27 +00:00
David Baker fbec6db1a0 Typing is hard
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2019-12-13 11:46:02 +00:00
David Baker 8931242580 Don't bail if we can't notarise
Just print a big fat warning instead.
2019-12-13 11:21:34 +00:00
David Baker e214c0f19f Support config directories 2019-12-13 11:13:44 +00:00
David Baker 6e6e7d82c8 Use a custom control file for the Debian package
So we can say we replace the riot-web package
2019-12-13 10:45:27 +00:00
David Baker 98fa34f56f Merge pull request #13 from vector-im/dbkr/setversion
Set version automatically
2019-12-13 09:57:57 +00:00
David Baker 3b58fdc8d9 Set version automatically
Convert the check script to a script that sets the version to match
whatever Riot is being packaged.

Add a README because the two ways of interacting with versions are
starting to get complex to reason about.

Also add a docker build script.
2019-12-12 19:33:29 +00:00
David Baker c43a742df4 Merge pull request #12 from vector-im/dbkr/windows_signing
Sign natively on Windows
2019-12-12 09:47:09 +00:00
David Baker dff36277c4 Sign natively on Windows
* Replace the windows signing script with certificateSubjectName
   option which finds the right certificate from the smart card
 * Remove the windows signing script as electron-builder does it
   out-of-the-box on windows
 * Remove the cert file which isn't necessary with native signing
2019-12-11 17:34:19 +00:00
David Baker 754634ef31 Merge pull request #11 from vector-im/dbkr/lint
Fix the linting errors
2019-12-10 18:16:27 +00:00
David Baker dcaa6a886b Merge pull request #10 from vector-im/dbkr/electron_api_updates
Electron API Updates
2019-12-10 18:16:00 +00:00
David Baker 47d9fc6c83 Merge remote-tracking branch 'origin/master' into dbkr/electron_api_updates 2019-12-10 18:15:12 +00:00
David Baker 36f741ebf7 Merge pull request #9 from vector-im/dbkr/asar
Package webapp into an asar archive
2019-12-10 18:14:55 +00:00
David Baker 14a919cf9b Fix the linting errors 2019-12-10 18:10:15 +00:00
David Baker a13c0e0be5 Electron API updates
A couple of changes to properties rather than functions and the
register*Protocol functionsd are now synchronous and so don't need
a completion callback.
2019-12-10 18:02:20 +00:00
David Baker 680caed505 Remove unnecessary logging 2019-12-10 17:56:50 +00:00
David Baker 8d3529787a Search for the webapp resources on startup
and error if we can't find them.
2019-12-10 17:40:17 +00:00
David Baker 8322676df7 Oops, don't remove the aftersign script 2019-12-10 16:04:16 +00:00
David Baker 672b846364 Pack the webapp into an asar 2019-12-10 15:54:17 +00:00
David Baker 2cfc96cca7 Merge pull request #8 from vector-im/dbkr/scripts
Sanitise scripts
2019-12-10 15:23:48 +00:00
David Baker cb41f2d66d Sanitise scripts
* Remove install:electron - it ran install-app-deps which makes sure
   native deps are installed but the native deps we use don't work
   with electron-builder anyway (they don't use binding.gyp) so this
   does absolutely nothing at all.
 * Rename build:electron to build (there is only one thing to build
   now).
2019-12-10 15:01:04 +00:00