2
0
Commit Graph

1828 Commits

Author SHA1 Message Date
Maarten Billemont
21b0053ccb Copy login name on shift & update UI to reflect it. 2020-04-08 19:36:19 -04:00
Maarten Billemont
6dd8790404 Enable/disable Sentry on iOS with sendInfo. 2020-04-07 16:05:53 -04:00
Maarten Billemont
508abec94e Toggle Sentry and Countly when sendInfo is enabled/disabled. 2020-04-07 16:04:17 -04:00
Maarten Billemont
b010432796 Toggle sendInfo through preferences & move user import/export. 2020-04-07 15:30:23 -04:00
Maarten Billemont
a91e65f72f Push notification support on macOS. 2020-04-06 23:11:36 -04:00
Maarten Billemont
4b5c696241 Give Countly consent if sendInfo is enabled. 2020-04-06 20:38:29 -04:00
Maarten Billemont
128c3dcf87 Use a material that is more compatible with light/dark themes. 2020-04-06 19:35:58 -04:00
Maarten Billemont
8e15be21ab Cross-platform translation of mpw logs into Pearl. 2020-04-06 19:27:17 -04:00
Maarten Billemont
c62ff63718 Image resource issues.
tip_alert_black needs to be sliced and scaleable.

Aspect-stretch background.png if device screen is too large.
2020-04-06 19:25:43 -04:00
Maarten Billemont
d564afe3ec Delegate main-thread activity on the main thread. 2020-04-06 19:24:46 -04:00
Maarten Billemont
340044e945 Icon and launch screen updates. 2020-04-05 01:17:13 -04:00
Maarten Billemont
078cd412a8 Update deprecated material. 2020-04-05 01:16:49 -04:00
Maarten Billemont
83b824a44e Project updates. 2020-04-04 20:19:22 -04:00
Maarten Billemont
24a6781687 Don't leak internal file on error if mpw_marshal_write file is NULL. 2020-04-04 20:17:14 -04:00
Maarten Billemont
b118bc4e9b Sentry SDK update to v5 2020-04-04 19:50:37 -04:00
Maarten Billemont
0405c1776c Remove obsolete Fabric support. 2020-04-04 18:15:51 -04:00
Maarten Billemont
81a92400fb pushTestMode doesn't support nil values but defaults to it. 2020-04-04 18:12:26 -04:00
Maarten Billemont
7085eaf726 Hang detector is an iOS-only thing. 2020-04-04 18:09:33 -04:00
Maarten Billemont
878970ff22 JSON support for Mac app. 2020-04-04 17:34:07 -04:00
Maarten Billemont
6a635491bd Fix MPW_COLOR test, if set to 0. 2020-04-04 17:33:32 -04:00
Maarten Billemont
fa0c80d6b3 Log out active user and key when user is changed or deleted or unset. 2020-04-04 16:30:14 -04:00
Maarten Billemont
975743adec Use the user, not a site algorithm, for generating and testing the keyID.
- Order of fall-back formats from most to least preferred.
- The keyID should be based on the user algorithm, not the site algorithm.
- Standardize mpw_format* function names.
2020-04-02 16:15:01 -04:00
Maarten Billemont
39c6d5668a Improved repeat generation of master password suggestions. 2020-04-02 16:13:12 -04:00
Maarten Billemont
c4abdb6d49 Test result output in export files. 2020-04-02 16:11:30 -04:00
Maarten Billemont
887d07f004 macOS update. 2020-03-25 13:12:06 -04:00
Maarten Billemont
a640b798b5 Resolve main thread access issues. 2020-03-25 12:16:19 -04:00
Maarten Billemont
07250d50fd Push notifications support & remove Test configuration. 2020-03-13 12:15:24 -04:00
Maarten Billemont
56f5870bbb Make white text white, not system, since background is always dark. 2020-03-13 11:55:13 -04:00
Maarten Billemont
ee16c4a66d Ensure alerts are triggered on main thread. 2020-03-05 11:29:10 -05:00
Maarten Billemont
9c3e272849 Case insensitive compare values that don't need to rely on exact case. 2020-03-04 12:50:59 -05:00
Maarten Billemont
131720eb8d Fix login/result state import/export, keyID; Volto export; Pearl log sink. 2020-02-28 17:33:38 -05:00
Maarten Billemont
b15417aa31 Marshal nulls as empty text & document data structures.
Documented the data fields in the marshal structure to avoid value
ambiguity.

