Commit Graph

261 Commits (c422c9e2ade5ae951f19d1f2afb52008c4f82efe)

Author SHA1 Message Date
Scott Nonnenberg 6b11f67dc6
Move logging to disk via bunyan
- Logging is available in main process as well as renderer process, and
  entries all go to one set of rotating files. Log entries in the
  renderer process go to DevTools as well as the console. Entries from
  the main process only show up in the console.
- We save three days of logs, one day per file in %userData%/logs
- The 'debug' object store is deleted in a new database migration
- Timestamps and level included in the new log we generate for publish
  as well as the devtools
- The bunyan API is exposed via windows.log (providing the ability to
  log at different levels, and save objects instead of just text), so we
  can move our code to it over time.

FREEBIE
8 years ago
Scott Nonnenberg 5099ca0ccd
Merge locale-provided strings into english for failover support
FREEBIE
8 years ago
lilia 04e40043d2
Add View -> Debug Log to menu bar
Just send an event from the main process to the renderer,
The latter routes it the appropriate view method.

For now it's a no-op unless the main window exists and it is showing the inbox,
which will be addressed in a future commit.

// FREEBIE
8 years ago
Scott Nonnenberg 8243f25e5a
Fix auto-update dialog now that locale-loading has been changed
FREEBIE
8 years ago
Scott Nonnenberg 80fd70de13
Don't show 'new update available' dialog if it's already showing
FREEBIE
8 years ago
Scott Nonnenberg 53d1e7e6c7
Load locale information only after application's 'ready' event
FREEBIE
8 years ago
David Balatero a6af40e9f9
Couple of semicolons to match style 8 years ago
David Balatero 8f30e13ec1
Rename autoupdate -> auto_update, remove redundancy 8 years ago
David Balatero ceaff68d55
Refactor locale to only expose the data we care about 8 years ago
David Balatero 5e5ca80a6e
Refactor configuration out into reusable files 8 years ago
David Balatero ed831dacd0
Refactor external source files to live in app/ 8 years ago