lilia
f7c7e2251d
Remove unused method
...
This is now handled in AppView
// FREEBIE
2017-09-14 16:53:41 -07:00
lilia
c1fa33327d
Allow multi-instance in development
2017-09-14 16:53:41 -07:00
lilia
0c9cca08ba
Draw attention to the window on new messages
...
// FREEBIE
2017-09-14 16:53:41 -07:00
lilia
ea930d53ae
Set badge count
...
This is displayed on the launcher icon on linux/mac
// FREEBIE
2017-09-14 16:53:41 -07:00
lilia
d025b57656
Remove unused method
2017-09-14 16:53:41 -07:00
lilia
44adc04395
Closing the window hides the window on mac
...
Clicking the dock icon restores it again.
// FREEBIE
2017-09-14 16:53:41 -07:00
lilia
7ef901d628
yarn remove icon-gen
2017-09-14 16:53:41 -07:00
lilia
7d47b53dc3
Generate icons with electron-icon-maker
...
Either icon-gen or local scaling of images was producing a corrupted and
glitchy .icns file. With this module, we need only provide a 1024px
image and it handles the scaling and generation of all other icon
assets.
// FREEBIE
2017-09-14 16:53:40 -07:00
lilia
c9537ff9a9
Add asar for inspeting asar contents
2017-09-14 16:53:40 -07:00
lilia
429cc46cf9
yarn add --dev electron-publisher-s3
...
// FREEBIE
2017-09-14 16:53:40 -07:00
lilia
cac95562c8
Add .yarnclean
2017-09-14 16:53:40 -07:00
lilia
6b70aecf29
Fix opening a conversation from notification
2017-09-14 16:53:40 -07:00
lilia
9f873e21a2
yarn upgrade electron-builder
2017-09-14 16:53:40 -07:00
lilia
8732127b1d
yarn upgrade icon-gen
2017-09-14 16:53:40 -07:00
lilia
a885123ab3
Upgrade dev dependencies
...
Including multiple major version upgrades.
// FREEBIE
2017-09-14 16:53:40 -07:00
lilia
404c8baffc
yarn upgrade
...
// FREEBIE
2017-09-14 16:53:40 -07:00
lilia
90ad83a91d
Add yarn.lock
...
Remove grunt-preen due to its dependency on module incompatible with
current node.
// FREEBIE
2017-09-14 16:53:40 -07:00
lilia
da69b790b8
Correction to comment in aptly.sh
2017-09-14 16:53:40 -07:00
lilia
9320b0b5f0
Make icons more consistent
...
Round corners everywhere. Also about 10% more padding around the tile.
// FREEBIE
2017-09-14 16:53:39 -07:00
lilia
77d5ef2f68
Add spellcheck
...
As of Electron 1.6.5, this requires disabling the sandbox in order to
get access to the `webFrame` api.
// FREEBIE
2017-09-14 16:53:39 -07:00
lilia
eefcaf0bcc
Bump version
2017-09-14 16:53:39 -07:00
lilia
b6e5439860
Fix saving attachments
...
// FREEBIE
2017-09-14 16:53:39 -07:00
lilia
2ae48ad9cd
Use relative path for file.svg
2017-09-14 16:53:39 -07:00
lilia
4d11e257fe
Use built-in url parsing in preload script
...
Latest electron allows acces to the url module in a preload script.
Also add a wrapper to shield global scope and use strict inside.
// FREEBIE
2017-09-14 16:53:39 -07:00
lilia
878b15c288
Add node version to debug log
...
The chrome, electron, and signal versions are already included in the
user agent string.
// FREEBIE
2017-09-14 16:53:39 -07:00
lilia
112f5a00ca
Delete unused files
...
// FREEBIE
2017-09-14 16:53:39 -07:00
lilia
de3816b094
Get standalone registration working in development
...
Whisper.events.trigger('openStandalone') to open the standalone
registration view.
// FREEBIE
2017-09-14 16:53:39 -07:00
lilia
e60111f34d
Ignore .DS_Store
2017-09-14 16:53:39 -07:00
lilia
3a9f4f0df3
Flatten database migrations
...
We can compress or toss out most of these one-off data migrations since
everyone starts from scratch with electron.
// FREEBIE
2017-09-14 16:53:39 -07:00
lilia
46b0146a4c
Log user data directory
2017-09-14 16:53:38 -07:00
lilia
bdeee1d2b1
Add CSP
2017-09-14 16:53:38 -07:00
lilia
1c8d3fb41a
Bump version
2017-09-14 16:53:38 -07:00
lilia
7627bddcfa
Update default grunt task
2017-09-14 16:53:38 -07:00
lilia
98fe29b419
Fix aptly path
2017-09-14 16:53:38 -07:00
lilia
ab9f5beead
Fix release script
...
// FREEBIE
2017-09-14 16:53:38 -07:00
lilia
934d06b512
Override environment vars in production
...
Don't allow environment vars to muck with configs in production.
// FREEBIE
2017-09-14 16:53:38 -07:00
lilia
14b65a9dce
Log on app ready
2017-09-14 16:53:38 -07:00
lilia
a55c61a3ba
Use local var environment
rather than NODE_ENV
...
Traditionally, NODE_ENV refers to an environment variable. For clarity,
let's keep it that way and don't reuse it in the renderer. Also, add a
note about explicitly overriding env vars for node-config.
// FREEBIE
2017-09-14 16:53:38 -07:00
lilia
e7e030a5e2
Build expiration date
...
Add the buildExpiration config and add it to the renderer's config
object. Use grunt to write the build expiration to
config/local-production.json which will override the default value (no
expiration) in production. Finally, run this grunt task as part of the
build process.
// FREEBIE
2017-09-14 16:53:38 -07:00
lilia
d0fc2f7e71
Ensure that package.json environment > NODE_ENV
...
We only set the environment in package.json when it is packaged for
deployment. When we do that, we don't want to allow a local environment
variable to override it.
// FREEBIE
2017-09-14 16:53:38 -07:00
lilia
c83dbc1bf0
Rename window.env to window.config
...
Also normalize to camelCase for configs.
// FREEBIE
2017-09-14 16:53:38 -07:00
lilia
75f4c3c522
Update CONTRIBUTING.md
...
Add how-to for storageProfile config
// FREEBIE
2017-09-14 16:53:38 -07:00
lilia
bc80e5e3b6
Add local.json to gitignore
2017-09-14 16:53:38 -07:00
lilia
6574958087
Remove check for open windows
...
We now live in a single-window world.
// FREEBIE
2017-09-14 16:53:38 -07:00
lilia
e4e41140c4
Refactor app view
...
Introduce a top level view for navigating between the inbox and the
installer, enabling an in-window relink flow. Navigation is driven
through the openInbox and openInstaller global events.
// FREEBIE
2017-09-14 16:53:37 -07:00
lilia
3f5505907f
Fix setUnreadCount
2017-09-14 16:53:37 -07:00
lilia
75dbc27cfa
Fix i18n of timer options
...
It is important to return something falsey in the case where there is
no translation.
// FREEBIE
2017-09-14 16:53:37 -07:00
lilia
590284e4cb
Open links in the default browser
2017-09-14 16:53:37 -07:00
lilia
72c3dc286c
Remove onLaunched handler
...
This is now handled outside the renderer.
// FREEBIE
2017-09-14 16:53:37 -07:00
lilia
83a020cc5e
Move focus listeners to their own file
...
// FREEBIE
2017-09-14 16:53:37 -07:00