aboutsummaryrefslogtreecommitdiff
path: root/qml
Commit message (Collapse)AuthorAgeFilesLines
* The help popup about shortcuts fits all text nowperso-rebasedMiquel Lionel2022-03-261-32/+4
| | | | | - Also, a notification is now displayed when switching to offline mode (no sounds).
* Fix notification triggering for previously clicked convosMiquel Lionel2022-02-152-1/+2
| | | | | - Also fix spacing on the right for message send by ourselves. tldr, we add a right margin in Message.qml
* Move notifications to own header fileMiquel Lionel2022-02-061-1/+1
| | | | | | | | - also make a skel for files in /usr/, useful for sounds and notifyrc - build.sh use plain simple cp -r to copy the skel. also copies the knotifications5 in the current directory for qml.qrc embedding in case the app is used on android.
* Implement notifications + "mute/unmute chat" menuMiquel Lionel2021-12-293-20/+40
| | | | | | | | | | | | | | | - Added icons: Pinned and muted chats have icons. It's from Twemoji font, I've added credits in the README.md and source code of ChatlistItem.qml. I prefer to rely on .PNG for this one because icon might not be installed or exist on the system, and we avoid the black box problem. - Modified CMakeLists: added KNotifications as a required library - Modified build.sh: I cannot comprehend how the install(FILES) function from cmake works, so I used good old install from GNU coreutils. It copies usr/ structure and needed files (.desktop and .notifyrc) for KNotifications to work. - Aesthetic changes: context menu is shorter now due to the text being state-aware. You can now also mute a chat so you won't be notified on incoming messages.
* Less clicks: focus compose pane on chat selection.Miquel Lionel2021-12-204-19/+23
| | | | | | | | | | | | | | | - Also we now use Enter to send chat, and Ctrl/Shift+Enter to add newlines. Updated the F1 help accordingly. - there was no way to refresh the message list until you clicked on the chat again, so I moved updateMessagelist() to trigger on every incoming message. We have working block mechanisms now, so it shouldn't be that much of a bother if someone spams you. - To speed up the delay between the UI displaying the message has waiting to be sent, upon sending a message, the startIo() function is now triggered.
* You can unblock people now and some small fixesMiquel Lionel2021-11-204-6/+102
| | | | | | | | | | - the chatlist is now properly updated on blocking a contact request or contact. - A small message is now displayed after blocking a contact request - A list of blocked contact can be found on the settings page, after clicking 'View blocked users' - The message timestamp is now slightly padded
* Block button on contact request works nowMiquel Lionel2021-11-111-1/+2
| | | | | - also fix the videochat invitation button appearing on the new contact request screen
* Implement sending Videochat invitationsMiquel Lionel2021-11-043-6/+23
| | | | | | - layers popping function was hard to read in main.qml, add a line - add editable videochat instance setting
* revert shortcut to action due to bugMiquel Lionel2021-11-031-26/+31
| | | | | | | | - ComposePane.qml shortcut for attaching a file or sending a message stops working once you switch accounts, so for the moment we switch to "action: Action" blocks for Button controls. I still need to figure out why the numbers of presses needed to trigger the shortcut increments each time I switch accounts.
* Clearer pin icon for pinned chats.Miquel Lionel2021-11-022-15/+7
| | | | | - We also remove the rectangle behind it. - remove useless comments in videoChatView
* Videochat message displayed, rm actions dupsMiquel Lionel2021-11-023-17/+26
| | | | | | | | - message.*, qml/Message.qml: Videochat invitation message send from the original DeltaChat app are displayed. Currently, it's best if the chat instance use http or https scheme, since it'll normally open in a browser - qml/ComposePane.qml : We made Shorcuts and actions are needed anymore, no need for duplicates - qml/main.qml: Fix shortcut help for opening Settings page, it's Shift+Tab not Shift+S.
* Add "Quit" option in sideBar menulink2xt2021-10-311-0/+5
|
* GIFs, display names on every message and morelink2xt2021-10-313-29/+100
| | | | | | | | | | | | | | | | | | | - now we can view animated gifs ! - name are displayed on top of every message type (not just text messages and audio messages) This avoids some confusion in whether a message has been sent by us or not. - we fix the warnings of NON-NOTIFYABLE properties being used by adding one Q_PROPERTY: fileReadOnly, so we can use it to get the filename and not be bothered by console warnings. - we add some variables in Message.qml because some values were repeated and made more sense to put in a readonly var (maxH and maxW). - make scrollbar visible on hover. # Conflicts: # qml/ComposePane.qml
* We add a bunch of keyboard shortcuts. F1 to show.Miquel Lionel2021-10-315-25/+186
| | | | | | - Also, the play, pause and "save attachment" button have a little emoji before them - Tooltip show for buttons with shorcuts
* "Change avatar" btn centered with avatarMiquel Lionel2021-10-311-0/+1
|
* Implement saving attachment to filesystemMiquel Lionel2021-10-271-1/+59
|
* Add video thumbnail, image viewer, video pauseMiquel Lionel2021-10-271-5/+67
| | | | | | | | | | | | | | | | | | | - Image can now be opened in the default viewer defined by the OS. Useful for cropped images. - Videos can have thumbnails now. We also resized them to be the same max width and height as pictures messages to avoid problems watching videos with absurd ratios. - Audio files can be paused now. - We got rid of the button for playing videos. You can now click on it for playing or pausing it. - You can now see any files attached to a message now. Outside the known formats displayed by kdeltachat (mp4, mp3, image files), the file name and a "Save attachment" button will be displayed. This button is not yet functional. - Filenames are now displayed in the label for attached audio, video and files. For example, a song named "naturesounds.mp3" will have "Audio - naturesounds.mp3" as the label
* qmlformatHEADmasterlink2xt2021-10-272-25/+22
|
* Add "Change avatar" button to settings pageMiquel Lionel2021-10-241-0/+26
|
* Change "Attach" button to "Detach" when file is attachedlink2xt1-2/+8
| | | | | As a side effect, this adds a visual cue that a file will be sent. There is no file preview yet, so at least some indicator is needed.
* Add Message.setFile methodlink2xt1-6/+5
| | | | | This allows setting file from JavaScript, so C++ remains a thin wrapper to Delta Chat core API. sendMessage only calls dc_send_msg, and all the attachment logic goes to the JavaScript code.
* Make attachment button functionalMiquel Lionel1-5/+16
|
* ComposePane: "attach" buttonlink2xt1-0/+27
|
* Fix QML code stylelink2xt2021-10-0211-471/+564
| | | | Mostly qmlformat, also rename root "id"s.
* Add SOCKS5 settingslink2xt2021-09-102-0/+58
|
* Place "Show full message" between the message and its statuslink2xt2021-09-101-9/+11
|
* Change SettingsPage id into `root`link2xt2021-09-101-22/+22
|
* Make ConfigurePage scrollablelink2xt2021-09-101-28/+26
|
* Make Settings page scrollablelink2xt2021-09-101-3/+1
| | | | This way all the settings are reachable on small screens.
* Start I/O after configuring or importing an accountlink2xt2021-08-281-0/+6
|
* Create event emitter only after creating an accountlink2xt2021-08-281-2/+3
| | | | Otherwise event emitter will be closed immediately
* Show account import progresslink2xt2021-08-281-0/+4
|
* Add "Show classic emails" settinglink2xt2021-08-281-0/+14
|
* Create initial account if there are no accountslink2xt2021-08-281-0/+6
|
* ConfigurePage: change id to "root"link2xt2021-08-281-18/+18
|
* Accept and reject contact requests in the compose panelink2xt2021-08-282-14/+27
|
* Add padlock and bot icons to messages, improve layoutlink2xt2021-08-281-2/+19
|
* Show message timestampslink2xt2021-08-281-2/+3
|
* AccountsPage: use AbstractListItem for accountslink2xt2021-08-221-29/+30
|
* Change the chat only on clicklink2xt2021-08-221-20/+13
| | | | Prevents switching the chat during the search.
* Move chatlist item to a separate QML filelink2xt2021-08-222-91/+119
|
* Add chatlist searchlink2xt2021-08-221-1/+8
|
* Make it possible to create contactslink2xt2021-08-151-4/+26
|
* Add avatars to New Chat pagelink2xt2021-08-151-5/+25
|
* ComposePane: move message creation to a separate functionlink2xt2021-08-071-6/+11
|
* Use `dc_send_msg` to send messageslink2xt2021-08-071-1/+6
| | | | `dc_send_text_msg` is too limited as it can only send text without attachments.
* ComposePane: set `id` to `root`link2xt2021-08-071-5/+7
|
* Restrict image width to message widthlink2xt2021-08-071-0/+1
|
* Add "delete" icon to "Delete chat" actionlink2xt2021-08-011-0/+1
|
* Add "pin" icon to "Pin chat" actionlink2xt2021-08-011-0/+1
|