belohoub / ubsync Goto Github PK
View Code? Open in Web Editor NEWUBsync is the featured OwnCloud/Nextcloud data synchronization app for ubuntu-touch
License: Other
UBsync is the featured OwnCloud/Nextcloud data synchronization app for ubuntu-touch
License: Other
WebDAV currently does not provide any meaningful response to the user in case of failure.
Additionally, code review is needed.
Authentication fails when 2FA is enabled on server needs 2FA support
Currently, an account is not configured when newly added to UBsync.
It becomes configured immediately when the user does some edit action (e.g. change Account name), but the default behavior seems confusing for users - up now reported twice on Telegram.
I propose to change this default behavior - save account (automatically) to the database immediately when enabled/added.
Probably not an issue with UBsync, sorry...
I'm on a OnePlus 5T and last time I installed UT a couple of days ago UBsync was there and worked great.
I then went back to stock on this 5T, and installed UT on another 5T...
..but UBsync isn't in the onboard OpenStore app any more!
So I got UBsync from the OpenStore web page and installed it and it runs apparently OK, but the sync won't start (and I can't uninstall it either).
Again, apologies if this is nothing to do with you, but if you can help me that would be fab!
i'v noticed a lot of erros caused by ubsync, i am not sure what it was caused by, but i was not able to use app, targets were orange and accounts purple may not be relevant, ubuntu focal
output of command journalctl -e | grep UBsync-ui | awk '{$1=$2=$3="";print $0}' | sort | uniq
ubuntu-phablet aa-exec[5002]: file:///opt/click.ubuntu.com/ubsync/0.8.1/UBsync-ui/ui/AccountsPage.qml:281:9: QML Label: Cannot anchor to an item that isn't a parent or sibling.
ubuntu-phablet aa-exec[5002]: file:///opt/click.ubuntu.com/ubsync/0.8.1/UBsync-ui/ui/EditAccount.qml:103: TypeError: Value is undefined and could not be converted to an object
ubuntu-phablet aa-exec[5002]: file:///opt/click.ubuntu.com/ubsync/0.8.1/UBsync-ui/ui/EditTarget.qml:132: TypeError: Value is undefined and could not be converted to an object
ubuntu-phablet aa-exec[5002]: file:///opt/click.ubuntu.com/ubsync/0.8.1/UBsync-ui/ui/HelpPage.qml:34:5: QML Grid: Cannot specify anchors for items inside Grid. Grid will not function.
ubuntu-phablet aa-exec[5002]: file:///opt/click.ubuntu.com/ubsync/0.8.1/UBsync-ui/ui/MenuPage.qml:51:13: QML Grid: Cannot specify anchors for items inside Grid. Grid will not function.
ubuntu-phablet dbus-daemon[2876]: [session uid=32011 pid=2876] Activating service name='com.lomiri.OnlineAccounts.Manager' requested by ':1.131' (uid=32011 pid=5002 comm="/usr/lib/qt5/bin/qmlscene UBsync-ui/Main.qml" label="ubsync_UBsync_0.8.1 (enforce)")
In a closed telegram "testers" group, we discussed the intuitiveness of the used term "target".
I proposed, that the term should:
Plus a personal feeling: I would prefer a single word (we can use the full name with an adjective like "sync something", but it should be clear without the adjective as well)
The target was proposed by me,. It was inspired by Makefile targets. typical Makefile target: "updated executable"; UBsync target: "synced folders"
However, "target" is suspect not to be intuitive for new users, more intuitive terms proposed: item, directory, folder + adjectives
For now, we retained "target", but the discussion remains "open" for future releases.
In open-store app description, the reasoning should be provided at least for unconfined
List is scrollable as expected
List is scrollable but when you scroll further down, the list seems to reset to the top making it impossible to select the bottom items.
Hi,
Firstly, thank you for attempting to port the UBsync app to the arm64 version of UT.
Im having an issue when I click on 'Start' to start the service.
start: Job failed to start
qml: PopupStatusBox.qml - hide
qml: PopupStatusBox.qml - hide
QObject::startTimer: Timers cannot be started from another thread.
Im using an existing connected Nextcloud account that I use for the calendar app and Jotit cloud notes.
When I select that account for UBsync, I get the above errors in the Log Viewer.
Thanks.
Would like to suggest an enhancement request of being able to select specific files for target sync. currently have a file i wish to sync in a folder where there are lots of folders and files within. so by only being able to select the folder it syncs more than i want.
Multiline texts as this are not translatable with gettext. Only the very first line will get extracted.
So we need to either make them one line by one or have one long string that is wrapped in another way. One option is to have sentences listed in a model and get a repeater to print them similar to what I did in weather apps changelog. Not sure if that works good here too.
Also html tags are not good in translatable strings since it needs the translator to place them exactly in the same place.
This request was formulated by Danfro at Telegram:
I think it would be good for targets to show the sync interval set.
Sync interval is set per account. Maybe even make that a link to the relevant account, so the user can quickly change the intervall.
The 'target will sync' could be made ' target will sync every 1 hour'.
I'm not sure exactly how it happened but I accidentally added my whole NC to sync on my device. I was trying to add a single directory and if I remember correctly, I tried to enter the name/label multiple times. When is the sync actually added anyway? What happened to me is that a correct entry was added but also another one with empty target NC directory and I guess it treated that as the root NC directory.
This issue exists in the xenial and the focal version.
I have configured 13 targets.
As soon as the third target is "leaving" the top of the display, when scrolling down, and the finger is released, the list jumps back and displays the third target at the top.
That makes it very hard, to edit the targets in the bottom of the list. You have to be very quick in tapping it, before it jumps back to top.
When the service got started, while cellular data was active in the network-indicator, it is not possible to (manually) initiate a sync, even if WiFi got activated meanwhile.
The Owncloudsynd log:
[07.04.23 14:02] Network Connection Type: "Unknown"
[07.04.23 14:02] Mobile Data Sync: false
[07.04.23 14:02] No Sync on Mobile Data - Check User Settings - Unable to Sync```
Further testing reveals, that syncing with mobile data does not seem to work at all. Even if is allowed in settings.
In case of active mobile data (network-manager) the Network Connection Type is always "Unknown".
In case of WiFi I already spotted two different types: "Ethernet" and "WLAN".
Root folder at remote server could be accidentally selected (e.g. when network is not available). It should be disabled to prevent full cloud sync.
Optionally, root folder sync could be enabled when confirmed by user twice.
Shows the list of root folders of the remote server
No list shown. Only the text on how to add a target is shown.
This issue does not happen when editing the target again from the main page.
Also, the issue stopped happening though not sure what exactly triggered it. Last I remember is I tried to select the remote directory first before the local. After that, it worked fine until I restarted the app
Currently it fails to sync https://hosted.weblate.org/projects/ubports/ubsync/#alerts
I think
https://docs.weblate.org/en/latest/admin/continuous.html#automatically-receiving-changes-from-github and possibly
adding the
https://github.com/weblate user to the org here helps.
This bug can be reproduced on 0.7.2 when the screen is wide enough to show columns.
When you are creating new targets the left column where targets should be shown is not refreshed (left column). There are two possibilities:
This request was formulated by Danfro at Telegram:
I just had an idea how the apps name in the header could be kept:
Have two tabs. One: sync targets, second: accounts
You could even app an AdaptivePageLayout, so when you turn the phone into landscape, you get both tabs displayed, one on the left half, one on the right half of the screen.
Display last sync for targets in:
Add the support for backend autostart configuration.
Currently, the upstart script starts automatically after reboot.
User autostart ON/OFF from UI could be a good solution.
This feature will remove the confusion on how to "add new targets".
Requested multiple times on Telegram and also during the refactoring discussions prior v. 0.7.
Please add support for focal. It's such an essential app...
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.