9b1828b
Look more like a real web browser
Stephen Paul Weber created
9b1828b
Look more like a real web browser
Stephen Paul Weber created
5c20049
Don't submit the form when cancelling
It's at best a waste of bytes and at worst confusing to the server.
Stephen Paul Weber created
5f31128
We can still proceed with no form, just don't send a form
Stephen Paul Weber created
2a013c7
Validate presence of required fields
Stephen Paul Weber created
71cc967
DRY up common patterns for fields
Stephen Paul Weber created
388e5f2
Refactor to bind to an Item container, not just a raw Element
Gets rid of the Column extends Element hack and paves the way for error messages and other things.
Stephen Paul Weber created
ad22cdd
Use more features of the TextInputLayout
Stephen Paul Weber created
62d7cf4
Support more text field types
Stephen Paul Weber created
24694f2
Support reported/item tables
Right now renders using a GridLayout which means all columns are the same width. No horizontal scrolling or becoming not-a-table for many columns, so big tables will be a disaster. Does render and work though. The strategy here is to actually make each cell an "item" in the RecyclerView instead of each row being an item. Then the layout manager takes care of it. This means that the end-of-row-ness is just because of column count, and not actually enforced at all. It also means that as currently built if any row has a missing field it'll mess up the whole thing. No type directed rendering or anything yet, just dump it out.
Stephen Paul Weber created
c0d8905
Allow copying result form fields to clipboard
Stephen Paul Weber created
d963e8c
If we get send a form of type submit or cancel, ignore it
These don't make any sense to send to us, but in practise biboumi does and expects us to ignore it.
Stephen Paul Weber created
d087141
Default action if there are none
Spec says that actions must be specified if there are any. In practise, at least biboumi violates this and sends back no actions at all but is in "executing" state meaning it expects a next stage. So in this case we should do something smarter than assuming we're all done. Put up a button for the execute/default action.
Stephen Paul Weber created
2932d60
Instruction spacing
Stephen Paul Weber created
977b0b4
Fix snackbar position
Stephen Paul Weber created
4f29829
Hide pager when there are no commands
And really hide it, even swipe should not work to get to the blank page
Stephen Paul Weber created
bf4e741
Only setup the command pager when not already set up
Otherwise it gets confused and blanks itself out.
Stephen Paul Weber created
8c706c9
Use radio buttons + EditText for list-single + open
Stephen Paul Weber created
a026647
Use radio buttons when there is no existing value
Stephen Paul Weber created
63e14cd
Fix NPE
Stephen Paul Weber created
240735a
Default to a spinner for list-single
Stephen Paul Weber created
2f99467
Fix two NPE
Stephen Paul Weber created
2717177
End a session that is over with nothing to say
If status is completed or canceled and there are no children, then there's nothing more to say so just remove the session.
Stephen Paul Weber created
cea8698
Show all available actions
Instead of a single "done" button, show all available actions in the footer, each in a different color (generated the same as avatar backgrounds, etc) with the action name translated if a translation is available. The pseudo-action "close" is for when a command is already completed. In this case, the execute() call will see that the session is already completed and it will be removed without actually checking the action string at all.
Stephen Paul Weber created
2a2bc81
Support boolean fields with checkboxes
Stephen Paul Weber created
1d8b94c
Clean up spacing
The RecyclerView doesn't put consistent space between our elements, so we need to make sure to but consistent bottom padding on them.
Stephen Paul Weber created
1c5a37e
Fix crash on rotation
Depending on the fragment lifecycle, onCreateView and onStart may both be called before the backend is connected, and so there will be no conversation yet. Instead, do the conversation-needing initialization here in reInit where we know we have it.
Stephen Paul Weber created
1f1d0d9
Initial datatype helpers for text fields
Stephen Paul Weber created
f668794
Add padding to the top of every command page
Stephen Paul Weber created
8434f84
Support editing text fields and submitting the form
Stephen Paul Weber created
e60d861
Support result field <desc/>
Stephen Paul Weber created
a0975ab
Render result form fields
Does not handle reported/item tables yet, or fillable forms.
Stephen Paul Weber created
1b1c1ca
If there is an OOB element that takes precedence, render it in a WebView
Stephen Paul Weber created
f04c75b
Only scroll the recyclerview if it has multiple items
Otherwise assume the single item can handle scrolling itself. Otherwise single-item view with a scrollable child breaks.
Stephen Paul Weber created
eba8c4f
Choose a child of command to actually render
The first element that we support. In this case, the first note.
Stephen Paul Weber created
d29c440
Fix NPE
Stephen Paul Weber created
3bb2b7b
Execute command and show note or error response
Stephen Paul Weber created
f903810
Return to previously selected tab when opening a conversation
If user manually selects a tab, remember that.
Stephen Paul Weber created
d805197
Default to conversation tab if there are unread messages
Stephen Paul Weber created
bcf0730
List commands when available
If a JID advertises commands, list them. This only works if the JID supports CAPS and is in our roster and we have already fetched CAPS for the resource.
Stephen Paul Weber created
4ce49c9
Merge branch 'xmpp-uri-notification'
* xmpp-uri-notification: Get XMPP URI names from bookmarks as well Show nicks for links in notifications and other message previews
Stephen Paul Weber created
2f35a79
typo
Stephen Paul Weber created
347ff2f
Merge branch 'unify-link-copying'
* unify-link-copying: Use the same mechanism for link copying and linkification
Stephen Paul Weber created
2b5f47d
Use the same mechanism for link copying and linkification
Prevents copying something different from what was linked, such as in the message "fine.gif https://example.com"
Stephen Paul Weber created
6537387
Get XMPP URI names from bookmarks as well
Stephen Paul Weber created
2ebc92d
Show nicks for links in notifications and other message previews
Stephen Paul Weber created
a12e956
threema build removes codecs and DTMF that we need
Stephen Paul Weber created
ffa334f
Remove these bogus references to "green background"
Stephen Paul Weber created
9ba7c5f
Merge tag '2.10.9'
* tag '2.10.9': (25 commits) version bump to 2.10.9 + changelog set immutable flags for backup notifications skip empty uris on attach pulled translations from transifex do not retrieve media attributes from encrypted files make launch conversation and launch tor pending intents immutable pulled translations from transifex pulled translations from transifex do not accept empty credentials as ice-restart add immutable flag to pending alarm intents add migration tutorial Fix typo try to detect if a container contains video or audio request bluetooth connect permission add permission checks to appRTCBluetoothManager bump targetSdk to 32 ignore race condition after reject from notification use threemas webrtc build (trial) upgrade okhttp remove null bytes from strings before creating sql statements in backup ...
Stephen Paul Weber created
9fdbd64
Update recommendations for Gajim (#4355)
Two of the recommended plugins got merged in 1.4, and don’t exist any longer, and when using flatpak the plugins must be installed that way.
linkmauve created
fd2deb1
Long-press context menu on list of conversations
For easy access to basics like pin to top or disable notifications
Stephen Paul Weber created