Commit Graph

26 Commits

Author SHA1 Message Date
Torsten Grote
4460d69a06 Improve PasswordActivity by
* removing screen border visible on small screens
* showing noticeable error message on wrong password input
* showing keyboard again after entering wrong password
* making lost password link easier to recognize as link
* renaming keyboard toggle method from 'hide' to 'toggle'
2016-01-07 14:15:57 -02:00
akwizgran
50b941e50e Show strength meter when password entry has focus.
Also fixed some IME action issues on Android 2.3.
2015-12-31 12:00:42 +00:00
akwizgran
bbf1770d8d Show home screen if user backs out of password activity. 2015-12-28 11:42:37 +00:00
akwizgran
f71596c258 Align progress wheel with button. 2015-12-11 11:32:51 +00:00
akwizgran
2687e79593 Refactored FileUtils.
Removed methods that are no longer needed for Java 6, moved the remaining method into the utils directory.
2015-12-10 16:21:47 +00:00
akwizgran
912ba394c5 Refactored FileUtils.
Removed methods that are no longer needed for Java 6, moved the remaining method into the utils directory.
2015-12-10 15:58:52 +00:00
Ernir Erlingsson
a5fd7ff9dc Added dependency injections for FileUtils and removed redundant code 2015-12-10 11:07:10 +01:00
Ernir Erlingsson
fb2a44c478 code re-structure, mostly nitpicks :) 2015-12-10 11:02:15 +01:00
Ernir Erlingsson
886cad91f0 Added a dialog and refactored code 2015-12-10 11:02:15 +01:00
Ernir Erlingsson
ca00b414e7 Fixed lost code from merge 2015-12-10 11:01:00 +01:00
Ernir Erlingsson
27edc2e3e8 code and ui refactoring in the Password activity, encapsulation and wrappers. 2015-12-10 11:01:00 +01:00
str4d
ceef31599b Clear the password field if wrong password is entered 2015-12-08 06:06:16 +00:00
akwizgran
027ae8340f Whitespace-only code formatting changes. 2015-11-30 09:38:25 +00:00
akwizgran
dea5a44724 Simpler forum sharing UX. 2015-04-29 15:08:58 +01:00
akwizgran
7fbad8dc26 Use FortunaGenerator to implement PseudoRandom. 2015-01-14 20:46:03 +00:00
akwizgran
358166bc12 Don't try to erase secrets from memory.
1. The things we're really trying to protect - contact identities,
message contents, etc - can't be erased from memory because they're
encapsulated inside objects we don't control.

2. Long-term secrets can't be protected by erasing them from memory
because they're stored in the database and the database key has to be
held in memory whenever the app's running.

3. If the runtime uses a compacting garbage collector then we have no
way to ensure an object is erased from memory.

4. Trying to erase secrets from memory makes the code more complex.

Conclusion: Let's not try to protect secrets from an attacker who can
read arbitrary memory locations.
2014-12-29 21:08:27 +00:00
akwizgran
4aae062ea7 Created switches for disabling alpha/beta testing code. 2014-04-30 13:41:09 +01:00
akwizgran
639a5e8e76 Prevent screenshots (including the Recents menu).
Thanks to the team that audited CryptoCat for this idea. :-)
2014-04-07 20:35:10 +01:00
akwizgran
3d9f5c496f Show feedback when nickname or forum name is too long. Bug #45. 2014-04-05 14:59:30 +01:00
akwizgran
4560cf17ff Notification settings. Dev task #76. 2014-03-10 18:00:36 +00:00
akwizgran
74159f6e71 Check whether data has been deleted when resuming from recents. Bug #44. 2014-03-02 18:37:24 +00:00
akwizgran
86f8d97d81 Moved some boilerplate into the BriarActivity superclass. 2014-03-01 11:20:04 +00:00
akwizgran
b10827d84b Layout tweaks: outline StrengthMeter, indent EditTexts. 2014-02-11 11:40:08 +00:00
akwizgran
269eef57e9 Speech bubble layout for private conversations. 2014-02-09 19:50:12 +00:00
akwizgran
843ad55163 Distinguish request and result codes of different activities. 2014-02-05 15:03:28 +00:00
akwizgran
8d850b290c Refactored HomeScreenActivity into several smaller classes. 2014-02-05 14:30:13 +00:00