Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial implementation #4

Merged
merged 108 commits into from
Jun 10, 2021
Merged
Show file tree
Hide file tree
Changes from 97 commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
17cd4ee
Initial implementation of MessagingModel
oxtoacart Mar 12, 2021
508e60e
Automated generation of one time preKeys
oxtoacart Mar 12, 2021
443d622
Progress on websocket client
oxtoacart Mar 13, 2021
6094a99
Authentication to real tassis over websockets works
oxtoacart Mar 13, 2021
b575f8a
Attempted with coroutines
oxtoacart Mar 16, 2021
5aaeb8c
Sort of working
oxtoacart Mar 16, 2021
fc6eb74
Test succeeding and completing
oxtoacart Mar 16, 2021
74539f5
More complete test, but failing because of invalid signature on devic…
oxtoacart Mar 16, 2021
d892719
Test passing
oxtoacart Mar 16, 2021
fa9061d
Test passing reliably
oxtoacart Mar 16, 2021
b986f33
Progress on modeling
oxtoacart Mar 19, 2021
bc7da8c
Revised datamodel, implemented linter suggestions, reasonably good ha…
oxtoacart Mar 19, 2021
c9a0779
Better factoring of MessagingTest
oxtoacart Mar 19, 2021
c57c74c
Updated to latest db and secrets libraries
oxtoacart Mar 19, 2021
7a37566
Ignore messages from senders who aren't in the Contact list
oxtoacart Mar 19, 2021
7951a5c
Immediately create Conversation when adding Contact
oxtoacart Mar 20, 2021
b5bc5af
Storing Base32 encoded versions of public and private identity keys i…
oxtoacart Mar 20, 2021
ab6fafb
More user friendly send API
oxtoacart Mar 21, 2021
b43c1f3
Removed ExperimentalTime dependency
oxtoacart Mar 21, 2021
234648d
Updated to latest libsignal dependencies
oxtoacart Mar 21, 2021
afed114
Only update conversation timestamp if new message time is more recent…
oxtoacart Mar 21, 2021
b541864
Upgraded to latest secrets and db
oxtoacart Mar 22, 2021
32a759f
Took out database contents logging in test
oxtoacart Mar 22, 2021
6f6b42c
Added ability to set my display name
oxtoacart Mar 22, 2021
9a1c801
Simplified contact/conversation model
oxtoacart Mar 23, 2021
d486531
Rationalized naming
oxtoacart Mar 23, 2021
a4f7676
Enabled lost connection checking for websockets
oxtoacart Mar 23, 2021
df6d3e2
Added ability to name database
oxtoacart Mar 24, 2021
a7f5b9e
Improved concurrency
oxtoacart Mar 25, 2021
6cc45f9
Cleaned up marking of failures
oxtoacart Mar 25, 2021
b850dfd
Less chatty database interaction
oxtoacart Mar 25, 2021
7bc6974
Startup and closing sequence cleanup
oxtoacart Mar 26, 2021
a1c1026
Better handling of websocket connect failures
oxtoacart Mar 26, 2021
68ee0f7
Moved websocket connection handling to workers
oxtoacart Mar 26, 2021
26972a1
Not locking in ClientWorker
oxtoacart Mar 26, 2021
f369e51
More connection management tweaks
oxtoacart Mar 26, 2021
b6b6c59
Allowing empty oneTimePreKeys
oxtoacart Mar 26, 2021
ed26c9e
More concurrency tweaks
oxtoacart Mar 27, 2021
640c579
Added request timeouts
oxtoacart Mar 27, 2021
f1f6c70
Added support for replyTo
oxtoacart Mar 27, 2021
f38cbb7
More connection management bug fixes, improved statusing for delivery…
oxtoacart Mar 27, 2021
8b3d8a3
Added attachment cipher from Signal-Android
oxtoacart Mar 31, 2021
af62007
Updated to latest tassis protocol buffer schema
oxtoacart Mar 31, 2021
e796c83
Attachments are sending
oxtoacart Apr 1, 2021
a87531c
More progress on uploads
oxtoacart Apr 1, 2021
fbeb6d2
Attachments work round-trip
oxtoacart Apr 1, 2021
604d0e0
Checking attachment size before encrypting
oxtoacart Apr 1, 2021
a903b2d
Added ability to include arbitrary metadata with attachments
oxtoacart Apr 1, 2021
d8bcfbd
Updated to latest db-android
oxtoacart Apr 3, 2021
2158116
Updated to latest db-android
oxtoacart Apr 3, 2021
915adce
Switched to using OkHhttp for websockets, tests now run on Android 22
oxtoacart Apr 4, 2021
5a9b045
Fixed close handling with OkHttp based websockets
oxtoacart Apr 4, 2021
50a4ae5
Fixed close handling with OkHttp based websockets
oxtoacart Apr 4, 2021
d45132a
More WebSocket connection tweaks
oxtoacart Apr 4, 2021
3a190b4
More websocket close handling improvements, more tests of websocket a…
oxtoacart Apr 5, 2021
42236fa
Upgraded db-android dependency
oxtoacart Apr 5, 2021
a5f7649
Capturing spam
oxtoacart Apr 6, 2021
716be98
Updated to latest db-android
oxtoacart Apr 6, 2021
7f5060b
Saving most recent attachment mime type on contact
oxtoacart Apr 7, 2021
1ff141f
Refactored model to accomodate new control message types
oxtoacart Apr 7, 2021
54de164
Progress towards handling control messages
oxtoacart Apr 7, 2021
e3354a9
More progress towards handling control messages
oxtoacart Apr 8, 2021
4166f8e
More progress towards handling control messages
oxtoacart Apr 8, 2021
78883fc
Local and global deletion of messages
oxtoacart Apr 8, 2021
8660b5a
Able to react to messages
oxtoacart Apr 8, 2021
3a198d3
Took auto delete out of model for now
oxtoacart Apr 8, 2021
93e12e5
Test refactoring
oxtoacart Apr 8, 2021
26205f6
More test refactoring
oxtoacart Apr 8, 2021
7c97610
Fixed attachments path building
oxtoacart Apr 8, 2021
952a0a1
Progress on disappearing messages
oxtoacart Apr 8, 2021
2e83b85
Disappearing messages work
oxtoacart Apr 9, 2021
c4dcc78
Recording viewed time
oxtoacart Apr 9, 2021
ce39b0d
Fixed disappearing messages test and only start disappearing timer lo…
oxtoacart Apr 9, 2021
9908c43
Fixed emoticon length
oxtoacart Apr 9, 2021
f60d230
Allowing 1 byte emoticons
oxtoacart Apr 9, 2021
b60c6d5
Setting contact createdTs correctly
oxtoacart Apr 9, 2021
29e46a9
Added ability to delete contacts
oxtoacart Apr 11, 2021
08f812d
Improved tests for initial disappear settings message
oxtoacart Apr 11, 2021
390cef9
Took out unnecessary checkin of Messages.java
oxtoacart Apr 12, 2021
40d8089
Logging cleanup
oxtoacart Apr 12, 2021
63a74a3
Allowing reactions to your own messages
oxtoacart Apr 12, 2021
6a35acc
Cleaning up public API
oxtoacart Apr 12, 2021
3fffd01
Cleaning up public API
oxtoacart Apr 12, 2021
60bc515
Updated README
oxtoacart Apr 14, 2021
8d882cb
Made db public again
oxtoacart Apr 14, 2021
3ecc5d9
Storing data within schema of supplied parent database
oxtoacart Apr 20, 2021
890f289
Added support for lazy attachments
oxtoacart Apr 21, 2021
0219d31
Using ktlint
oxtoacart Apr 23, 2021
1579c0a
Added auto-detection of mime type and thumbnails for images and videos
oxtoacart Apr 24, 2021
caa2fbc
Exporting secrets with API
oxtoacart Apr 25, 2021
089205c
Improved thumbnailing logic
oxtoacart Apr 25, 2021
50369cd
Don't recycle thumbnail bitmaps
oxtoacart Apr 25, 2021
816e475
Updated to latest secrets and db
oxtoacart Apr 26, 2021
4d9de90
Switched to using milliseconds instead of nanoseconds
oxtoacart Apr 26, 2021
99e9083
Added logic to delete orphaned attachments on startup
oxtoacart Apr 27, 2021
fc354d5
Added some JavaDoc comments
oxtoacart May 4, 2021
48db04a
Added introduction to README
oxtoacart May 11, 2021
8bb93a5
Updated to latest db-android
oxtoacart May 24, 2021
283a6e1
When remotely deleting messages, keep metadata around until user loca…
oxtoacart Jun 2, 2021
787d74d
Recording timestamp when message was deleted by sender
oxtoacart Jun 2, 2021
4bb3a30
Code review updates
oxtoacart Jun 8, 2021
10cdbb5
Updated to latest ktlint plugin
oxtoacart Jun 8, 2021
3976c36
Configured android flavor of ktlint
oxtoacart Jun 8, 2021
09ce412
Recording id of who remotely deleted a message
oxtoacart Jun 8, 2021
9131aac
Reordered some fields in the model
oxtoacart Jun 8, 2021
1d595a7
Using typed message for inbound messages
oxtoacart Jun 9, 2021
17a9642
Removed ide config
oxtoacart Jun 9, 2021
ba51ef3
Code review updates
oxtoacart Jun 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
messaging/src/androidTest/assets/image.jpg filter=lfs diff=lfs merge=lfs -text
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

123 changes: 123 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/dictionaries/ox_to_a_cart.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/ktlint.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading