-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
vikunja-desktop: init at 0.24.6 #195231
base: master
Are you sure you want to change the base?
vikunja-desktop: init at 0.24.6 #195231
Conversation
Not sure about my change to the release notes, never done that before. |
4aa2554
to
98cbb52
Compare
The package is not referenced by any top-leve attribute. |
The app recognized my instance was using SSO to login, but once I click that button I get this error. Tried both |
What frontend version is that? You should be able to see that by opening the dev console in the electron shell. |
The deployment still uses 0.19.1.
The redirect url is way off. |
Let's wait until the frontend update got merged, that should fix the problem.
I'm afraid there's no way around that. The desktop app spins up a local server to serve frontend files, a redirect back from the provider has to happen there. |
Please rebase and squash the commits. |
8ee5fcf
to
e056727
Compare
e056727
to
89f8f56
Compare
Took me a little longer than I'd like to admit but it should all be correctly rebased now. |
@mweinelt I'm not sure what I need to change so that ofborg works. |
89f8f56
to
9fe285b
Compare
28f2d2f
to
aeec716
Compare
Will defer to @lilyinstarlight and @winterqt |
aeec716
to
a7cab86
Compare
I would love to see progress on this, but I have little to no clue about the problem. |
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.
I got it to build locally, but I am not satisfied with the solution of symlinking the frontend before building the app.asar
. There might be a better solution, but I don't have enough knowledge to provide one.
I would love to see progress on this and get this merged :)
On a side note, the current (25.05) release notes should probably be updated instead of the 24.11 one.
On another note, since we do have a monorepo it might be an okay to |
Thanks for your suggestions!
I like that idea, also because then we can update the desktop and server packages in one go. |
1999cf9
to
5f2d8bf
Compare
I've applied the changes and upgraded to 0.24.6. It seems to build and work fine now. Can I get another review from @lilyinstarlight, @winterqt and maybe @mweinelt or @leona-ya (since you're one of the maintainers of the Vikunja server package)? |
Starts like that: Entering my instance (https://todo.darmstadt.ccc.de/api/v1) and clicking For each click on
Edit: Okay, the display changed to this now: |
@mweinelt Looks like you didn't enable cors for your instance. If you only want to allow connections from Vikunja desktop, you need to enable at least I was able to verify that the desktop app works with the demo. |
Why does Vikunja itself not send CORS headers when accessing the API though? Edit: Can confirm accesing it works after allowing CORS, but now I'm stuck at logging into the OIDC provider using my Passkey 🤡 |
Because the API can't know in which context it is accessed. That's why each host needs to be allowed explicitly. A workaround could be to allow access from localhost by default, but that's a Vikunja issue. |
That sounds like a Vikunja issue as well, not sure if that belongs here? |
Yeah, sorry for mixing issues with our setup and reviewing/testing the app. |
Happy to take an issue in the Vikunja repo |
Description of changes
This PR adds the desktop version of Vikunja. Since it is only an electron wrapper around the frontend and the frontend is already packaged in nixos, this package reuses that.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes