Commit Graph

365 Commits

Author SHA1 Message Date
Jamie Cameron
2d11eb85f7 German translation updates from Raymond Vetter 2018-02-01 21:27:10 -08:00
Jamie Cameron
4f73acc28c Merge pull request #773 from qooob/master
Add support for forcing encoding using file comment '-*- coding: encoding -*-'
2018-01-16 09:18:33 -08:00
Ilia Rostovtsev
2e79e3dbe6 Fix regex to match only first 3 lines instance; vim support 2018-01-16 13:47:12 +03:00
Ilia Rostovtsev
6d6abb7347 Add support for forcing encoding using file comment '-*- coding: encoding -*-' 2018-01-15 12:49:14 +03:00
Jamie Cameron
c46bca807d Merge pull request #757 from gnadelwartz/patch-1
fix longdesc / longdecsc_de
2018-01-07 09:37:37 -07:00
Kay Marquardt
355039594b filemin needs no config-syno-linux 2018-01-07 12:28:42 +01:00
Kay Marquardt
ef535a0c8f fix longdesc / longdecsc_de 2018-01-07 12:26:24 +01:00
Gnadelwartz
1173d63b04 add OS syno-linux and config-syno-linux files 2017-12-27 13:46:20 +00:00
Jamie Cameron
20ba1a9a81 Format and escaping cleanup 2017-12-21 23:18:32 -08:00
Jamie Cameron
12e8c0c362 Fix incorrect count of allowed paths https://github.com/Real-Gecko/Filemin/issues/87 2017-12-06 20:18:24 -08:00
yangfl
0f9fb77369 Fix typo 2017-11-08 16:43:37 +08:00
Ilia Rostovtsev
e74ebab11c Keep titles consistent with base config.cgi output 2017-10-30 10:39:54 +03:00
Jamie Cameron
74f08d7649 Merge pull request #669 from qooob/patch-22
Add missing prefix
2017-10-25 20:29:15 -07:00
Ilia Rostovtsev
93b208adb6 Add missing prefix
Ref: https://github.com/qooob/authentic-theme/issues/868
2017-10-25 11:38:06 +03:00
Ilia Rostovtsev
67b528ff7a Add missing webprefix
Ref: https://github.com/qooob/authentic-theme/issues/868
2017-10-25 11:37:12 +03:00
Jamie Cameron
96c462ac0d Catalan update 2017-09-04 13:14:33 -07:00
Jamie Cameron
298ecd16dc Fix incorrect function https://sourceforge.net/p/webadmin/bugs/4997/ 2017-07-20 21:55:52 -07:00
Jamie Cameron
7ee6a0e54d Add missing comma https://sourceforge.net/p/webadmin/bugs/4993/ 2017-07-08 08:57:10 -07:00
Jamie Cameron
6365b6bdcd German translation updates from Raymond Vetter 2017-06-01 23:16:52 -07:00
Jamie Cameron
f6320c27e2 Merge pull request #563 from qooob/patch-17
`en.UTF8` -> `en` for the upcoming 1.841 to satisfy compiler
2017-06-01 14:49:06 -04:00
Jamie Cameron
7b272988e8 Add missed error message 2017-05-31 22:28:14 -07:00
Jamie Cameron
2ee32e71cf Code cleanups 2017-05-31 18:52:38 -07:00
Jamie Cameron
5b0606c9fc Set correct ownership on compressed files 2017-05-31 15:05:20 -07:00
Jamie Cameron
06752583db Add some missing escaping 2017-05-31 14:43:10 -07:00
Jamie Cameron
0d1f01d511 Upload new files with correct ownership, and fix some formatting errors 2017-05-31 14:29:28 -07:00
Jamie Cameron
f93251569b Clean up code, and set correct owner on downloaded files 2017-05-30 21:56:39 -07:00
Jamie Cameron
40db0575f6 Create new files with same ownership as parent (and add some missing escaping) 2017-05-29 16:16:14 -07:00
Jamie Cameron
1a99e197dc Create new dirs with same ownership as parent 2017-05-29 16:07:03 -07:00
Jamie Cameron
01b0a01f90 Catalan updates from Jaume Badiella 2017-05-18 21:07:26 -07:00
Jamie Cameron
8ca3de3c28 Use safe write function, and simplify error handling 2017-05-16 23:16:46 -07:00
Jamie Cameron
817244241a Filename needs escaping 2017-05-16 23:11:36 -07:00
Ilia Rostovtsev
de2a5e9ff2 en.UTF8 -> en for the upcoming 1.841 to satisfy compiler 2017-05-16 18:19:07 +03:00
Jamie Cameron
ea69c0978b German translation updates from Raymond Vetter 2017-05-14 21:01:50 -07:00
Kay Marquardt
f814546239 adjust german translation 2017-05-14 15:09:54 +02:00
Kay Marquardt
191827e425 Create config.info.de.UTF-8 2017-05-14 15:08:38 +02:00
Kay Marquardt
9fef0d060b german translation 2017-05-14 15:06:06 +02:00
Kay Marquardt
acc9f93fef german translations converted from UTF-8 2017-05-14 14:03:38 +02:00
Kay Marquardt
add5d65a6b Merge branch 'patch-1' into patch-2 2017-05-12 22:54:42 +02:00
Kay Marquardt
55db94413b fix my typos 2017-05-12 22:52:51 +02:00
Kay Marquardt
f21e731422 adjust translations to autehtic-theme translations 2017-05-12 22:50:27 +02:00
Jamie Cameron
04c217c97a Prevent same allowed path being listed twice 2017-05-06 11:41:08 -07:00
Jamie Cameron
e787caf228 Fix path validation when saving files https://github.com/webmin/webmin/issues/548 2017-05-06 11:24:31 -07:00
Jamie Cameron
814cf262fe Merge pull request #547 from qooob/patch-16
Check for valid encoding
2017-05-05 10:07:39 -07:00
Ilia Rostovtsev
944b6d728c Check for valid encoding
There are cases when detected `$encoding_name` is not recognized by `decode()` subroutine leading to fatal error.
2017-05-04 15:39:09 +03:00
Ilia Rostovtsev
59b59b2e43 Let non-unicode users read files in their charset correctly + check for valid encoding
In case a user still have old, non-UTF8 setup, they still need to see files in their encoding correctly, thus without converting output to utf-8. The way it is now, breaks things.

