8336 Commits

Author SHA1 Message Date
Mario
9daecfbb46 Merge branch 'default-homepage-template' into 'dev'
Move default home page to template

See merge request hubzilla/core!2294
2026-06-17 06:09:38 +00:00
Mario
2e1a04f6e3 remove unneeded browser plugin and add propfind_depth_infinity option 2026-06-16 11:45:29 +00:00
Harald Eilertsen
9f0fc77ac6 Move default home page to template 2026-06-15 18:59:24 +02:00
Mario
b8683f73ce Merge branch 'sec-hardening-authorize' into 'dev'
Hardening of Authorize module

See merge request hubzilla/core!2292
2026-06-11 08:10:56 +00:00
Harald Eilertsen
4dbcbbb1af Add CSRF token to Authorize module
Issue........: https://framagit.org/hubzilla/core/-/work_items/1987
2026-06-10 20:57:56 +02:00
PepeCyB
8af931a4b9 Update German register email template 2026-06-10 14:59:10 +02:00
Harald Eilertsen
b80cb0adad Fix registration email verification email template
The email template used for verifying the email on new account
registration is wrong in several translations, including British
English.

Clicking any of the links in the emails produced results in a blank page
with no information or helpful error to the poor person trying to
register with a hub.

This patch updates the translated templates to correspond to the (US)
English main template. Translators should revisit the templates to
translate the english texts to the corresponding templates language
where necessary.

Issue........: https://framagit.org/hubzilla/core/-/work_items/1989
2026-06-10 12:47:31 +02:00
Harald Eilertsen
b5f7e55c2b Escape input params in Authorize module
Issue........: https://framagit.org/hubzilla/core/-/work_items/1987
2026-06-08 21:40:19 +02:00
Mario
1876762216 Merge branch 'fix-duration-template' into 'dev'
Fix min/max fields in duration template

See merge request hubzilla/core!2288
2026-06-05 19:23:27 +00:00
Mario
492e8df555 Merge branch 'pt-translate-fix' into 'dev'
Fix errors in po files

See merge request hubzilla/core!2287
2026-06-05 19:22:37 +00:00
Harald Eilertsen
5a77f23186 Fix min/max fields in duration template
If the min or max value for the number input was 0, it would be
interpreted as not set, and thus no limit applied.

Project......: Improve Superblock Addon
Sponsored-by.: NLnet NGI0 Commons Fund
2026-05-22 17:06:52 +02:00
Harald Eilertsen
6b605fecb0 Drop EOL whitespace fron field_duraction template
Project......: Improve Superblock Addon
Sponsored-by.: NLnet NGI0 Commons Fund
2026-05-22 17:06:52 +02:00
Harald Eilertsen
320019fca3 Fix invalid plural in ru translation 2026-05-19 15:43:17 +02:00
Harald Eilertsen
78f2bb46f9 Fix extra plurals in spanish translation 2026-05-19 11:32:14 +02:00
Harald Eilertsen
88c1cda002 Fix po file for pt-br translation 2026-05-18 22:38:44 +02:00
Harald Eilertsen
47c902a5ea Misc PHPStan fixes
Mainly variables that could possibly be referenced without being
defined.
2026-05-09 23:25:02 +02:00
Mario
782765e377 move mention- and hashtag symbols inside the anchor tag 2026-04-15 07:37:15 +00:00
Mario
e2dbf0a785 it probably makes sense to link the system status label to /admin 2026-03-30 19:24:06 +00:00
Mario
ce24b86841 fix fatal error in italian hstrings.php 2026-03-14 10:29:48 +00:00
Mario
e89eb04427 Merge branch 'dev' into sys_stat_fixes 2026-03-02 08:59:45 +00:00
Mario
ae0e82ee3a wait for domn content loaded 2026-03-02 08:48:14 +00:00
Mario
9ea5d20a3d use JS listener instead of jquery 2026-03-02 08:45:42 +00:00
Mario
fd69008484 this probably should not be const but keep it non global anyway 2026-03-02 08:05:31 +00:00
Mario
3256aa8be9 only poll perfstats if the widget id actually visible (the widget is mostly hidden when viewing content in HQ) 2026-03-02 07:34:43 +00:00
Mario
dc03263bef Merge branch 'system-status-activity-widget' into 'dev'
Add system status activity widget to HQ for admins

See merge request hubzilla/core!2266
2026-03-01 18:42:54 +00:00
Harald Eilertsen
1897cd0b1b Make system status widget a bit more snappy
Fetch the initial data when the widget loads, and then update every five
sec after that. Also better indication of uninitialized values.

Project......: Performance Profiling
Sponsored-by.: NLnet NGI0 Commons Fund
2026-03-01 11:47:39 +01:00
Harald Eilertsen
ba24958b37 Remove some debug logging in system status widget
Project......: Performance Profiling
Sponsored-by.: NLnet NGI0 Commons Fund
2026-03-01 11:38:07 +01:00
Harald Eilertsen
52a2a0d89a Pass loadavg as array from Perfstats
There's no reason we should format the data into a string in the
Perfstats module. Let the recipient do what they want with it instead.

