Commit Graph

1945 Commits (0ad35cc0e656d84575796a9838b10d83b2eac9a1)

Author SHA1 Message Date
Scott Nonnenberg 3a3aa3efb6
Remove test/protos symlink, use window.PROTO_ROOT for config 8 years ago
Scott Nonnenberg 4402a91976
Use correct locale, fall back to en if we don't have translations
FREEBIE
8 years ago
lilia a2b2bd4bf3
Fix relative paths
// FREEBIE
8 years ago
lilia 26cece71c6
Prepopulate phone number on standalone page 8 years ago
lilia 4c5835e0af
Remove remaining call to extension.notification.update 8 years ago
lilia 7c6da5a157
Make 'Restart Signal' actually restart Signal
Previously it would just reload the page.

// FREEBIE
8 years ago
lilia d85ccbad4f
Remove extension.notification 8 years ago
lilia bd7f4febaa
Remove dead code
These are all unused, obsolete, or no-op functions at this point.

// FREEBIE
8 years ago
lilia c4ccf7c8e3
Inline setUnreadCount
// FREEBIE
8 years ago
lilia 29b07950a3
Fix scroll reset after clicking on a notification 8 years ago
lilia 2528acc717
Remove platform-specific links from install flow
Mostly to satisfy the mac app store.

// FREEBIE
8 years ago
lilia e65007e297
Tweak default notification content
Change the placeholder content for when notifications are configured for
count-only or sender-only. Remove some options that are no longer
supported.

// FREEBIE
8 years ago
lilia 79872be9f5
Unfurl notifications
Since we no longer have support for list-style notifications, stop
coalescing notifications into batches and just show contents of the last
message received. Also open the window when clicking on a notification
if it has previously been closed.

// FREEBIE
8 years ago
lilia 4d981c439a
Remove number validation from install view
Allows our special cased test numbers to link desktop clients.

// FREEBIE
8 years ago
lilia 76cd650577
Restore missing contactsync listeners
Fix installer getting stuck on "Generating Keys"

// FREEBIE
8 years ago
lilia d2179b2c3f
Conversation view handles drag n drop events
By forwarding them to its file input.

// FREEBIE
8 years ago
Scott Nonnenberg 601081c1b8
More refactoring to reduce global event dependencies
All Whisper.events listeners are now defined and bound in background.js,
and we no longer need global methods for opening the inbox and
conversation views, as those are handled by AppView or internally by
InboxView.

// FREEBIE
8 years ago
lilia 8d32a3bebd
Remove dead code
This view doesn't contain any elements with class openInbox.

// FREEBIE
8 years ago
lilia 4b96722d52
Hide initially empty error in standalone view
// FREEBIE
8 years ago
lilia 008e978b8a
Make standalone registration more accessible
Add buttons for switching between the linking flow and the standalone
registration flow. The button and standalone registration are only
availble in a development environment.

// FREEBIE
8 years ago
lilia a2e0fa59c1
Collect references to Whisper.events
Fixup

// FREEBIE
8 years ago
lilia f7c7e2251d
Remove unused method
This is now handled in AppView

// FREEBIE
8 years ago
lilia 0c9cca08ba
Draw attention to the window on new messages
// FREEBIE
8 years ago
lilia ea930d53ae
Set badge count
This is displayed on the launcher icon on linux/mac

// FREEBIE
8 years ago
lilia d025b57656
Remove unused method 8 years ago
lilia 6b70aecf29
Fix opening a conversation from notification 8 years ago
lilia b6e5439860
Fix saving attachments
// FREEBIE
8 years ago
lilia 878b15c288
Add node version to debug log
The chrome, electron, and signal versions are already included in the
user agent string.

// FREEBIE
8 years ago
lilia 112f5a00ca
Delete unused files
// FREEBIE
8 years ago
lilia de3816b094
Get standalone registration working in development
Whisper.events.trigger('openStandalone') to open the standalone
registration view.

// FREEBIE
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
lilia c83dbc1bf0
Rename window.env to window.config
Also normalize to camelCase for configs.

// FREEBIE
8 years ago
lilia 6574958087
Remove check for open windows
We now live in a single-window world.

// FREEBIE
8 years ago
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
8 years ago
lilia 3f5505907f
Fix setUnreadCount 8 years ago
lilia 75dbc27cfa
Fix i18n of timer options
It is important to return something falsey in the case where there is
no translation.

// FREEBIE
8 years ago
lilia 72c3dc286c
Remove onLaunched handler
This is now handled outside the renderer.

// FREEBIE
8 years ago
lilia 83a020cc5e
Move focus listeners to their own file
// FREEBIE
8 years ago
lilia 7e1bee1082
Configure app/build using node config
Add environment-specific configs under `./config` and integrate with the
build system. Also changes package.json `files` from blacklist to
whitelist.

// FREEBIE
8 years ago
lilia 34042415e9
Database logging cancels persistent debug log storage
Database logging is helpful as a debugging tool, but it creates an
infinite loop with the debug log, which wants to write to the database,
which wants to write to the log, which wants to write to the database,
which wants to write to the log, which wants to write to the database,
which wants to write to the log, which wants to write to the database...

// FREEBIE
8 years ago
lilia a381d9c975
Fix focus detection 8 years ago
lilia 5650748961
Fix pre-populated device name 8 years ago
lilia 25b0fbd949
Fix exceptions on window close
The stopListening function was being passed the close event as an
argument, which caused it to throw.

// FREEBIE
8 years ago
lilia 49cdc98386
Fix lightbox 8 years ago
lilia acd19fd759
Fix inbox styles 8 years ago
lilia 86d703bc87
Fix debug log 8 years ago
lilia 63657db3be
Quick fix for i18n
Just use the english locale for now. Load locale data from the
filesystem in the main process and pass it to the renderer preload
script via ipc. Note that we need the locale data to be available by the
time view scripts are loaded.

// FREEBIE
8 years ago
lilia 88893079d2
Fix restart 8 years ago