Also, there are cases when detected `$encoding_name` is not recognized by `decode()` subroutine.
2017-05-04 15:36:42 +03:00
Jamie Cameron
77c84a7539 Handle case where encoding module is missing 2017-05-03 20:43:38 -07:00
Jamie Cameron
9716326acd Merge pull request #543 from qooob/patch-13
Make editor respect file's initial encoding: Viewer
2017-05-03 20:41:25 -07:00
Ilia Rostovtsev
85e80edf91 Make editor respect file's initial encoding: Saver
An addition to `edit_file.cgi` commit.
2017-05-02 13:26:30 +03:00
Ilia Rostovtsev
8e44c145b9 Make editor respect file's initial encoding: Viewer
This patch will make sure that user, will be able to READ files with different encodings properly and also, will be able to SAVE them without changing the initial encoding.

This awesomeness requires dependencies. However, RHEL has it installed by default but not Debian. New Webmin release should make sure to require/pull dependent packages:

For RHEL: `perl-Encode-Detect`
For Debian: `libencode-detect-perl`

P.S. We should no let user to set non-UTF8 locale anymore. All languages should be displayed unambiguously, like Google does, (Русский, svenska, Deutsche, English (United States) .. ).
2017-05-02 13:23:34 +03:00
Ilia Rostovtsev
b91a867744 For the future so user could choose encoding in file editor window
I think I did it correctly, theoretically looks good. I just don't know if `$in{'encoding'}` has to be escaped anyhow. Other than that, it seems ok, as when user passes encoding, it will tell the script to use one.
2017-05-01 20:49:17 +03:00