Commit Graph

49 Commits (ccf5f8b1de64fd6ca9010cb22f93f294c76592b1)

Author SHA1 Message Date
Evilham ccf5f8b1de [NC] Add FORCED_LANGUAGE setting
This has been requested by schools.
2023-04-12 10:02:09 +00:00
Evilham ce61cfffbe [NC] Enable video previews as requested by schools 2023-04-12 10:01:49 +00:00
Evilham e16a537f53 [NC] Disable ownpad app as requested by schools 2023-04-12 10:01:31 +00:00
Evilham 7c8390370b cherry-pick 7196db9c conflicts solved 2023-04-12 10:00:04 +00:00
Evilham e401b47c84 cherry-pick 010a04bf conflicts solved 2023-04-12 09:55:37 +00:00
Evilham b7400afc7b [NC] Enable video previews as requested by schools 2023-04-12 09:43:58 +00:00
Evilham 2f7cde952a [NC] Disable ownpad app as requested by schools 2023-04-12 09:43:42 +00:00
Evilham b97071c722 [NC] Upgrade to Nextcloud 25.0.4
This still uses a fork of nextcloud/forms and reenables that plugin.

Since version 25 of Nextcloud uses the 2.X line of the nextcloud/mail
plugin, which already includes our patches, we can get rid of them to
easen future maintenance.
2023-04-12 09:43:16 +00:00
Evilham 1087c5c513 [NC] Rework image to self-configure as opposed to using dd-ctl
By managing volumes in a better fashion and using code that is closer
to being idempotent, while being declarative, we achieve an image that
is closer to the original one, but gets the plugins that we want and
the configuration that we want for integration with DD.

Closes #9. This image now allows for BBB_HOST and BBB_API_SECRET as
variables in dd.conf, which also configure the corresponding plugin on
Nextcloud.

This is a necessary update-step towards NC25, and temporarily disables
the forms plugin.
2023-04-12 09:42:41 +00:00
elena ff78c2f489 Revert "new feature: display user name on user menu header"
This reverts commit 006add66c4.
2023-04-12 09:36:04 +00:00
elena 9280979392 Revert "displayed nextcloud user menu like moodle and wp applications"
This reverts commit 5d5ef2f884.
2023-04-12 09:35:58 +00:00
elena 2cb1541d2e Revert "displayed nextcloud user menu like moodle and wp applications - not for admins!"
This reverts commit 6db2b8c60f.
2023-04-12 09:35:43 +00:00
elena 44d4353640 Merge branch 'main' into feature/nextcloud_menu_settings 2023-03-22 10:54:34 +00:00
elena 6db2b8c60f displayed nextcloud user menu like moodle and wp applications - not for admins! 2023-03-08 11:53:01 +00:00
elena 5d5ef2f884 displayed nextcloud user menu like moodle and wp applications 2023-03-08 11:32:57 +00:00
elena 006add66c4 new feature: display user name on user menu header 2023-03-08 08:47:23 +00:00
Evilham 76328fccc8
[NC] [mail] patch minor version update
We still need this for NC 24
2023-03-02 12:22:36 +01:00
Evilham 65b90724bd
[NC] Upgrade to Nextcloud 24.0.10
This is the latest Nextcloud 24 version as of 2023-02-28.
2023-02-28 08:37:10 +01:00
Evilham a72001dea5
[docker] Cleanup environment files
By having the environment explicit on each service, we both document
the settings and have more control over what each service is allowed
to see.

This avoids weird things like nginx having access to postgresql's
credentials on its environment.

As a bonus: we are able to use one single environment file, which is
basically dd.conf with some values that are dynamically-calculated and
added from dd-ctl.
2023-01-20 11:40:03 +01:00
Evilham affbbde9d3
[NC] Reduce upstream diff and improve env vars
By keeping the dfif against upstream we can follow them easier over
time.

And by having env vars explicit, we can get rid of the auxiliary env
files.
2023-01-20 11:40:03 +01:00
Evilham f4a3d38384
[NC] Update mail plugin patch for NC 24
This is still not on release line supporting NC 24 line (v1.15.1) and
having an older appinfo may be producing issues.
2023-01-12 11:45:51 +01:00
Roger Garcia f55e830e2c
Upgrade NC to version 24.0.8 2022-12-24 20:02:46 +01:00
Roger Garcia 57c87d7172
Upgrade NC to version 23.0.11 2022-12-24 19:29:52 +01:00
Roger Garcia cbb4e06e89
Upgrade NC to version 22.2.10 2022-12-24 17:09:02 +01:00
Roger Garcia db4a6d14e9
Added new parameter IMG_NEXTCLOUD_OVERRIDE defaulting to nextcloud.yaml 2022-12-24 16:14:13 +01:00
elena 5a7269d437 fixed: to hide element with data-action=onlyofficeDocxf is required important on css style 2022-12-02 10:22:01 +00:00
Evilham 8f5de8af6a
[network] Fix handling of forwarded headers
This fixes several issues where services would see the internal IP of
the proxy and not that of the client.

It works by first unsetting any proxy-related headers that arrive from
the internet, then setting those as seen by HAProxy's entrypoint
frontend.
And finally making sure that neither WAF when enabled nor other
HAProxy backends touch these headers, while they are actually used by
the final services.

