damko / freedommarks-browser-webextension

A cross-browser webextension for Nextcloud Bookmarks
https://addons.mozilla.org/en-US/firefox/addon/freedommarks/
GNU General Public License v2.0
106 stars 15 forks source link

Extension does not work anymore with NC Bookmarks 3.x #24

Open apiraino opened 4 years ago

apiraino commented 4 years ago

The extension does not work anymore since a couple of days (I'm using FF 77.0b1 now), but I think the NC Bookmarks recently changed their API, they have a couple of issues around :-)

I receive a "Bad Request" error when trying to save a new bookmark. I suspect related to this other issue

DOM fully loaded and parsed FreedomMarks.js:7:23
function: CurrentBrowserTab FreedomMarks.js:165:23
function: fillForm FreedomMarks.js:182:23
url: https://neo-layout.org/index_en.html FreedomMarks.js:183:23
Object { server_url: "https://mycloud", username: "username", password: "xxx`", bookmark_main_tab: true, search_main_tab: false }
FreedomMarks.js:19:27
bookmark tab is supposed to have focus FreedomMarks.js:35:31
function: saveBookmark FreedomMarks.js:266:23
endpoint: https://mycloud/index.php/apps/bookmarks/public/rest/v2/bookmark FreedomMarks.js:270:23
bookmarkurl: https://neo-layout.org/index_en.html FreedomMarks.js:275:23
Tags array: FreedomMarks.js:160:24
ajax error FreedomMarks.js:308:21
Status: error FreedomMarks.js:309:21
Error: Bad request FreedomMarks.js:310:21
lizardb0y commented 3 years ago

There were API breaking changes from Nextcloud Bookmarks 2.x to 3.x listed in the Bookmarks documentation.