Introduces a primitive QML ListView based chat view lacking
features present in the previous web chat view, that will be added
in subsequent commits(styling, preview/media/link/file-transfer
message type support, etc.).
Gitlab: #467
Change-Id: Iedc40f6172a6cdacc48cda6f4187053fbf226713
1. Remove redundant functions in AvAdapter
2. Add CurrentDevice for video device treatment
Audio device treatment should be improved in the next
stage
3. Add QSortFilterProxyModel to all video list models and
manage them together to avoid redundant function calls
4. Video device call action should be responsive to device
change as well
Gitlab: #508
Change-Id: I3df949a08bc19042b73f033139cd6ab06925c0b6
1. Add account config QML properties and use them
in settings directly to avoid manual update
2. Rough clean up for video/audio settings
3. Remove settingsAdapter entirely and split the
responsibility
Change-Id: Icf81b91d5a3a0dd9f2a52824159cd222367b801f
First I added glib to cmake this fixed the glib.h not found error.
Then I got build errors from the missing GIO include as seen in the linked issue.
After adding the #include <gio/gio.h> the linker failed to find the gio library.
After adding the gio check to cmake all build issues were solved.
GitLab: #504
Change-Id: Iac537e10261f2e9dfa61029c4591e000851a378c
Provides observable property representations of a conversation info
structure. Is updated when the selected conversation Id changes.
This object is only exposed in this commit, and will be used in
subsequent commits to introduce a more declarative approach in the
UI code.
Change-Id: I25be0f6b82cf9341b67fbf04fdeb04bffbf8ab24
resources.qrc & src/constant/JamiResources.qml are unversioned.
Glob checks for changes to the resource dir and forces a
reconfigure.
Change-Id: Ic88e4e861b8367ba44bc0eea6c323e08310afb8b
Gitlab: #477
gen-resources.py should be used to generate resources.qrc and
JamiResources.qml. Steps to add an image resource:
- add the resource file to the appropriate path under resources/
- run gen-resources.py
- use the newly available resource
Note: only icons and images will be represented by Qml properties.
The resource file generation may be made to run during CMake
configuration in a subsequent commit.
Some unused components were also removed during the refactor.
Gitlab: #477
Change-Id: I8e7f13d465031666be2bbadd5f29f9afc94d210d
Implements a leaner avatar caching system. The avatar component
listens for uid filtering its id, which may be:
- conversation id
- account id
- contact uri
In response to the uid change, a the image source is updated with
a new image url invoking a fresh QQuickImageProvider query. With
this design, only the avatarregistry's uid mapping needs to be
updated when profiles are changed, and no longer should specific
avatar components receive manual source updates.
Gitlab: #466
Change-Id: Ie5313f5c187a0977ca51b890dd92187480a42537
1. New emoji picker by customizing emoji.js
2. New message bar ui (textarea, buttons, tooltips)
3. New pending files transfer container
4. Use MaterialToolTip for all PushButton
Change-Id: I05d0531c65c019ced42b04668a780919c8a4fac3
Minor cosmetic changes to the account combo box, search bar, filter
tabs, and smartlist.
Change-Id: Ie8173504859b325374e42f0dbb4e0ae75f3ed740
Gitlab: #373
Gitlab: #374
Gitlab: #388
This provides out-of-the-box cmake configuration for QtCreator
without having to manually specify the lrc path.
Change-Id: I3a8abbc2d0dd8062cecece166afbf09b91b52f59
Refactors audio settings to avoid list model code duplication. This code
could be greatly simplified by using string lists, however the combo-box
component design is highly dependent on QAbstractItemModel based models.
Also translates the handlebarred strings upon presentation, which is
currently used to translate the "Default" prefix for the first device
item.
Gitlab: #346
Change-Id: I5ed282d29cc4ec6a090a9cdf47b0459f0db2a99b
- correct translations (.qm) install path for cmake
- use JAMI_INSTALL_PREFIX to fetch translations
- create "share/ring/translations" inside build dir to store .qm files
Change-Id: I127cbad1d4b00a628d79e9654ed471f456a550e8
Adjust JAMI_DATA_PATH (and in turn JAMI_DATA_DIR) for snap after any
cmake 'install' command definitions that refer to it, so that the
version compiled into the package using target_compile_definitions
will have the right value for our snap package. With this particular
configuration, we don't have to check for JAMI_DATA_DIR during runtime
since it will have the right value set at build time, and the path it
points to (/snap/jami/current/...) is actually stable across updates,
so we don't have to worry about correcting the autostart desktop file
symlink after each upgrade.
Note: as the comments in CMakeLists.txt mention, it is crucial that
JAMI_DATA_PATH is only adjusted after all 'install' commands that
refer to it, because its snap-specific value isn't meant to be used
during build time as an install destination. Also, that the call to
target_compile_definitions must come after the JAMI_DATA_PATH change
described earlier.
Co-authored-by: ababi <albert.babi@savoirfairelinux.com>
Gitlab: #262
Change-Id: I07896be8195c336833bcd4a84b918276eddbe159
- avoid using fixed paths and find LRC either when globally installed or located in custom directory
- add installation rules for binaries, .desktop files, .appdata.xml, logo and doc
- add support for generating and copying runtime files (webresources and translations)
- add launcher script (client qt/gnome/kde selector)
- add uninstall support
- add missing sources (moderatorlistmodel)
- update README
Gitlab: #160, #230, #263, #264
Change-Id: I3fee77a917be038072a20c7f99b510f9a8bf65b4
- add Ubuntu 20.10 Dockerfile to build with cqfd
- set symlink to Ubuntu 20.10 Dockerfile instead of Debian 11
- fix packages on Debian Dockerfile
- add subdirectory tests and dummy_test to CMakeLists.txt
Change-Id: I13d21e2b9e53d456ec1d7a53962860912397d9c7
- add QtQuickTest, QtTest and googletest support
- create tests folder within cmake hierarchy
- avoid using wildcards in Dockerfile
Change-Id: I81661a86757f01333538908dbc81a0bafae00ab7