owncloud / richdocuments

:notebook_with_decorative_cover: Collabora Online for ownCloud
116 stars 54 forks source link

Zotero integration + refactor and bug fixes of admin/personal panel #505

Closed mrow4a closed 8 months ago

mrow4a commented 11 months ago

zotero required to add new personal panel to allow adding key. because of that I did not want to include more legacy logic, and I refactored the whole admin panel and fixed the bugs that were there.

Screenshot 2023-08-02 at 08 17 09 Screenshot 2023-08-02 at 08 17 30

in case not enabled Screenshot 2023-10-20 at 16 57 28

mrow4a commented 11 months ago

@jvillafanez most of this logic is just migrated , with few fixes for some obvious issues like button no longer displaying the section or inconsistent logic between settings or actually wrong logic for saving user settings.

mrow4a commented 11 months ago

@jnweiger would need translations in German (not sure how to organise this)

sonarcloud[bot] commented 11 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 21 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

jvillafanez commented 11 months ago

I think we'll need some additional information about what is Zotero in the admin settings. Right now, as admin, I only see a checkbox to enable the feature, but I don't know if I need to do anything after clicking the checkbox. Is it an ownCloud feature? Is it a collabora feature? Do I need to setup a 3rd party service? Each user needs to provide an API key for zotero, but this isn't explained

I'd expect a quick explanation in the admin settings (more or less a "this is what you can expect by enabling this feature") with a couple of links to further official documentation, either in the ownCloud's documentation or collabora's

mrow4a commented 11 months ago

@jvillafanez I think some docs will come from Collabora or ownCloud after we release it. Then we could update it here.

but in general, admin allows users to provide keys and then Collabora would use them

jnweiger commented 11 months ago

I'd target this for a 4.1.0 release. 4.0.0 is in RC-Phase and P2. I don't want to delay that any further. I second the questions asked by @jvillafanez, In addition, I'd like to see instructions for a test setup. Server setup / keys ... demo data ...

Transifex requires that the code is in master. After that I can take care of translations, but that is not a priority currently.

mrow4a commented 11 months ago

@jnweiger this is fine. But then I nedd to submit seperate patch for secure view. One feature (from settings) broke when I did refactor for federation. We better include that one in 4.0.0.

jnweiger commented 11 months ago

@jnweiger this is fine. But then I nedd to submit seperate patch for secure view. One feature (from settings) broke when I did refactor for federation. We better include that one in 4.0.0.

Okay. Please target that refactor fix PR to the release-4.0.0 branch.

mrow4a commented 10 months ago

lets finish and merge after release-4.0.0 is done in https://github.com/owncloud/richdocuments/issues/501

sonarcloud[bot] commented 8 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 8 Code Smells

0.0% 0.0% Coverage
9.7% 9.7% Duplication

jnweiger commented 8 months ago

German translations are at 100% currently, including zotero related strings. Praise to @EParzefall and Community translators.