Commit Graph

27 Commits

Author SHA1 Message Date
VictorienXP 769a6890e3
fix(nextcloud): Fix .well-known redirections (#9979)
**Description**
There is an issue with the Nextcloud Social app:
![.well-known/webfinger isn't properly set
up!](https://github.com/truecharts/charts/assets/1633366/4670d2e8-bace-4999-b22f-f370b5c27f0c)
I've looked into it and found the cause to be most likely the Nginx
configuration.
You can see here the redirection doesn't take into account any GET
parameters:

![image](https://github.com/truecharts/charts/assets/1633366/ff6217ea-c34d-495c-aeec-9a29bb6189f4)
So it will always respond `{"message":"webfinger not supported"}`.

![image](https://github.com/truecharts/charts/assets/1633366/7b21acd3-fa26-4621-92fe-a6a63ec50196)
But when I try with a non-existent `.well-known`, I can see the
redirection works as intended.

![image](https://github.com/truecharts/charts/assets/1633366/87e38144-c0e2-4f4c-b1a6-38fd0ad22d71)
So my conclusion is that these redirections needs to be removed.

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
To test if the fix is effective you need to first install the Social app
then test with your own user the url like this (replace
`nextcloud-domain` and `AccountName` with correct values):
https://nextcloud-domain/.well-known/webfinger?resource=acct:@AccountName@nextcloud-domain
(the Social app should give you the Federated Cloud ID directly so you
can use it there)
Then it should give an output different than `{"message":"webfinger not
supported"}`.
And the ".well-known/webfinger isn't properly set up!" should not
appear.

**📃 Notes:**
The last line `return 301 /index.php$request_uri;` should already cover
any redirection and works properly.

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [x] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`
2023-06-27 15:34:57 +03:00
Stavros Kois 9f450d601a
feat(nextcloud): move to stable (#9832)
**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
2023-06-22 22:29:25 +03:00
Xstar97TheNoob 545c83f253
move charts to incubator (#9131)
**Description**
Move the following apps to incubator.

```
| Chart Name        | Chart Name  | Chart Name                 |
| ----------------- | ----------- | -------------------------- |
| authentik         | darktable   | guacamole-client           |
| cloudflared       | dsmr-reader | habridge                   |
| dupeguru          | filerun     | filezilla                  |
| firefox           | flashpaper  | focalboard                 |
| gotify            | grist       | icantbelieveitsnotvaletudo |
| icinga2           | inventree   | invidious                  |
| joplin-server     | k8s-gateway | kimai                      |
| koel              | kopia       | kutt                       |
| leantime          | libreoffice | librephotos                |
| linkace           | loki        | lychee                     |
| mattermost        | mealie      | miniflux                   |
| ml-workspace      | mosquitto   | nextcloud                  |
| openkm            | openldap    | penpot                     |
| photoview         | pialert     | piaware                    |
| pidgin            | pihole      | plexanisync                |
| protonmail-bridge | pydio-cells | recipes                    |
| rtmpserver        | sdtd        | shiori                     |
| snipe-it          | statping-ng | synapse                    |
| teamspeak3        | typecho     | wbo                        |
| wger              | wireshark   | zusam                      |
| xbackbone         | youtrack    |                            |
```
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Co-authored-by: xtar97 <dev.xtar97@gmail.com>
2023-05-24 19:03:16 +02:00
Kjeld Schouten-Lebbing 13ae28704f
Update _hpb.tpl
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-11-17 11:33:44 +01:00
Kjeld Schouten-Lebbing 4d4d62b4e2
fix(nextcloud): ensure some standard migration scripts are always ran
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-11-16 22:19:58 +01:00
Kjeld Schouten-Lebbing dc26a93fb6
fix(nextcloud): multiple small fixes (#3580)
* add non-blocking hpb url addition

* fix(nextcloud): multiple small fixes

* set default phone region to US to remove useless error

* fix typo

* Update charts/stable/nextcloud/templates/_hpb.tpl

Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* Update charts/stable/nextcloud/templates/_hpb.tpl

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* set CLI url before the rest of the commands are executed

* small verbosity tweaks

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2022-08-26 15:01:18 +00:00
Stavros Kois 6c5aa110ce
feat(nextcloud): set default phone region (#3578)
* feat(nextcloud): set default phone region

* empty line
2022-08-26 15:20:40 +02:00
Stavros Kois 9905c614e5
fix(nextcloud): Add port on non-ingressed installs (#3557) 2022-08-24 18:07:25 +02:00
Stavros Kois d764319fad
chore(nextcloud): set overwrite.cli.url (#3541)
Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-08-24 17:11:49 +02:00
StevenMcElligott b02507d8a1
fix(nextcloud): Imaginary widescreen image preview fix (#3401)
* fix(Nextcloud) : Fix widescreen image in imaginary

* Update charts/stable/nextcloud/templates/_hpb.tpl

* add all extra preview providers

* disabled by default

* Make sure we always have a correct numbered array

* add GUI

Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros kois <s.kois@outlook.com>
2022-08-09 12:15:55 +02:00
Kjeld Schouten-Lebbing f984fc5c37
fix(nextcloud) fix another typo 2022-07-08 17:21:31 +02:00
Kjeld Schouten-Lebbing 66aa9eb661
fix(nextcloud): fix HPB service polling url (#3102) 2022-07-08 16:56:48 +02:00
Kjeld Schouten-Lebbing f6a77b3bad
feat(nextcloud/collabora): Add collabora as a nextcloud dependency (#3097)
* feat(nextcloud/collabora): Add collabora as a nextcloud dependency

* Turn collabora into a statefull set

* àdd collabora dependency

* app-data storage to userdata

* disable collabora for now

* also set access url (service) availability before trying to lock into the HPB
2022-07-08 15:44:55 +02:00
Kjeld Schouten-Lebbing 0e0ab4f5ae
feat(nextcloud): add Imaginary high-performance preview backend (#3086)
* feat(nextcloud): add imaginary high-performance preview backend

* reorder common a bit

* add imaginary service

* bump chart feature version

* Update charts/stable/nextcloud/values.yaml

* fix some image references

* whoops

* env

* add imaginary probes

* update FPM container

* add preview generation to cron

* make preview pregen a cronjob function
2022-07-06 21:52:15 +02:00
Kjeld Schouten-Lebbing 0a80fd487a
[Nextcloud] Split Nextcloud Containers and PVC's BREAKING CHANGE (#2949)
* Move to FPM container and add HPB support

* initial work on more security

* actually tested hpb

* add migration script

* minor questions.yaml tweaks

* remove access_url from configmap

* make the hpb url generate a tad more readable
2022-07-06 13:25:34 +02:00
Kjeld Schouten-Lebbing 5529c2a3af
refactor(charts): BREAKING CHANGE (#2836)
* Update Apps with new Common version

* Patch with the secret fixes from common

* fix amd
2022-06-07 19:41:19 +02:00
Kjeld Schouten-Lebbing 76163cdad4
feat(nextcloud): use our own redis chart (#1310)
* setup nextcloud to use our own Redis Chart

* also bump common on redis

* bymp redis

* bumps
2021-11-12 20:59:00 +01:00
kjeld Schouten-Lebbing 799baea4dc
seperate setup and post-setup to prevent double setup runs on common chart 2021-10-10 00:03:07 +02:00
kjeld Schouten-Lebbing fbb340e2d0
(chore) restructure common setup templates 2021-10-09 23:43:48 +02:00
Kjeld Schouten-Lebbing 2679fc1108
(feat) move postgresql init and password-generator to common (#1113)
* Move Postgresql initcontainer to common

* bump common

* Handle postgres password generation in common and inject into values.yaml for use in Apps

* (refactor) adapt apps using postgresql to common init and password generator

* no message
2021-10-09 19:24:45 +02:00
Kjeld Schouten-Lebbing 6910a43d35
fix: Add initcontainer to force refresh TRUSTED_DOMAINS (#930)
* reverse useless changes (+1 squashed commits)

Squashed commits:

[fc6a76660] bump version (+19 squashed commit)

Squashed commit:

[ef82c37d7] trry a more... direct... script

[feffd5fb8] try moving config injector to nextcloud container

[9f89377fd] don't create folder and leave it at that

[d00abcd3f] create dir of not exists

[2b95c9277] try more

[b28ff0f57] try yet another solution

[b5b65ac6d] try this

[744bc21af] slightly different

[d3b3ec75f] fix mistake

[8c4b311af] move to command

[43a9f0116] try one line scripting

[5e8ff9f2b] add some verbosity

[a7c13abc6] try adding extra tooling to deal with the config

[abdb26807] mode 777

[938651c7b] add subpath

[810858849] disable readonly on configmap mount

[8b5a48d65] usefilename as mountpath

[3609d1198] fix this

[99d115d97] fix: adds an override nextcloud config to force trusted_domains

* add nextcloud config
2021-09-08 22:14:48 +02:00
Kjeld Schouten-Lebbing f39c7e968f
feat: Add IPWhitelist, redirectRegex and (internal) nextcloud middlewares (#929)
* feat: Add IPWhitelist and redirectRegex middlewares to traefik

* fix: add nextcloud middlewares

* fix nextcloud cronjob
2021-09-08 15:38:31 +02:00
kjeld Schouten-Lebbing 9c7435fc13
put back nextcloud 2021-09-06 20:30:03 +02:00
kjeld Schouten-Lebbing f46fcabf04
nextcloud back to incubator 2021-09-05 00:13:15 +02:00
kjeld Schouten-Lebbing 8abcd0c8a1
Move nextcloud back to stable with clear documented warning about stability of Nextcloud itself 2021-09-04 23:03:19 +02:00
kjeld Schouten-Lebbing e1d5a61b17
Move Nextcloud to incubator 2021-08-18 14:08:38 +02:00
Kjeld Schouten-Lebbing 6b739c25ac
Add more middlewares to traefik and move nextcloud to stable (#658)
* Add more middlewares to traefik and move nextcloud to stable

* oops
2021-07-05 10:36:05 +02:00