Skip to content

Commit 986813f

Browse files
committed
Merge branch 'release-3.0' into 3.0/MailQueueExtension
2 parents 393d5ca + c74c54e commit 986813f

File tree

974 files changed

+47822
-7519
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

974 files changed

+47822
-7519
lines changed

.git-blame-ignore-revs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
2+
# https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt
3+
4+
74e835324fbdbc594b2e67b068e548e541a163da

.github/phpcs/SectionComments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ protected function applyFix(\SplFileInfo $file, Tokens $tokens): void
310310
while (
311311
isset($tokens[$insert_at - 1])
312312
&& (
313-
$tokens[$insert_at - 1]->isGivenKind([T_FINAL, T_READONLY])
313+
$tokens[$insert_at - 1]->isGivenKind([T_FINAL, T_READONLY, T_ABSTRACT])
314314
|| $tokens[$insert_at - 1]->isWhitespace()
315315
|| $tokens[$insert_at - 1]->isComment()
316316
)

.github/workflows/php-cs-fixer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
- name: PHP-CS-Fixer
3535
uses: docker://oskarstark/php-cs-fixer-ga
3636
with:
37-
args: --config=.php-cs-fixer.dist.php -v --dry-run --stop-on-violation --using-cache=no ${{ env.PHPCS_EXTRA_ARGS }}
37+
args: --config=.php-cs-fixer.dist.php -v --dry-run --stop-on-violation --using-cache=no --allow-risky=yes ${{ env.PHPCS_EXTRA_ARGS }}

.php-cs-fixer.dist.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@
130130
'nullable_type_declaration' => ['syntax' => 'question_mark'],
131131

132132
// Namespace notation.
133+
'native_function_invocation' => [
134+
'include' => ['@compiler_optimized'],
135+
'scope' => 'namespaced',
136+
],
133137
'no_leading_namespace_whitespace' => true,
134138

135139
// Operator.

Languages/en_US/Errors.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
$txt['delFirstPost'] = 'You are not allowed to delete the first post in a topic.<p>If you want to delete this topic, click on the Remove Topic link, or ask a moderator/administrator to do it for you.</p>';
142142
$txt['parent_error'] = 'Unable to create board!';
143143
$txt['login_cookie_error'] = 'You were unable to login. Please check your cookie settings.';
144+
$txt['func_cookie_error'] = 'This function requires cookies enabled. Please check your cookie settings.';
144145
$txt['login_ssl_required'] = 'You can only login via HTTPS';
145146
$txt['register_ssl_required'] = 'You can only register via HTTPS';
146147
$txt['incorrect_answer'] = 'Sorry, but you did not answer your question correctly. Please click back to try again, or click back twice to use the default method of obtaining your password.';

Languages/en_US/General.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@
400400
$txt['male'] = 'Male';
401401
$txt['female'] = 'Female';
402402

403-
$txt['error_invalid_characters_username'] = 'Invalid character used in Username.';
403+
$txt['error_invalid_characters_username'] = 'Invalid character used in username.';
404404

405405
$txt['welcome_guest'] = 'Welcome to <strong>{forum_name}</strong>. Please <a href="{login_url}" onclick="{onclick}">log in</a>.';
406406
$txt['welcome_guest_register'] = 'Welcome to <strong>{forum_name}</strong>. Please <a href="{login_url}" onclick="{onclick}">log in</a> or <a href="{register_url}">sign up</a>.';

Languages/en_US/Maintenance.php

Lines changed: 55 additions & 187 deletions
Large diffs are not rendered by default.

Languages/en_US/ManageMaintenance.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
$txt['error_message'] = 'Error message';
119119
$txt['error_file'] = 'File';
120120
$txt['error_line'] = 'Line';
121-
$txt['error_file_and_line'] = '{file} (Line {line, number, integer})';
121+
$txt['error_file_and_line'] = '{file} (Line {line, number, :: group-off})';
122122
$txt['clear_filter'] = 'Clear filter';
123123
$txt['remove_selection'] = 'Remove selection';
124124
$txt['remove_filtered_results'] = 'Remove all filtered results';
@@ -133,7 +133,7 @@
133133
$txt['apply_filter_of_type'] = 'Apply filter of type: {list}';
134134
$txt['backtrace_title'] = 'Backtrace information';
135135
// argument(s): error message, function, filename, line nr, filehash, Config::$scripturl
136-
$txt['backtrace_info'] = '<b>#{0, number, integer}</b>: {1}()<br>Called from <a href="{5}?action=admin;area=logs;sa=errorlog;file={4};line={3, number, integer}" onclick="return reqWin(this.href, 600, 480, false);">{2} on line {3, number, integer}</a>';
136+
$txt['backtrace_info'] = '<b>#{0, number, integer}</b>: {1}()<br>Called from <a href="{5}?action=admin;area=logs;sa=errorlog;file={4};line={3, number, :: group-off}" onclick="return reqWin(this.href, 600, 480, false);">{2} on line {3, number, :: group-off}</a>';
137137
$txt['backtrace_info_internal_function'] = '<b>#{0, number, integer}</b>: {1}()<br>Called from [internal function]';
138138

139139
$txt['errortype_all'] = 'All errors';
@@ -177,13 +177,6 @@
177177
$txt['maintain_run_now'] = 'Run task now';
178178
$txt['maintain_return'] = 'Back to Forum Maintenance';
179179

180-
$txt['maintain_backup'] = 'Backup Database';
181-
$txt['maintain_backup_info'] = 'Download a backup copy of your forum’s database in case of emergency.';
182-
$txt['maintain_backup_struct'] = 'Save the table structure.';
183-
$txt['maintain_backup_data'] = 'Save the table data (the important stuff).';
184-
$txt['maintain_backup_gz'] = 'Compress the file with gzip.';
185-
$txt['maintain_backup_save'] = 'Download';
186-
187180
$txt['maintain_old'] = 'Remove old posts';
188181
// The argument for this string is an HTML input element.
189182
$txt['maintain_old_since_days'] = 'Remove all topics not posted in for {input_number} days, which are:';

Languages/en_US/ManageSettings.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
$txt['cache_memcached_servers'] = 'Memcache/Memcached servers';
153153
$txt['cache_memcached_servers_subtext'] = 'Example: 127.0.0.1:11211,127.0.0.2';
154154

155-
$txt['loadavg_warning'] = 'Please note: the settings below are to be edited with care. Setting any of them too low may render your forum <strong>unusable</strong>! The current load average is <strong>{0, number, :: .00}</strong>';
155+
$txt['loadavg_warning'] = 'Please note: the settings below are to be edited with care. Setting any of them too low may render your forum <strong>unusable</strong>!';
156156
$txt['loadavg_enable'] = 'Enable load balancing by load averages';
157157
$txt['loadavg_auto_opt'] = 'Threshold to disabling automatic database optimization';
158158
$txt['loadavg_search'] = 'Threshold to disabling search';
@@ -163,8 +163,9 @@
163163
$txt['loadavg_bbc'] = 'Threshold to disabling BBC formatting when showing posts';
164164
$txt['loadavg_forum'] = 'Threshold to disabling the forum <strong>completely</strong>';
165165
$txt['loadavg_disabled_windows'] = 'Load balancing support is not available on Windows.';
166-
$txt['loadavg_disabled_osx'] = 'Load balancing support is not available on OS:X.';
167166
$txt['loadavg_disabled_conf'] = 'Load balancing support is disabled by your host configuration.';
167+
$txt['loadavg_current_load'] = 'The current load average is <strong>{load_average, number, :: percent}</strong>';
168+
$txt['loadavg_processors'] = 'CPU(s) detected: {cpu_count, number}';
168169

169170
$txt['setting_password_strength'] = 'Required strength for user passwords';
170171
$txt['setting_password_strength_low'] = 'Low';

Languages/en_US/Reports.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
$txt['board_perms_name_post_unapproved_replies_any'] = 'Post unapproved replies in any topic';
5959
$txt['board_perms_name_post_unapproved_replies_own'] = 'Post unapproved replies in own topic';
6060
$txt['board_perms_name_post_draft'] = 'Save drafts of posts';
61-
$txt['board_perms_name_post_autosave_draft'] = 'Automatically save drafts of posts';
6261
$txt['board_perms_name_remove_any'] = 'Remove any topic';
6362
$txt['board_perms_name_remove_own'] = 'Remove own topics';
6463
$txt['board_perms_name_report_any'] = 'Report any post';

0 commit comments

Comments
 (0)