Commit Graph

944 Commits

Author SHA1 Message Date
Jamie Cameron
cdcee0b40b Merge branch 'master' of github.com:webmin/webmin 2023-02-11 12:17:57 -08:00
iliajie
31c63b3e2a Fix to test if locale is supported 2023-02-11 14:09:17 +02:00
Jamie Cameron
3a651333a0 Make serialized variables fully eval-able 2023-02-10 22:26:43 -08:00
iliajie
c9953044f2 Fix to properly build complete date
Wednesday, February 8, 2023, 8:18 PM
星期三, 2023年2月8日 20:18
miércoles, 8 febrero 2023, 20:18
2023-02-08 20:31:30 +02:00
Jamie Cameron
579975dcc7 Merge pull request #1831 from webmin/dev/add-locales-support
Add proper locale support in Webmin and Usermin
2023-02-06 11:13:50 -08:00
iliajie
b6422024a6 Add ability to get system default locale and use it if nothing is set 2023-02-05 04:41:27 +02:00
iliajie
7c4cf83cd4 Fix locale detection with accepted language 2023-02-05 04:18:02 +02:00
iliajie
24ed688d1d Fix user language must always override accepted language 2023-02-05 04:06:09 +02:00
iliajie
19a5766762 Locale can be accepted from the browser just like language 2023-02-05 03:57:25 +02:00
iliajie
c94472f020 Fix to always use short time format for standard make_date outputs 2023-02-05 03:19:25 +02:00
iliajie
e7f1da486d Fix to never escape spaces 2023-02-05 02:37:37 +02:00
iliajie
088e3a1c19 Add support for short time format used in simplify_date 2023-02-05 02:29:56 +02:00
iliajie
ef7102f0d3 Fix regex to be case insensitive for yyyy 2023-02-05 01:53:24 +02:00
iliajie
0364c4810d Fix old style format parsing (support for mailbox formats) 2023-02-05 01:52:56 +02:00
Jamie Cameron
f46cc45c0d Don't use array if it doesn't exist 2023-02-04 15:22:56 -08:00
iliajie
2818c056e5 Fix to drop obsolete 2023-02-05 01:20:57 +02:00
iliajie
094e1792e0 Move list_locales to be accessible in global scope (for Usermin) 2023-02-05 01:04:55 +02:00
iliajie
809458e82a Add support to select locale in Change Language and Theme Webmin module 2023-02-05 00:40:10 +02:00
iliajie
4696aea22e Fix $ago_secs test 2023-02-04 12:50:41 +02:00
iliajie
21a9df8cc7 Fix to combine evals into a single statement 2023-02-04 12:49:13 +02:00
iliajie
8af2ca1fba Add support for choosing Locale from UI 2023-02-04 04:10:13 +02:00
iliajie
bf6d35f37e Add a new API for making nice dates based on user locale 2023-02-04 02:03:39 +02:00
Jamie Cameron
764e173f90 Add support for making 'remote' calls to this host as just regular calls 2023-02-01 23:17:43 -08:00
Jamie Cameron
cdcd3cec52 Use formal params 2023-01-29 23:21:30 -08:00
Jamie Cameron
13ca94043c Add support for serializing using data::dumper format, and use it in fast RPC calls where possible 2023-01-29 19:44:31 -08:00
Jamie Cameron
5cb837446f In fastrpc mode, there's no need to send the request in the initial HTTP connection 2023-01-29 18:30:16 -08:00
Jamie Cameron
689c973072 Return more useful error message 2023-01-29 18:25:43 -08:00
iliajie
faa7b57970 Fix to remove ignore errors 2023-01-18 21:57:52 +02:00
Jamie Cameron
343307f703 localhost isn't a valid hostname 2023-01-07 12:57:09 -08:00
Jamie Cameron
4ede4520e4 Merge branch 'master' of github.com:webmin/webmin 2022-11-23 21:15:28 -08:00
Jamie Cameron
61806a8799 Remove obsolete code to fix use of -f 2022-11-23 21:15:23 -08:00
iliajie
e9d58bdd42 Add API to get buffer size for file transfers 2022-11-21 21:07:00 +02:00
iliajie
f15a13bb38 Fix URL to file name conversion 2022-11-15 22:59:07 +02:00
Jamie Cameron
f698c0c548 Always check for modification when reading miniserv.conf 2022-11-12 18:25:27 -08:00
Jamie Cameron
b0c26867fe Expand hostname from /etc/hosts if needed 2022-11-06 20:45:51 -08:00
iliajie
25f01179a3 Add is_int and is_float subs 2022-10-29 18:15:39 +03:00
iliajie
87c8146698 Add parse float API 2022-10-28 22:35:57 +03:00
Jamie Cameron
c23c334eed Connection: header may be more than just upgrade 2022-10-26 09:47:27 -07:00
iliajie
9603792ab3 Fix not to test size 16e4a750b1 (r87054057) 2022-10-17 20:51:39 +03:00
iliajie
16e4a750b1 Fix a new miniserv_using_default_cert sub tests 2022-10-17 19:21:53 +03:00
Jamie Cameron
ced2b98dde Use actual cert file when comparing with the default 2022-10-16 17:23:33 -07:00
Jamie Cameron
2180c77d9a Add function to check for default cert 2022-10-16 13:27:04 -07:00
iliajie
7d24ac3841 Fix indent 2022-10-04 23:02:57 +03:00
Jamie Cameron
d400db0684 Add param to check for help file in another directory 2022-10-02 09:54:04 -07:00
iliajie
d0ed52adf7 Fix to use foreign_defined sub instead 2022-10-01 18:29:39 +03:00
iliajie
26138b82f5 Enforce SSL with HSTS header (optional) 2022-09-13 01:09:53 +03:00
iliajie
db3ade87cc Always unset HSTS when sending headers in non SSL mode
(most probably useless)
2022-09-13 00:05:50 +03:00
iliajie
8fd9b20139 Never add includeSubDomains 2022-09-13 00:04:37 +03:00
iliajie
a3ec6756ea Fix to simplify the syntax
f6c8528412 (r82621322)
2022-08-30 21:15:57 +03:00
iliajie
f6c8528412 Add ability for compare_version_numbers API use friendlier syntax 2022-08-30 20:58:07 +03:00