NULL values for eg. identicon shouldn't serialize to flat (mpsites) file
as "(null)" but rather as empty "".

Parsing header values from the flat file that are empty yielded NULL
instead of the empty string since mpw_strtok was needlessly aggressive
on that front.
2020-02-28 17:25:20 -05:00
Maarten Billemont
f659c0936e Volto migration alerts. 2020-02-26 23:01:44 -05:00
Maarten Billemont
35e64ea9cf Swizzle fixes, type build fixes, disable hang timer for debug builds. 2020-02-16 18:49:06 -06:00
Maarten Billemont
d509c01572 Countly view tracking & Pearl API for C string length. 2020-02-13 13:02:19 -05:00
Maarten Billemont
485cf65694 Default to mpw_log_sink_file if no sinks are registered. 2020-02-12 22:32:14 -05:00
Maarten Billemont
f32f2a6726 Update CLI API for key providers. 2020-02-12 22:13:55 -05:00
Maarten Billemont
bd38840ed3 Import for standard time_t. 2020-02-12 22:12:48 -05:00
Maarten Billemont
6eaa491d67 Replace Crashlytics/Fabric with Countly & Sentry. 2020-01-27 13:27:10 -05:00
Maarten Billemont
b460e27696 Store preferences in user file using mpw data API. 2020-01-23 16:49:47 -05:00
Maarten Billemont
eb1e23311e API update, user export. 2020-01-23 16:47:10 -05:00
Maarten Billemont
38b3dcdba0 Android and macOS dependency build fixes. 2020-01-23 16:42:23 -05:00
Maarten Billemont
85f6c03500 More build standardization.
CPPFLAGS get passed to both C and C++ compilers (all compilers that do pre-processing)
2020-01-23 16:42:17 -05:00
Maarten Billemont
4521c4f919 Fix build script for libs that have no INSTALL file. 2020-01-23 16:41:38 -05:00
Maarten Billemont
feac039bc4 Fix for autoreconf overwriting repo files. 2020-01-23 16:41:33 -05:00
Maarten Billemont
dbda20ee8a Fix for building after SDK path changes. 2020-01-23 16:41:23 -05:00
Maarten Billemont
6832c05138 Fix AES padding not removed if % AES_BLOCKSIZE.
Don't memcpy beyond src buffer size in strcpy implementation.

Technically safe since the buffer overrun was replaced by NUL, but act
can trigger memory safety features.
2020-01-23 16:37:08 -05:00
Maarten Billemont
f999e75ebe Hide app secrets such as API keys in code.
Move secret keys out of the repository and hide them in the binary.

C-string -> String decoding for unsigned strings and buffers to
facilitate conversion of various C API strings into Swift.

Some cleanup in base64 coding utility.

A utility for converting hex strings into byte buffers.

Improved checks during AES routine and fix PKCS padding bug if
plain text fits block size.
2020-01-23 16:36:51 -05:00
Maarten Billemont
8886c6a6ef Bring timetocrack <x> in line with spec. 2020-01-23 16:33:57 -05:00
Maarten Billemont
51afed2fe0 More advanced mpw-internal logging mechanism.
Logging now happens at the mpw-core level, by default using sinks that
can be registered.

For iOS we forward log messages to os_log for unified logging.  We also
keep a record of log messages for future retrieval in a log view.

This obsoletes and removes Pearl's logger entirely.
2020-01-23 16:32:53 -05:00