Evan Hahn
206f461370
Move menu tests to TypeScript
2022-01-11 09:28:04 -08:00
Scott Nonnenberg
c72c5a0bdc
Protocol filter: Support home path mapped to UNC share
2022-01-06 09:53:29 -08:00
Fedor Indutny
76d8b5e375
Get rid of electron.remote
2021-10-27 10:54:16 -07:00
Scott Nonnenberg
bd380086a4
Send related emoji along with Sticker, fix SendMessage types
2021-10-05 17:10:08 -05:00
Fedor Indutny
4ef0bf96cc
Uint8Array migration
2021-09-23 17:49:05 -07:00
Josh Perez
e86a6119cd
Moves stringToArrayBuffer into util folder
2021-09-20 12:27:15 -04:00
Scott Nonnenberg
7ce89414bf
Support for alpha build channel
2021-08-06 14:21:01 -07:00
Fedor Indutny
759ced3417
Updater debug utility
2021-06-30 14:27:18 -07:00
Scott Nonnenberg
24960d481e
Move all files under /app to typescript
2021-06-18 10:04:27 -07:00
Jordan Rose
0615e5528f
Improve menu bar on macOS
2021-06-14 12:01:49 -07:00
Fedor Indutny
1934120e46
Disable Dev Tools in production releases
...
`--enable-dev-tools` will bring it back.
2021-03-19 16:53:51 -04:00
Evan Hahn
a8787e7c9e
Convert logging infrastructure to TypeScript
2021-01-27 13:13:33 -08:00
Brandon Outlaw
2013378136
MacOS – Add shortcut for Window -> Show ( #4632 )
2020-11-10 16:30:56 -08:00
Evan Hahn
8bfaf598af
Add license headers across the project
2020-11-04 13:03:13 -06:00
jimio-signal
1c057323ba
Point to support flow instead of github
2020-10-26 15:48:44 -07:00
Evan Hahn
f8fc23a7a3
Improve nested path detection across app
2020-08-28 15:42:25 -04:00
Scott Nonnenberg
2529c7f9e3
Ensure that 'Join the Beta' menu item shows in production
2020-07-27 14:39:19 -07:00
Scott Nonnenberg
a8789919e8
Github -> GitHub
2020-06-24 17:26:37 -07:00
Ken Powers
b842b69660
Help Menu changes
2020-06-23 17:30:33 -07:00
Ken Powers
14b11041ea
Spellcheck: Fallback to all xx-YY locales when xx isn't available
2020-04-15 13:44:46 -07:00
Scott Nonnenberg
a840e2e5b1
Remove legacy import flow
2020-03-04 17:12:56 -08:00
Ken Powers
11d47a8eb9
Sticker Creator
2019-12-17 12:28:46 -08:00
Scott Nonnenberg
0876bf7ae7
Visual bug fixes for v1.29
2019-11-21 10:17:55 -08:00
Scott Nonnenberg
8194b2446b
Move to CTRL+= for windows, remove the need for the shift
2019-11-15 14:34:24 -08:00
Scott Nonnenberg
927a0677f1
Zoom In: Remove custom accelerator for windows/linux
2019-11-15 14:34:24 -08:00
Scott Nonnenberg
20a892247f
Keyboard shortcuts and accessibility
2019-11-13 16:53:42 -08:00
Jonathan Canfield
97b26778b3
Remap zoom to Command+= on macOS ( #3296 )
2019-04-08 10:17:35 -07:00
Scott Nonnenberg
ae161c6cf6
Update to Electron 4.x
2019-03-12 17:44:14 -07:00
Scott Nonnenberg
4415293100
Make all OS menus localizable
...
Turns out that Electron is not localizing the 'role' elements like we
expected would happen.
2018-07-03 16:04:21 -07:00
Scott Nonnenberg
068cce61e6
Fix path-oriented unit test on Windows
2018-05-31 14:09:41 -07:00
Scott Nonnenberg
eec61f5289
Fine-tune file protocol filter
2018-05-31 13:25:45 -07:00
Scott Nonnenberg
06b0544bbe
Hardening: normalize on-disk attachment paths before save/load
2018-05-31 13:25:45 -07:00
Scott Nonnenberg
e2d044e02b
Filter file scheme; disable http, https and ftp entirely
2018-05-23 16:26:40 -07:00
Daniel Gasienica
1dd87ad197
Format all source code using Prettier
2018-04-30 16:53:34 -04:00
Scott Nonnenberg
c3acf43c47
Eslintify test/backup_test.js
2018-04-20 15:24:04 -07:00
Daniel Gasienica
15d221ae0e
Simplify testing and linting
...
Separate linting from testing as follows:
- `yarn jscs`: Run JSCS.
- `yarn jshint`: Run JSHint.
- `yarn lint`: Run all linters, i.e. ESLint, TSLint, JSHint, and JSHint.
- `yarn test-node`: Run Mocha tests in Node.js environment.
- `yarn test-electron`: Run tests in Electron environment via Grunt.
- `yarn test`: Run all tests.
CI
- Align Travis and AppVeyor scripts as much as possible.
- Run linting before tests to fail fast.
- Run Node.js (headless and fast) tests first.
- Run Electron tests last (Travis seems to require custom setup in `travis.sh`).
2018-04-11 16:36:42 -04:00
Daniel Gasienica
5a6668e677
Add Attachments.createWriteForExisting
...
This function lets us choose where to write attachment to instead of picking
random name.
2018-04-04 18:41:50 -04:00
Daniel Gasienica
efd673083d
Rename writeAttachmentData
to writeNewAttachmentData
2018-04-04 18:41:50 -04:00
Daniel Gasienica
8474f3cf7f
Use create*
prefix to clarify curried functions
2018-04-03 15:25:24 -04:00
Daniel Gasienica
06e7bca276
Use new stringToArrayBuffer
function
2018-03-26 16:38:34 -04:00
Daniel Gasienica
10afcf1bb0
Add Attachments.deleteData
2018-03-26 16:38:34 -04:00
Daniel Gasienica
9b636a1885
Add test for Attachments.readData
2018-03-26 16:38:34 -04:00
Daniel Gasienica
f6f0359a61
Use assert.deepEqual
instead of Lodash isEqual
2018-03-26 16:38:34 -04:00
Daniel Gasienica
aba261122f
🎨 Use camelCase
for mutable variable
2018-03-26 16:38:34 -04:00
Daniel Gasienica
1c8123ff1a
Move writeAttachmentData
into Attachments
...
Encapsulates all attachment operations that require Node.js / Electron APIs,
e.g. file system access.
2018-03-26 16:38:34 -04:00
Daniel Gasienica
6355c54114
Return relative path from writeAttachmentData
...
This will make our app more robust to changes in location on the file system.
2018-03-26 16:38:34 -04:00
Daniel Gasienica
1262d1d696
Shorten prefix to 2 characters
...
Using 2 hex characters [0-9a-f] will give us 16 * 16 = 256 root folders which
seems more manageable than 4096 (16^3). Assuming a user has 10,000 attachments,
they should roughly distribute at ~40 per folder with prefix length 2 rather
than ~2.5 per folder with a prefix of 3.
2018-03-26 16:38:34 -04:00
Daniel Gasienica
1283c77518
Switch from hashed to random attachment file names
...
Using hashes, we get the benefit of deduplication but if a user receives two
messages with the same attachment, deleting one would delete it for both since
they are only stored once. To avoid the complexity of tracking number of
references, we simply generate random file names similar to iMessage on MacOS
(?) and Signal Android.
2018-03-26 16:38:34 -04:00
Daniel Gasienica
d9de6dacba
Add writeAttachmentData
module
2018-03-26 16:38:34 -04:00
Daniel Gasienica
1e2cd3ae1f
Rename ‘File a Bug’ to ‘Report an Issue’
...
This makes it more consistent with ‘Report an issue’ under View > Debug Log.
Not using ellipsis as menu item doesn’t require user confirmation:
https://stackoverflow.com/a/637708
2018-03-08 16:21:27 -05:00