24 Jul 2024 |
S1m | You're working for nextcloud on neon now ? | 08:19:47 |
Kate | no, that is still my hobby project | 08:19:59 |
Kate | but i work part-time for nextcloud gmbh for almost 2 years now | 08:20:15 |
S1m | I thought there was the possibility they funded neon too | 08:20:50 |
S1m | I should look for a simple app doing it as an example | 08:24:36 |
S1m | There is also the capabilities stuff, but IIRC, that mean having an XML parser client side | 08:25:49 |
Kate | In reply to @sim_g:matrix.org There is also the capabilities stuff, but IIRC, that mean having an XML parser client side no, all apis are also accessible via json | 08:26:19 |
S1m | with ?format=json ? | 08:28:57 |
Kate | yeah or setting the accept header to application/json | 08:29:33 |
S1m | I gave a look there and I was sure it was XML only https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-api-overview.html#capabilities-api | 08:29:42 |
Kate | that documentation is pretty old | 08:30:16 |
Kate | https://docs.nextcloud.com/server/latest/developer_manual/_static/openapi.html#/operations/core-ocs-get-capabilities | 08:30:17 |
Kate | this is generated from the source code (my work :p) | 08:30:36 |
S1m | If you could suggest them a header on the page suggesting this doc instead :) | 08:31:21 |
Kate | the problem is a bit that those pages still contain information that is not present in the generated docs | 08:31:48 |
Kate | it's only mentioned at the top of https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/index.html | 08:32:10 |
S1m | well, thanks because I didn't know | 08:33:19 |
Kate | In reply to @sim_g:matrix.org I thought there was the possibility they funded neon too sadly not, but i applied for ngi mobifree (also with unifiedpush as a major selling point) | 09:08:30 |
S1m | great ! To add webpush on nextcloud ? | 09:09:06 |
Kate | no, only neon directly | 09:09:28 |
Kate | the workaround i'm using right now is good enough, webpush support in nextcloud won't really change anything on the neon side | 09:10:06 |
S1m | We are not sure they try to "fix" this hack | 09:10:31 |
Kate | i doubt it, as long as the knowledge is not too wide spread and customers are trying to exploit it to avoid getting a support contract. anyway i should probably not talk about this too much :D | 09:11:59 |
S1m | And I will update UnifiedPush specifications soon (starting in a month). Server side, it will probably define as a RFC8030 (HTTP push) endpoint with RFC8291 (Encryption, with aes128gcm) support and should support RFC8292 (VAPID). Of course, this will be open for review. But this would mean that TTL, and Content-encoding will probably be required | 09:13:43 |
S1m | I have added translation to uppush (the nextcloud application for UnifiedPush), and translated it to french. If someone wants to add another translation, feel free to open a pull request ! | 22:40:13 |
S1m | Kate: I've added the capabilities. I wish I could check redis status there (like I've done here), any idea how I could achieve that, ie how I can get SystemConfig and IEventLogger during bootstrap ? | 22:43:14 |
25 Jul 2024 |
Kate | In reply to @sim_g:matrix.org Kate: I've added the capabilities. I wish I could check redis status there (like I've done here), any idea how I could achieve that, ie how I can get SystemConfig and IEventLogger during bootstrap ? you can just use the usual dependency injection in the class (just like you did for the admin settings) | 05:41:48 |
Kate | exposing the version of the app would also be a nice move since that allows better compatibility checks (but in the case of this app i don't think there ever was a breaking api change) | 05:42:58 |
S1m | In reply to @jld3103:matrix.org you can just use the usual dependency injection in the class (just like you did for the admin settings) It doesn't seem possible to do dep injection in the Application class | 07:23:21 |
Kate | In reply to @sim_g:matrix.org It doesn't seem possible to do dep injection in the Application class no but in the capabilities class | 07:37:20 |