Commit log

4e1343e Fix NPE

Stephen Paul Weber created

48526fc We use fromHtml that is 24+

Stephen Paul Weber created

c2ff440 Use older method for android 5

Stephen Paul Weber created

140f1c4 Allow long press to copy any link in a message

Stephen Paul Weber created

cdbad10 Replace HTML QuoteSpan with ours

Stephen Paul Weber created

c075f60 Allow displaying long messages without UI truncation

Click to expand commit body
Especially since this applies to merged messages

Stephen Paul Weber created

801c6b3 Avoid pushing legacy bookmarks before they are loaded

Click to expand commit body
Race condition could wipe them out

Stephen Paul Weber created

e5bdde0 Use bookmarks2 on servers with full support

Stephen Paul Weber created

603ec44 Allow scrolling with a ListView if it isn't inner scrollable

Stephen Paul Weber created

ca07aef Fix colour behind snackbar

Stephen Paul Weber created

659f373 Don't churn IO on persisting roster

Click to expand commit body
Especially during start up, syncRoster can get called a *lot*.  We already avoid
doing them in parallel, but they can happen one right after the other, locking
up the DB and churning IO.

Now, after we persist the roster, wait for 500ms before giving the next persist
a chance to run.  That way, other stuff has 500ms to get work done and we lose
very little DB consistency in the case of a failure.

Stephen Paul Weber created

664b2f5 Merge branch 'xhtml-im'

Click to expand commit body
* xhtml-im:
  Fetch XEP-0231 inline images from trusted contacts
  Actually display images we already have inline in XHTML-IM
  Support for storing and displaying XHTML-IM
  Preserve Text Nodes in XML

Stephen Paul Weber created

a8e57ce Fetch XEP-0231 inline images from trusted contacts

Click to expand commit body
If a contact is trusted or already likely to know our presence (due to having
sent them a message) then auto-fetch XHTML-IM inline images via XEP-0231 from them.

Stephen Paul Weber created

4f4a5bb Actually display images we already have inline in XHTML-IM

Click to expand commit body
If we already have the image for the Cid downloaded, then do create the
thumbnail and show it inline.

Stephen Paul Weber created

87ddf94 Support for storing and displaying XHTML-IM

Click to expand commit body
Only supports images with XEP-0231 compatible cid: URIs, otherwise images render
as a fallback image.  This commit doesn't yet support fetching the images at
all, but can ask a passed-in thumbnailer to figure out getting the image for a
certain Cid.

Stephen Paul Weber created

758c85a Preserve Text Nodes in XML

Click to expand commit body
The XML model that was being used was not able to represent elements with text
nodes and element children interspersed (such as in "markup like" XML:
<x>abc <y>def</y> ghi</x>).  This switches from a single content String to a
list of child Node.  Content is pulled from all children recursively.  A list of
Element children is also maintained since this list is frequently traversed so
it saves runtime checks in all of those loops at the expense of a small amount
of memory.  Since the children and childNode lists must be kept in sync, they
are both made private to avoid a child class trying to mutate one of them
without a safe helper.

Stephen Paul Weber created

d79ec4d Fix message sent padding

Stephen Paul Weber created

a3f9b4e Fix NPE

Stephen Paul Weber created

2f8957d Fix NPE

Stephen Paul Weber created

c6c0aab Fix NPE

Stephen Paul Weber created

8952e69 Allow editing tags on a contact

Stephen Paul Weber created

9684563 Clean up basic onboarding flow

Click to expand commit body
Use the labels and icons from JMP onboarding, don't ask users if they want to
create an account on their "own server".

Stephen Paul Weber created

38032f0 Merge branch 'recolour-bubbles'

Click to expand commit body
* recolour-bubbles:
  Fix shadow, add tails, fix monochrome
  Match theme colours
  Less bubbly
  Remove unused 9patch
  add the newly created color entries to the bubble Drawable
  add XML entries for sent/received bubbles
  remove hardcoded bubble color
  link all the old 9patch refereces to the new Drawables
  Tweak the chat page for the new bubbles
  forgot to commit the new bubble Shape Drawables
  link all message bubbles from all themes to the same XML drawable
  use the new msg bubble XML instead of the 9patch PNGs

Stephen Paul Weber created

dda9d3b Fix shadow, add tails, fix monochrome

Stephen Paul Weber created

66e43a0 Match theme colours

Stephen Paul Weber created

2923eaa Less bubbly

Stephen Paul Weber created

ab8cff7 Remove unused 9patch

Stephen Paul Weber created

29d040d add the newly created color entries to the bubble Drawable

Click to expand commit body
Now editing the color from the theme affects the bubbles directly. Monochrome versions left to do still. Also added the Theme entries so the theme applies to the bubbles

Maxime V created

070bdd9 add XML entries for sent/received bubbles

Maxime V created

dcda874 remove hardcoded bubble color

Maxime V created

d813737 link all the old 9patch refereces to the new Drawables

Maxime V created

b191d1f Tweak the chat page for the new bubbles

Maxime V created

67d1d88 forgot to commit the new bubble Shape Drawables

Maxime V created

24a1746 link all message bubbles from all themes to the same XML drawable

Maxime V created

a0418e0 use the new msg bubble XML instead of the 9patch PNGs

Maxime V created

de3a352 Enable library desugaring to use Java8 features on older Android

Stephen Paul Weber created

e31ae3e Terrible gross hack for starting group text

Click to expand commit body
This is the first feature to hardcode cheogram.com let's hope we can remove it
someday.

XEP-0033 does not have good fallback behaviour, and group text doesn't map well
to MUC.  We could still do a MUC mapping, or think of a better fallback
behaviour, or something else, but for now analysis paralysis means we stick to
the gross +1...,+1...,+1...@cheogram.com -- but that's not a protocol, it's not
something we can detect or design around or expect anyone else to ever do.  So
just check for cheogram.com because that's the only place we ever expect to see
this dirty hack.

If starting a new private group and every selected member is @cheogram.com, then
ask if we should make a group text instead.

Stephen Paul Weber created

b341953 "sub version" code for pre-releases

Stephen Paul Weber created

3ef36e8 Allow keeping data on uninstall

Stephen Paul Weber created

f772e7e Dump logcat after every call

Click to expand commit body
For debugging call connections etc.

Stephen Paul Weber created

1376716 Consider a moderated message retracted also

Stephen Paul Weber created

bc13006 Interpret message retraction XEP-0424 as correction to empty string

Stephen Paul Weber created

fcb9023 Add retract message menu item

Stephen Paul Weber created

a3e0959 Don't ignore empty bodies

Click to expand commit body
A body that is present but has an empty string is not the same as no body.  It
may be useful for example for a message correction to an empty string.

Stephen Paul Weber created

919be8e only run account options through int conversion. fixes #4390

Daniel Gultsch created

eded970 accept and reject are both things that can come from other resources

Click to expand commit body
So if someone else sends one to the bare JID, we should deliver it to any
connection that matches.

Stephen Paul Weber created

7b15e01 Do not show double notification during dialler integration call

Stephen Paul Weber created

ec3cde0 Edit user name inline, instead of in dialog

Stephen Paul Weber created

c688aeb Do not update message or finish the download until the file is fully renamed

Stephen Paul Weber created

d8d79b7 Merge branch 'content-addressable'

Click to expand commit body
* content-addressable:
  Content Addressable Media Storage

Stephen Paul Weber created