Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

private/juliushaertl/cool settings iframe 2 #4446

Closed
wants to merge 33 commits into from

Conversation

juliusknorr
Copy link
Member

  • Initial cool admin setting iframe setup
  • WIP auth
  • Temp: Auth handling stuff
  • WIP: wopi setting upload
  • Created an AppData-based directory for system settings and user settings
  • Create a Settings controller API endpoint for handling AppData-based directories
  • Temporary Commit: Created a temporary UI to validate the functionality of user and system settings.
  • Change the admin settings iframe URL to adminIntegratorSettings.
  • WOPI: Update the wopi setting upload route to accept a file and store it to system-settings dir
  • add delete button and create wopi/setting route to handle wopi file request
  • Manage setting configs files with dynamic routes
  • Code cleanup: Remove POC helper functions
  • Send WOPI setting base URL to integrator
  • fix: fetch config url
  • wopi: add delete setting file route
  • refactor: token generation for iframe
  • feat(user-settings): introduce iframe for user settings
  • fix: linting issue for CI
  • fix: generate token for user shared config url
  • fix: accept document and setting url token for file upload
  • fix: set proper WOPI response and remove unnecessary WOPI callback from iframe
  • fix(settings): remove iframe title and section
  • fix(settings): fetch directory from root folder
  • fix(wopi): share SharedSettings to wopi checkfileInfo
  • fix(wopi): Generating setting token for guest users
  • fix(settings): generate user config per userId & handle guest users
  • fix: composer psalm error via pointing correct folder
  • fix: code cleanups
  • fix: move admin setting iframe below server-config
  • refactor: some code cleanups
  • config: support hasSettingIframeSupport capability
  • fix: Avoid warning on file id explode
  • ci: Keep separate assets for cypress
  • Resolves: #
  • Target version: main

Summary

TODO

  • ...

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Documentation (manuals or wiki) has been updated or is not required

Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
…directories

Signed-off-by: codewithvk <vivek.javiya@collabora.com>
…y of user and system settings.

Note: We will delete this commit/code after the entire prototype is ready. Reviewers can ignore this commit during the review process.
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
TODO: We should try to centralize the path everywhere so that a change in one place updates it everywhere!
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
… it to system-settings dir

Signed-off-by: codewithvk <vivek.javiya@collabora.com>
…equest

Signed-off-by: codewithvk <vivek.javiya@collabora.com>
- Implement dynamic routing for settings files, enabling URLs structured as /settings/{type}/{category}/{filename}.
- Support various setting types (e.g. userconfigs, sharedconfigs) and categories (e.g. autotext, wordbook) so that multiple files can be stored for each category.
- Ensure proper URL parsing and directory handling for uploading and retrieving files via the WOPI interface.

Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
…om iframe

Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
codewithvk and others added 3 commits February 5, 2025 16:49
Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Signed-off-by: Julius Knorr <jus@bitgrid.net>
@codewithvk
Copy link
Collaborator

We already merged the main PR - closing this now.

@codewithvk codewithvk closed this Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants