Commit Graph

7 Commits (5e6d3156f9f736a4cb0fabbe15d0d8299e77ba49)

Author SHA1 Message Date
Lilia 5e6d3156f9 Ensure locale is 'en' when NODE_ENV=test (#1527)
Beacause so many of our tests have hardcoded english strings. We could do
better, but for now anyone running tests locally must simply do so in english,
even if they usually use Signal in another language.

// FREEBIE
8 years ago
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
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 ceaff68d55
Refactor locale to only expose the data we care about 8 years ago
David Balatero ed831dacd0
Refactor external source files to live in app/ 8 years ago