From 66e5c33b0071298b3692105725b7b195cec90e30 Mon Sep 17 00:00:00 2001 From: LubuWest Date: Thu, 28 Oct 2021 21:56:00 +0200 Subject: [PATCH] v0.6.3 Dark Mode --- CHANGELOG.md | 12 +- README.md | 262 ++++++------ source-android/android/AndroidManifest.xml | 2 +- source-android/qml/friendiqa.qml | 31 +- source-linux/application.qrc | 2 + source-linux/common/filesystem.cpp | 52 +++ source-linux/common/filesystem.h | 9 + source-linux/common/filesystemandroid.cpp | 45 ++ source-linux/common/friendiqa.cpp | 5 + .../images/de.ma-nic.Friendiqa.desktop | 2 +- source-linux/js/newsworker.js | 45 +- source-linux/js/service.js | 4 +- source-linux/qml/calendarqml/CalendarDay.qml | 3 +- source-linux/qml/calendarqml/CalendarTab.qml | 5 +- source-linux/qml/calendarqml/EventList.qml | 3 +- .../qml/calendarqml/EventListItem.qml | 6 +- source-linux/qml/configqml/AccountPage.qml | 203 ++++++--- .../qml/configqml/ConfigAppearancePage.qml | 220 ++++++++++ source-linux/qml/configqml/ConfigPage.qml | 174 +++----- .../qml/configqml/ConfigStartPage.qml | 82 ++++ source-linux/qml/configqml/InfoBox.qml | 4 +- source-linux/qml/configqml/SyncComponent.qml | 3 +- source-linux/qml/configqml/SyncConfig.qml | 34 +- .../qml/contactqml/FriendsListTab.qml | 8 +- source-linux/qml/contactqml/FriendsTab.qml | 3 +- .../qml/contactqml/GroupComponent.qml | 19 +- .../qml/contactqml/ProfileComponent.qml | 11 +- source-linux/qml/friendiqa.qml | 51 ++- source-linux/qml/genericqml/BlueButton.qml | 3 +- .../qml/genericqml/ContactComponent.qml | 11 +- .../qml/genericqml/ImagePickerLinux.qml | 2 + .../qml/genericqml/LeftDrawerLinux.qml | 4 +- source-linux/qml/genericqml/MButton.qml | 5 +- .../qml/genericqml/PermissionDialog.qml | 32 +- source-linux/qml/genericqml/Search.qml | 49 +-- source-linux/qml/newsqml/ContactPage.qml | 29 +- .../qml/newsqml/FriendicaActivities.qml | 79 ++-- source-linux/qml/newsqml/Hashtag.qml | 10 +- source-linux/qml/newsqml/MessageSend.qml | 7 +- source-linux/qml/newsqml/MoreComments.qml | 3 +- source-linux/qml/newsqml/NewsImage.qml | 4 +- source-linux/qml/newsqml/NewsPhotolist.qml | 27 +- source-linux/qml/newsqml/NewsStack.qml | 13 +- source-linux/qml/newsqml/NewsVideoLarge.qml | 28 +- source-linux/qml/newsqml/Newsitem.qml | 64 +-- source-linux/qml/newsqml/SmileyDialog.qml | 8 +- .../qml/photoqml/ImageUploadDialog.qml | 12 +- source-linux/qml/photoqml/PhotoTab.qml | 7 +- source-linux/translations/friendiqa-de.qm | Bin 16506 -> 17002 bytes source-linux/translations/friendiqa-de.ts | 285 +++---------- source-linux/translations/friendiqa-es.qm | Bin 16422 -> 16934 bytes source-linux/translations/friendiqa-es.ts | 390 ++++++++++-------- source-linux/translations/friendiqa-hu.qm | Bin 16273 -> 16803 bytes source-linux/translations/friendiqa-hu.ts | 390 ++++++++++-------- source-linux/translations/friendiqa-it.qm | Bin 16314 -> 16838 bytes source-linux/translations/friendiqa-it.ts | 390 ++++++++++-------- 56 files changed, 1869 insertions(+), 1283 deletions(-) create mode 100644 source-linux/qml/configqml/ConfigAppearancePage.qml create mode 100644 source-linux/qml/configqml/ConfigStartPage.qml diff --git a/CHANGELOG.md b/CHANGELOG.md index b74dda5..f390b9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,24 @@ +## v0.6.3 + +* Dark theme +* Account Page: list of largest servers for server field +* Settings page: Tabs for different settings +* Conversation opens on short click on news item +* Linux: Option to Autostart on System start + ## v0.6.2 + * Follow and Unfollow contacts (Friendica 2021.07 required) * Linux: App stays in systemtray after close, syncs in background * bugfix for bulk image upload and download of public images * bugfix for conversations in timeline ## v0.6.1 + * Add requestLegacyExternalStorage in AndroidManifest for attachment permissions * Refresh timeline on start for Linux -* DropArea bugfix for Flatpak +* DropArea bugfix for Flatpak ## v0.6 diff --git a/README.md b/README.md index 52f037d..9cd1126 100644 --- a/README.md +++ b/README.md @@ -1,128 +1,134 @@ -## Friendiqa ## - -QML based client for the Friendica Social Network. - Tabs for news (incl. Direct Messages), friends, photos and events. - OS: currently Linux and Android (4.3 Jelly Bean, 5.1 for background sync). - Source code is a QtCreator project. - -## Screenshots ## - -![Newstab](Screenshots/NewsTab.jpg) -![Friendstab](Screenshots/FriendsTab.jpg) -![Photostab](Screenshots/PhotoTab.jpg) -![Eventstab](Screenshots/EventsTab.jpg) -![Configtab](Screenshots/ConfigTab.jpg) - - -## Features ## - -# News # -Currently supported: -* Shows Posts from friends, replies, Direct Messages and notifications (in swipe view), selected group, replies, favorited messages, public timeline -* Background sync with configurable interval of 15 min to 2h for active user for friends timeline, replies and DMs (Android 5.1 required) -* Android notifications or Dbus notification (Linux) for new items in friends timeline, replies and DMs -* Search for news -* Click on hashtag in newsitem starts search for news with that word -* Only first photo attachment in post is shown, click for more images and fullscreen image -* Click on video or youtube video shows video fullscreen -* For news containing urls ending with mp3, mp4, avi, webm, ogg or to a Peertube instance: media can be played in the app -* Open links in external browser -* Click on contact photo for contact details and last news -* Click on like text for additional contact info -* Deletion, Reposting, Answering of Posts -* Expand truncated news items -* Liking, disliking, favoriting -* Attending for event posts -* Update fetches new posts (up to last 50) since last in local DB -* More shows older posts from local DB -* Create new Message with images or direct messages, Contact/Group access rights (can be stored), smileys -* Send image from Android gallery -* Send text or urls from other apps to Friendiqa -* Native Android image dialog - -ToDo: -* Videos and other binary data as attachment (sending, not supported in API) -* More than one attachment -* Attachments for Direct messages (currently not supported in API) - - -# Friends # -Currently supported: -* Tabs for own profiles, friends, other contacts and groups -* Show profile(s) of user and change profile picture -* List of all known contacts with locally downloaded pictures -* Follow or unfoolow contacts -* Show follow requests; approve, deny, ignore requests -* Additional information, last messages and other functionality shown in news tab -* Show public and private pictures of contact (screenscraping of contact's website, works only with certain theme) -* Show public and private events of contact -* Show members of groups -* Open website of contact or connect page (for other contacts) -* Clean other contacts with no news - -ToDo: -* More information for contact from description page, possibly private information for friends - (needs API change) -* Groups: create, change, delete - (needs API change) - - -# Images # -Currently supported: -* Download public own images to local directory -* Upload public picture to album with descriptions, send from gallery -* Delete own pictures and albums on client and server -* Change name or album of existing picture -* Show albums in grid, show images in album in grid and fullscreen -* Show public albums and images of contacts -* Pinch to zoom, swipe to scroll - -ToDo: -* Upload private images - - -# Events # -Currently supported: -* Show own events -* Show public events of Friendica contacts -* List view of events of selected date -* Click on event to show details - -ToDo -* Create events (needs API) - - -# Config/Accounts # -Currently supported: -* Multiple accounts -* View mode for news (tree or timeline) -* Maximum news (deleted after use of Quit button) -* Sync home timeline, replies, DM, Events, friend requests; Notify yes/no -* Hide #nsfw - -ToDo -* OAuth? - - -# Other # -* on Linux: App stays in systemtray and syncs in background - -ToDo -* Video tab -* Translation -* Blingbling - - -# Translations # -* German, Spanish, Italian, Hungarian -* To contribute translations: Have a look at linux-sources/translations/friendiqa-de.ts and open it with an editor. It's an xml file. Change values and send me the file to thomasschmidt45 at gmx.net / do pull request. - -# Install # -* F-Droid binary repository: [https://www.ma-nic.de/fdroid/repo](https://www.ma-nic.de/fdroid/repo) or for those who get the "error getting index file" from F-Droid client due to outdated crypto libraries the url without encryption: [http://www.ma-nic.de/fdroid/repo](http://www.ma-nic.de/fdroid/repo) To include repo in Fdroid: Open config --> package sources --> plus symbol --> paste url -* [Google Playstore](https://play.google.com/store/apps/details?id=org.qtproject.friendiqa) -* Arch User Repository: [https://aur.archlinux.org/packages/friendiqa/](https://aur.archlinux.org/packages/friendiqa/) -* Flatpak: [https://friendiqa.ma-nic.de/friendiqa.flatpakref](https://friendiqa.ma-nic.de/friendiqa.flatpakref) - -## License ## -Pubished under the [GPL v3](http://gplv3.fsf.org) with the exception of the Openssl library, which is published under OpenSSL License. - +## Friendiqa + +QML based client for the Friendica Social Network. Tabs for news (incl. Direct Messages), friends, photos and events. OS: currently Linux and Android (4.3 Jelly Bean, 5.1 for background sync). Source code is a QtCreator project. + +## Screenshots + +![Newstab](Screenshots/NewsTab.jpg) ![Friendstab](Screenshots/FriendsTab.jpg) ![Photostab](Screenshots/PhotoTab.jpg) ![Eventstab](Screenshots/EventsTab.jpg) ![Configtab](Screenshots/ConfigTab.jpg) + +## Features + +# News + +Currently supported: + +* Shows Posts from friends, replies, Direct Messages and notifications (in swipe view), selected group, replies, favorited messages, public timeline +* Background sync with configurable interval of 15 min to 2h for active user for friends timeline, replies and DMs (Android 5.1 required) +* Android notifications or Dbus notification (Linux) for new items in friends timeline, replies and DMs +* Search for news +* Click on hashtag in newsitem starts search for news with that word +* Only first photo attachment in post is shown, click for more images and fullscreen image +* Click on video or youtube video shows video fullscreen +* For news containing urls ending with mp3, mp4, avi, webm, ogg or to a Peertube instance: media can be played in the app +* Open links in external browser +* Click on contact photo for contact details and last news +* Click on like text for additional contact info +* Click on post text opens conversation +* Deletion, Reposting, Answering of Posts +* Expand truncated news items +* Liking, disliking, favoriting +* Attending for event posts +* Update fetches new posts (up to last 50) since last in local DB +* More shows older posts from local DB +* Create new Message with images or direct messages, Contact/Group access rights (can be stored), smileys +* Send image from Android gallery +* Send text or urls from other apps to Friendiqa +* Native Android image dialog + +ToDo: + +* Videos and other binary data as attachment (sending, not supported in API) +* More than one attachment +* Attachments for Direct messages (currently not supported in API) + +# Friends + +Currently supported: + +* Tabs for own profiles, friends, other contacts and groups +* Show profile(s) of user and change profile picture +* List of all known contacts with locally downloaded pictures +* Follow or unfoolow contacts +* Show follow requests; approve, deny, ignore requests +* Additional information, last messages and other functionality shown in news tab +* Show public and private pictures of contact (screenscraping of contact's website, works only with certain theme) +* Show public and private events of contact +* Show members of groups +* Open website of contact or connect page (for other contacts) +* Clean other contacts with no news + +ToDo: + +* More information for contact from description page, possibly private information for friends (needs API change) +* Groups: create, change, delete (needs API change) + +# Images + +Currently supported: + +* Download public own images to local directory +* Upload public picture to album with descriptions, send from gallery +* Delete own pictures and albums on client and server +* Change name or album of existing picture +* Show albums in grid, show images in album in grid and fullscreen +* Show public albums and images of contacts +* Pinch to zoom, swipe to scroll + +ToDo: + +* Upload private images + +# Events + +Currently supported: + +* Show own events +* Show public events of Friendica contacts +* List view of events of selected date +* Click on event to show details + +ToDo + +* Create events (needs API) + +# Config/Accounts + +Currently supported: + +* Multiple accounts +* Dark Mode +* View mode for news (conversation tree or timeline) +* Maximum news (deleted after use of Quit button) +* Sync home timeline, replies, DM, Events, friend requests; Notify yes/no +* Hide #nsfw + +ToDo + +* OAuth? + +# Other + +* on Linux: App stays in systemtray and syncs in background +* Autostart minimized in systray possible + +ToDo + +* Video tab +* Translation +* Blingbling + +# Translations + +* German, Spanish, Italian, Hungarian +* To contribute translations: Have a look at linux-sources/translations/friendiqa-de.ts and open it with an editor. It's an xml file. Change values and send me the file to thomasschmidt45 at gmx.net / do pull request. + +# Install + +* F-Droid binary repository: or for those who get the "error getting index file" from F-Droid client due to outdated crypto libraries the url without encryption: To include repo in Fdroid: Open config --> package sources --> plus symbol --> paste url +* [Google Playstore](https://play.google.com/store/apps/details?id=org.qtproject.friendiqa) +* Arch User Repository: +* Flatpak: + +## License + +Pubished under the [GPL v3](http://gplv3.fsf.org) with the exception of the Openssl library, which is published under OpenSSL License. diff --git a/source-android/android/AndroidManifest.xml b/source-android/android/AndroidManifest.xml index a2cca92..ad2452f 100644 --- a/source-android/android/AndroidManifest.xml +++ b/source-android/android/AndroidManifest.xml @@ -1,5 +1,5 @@ - +