Services affected:	Netcloud, Keycloak, Moodle
2022-12-02 06:49:56 +01:00
Roger Garcia 4de82fc041
Conditionally enable/disable ClamAV 2022-11-24 21:54:17 +01:00
Roger Garcia fcfd5265a1
Added clamav image and configuration 2022-11-24 16:35:09 +01:00
Manuel Caballero 8a71165817
fix config.php file permissions 2022-11-24 10:01:36 +01:00
elena b26ceba71a hide element icon-onlyoffice-new-docxf_element from menu by css using data-action 2022-11-24 08:43:06 +00:00
elena 56c8537b98 Nextcloud - hide element: Nueva plantilla de formulario 2022-11-23 15:12:38 +00:00
Evilham 75e314ff7e
[NC] Remove jQuery dependency for theme's navbar.js
It wasn't really necessary and could lead to the whole megamenu not
being loaded under certain circumstances.
2022-11-13 10:03:47 +01:00
Evilham 559a90fba9
[mail] Refactor queue for easier maintenance, use name
We thought the name parameter was the account name to be shown in the
plugin, but it is the contents of the "From" email header instead.

While changing that, we also update the code to better match the open
Pull Request upstream that adds the update-account to the mail plugin
for nextcloud.
2022-10-17 19:06:59 +02:00
elena 3102b3c1f4 conflicts resolved 2022-09-26 07:37:39 +00:00
Evilham fdc3d74958
[saml] Rework SAML handling
This separates stages more efficiently, and we are e.g. able to
support newer versions of Nextcloud's SAML plugin.
2022-09-23 19:14:02 +02:00
Evilham 8cbff5b8c6
[saml] Rework SAML handling
This separates stages more efficiently, and we are e.g. able to
support newer versions of Nextcloud's SAML plugin.
2022-09-23 08:39:40 +02:00
Evilham ede83e1514
[moodle] Reduce unnecessary diff against upstream 2022-09-23 06:52:33 +02:00
Evilham 3c53a5aead
[wp] Fix multisite installation
While there we also simplify DD by removing an the unnecessary wp-cli
container.
2022-09-22 12:40:31 +02:00
Evilham 7d7c2ddfcf
[containers] Add healthcheck for SSO redirections
This will help us catch issues in e.g. moodle, nextcloud and wp.
2022-09-22 11:52:15 +02:00
Evilham 075529f472
[haproxy] Remove leftovers, fix config selection
dd-apps/docker/haproxy seems to be a leftover and is not being used
anywhere.

Also fix the config selection for HAProxy.
2022-08-30 22:17:57 +02:00
Evilham 7bcb222d18
[nc] user_saml: update to 5.0.2
We checked this works fine in multiple environments.

Reviewed with:	@elena61
2022-08-05 11:58:00 +02:00
elena 2830f8da46 Nextcloud - fix js line comments 2022-08-03 11:25:40 +02:00
elena 7392aeb0f2 Nextcloud fix theme name 2022-08-03 11:09:52 +02:00
Evilham d26df2779e
[nc] Add temporary queue processing from admin
This should run scripts every minute and delete them on correct execution.
2022-08-03 08:15:14 +02:00
Evilham df29999e62
[sso-admin] Generate script for NC mail accounts
This must be executed from cron on dd-apps-nextcloud-app.
2022-08-01 14:32:51 +02:00
Evilham 74b209b55b
[dd-ctl] [nc] Add patches while they land upstream
See: https://github.com/nextcloud/mail/pull/6908
2022-07-30 23:05:51 +02:00
Evilham 66c2544a71
[net] Add environment variable for MTU
This enables proper function in certain setups where MTU is lower than
the default (1500).

Closes #1

Reported by:	@palaueb
2022-07-18 19:17:44 +02:00
Evilham 78b0254ba0
DD education workspace
DD is the education workspace generated within the framework of Xnet's
Democratic Digitalisation Plan. It has been created and powered by Xnet,
families and promoting centres, IsardVDI, 3iPunt, MaadiX, eXO.cat,
Evilham and funded by the Directorate for Democratic Innovation, the
Barcelona City Council's Digital Innovation Commissioner, Social Economy
Commissioner, in collaboration with the Barcelona Education Consortium,
aFFaC and AirVPN.

DD can be used freely as long as this footer is included and the AGPLv3
license (https://www.gnu.org/licenses/agpl-3.0.en.html) is respected.

Trobareu meś informació en català a la documentació:
[https://dd.digitalitzacio-democratica.xnet-x.net/docs/index.ca/](https://dd.digitalitzacio-democratica.xnet-x.net/docs/index.ca/).

Más información en castellano en la documentación:
[https://dd.digitalitzacio-democratica.xnet-x.net/docs/index.es/](https://dd.digitalitzacio-democratica.xnet-x.net/docs/index.es/).

More info in English in the documentation:
[https://dd.digitalitzacio-democratica.xnet-x.net/docs/](https://dd.digitalitzacio-democratica.xnet-x.net/docs/).

We thank the help of Miriam Carles, Cristian Ruiz, Anna Francàs,
Christopher Millard.
2022-07-10 12:15:47 +02:00