Comments (24)
Hey again,
it seems the latest beta is working quite well. That's great! Thanks for all your testing efforts!
In the meantime I've added one new feature that probably everyone was waiting for: Folder support! I'm not sure yet, how stable it is exactly, but initial tests turned out to work quite well. I still have to do some more testing, and the bookmarks app needs a new endpoint for the feature as I've implemented it to work, but I'm confident we'll see the release of a new version of the bookmarks app (and floccus afterwards) quite soon-ish. 🎉
I will probably not release another beta before that, because it would be useless without the new version of the bookmarks app.
Cheers!
from floccus.
hey marcel,
great job so far.
so what about this guess of mine: why not releasing a new version of floccus just now where everything seems to be working fine?
and then come up with a new version with said new features (i'd so love floccus&bookmarks to support folders!)?
cheers
jimmy
from floccus.
v1.3.0 is out. Have fun :)
from floccus.
Update: beta2 has fixes for issues that came up in beta1. Download it here: https://github.com/marcelklehr/floccus/releases/tag/v1.3.0-beta.2
from floccus.
ummm... v1.3.0-b2 doesn't sync with nc 12.0.1 under ff 55.0.1 (32) on win 7 pro sp1 (64). still.
from floccus.
@JimmyKater could you provide logs? I added instructions on how to do that above ;)
from floccus.
Test System:
Win 10 Ent x64, Floccus v1.3.0-beta.2, NC 12.0.2
Chrome 60.0.3112.101 x64 - Sync is working
Vivaldi 1.11.917.39 x32 - Sync is not working
I dont know how to get logs from Vivaldi:(
from floccus.
Looks like Vivaldi has a different API:
I got this answer back from Vivaldi support:
There are extensions that still doesn't work well with Vivaldi especially those that interacts with bookmarks, UI and history since Vivaldi does not use the same format as Chrome does. I will look into this extension, but it would be helpful if you contact the developer and ask for Vivaldi support. We will do the same.
Seems like Vivaldi is different from the rest of the Chromium-based browsers supporting WebExtensions.
from floccus.
Nextcloud 10.0.3, Bookmarks 0.10.1, Floccus 1.3.0-beta2, Firefox 54.0.1/win7
Sync bookmarks without tags in both directions. Set tag in FF - empty field in NC, set inside NC, do not sync or change in FF.
Floccus-1.2.0 same behavior.
Will version 1.3 work with Owncloud-10 or only Nextcloud?
from floccus.
@AlexeyZonov Thank you for testing! This is expected behavior. WebExtensions don't support tags, at the moment :/
I'm afraid Owncloud will not be supported until they provide an API for manipulating the bookmarks (or until Nextcloud Bookmarks supports owncloud).
from floccus.
Until Vivaldi publishes docs for their extension APIs, it's very hard to support it. At least I couldn't find them.
from floccus.
Greetings,
I tried Flocus 1.3.0-beta2 on Nextcloud 12.0.2, Bookmarks 0.10.1 and Chrome 61.0.316.79 but could not get it to connect to my server.
In chrome's inspect view for dist/html/options.html
I see the line Fetching bookmarks Object
where the content of the object is:
password: "corect_passwd"
type: "nextcloud"
url: "https://owncloud.server.url"
username: "user"
valid: null
proto_: Object
And then the next line is the error message:
Failed to load resource: the server responded with a status of 401 (Unauthorized)
for which the url displayed on the right is:
https://owncloud.server.url/index.php/apps/bookmarks/public/rest/v2/bookmark?page=-1
In the server-side log I see the following entries:
Error PHP Undefined index: PHP_AUTH_USER at /var/www/owncloud/lib/private/AppFramework/Middleware/Security/CORSMiddlewar.php#88
Error PHP Undefined index: PHP_AUTH_PW at /var/www/owncloud/lib/private/AppFramework/Middleware/Security/CORSMiddlewar.php#89
...
Error admin_audit $params["uid"] was mising.
Error no app in co... Exception: key uid is expected to be set in $param
Warning core Login failed: '' (Remote IP: 'My.IP')
Is there any other information I can provide to help pin this down?
from floccus.
Hey Daidalos,
thank you for reporting this. At first glance it looks like there might be some config issue with your web server as PHP_AUTH_USER should be set when doing basic auth. You could try accessing the url with curl, to make sure, the problem is not connected to floccus: $ curl --basic --user "user:correct_passwd" "https://nextcloud.server.url/index.php/apps/bookmarks/public/rest/v2/bookmark?page=-1"
from floccus.
@marcelklehr Thank you for your response, it pointed me the right way: Apparently some special characters in passwords will break nextclouds basic http auth, in my case it was a '$' sign.
Now that my password is free of special characters I can report that the floccus beta2 works well on Chromium 59.0.3071.104, Chrome 61.0.3163.70 and Opera 42.0.2393.137.
On Firefox 55.0.3 however it can now connect sucessfully and create the new folder but it does not sync the bookmarks, the folder remains empty. When I click the "force sync" button I can see in the Debug Console that the fetching of bookmarks is started: Fetching bookmarks Object { ... } Nextcloud.js:72:6
but nothing happens. No error message, exceptions or the like.
Do you need any further information?
from floccus.
@D4id4los Mhh. Could you go to the network tab in the inspector before hitting "force sync"? There should be a network request to the bookmark endpoint. Try to check what happens to that request, what the response is etc. Note to self: I should have it display those error messages.
from floccus.
Note: PHP Authentication header is case-sensitive.
So "Authentication: basic" wouldn't really work. I got Exceptions in CORSMiddleware.php, because PHP_AUTH_USER and PHP_AUTH_PW isn't set. With "Authentication: Basic" (note the capital B char) Authentication works well.
Additional Note: if NC installation is in a subdirectory, the normalizeServerURL wouldn't work as expected. For example: correct url is in http://10.10.10.10/nextcloud/, the normalizeServerURL strips the subdir.
Tested with NC 11.0.5.1 (on debian8 apache2 2.4.10, php5 5.6.30), FF 52.3.0 ESR
from floccus.
Thank you for those nice catches @silence87! Fixed in beta 3 :)
from floccus.
The beta 3 *crx file is actually the one from 1.2.0. Please upload the right one. ;)
from floccus.
My bad. Fixed.
from floccus.
Beta 4 Beta 5 is out, now. Updated the initial post to reflect this.
from floccus.
@JimmyKater I guess that makes sense, yes. I'll have to untangle some commits, then :)
from floccus.
It would be great to have a new version even though there is no folder support yet. Which issue/PR for folder support is there in the Bookmarks app repository? Is there any activity on that side at the moment?
from floccus.
@e-alfred see my recent comment in #5
from floccus.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from floccus.
Related Issues (20)
- HTTP-only server URLs not accepted? HOT 1
- Android App Stuck on Splash Screen HOT 8
- This profile will be synced soon. We're either waiting for other devices of yours, or other profiles on this device, to finish syncing. HOT 2
- [Self-signed certificate; v5.x] E017: Network error HOT 7
- SYNOLOGY NAS - E019: HTTP status 405. Failed PUT request HOT 2
- Google drive authentication HOT 2
- floccus starts to a blank screen and never recovers HOT 11
- Doesn't work on kiwi android. HOT 2
- Android: Request a setting to open the view in any one of my folders HOT 1
- Bookmarks destroyed, backups can't be loaded HOT 7
- Android app never gets past splash screen HOT 4
- Android: Assign and change a nickname to each probile HOT 2
- E017: Network error: Check your network connection and your account details Last synchronized HOT 11
- WebDAV lock not removed after 30 min; icon doesn't indicate a problem HOT 5
- Syncing failed with E029 multiple Chrome profiles HOT 1
- Cannot request origin permission for *://*/* since it was not declared in the manifest HOT 11
- Please adapt to Firefox for Android HOT 2
- Support for js and file links for Nextcloud bookmarks HOT 3
- Instant sync option for local changes HOT 2
- The folder is located at the bottom and the new bookmarks are misplaced HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from floccus.