Johannes Zellner
28f79cd6c9
return early if docker ps returns nothing
2024-11-05 13:05:12 +01:00
Girish Ramakrishnan
fc2786b07f
taskworker: fix programming error
2024-11-01 16:15:32 +01:00
Johannes Zellner
620ad13427
Add more changes
2024-11-01 16:03:19 +01:00
Johannes Zellner
0776442a5f
Silence deprecation warning caused by old bootstrap import
2024-10-31 10:29:37 +01:00
Girish Ramakrishnan
4a207395ca
middleground in timeout
...
DO BLR droplets still fail with 1s timeout!
2024-10-31 10:22:55 +01:00
Girish Ramakrishnan
2df983a1cf
lower timeout
2024-10-31 09:50:20 +01:00
Girish Ramakrishnan
03e17aea22
taskworker: refactor
2024-10-31 09:46:36 +01:00
Girish Ramakrishnan
aefa481c43
network: fix premature connection closures with node 20 and above
...
the happy eyeballs implementation in node is buggy. ipv4 and ipv6 connections
are made in parallel and whichever responds first is chosen. when there is no
ipv6 (immediately errors with ENETUNREACH/EHOSTUNREACH) and when ipv4 is > 250ms,
the code erroneously times out.
see also https://github.com/nodejs/node/issues/54359
reproduction for those servers:
const options = {
hostname: 'www.cloudron.io', port: 80, path: '/', method: 'HEAD',
// family: 4, // uncomment to make it work
};
const req = require('http').request(options, (res) => {
console.log('statusCode:', res.statusCode);
res.on('data', () => {}); // drain
});
req.on('socket', (socket) => console.log('Socket assigned to request', socket););
req.on('error', (e) => console.error(e));
req.end();
2024-10-31 09:38:40 +01:00
Girish Ramakrishnan
553c256d31
better debugs
2024-10-30 20:58:37 +01:00
Johannes Zellner
b6023afb29
Silence most dashboard sass deprecation warnings
2024-10-30 19:29:24 +01:00
Girish Ramakrishnan
0df1e3a47f
appstore: networkError is an aggreate error
2024-10-30 18:30:53 +01:00
Girish Ramakrishnan
78a08c5a0b
Use a real string as second argument since message can be undefined
2024-10-30 17:59:55 +01:00
Girish Ramakrishnan
55a880c9ac
Fix typo
...
14a18a42b7
2024-10-30 17:41:57 +01:00
Girish Ramakrishnan
61341b8380
boxerror: always pass second error string
2024-10-30 17:32:12 +01:00
Girish Ramakrishnan
a32b567eb1
boxerror: remove unused override
2024-10-30 15:43:53 +01:00
Johannes Zellner
25462d3290
pankow support dropdown buttons so use that in filemanager
2024-10-30 13:05:24 +01:00
Johannes Zellner
a9207b392b
Folder creation is a query arg not body param
2024-10-30 13:01:26 +01:00
Johannes Zellner
c0f3c3bd2b
dashboard: update dependencies
2024-10-30 12:28:07 +01:00
Johannes Zellner
8621fbda79
Enable refresh tokens for oidc provider
2024-10-29 16:20:53 +01:00
Johannes Zellner
84de986efd
Network mounts should only depend on systemd network-online.target now
2024-10-29 14:07:03 +01:00
Girish Ramakrishnan
0f3ab11532
Update node to 20.18.0
...
We need https://nodejs.org/dist/latest-v20.x/docs/api/cli.html#--network-family-autoselection-attempt-timeout
The happy eyeballs implementation in node is buggy - https://github.com/nodejs/node/issues/54359
2024-10-28 09:55:54 +01:00
Johannes Zellner
6b4a81e471
dashboard: bring back cache busting for old script included assets
2024-10-27 12:10:00 +01:00
Johannes Zellner
14a18a42b7
Avoid crash in externalldap if search result has no username
2024-10-22 14:49:14 +02:00
Johannes Zellner
2c28eddc2b
Fix linter errors
2024-10-22 14:40:53 +02:00
Girish Ramakrishnan
1b22ea661c
avatar: deliver .png images
...
this is required for mastodon atleast. if the oidc avatar url, returns
an svg, it crashes!
the profile pic png was created using inkspace:
inkscape -w 96 -h 96 avatar-default-symbolic.svg -o avatar-default-symbolic.png
2024-10-18 22:39:18 +02:00
Girish Ramakrishnan
efc3c7532e
Move requires to the top
2024-10-18 21:50:38 +02:00
Johannes Zellner
a3a807f22c
Ensure we stick to dark background in dark mode
2024-10-18 18:33:38 +02:00
Johannes Zellner
fac5d3c07b
Add code for cloudron-support to check and fix docker version
2024-10-17 12:41:33 +02:00
Girish Ramakrishnan
df5ba25010
shell: add explicit bash() function
2024-10-16 10:40:17 +02:00
Johannes Zellner
d66db8ca40
Use the correct new redis image
2024-10-15 22:28:52 +02:00
Johannes Zellner
0722d7ceb9
Update redis addon to set memory policy to noeviction
2024-10-15 22:07:17 +02:00
Johannes Zellner
06a23951c9
Use flexbox for sysinfo layout
2024-10-15 19:49:17 +02:00
Johannes Zellner
727d4876f5
Mobile fixes for volumes
2024-10-15 19:35:24 +02:00
Johannes Zellner
f5a43786c2
Fix mobile view for services
2024-10-15 19:24:05 +02:00
Johannes Zellner
30967af8ec
Fixup most mobile issues for eventlog
2024-10-15 19:19:16 +02:00
Johannes Zellner
ccd892708b
Hide wide summary for mail domains on mobile
2024-10-15 18:56:36 +02:00
Johannes Zellner
8cf3e38b27
Rework all section headers to deal with mobile wrapping
2024-10-15 18:46:51 +02:00
Johannes Zellner
4685f42045
fixup backups view for mobile
2024-10-15 17:50:46 +02:00
Johannes Zellner
e6232189e7
use flexbox for appstore toolbar
2024-10-15 17:47:59 +02:00
Johannes Zellner
6e12d06343
Use flexbox for profile panel instead of old boostrap grid
2024-10-15 17:27:58 +02:00
Johannes Zellner
d02b6d90cc
Update translation
2024-10-15 15:51:27 +02:00
Johannes Zellner
d10e9d7098
Fix api token list on mobile
2024-10-15 15:31:45 +02:00
Johannes Zellner
57b0cca6ab
Give headers more space on mobile
2024-10-15 15:26:10 +02:00
Johannes Zellner
fc565fd818
Give mobile navbar menu a shadow to elevate it from the content
2024-10-15 14:41:10 +02:00
Johannes Zellner
4e0c439c6f
Close navbar in mobile if item is selected
2024-10-15 13:16:50 +02:00
Johannes Zellner
39220ba408
Do not remove all card padding on mobile
2024-10-15 13:05:33 +02:00
Girish Ramakrishnan
7fbb9f9df3
remove explicit encoding
2024-10-15 12:23:32 +02:00
Girish Ramakrishnan
6c3ca9c364
shell: rework code to use shell.spawn
...
spawn gives out streams and we have more control over the stdout/stderr
buffers. otherwise, we have to provide a max buffer capture size to exec
2024-10-15 12:13:46 +02:00
Girish Ramakrishnan
7b648cddfd
shell: direct exports not needed anymore
2024-10-15 09:26:02 +02:00
Girish Ramakrishnan
a9e1d7641d
shell: make require take a tag
2024-10-14 21:08:32 +02:00