As an example, we reduce the precision of the loadavg stats in the
system status widget. 3 digits precision should be more than enough for
this type of status display.

Project......: Performance Profiling
Sponsored-by.: NLnet NGI0 Commons Fund
2026-03-01 11:34:28 +01:00
Harald Eilertsen
91944da69e Report queries/sec in system status widget
The total number of queries is not that interesting for performance
measurements, so let's do queries pr/second instead. Adds a timestamp
column to the dataset, which could be useful for other purposes as well
(like making a graph over time etc.)

Project......: Performance Profiling
Sponsored-by.: NLnet NGI0 Commons Fund
2026-03-01 11:16:05 +01:00
Harald Eilertsen
3d3580b23f Validate requests to perfstats
Make some stricter rules for accessing the perfstats module. We only
want to respond to GET request for json data made by a site admin.

This means we also need to pass along the credentials in the request.
Didn't immediately figure out how to do that using `z_fetch_url`, so we
just fall back to using the JavaScript to populate the widget. This
makes it idle for about 5 sec before it gets the first data sample.

I think that's probably OK.

Project......: Performance Profiling
Sponsored-by.: NLnet NGI0 Commons Fund
2026-02-23 21:21:09 +01:00
Harald Eilertsen
04d44c9965 Remove link from system status widget title
At least for now, there's no sensible link target, so it's better to not
link anywhere.

Project......: Performance Profiling
Sponsored-by.: NLnet NGI0 Commons Fund
2026-02-23 21:21:09 +01:00
Harald Eilertsen
492533729d Human labels for system status widget
Project......: Performance Profiling
Sponsored-by.: NLnet NGI0 Commons Fund
2026-02-23 21:21:09 +01:00
Harald Eilertsen
283b606c09 Update system status activity widget periodically
Adds a bit of javascript that requests the performance stats every 5
seconds.

Project......: Performance Profiling
Sponsored-by.: NLnet NGI0 Commons Fund
2026-02-23 21:21:09 +01:00
Harald Eilertsen
a2ee5705f4 Add System Status panel to HQ for admins
Project......: Performance Profiling
Sponsored-by.: NLnet NGI0 Commons Fund
2026-02-23 20:15:58 +01:00
SK
25218fea43 move manage channel alert to tpl
allows a way to customize appearance of html for channel manager alerts
2026-02-15 06:42:35 +05:30
Mario
c907e569f1 fix wrong var after refactor 2026-02-14 10:41:52 +00:00
Mario
31b5cfe7ef if the event timezone is different from the channel timezone, display the timezone we have adjusted to instead of the actual event timezone. Otherwise we might create UX confusion about if the displayed time is already timezone adjusted or not. 2026-02-13 08:50:25 +00:00
Mario Vavti
2d97f8fa25 fix wrong icon class 2026-01-29 16:45:27 +01:00
Mario
5cb4db0353 Merge branch 'dev-send_reg_approval' into 'dev'
(Re?)enable email to user after account approval

See merge request hubzilla/core!2263
2026-01-29 10:45:25 +00:00
Mario
dc43cd9a85 Merge branch 'dev-fix-approve-email' into 'dev'
Add new send_reg_approval_email_from_register function

See merge request hubzilla/core!2262
2026-01-29 10:42:21 +00:00
ltning
bd63af69b2 (Re?)enable email to user after account approval
Existing function account_allow() does not seem to be used a whole
lot, and certainly not when approving a registration request.

Created new function send_reg_confirmation_email_from_register
(going for longest-function-name-in-Hubzilla) which attempts to
send such a confirmation email, and also a new email template.

Plugged this into the create_account_from_register function.

Open question: Should the sending of this email be among the success
criteria for the create_account_from_register function?
2026-01-28 02:51:46 +00:00
ltning
e5d4358d61 Clean up send_reg_approval_email_from_register, new email template
Since there is no easy way to produce direct links to approve/reject
registrations, create new email template which simply links to the
Accounts admin page.

In response to comments:
 - Add type annotations
 - Simplify some 'if' statements
 - add and fix some whitespace
 - simplify input arguments to the function
2026-01-27 16:32:16 +00:00
SK
a0cb5fcb3f move html from search module to tpl 2026-01-22 15:26:20 +05:30
SK
225c83dfbe move html from accesslist module to tpl 2026-01-19 14:00:39 +05:30
Saiwal K
8b46767d30 move channel-activities header to its tpl 2026-01-17 11:44:54 +00:00
Mario Vavti
3130a94a4c bump redbasic min/max version 2026-01-16 10:27:54 +01:00
Mario
7dcaebf281 Merge branch 'italian-translation' into 'dev'
Italian translation

See merge request hubzilla/core!2253
2026-01-15 10:53:04 +00:00
SK
ea07bd1693 move html from bookmarks module to its tpl 2026-01-15 02:15:26 +05:30
prealpinux
724ee7dbab Italian translation 2026-01-06 22:40:30 +01:00
Mario Vavti
7675ed0145 add (not exactly correct -> see fixme) mime types for docx and xlsx 2026-01-05 12:14:01 +01:00