Ernir Erlingsson
71d8947265
fixing the result handlers and orientation changes
2016-11-24 23:59:26 +01:00
Ernir Erlingsson
eaa393a7ed
added a cache to the IdentityManager, changed its signature, modified when and where the author is stored
...
made the author creation single-threaded again in the LifecycleManager, removed redundant code
2016-11-01 12:51:49 +01:00
akwizgran
50a70f7649
Use start/stop lifecycle callbacks rather than pause/resume.
...
Also fixed a couple of bugs.
2016-10-20 10:40:10 +01:00
Torsten Grote
65b47bb5d2
Refactor Forum Controller, so it can be used by private groups
2016-10-19 10:42:59 -02:00
akwizgran
cb983f02c2
Always check whether context has been destroyed.
2016-10-10 15:54:08 +01:00
Torsten Grote
af5b246d7b
Introduce a DestroyableActivity for UI result handlers
2016-09-08 11:25:02 -03:00
Ernir Erlingsson
48e1a65a24
raised api level and made necessary code changes
2016-08-22 00:08:47 +02:00
akwizgran
1528aa0d12
Code review nitpicks.
2016-05-12 18:29:09 +01:00
Ernir Erlingsson
698ca41720
Fixed the controllers and am now saving the current fragment
2016-05-11 23:50:11 +02:00
akwizgran
6873dbc493
UI code cleanup.
2016-05-11 13:52:40 +01:00
Ernir Erlingsson
c93e78f178
modifications based on Akwizgran's comments
2016-05-11 11:55:17 +02:00
Ernir Erlingsson
da50c5dcc3
cleanup and minor refactoring
2016-05-11 11:52:56 +02:00
Ernir Erlingsson
e809aaa932
merge and update
2016-05-11 11:50:34 +02:00
Ernir Erlingsson
604cfd5202
Fix transport update
2016-05-11 11:50:34 +02:00
Ernir Erlingsson
a14e981236
Switched AppBus for ResultHandler, Controller for Helper. Added the basics for LifecycleControllers and implemented it for BriarActivity and NavDrawerActivity
2016-05-11 11:50:34 +02:00
akwizgran
c21854fbe4
Use AndroidExecutor for background tasks that make API calls.
2016-05-02 16:54:35 +01:00
Torsten Grote
44b3d4c14f
Move create forum post and share forum buttons in action bar
...
This also introduces constants for the GROUP_ID, FORUM_NAME and
MIN_TIMESTAMP as they were used for the two buttons.
Closes #313
2016-04-21 12:06:42 -03:00
Ernir Erlingsson
1be400eb84
Switched Roboguice/Guice out for Dagger 2
2016-03-14 21:01:21 +01:00
akwizgran
ea02caf577
Don't use FLAG_ACTIVITY_CLEAR_TASK on API < 11.
2016-01-27 12:51:00 +00:00
Ernir Erlingsson
dae29eecce
Navigation drawer (squashed and rebased).
2016-01-21 16:49:21 +00:00
Torsten Grote
e603b4f60e
Implemented Sign Out as a first PanicKit Response
...
This closes #204
2016-01-12 10:49:14 -02:00
akwizgran
d99df73380
Trimmed some Roboguice boilerplate.
2015-12-15 14:00:51 +00:00
Ernir Erlingsson
27edc2e3e8
code and ui refactoring in the Password activity, encapsulation and wrappers.
2015-12-10 11:01:00 +01:00
akwizgran
027ae8340f
Whitespace-only code formatting changes.
2015-11-30 09:38:25 +00:00
akwizgran
14c5b4e4ff
Removed DatabaseUiExecutor as DatabaseExecutor is now single-threaded.
2014-07-04 15:16:55 +01:00
akwizgran
d8db5806ca
Suppress lint warning: abstract Activity not registered in manifest.
2014-05-01 15:13:00 +01: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
d83513c5f9
Dismiss dialogs when screen is rotated. Bug #52 .
2014-03-21 14:30:54 +00:00
akwizgran
b270f0e8b1
Call Thread.currentThread().interrupt() when handling interruption.
2014-03-12 21:11:11 +00:00
akwizgran
b99a503f24
Removed unnecessary conditionals from logging statements.
...
Very important stuff.
2014-03-12 21:00:14 +00:00
akwizgran
39b7a97267
"Implicit intents with startService are not safe" - use an explicit one.
2014-03-04 14:22:19 +00:00
akwizgran
0bab22db38
Each task that runs on a separate thread should have its own method.
2014-03-01 11:26:38 +00:00
akwizgran
86f8d97d81
Moved some boilerplate into the BriarActivity superclass.
2014-03-01 11:20:04 +00:00
akwizgran
c021bfd9aa
Update unread message count when returning from conversation/group.
...
Fixes bug #42 .
2014-02-27 11:57:51 +00:00
akwizgran
d21ced30ba
Don't create duplicate PasswordActivity when screen is rotated. Bug #43
2014-02-26 22:45:07 +00:00
akwizgran
ad38f63bf8
Don't launch more than one instance of PasswordActivity.
2014-02-09 17:43:40 +00:00
akwizgran
1f169dd160
Refactored finishOnUiThread() into superclass.
2014-02-09 12:11:39 +00:00
akwizgran
e92b6fce4c
Use signed in, signed out to describe whether the DB is open or closed.
...
Hopefully this gives users a better understanding of whether their
messages and contacts are accessible than "Briar is running" and "Quit".
2014-02-09 11:54:48 +00:00
akwizgran
9564433496
Moved the expiry check to the splash screen.
...
This avoids a possible problem where the app expires while it's running
and every activity shows the expiry warning, leaving the user with no
way to quit.
2014-02-06 14:52:52 +00:00
akwizgran
4b05b2acf9
Some versions of Android require notifications to have content intents.
2014-02-05 16:26:52 +00:00
akwizgran
cd49254559
Make all activities inherit from BriarActivity.
...
This will allow any activity to show the expiry warning and password
prompt, and to start and stop BriarService.
SplashScreenActivity, SetupActivity, ExpiryActivity and PasswordActivity
are special cases.
2014-02-05 15:17:17 +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