Commit graph

2383 commits

Author SHA1 Message Date
David Baker
c02f3a2230 Make autoupdate work on electron.
Changes the update process on web a bit to pull more out to the
platform classes.
2016-10-25 16:41:20 +01:00
David Baker
3c44f8a2cb Higher res icon for windows 2016-10-24 17:25:14 +01:00
David Baker
b6939b8138 Clear notifications on electron 2016-10-24 16:56:00 +01:00
David Baker
7b4694c637 Move platform setting to its own thing 2016-10-24 15:12:16 +01:00
David Baker
f62f2e8f25 More helpful description 2016-10-21 16:00:21 +01:00
David Baker
e2b123b56a Commented auto-update line 2016-10-21 15:16:55 +01:00
David Baker
fd2a2f25ad OK, we;ll use the standard icon paths
but with a different 'build' directory
2016-10-21 14:54:14 +01:00
David Baker
1c7d859b2b Add menu & update author
(since it's in the about screen)
2016-10-21 10:03:19 +01:00
David Baker
dc1952a993 Copyright headers 2016-10-21 09:41:05 +01:00
David Baker
11aed8cf07 Icon 2016-10-20 19:52:59 +01:00
David Baker
4e01bd7675 Tiny context menu on links 2016-10-20 18:33:07 +01:00
David Baker
680f599df5 Oh wait, don't need node-open
electron has it built in
2016-10-20 16:50:19 +01:00
David Baker
eef846e490 oops 2016-10-20 16:43:40 +01:00
David Baker
6c16ccce68 Open URLs in a browser 2016-10-20 16:41:33 +01:00
David Baker
27604d2798 Don't turn the favicon animations on 2016-10-20 15:01:07 +01:00
David Baker
5e4f572a46 More s/IntegrationManager/Platform/ 2016-10-20 14:57:21 +01:00
David Baker
1b0c561ac1 s/IntegrationManager/Platform/
Because we call bots integrations and I'll get confused
2016-10-20 14:50:20 +01:00
David Baker
ddb2ff5994 Don't try to bundle electron
Turns out this part of the webpack config was necessary, and I've
now figure out what it does, which the comment now hopefully
explains.
2016-10-20 14:44:18 +01:00
David Baker
3c55629208 Behave like a single-window Mac app on Mac 2016-10-19 18:05:33 +01:00
David Baker
31607f0776 We use semicolons 2016-10-19 17:53:10 +01:00
David Baker
f20786226a Don't call the variable 'window' 2016-10-19 17:51:43 +01:00
David Baker
da30338aa7 BIGGER!
At the default window size, Riot starts with the left bar folded
down which is not ideal as a default.
2016-10-19 17:48:41 +01:00
David Baker
eef629137e Fix electron build paths 2016-10-19 17:39:12 +01:00
David Baker
2026142595 Don't webpack electron main, separate electron
* Don't webpack electron-main.js: no need to webpack in electron
 * Keep the electron file separate from the webapp, in their own
   'electron' directory
2016-10-19 17:18:35 +01:00
David Baker
976c20a2f7 Merge branch 'electron' of https://github.com/aviraldg/vector-web into aviraldg-electron 2016-10-19 14:14:35 +01:00
David Baker
20a7aa03ed Merge pull request #2480 from vector-im/dbkr/babelrc2
Switch to babel 6, again
2016-10-17 17:22:49 +01:00
David Baker
e02e0219a7 Add plugin that makes babel 6 not break everything 2016-10-17 16:28:14 +01:00
David Baker
d04201d069 Replace stage & es2017 with specific plugins
Also sort out regenerator runtime as it turns out importing
babel-polyfill in your code is insufficient if using webpack
because it's imported too late, so use both that and
regenerator-runtime. Sigh.
2016-10-17 16:28:14 +01:00
David Baker
82de2ca4ec Remove transform-runtime
We use instance methods (or at least, draft.js does) so we need
babel-polyfill instead.
2016-10-17 16:28:14 +01:00
David Baker
18450058d7 Remove presets from karma.conf
seemt o be picked up from .babelrc
2016-10-17 16:28:14 +01:00
David Baker
f20b2593bc move babelcheck.js to scripts/ 2016-10-17 16:28:14 +01:00
David Baker
4d51a5de7e shebang 2016-10-17 16:28:14 +01:00
David Baker
8e0b61ca35 Reminder to restore links + stage2, not stage 0 2016-10-17 16:28:13 +01:00
David Baker
61a543a694 Add babelcheck.js
As per 4bea0c0818
2016-10-17 16:28:13 +01:00
David Baker
5608e97719 Remove babel-polyfill
Should be no need for it if we're using transform-runtime (and
we definitely don't need it twice...)
2016-10-17 16:28:13 +01:00
Aviral Dasgupta
d6f27add66 Upgrade to babel6 and enable some presets. 2016-10-17 16:28:13 +01:00
David Baker
740ab7e479 Merge pull request #2472 from vector-im/revert-2461-aviraldg-babelrc
Revert "Switch to babel 6"
2016-10-14 18:51:02 +01:00
David Baker
ea09a25563 Revert "Switch to babel 6" 2016-10-14 18:50:22 +01:00
David Baker
5a08c62f1b Use the default integrations URLs in the sample
localhost is not a sensible default
2016-10-14 18:21:26 +01:00
David Baker
be1d7781c5 Merge pull request #2461 from vector-im/aviraldg-babelrc
Switch to babel 6
2016-10-14 18:19:43 +01:00
David Baker
40ac80a3e9 Replace stage & es2017 with specific plugins
Also sort out regenerator runtime as it turns out importing
babel-polyfill in your code is insufficient if using webpack
because it's imported too late, so use both that and
regenerator-runtime. Sigh.
2016-10-14 18:03:22 +01:00
David Baker
5f747e1a90 Remove transform-runtime
We use instance methods (or at least, draft.js does) so we need
babel-polyfill instead.
2016-10-13 10:57:10 +01:00
David Baker
0c3537ac1a Remove presets from karma.conf
seemt o be picked up from .babelrc
2016-10-13 09:51:10 +01:00
David Baker
e6caf9ece4 move babelcheck.js to scripts/ 2016-10-13 09:50:40 +01:00
David Baker
34c60c69d8 shebang 2016-10-13 09:41:09 +01:00
David Baker
5ff915476a Reminder to restore links + stage2, not stage 0 2016-10-12 18:08:52 +01:00
David Baker
e5d2ebc57c Add babelcheck.js
As per 4bea0c0818
2016-10-12 17:46:11 +01:00
David Baker
64815b1b0b Remove babel-polyfill
Should be no need for it if we're using transform-runtime (and
we definitely don't need it twice...)
2016-10-12 17:23:01 +01:00
David Baker
59120d3019 Merge branch 'babelrc' of https://github.com/aviraldg/vector-web into aviraldg-babelrc 2016-10-12 17:17:10 +01:00
David Baker
9245ab01f1 js-sdk & react-sdk develop 2016-10-12 11:52:18 +01:00