-
Notifications
You must be signed in to change notification settings - Fork 263
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
Add Outline #2651
Add Outline #2651
Conversation
Important Auto Review SkippedReview was skipped due to path filters Files ignored due to path filters (2)
WalkthroughThe changes involve integrating the Outline Wiki application with an OIDC server for authentication. Nginx is set up as a reverse proxy to serve the Outline Wiki and the OIDC Server. Furthermore, a detailed description of the Outline application is included, highlighting its collaborative features and competitive positioning in the knowledge base domain. Changes
Assessment against linked issues
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 4
Configuration used: CodeRabbit UI
Files ignored due to path filters (3)
apps/outline/config.json
is excluded by:!**/*.json
apps/outline/docker-compose.yml
is excluded by:!**/*.yml
apps/outline/metadata/logo.jpg
is excluded by:!**/*.jpg
Files selected for processing (3)
- apps/outline/data/nginx/default.conf (1 hunks)
- apps/outline/data/oidc-config.json.template (1 hunks)
- apps/outline/metadata/description.md (1 hunks)
Additional comments: 1
apps/outline/data/oidc-config.json.template (1)
- 19-19: Ensure that the
{{APP_DOMAIN}}
placeholder in the_redirect_uris
field is correctly replaced with the actual application domain during deployment. Incorrect or missing domain information can lead to authentication failures.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 1
Configuration used: CodeRabbit UI
Files ignored due to path filters (1)
apps/outline/config.json
is excluded by:!**/*.json
Files selected for processing (2)
- apps/outline/data/nginx/default.conf (1 hunks)
- apps/outline/metadata/description.md (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- apps/outline/data/nginx/default.conf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @hex-developer,
Nice app, left you some comments for some small issues, not preventing the use of the app but with them its easier for us to better understand/maintain the compose and config files.
Forgot to persist storage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (2)
apps/outline/config.json
is excluded by:!**/*.json
apps/outline/docker-compose.yml
is excluded by:!**/*.yml
Files selected for processing (2)
- apps/outline/data/oidc-config.json.template (1 hunks)
- apps/outline/metadata/description.md (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- apps/outline/data/oidc-config.json.template
Additional comments: 3
apps/outline/metadata/description.md (3)
- 2-2: The description "A fast, collaborative, knowledge base for your team built using React and Node.js." is clear and concise. However, the static analysis tool flagged a possible spelling mistake related to the image tag, which is a false positive in this context. The usage of the image tag is correct for Markdown syntax, so no action is needed here.
- 5-5: The phrase "Outline is a full-featured knowledge base and is a great alternative to Notion, Obsidian and other similar apps." is effective in positioning Outline. However, the static analysis tool suggested replacing "and" with "that" or "which" to strengthen the wording. In this context, the original wording is appropriate as it conveys the intended meaning clearly. The suggestion to replace "and" might not apply well here since the sentence structure does not warrant such replacements for clarity or grammatical correctness.
- 1-13: Overall, the
description.md
file provides a comprehensive and engaging summary of Outline Wiki. It effectively highlights the key features and advantages of using Outline as a knowledge base tool. The inclusion of an image is a good practice for visual appeal, and the concise list of features makes it easy for readers to understand the value proposition of Outline. The link to the official website is also a helpful addition for users seeking more information.
GG @hex-developer this was a long time requested app |
@meienberger will test today and merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hex-developer just a small bug.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (1)
apps/outline/docker-compose.yml
is excluded by:!**/*.yml
Files selected for processing (1)
- apps/outline/data/nginx/default.conf (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- apps/outline/data/nginx/default.conf
@hex-developer here you go:
|
The environment looks fine, so if there's a problem it's probably WSL. Can you please test on a server running Linux? |
Huh weird, I will set up a VM and test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (2)
apps/outline/config.json
is excluded by:!**/*.json
apps/outline/docker-compose.yml
is excluded by:!**/*.yml
Files selected for processing (1)
- apps/outline/data/nginx/default.conf (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- apps/outline/data/nginx/default.conf
@hex-developer tested on an ubuntu 23 VM and still the same problem. Also I noticed you added a |
I agree it shouldn't be there. Feel free to convert this PR into a draft until I fix the authentication errors. |
I've updated the app and have had no problems on both my Tipi instances. Please test again. |
Everything is working fine except the logout button. Can we make this work? |
Outline cannot be configured for this yet, because it tries to log out with a GET request. The OIDC provider currently used only supports POST requests for logout, but there is an open issue for this feature (juanifioren/django-oidc-provider#416). When (and if) the functionality is added, I will add a logout feature. I could also try writing a custom route for that in the OIDC provider if you think it is really needed. |
Its fine for now but it would be nice if you could push an update as soon as possible. I will merge for now as this is not limiting the functionality of the app. |
Closes #8, #1519, #2205
Summary by CodeRabbit