Ralf Becker
e4e725b5bc
removed ancient "mark untranslated strings with *" site configuration, as it is unnecessary and breaks links-stream-wrapper and WebDAV
2013-07-25 12:18:43 +00:00
Klaus Leithoff
00234be893
* Tracker: fix bug regarding the save of replys that could be regarded as empty (only span with style, no content)
2013-05-08 09:58:30 +00:00
Klaus Leithoff
6025705549
rework of link to text functionality when converting HTML to Text
2013-04-25 14:36:27 +00:00
Ralf Becker
95d9dc084f
* ImportExport: do NOT complain about wrong charset, if text contains only standard ascii chars
2013-03-01 09:52:10 +00:00
Klaus Leithoff
a56a64c277
do not try to break out of egw server root when iterating over all apps
2013-02-26 15:54:26 +00:00
Klaus Leithoff
d695929880
use monospace fontstyle for plaintext edit; preserve whitespace (horizontal AND vertical) if mail is plaintext (not containing any html)
2013-02-22 10:59:31 +00:00
Ralf Becker
4be1ca297b
ignore . and .., as it gives an open_basedir warning, it is no application directory anyway
2013-02-21 06:32:51 +00:00
Klaus Leithoff
43c555a66e
remove CR from start and end of lang string line read from file, as it breaks stuff e.g. in eMail module
2012-12-12 10:19:06 +00:00
Klaus Leithoff
11fb8b40dd
* API/Translation: fix bug with missing german umlauts as first letter of words; ( as php5.3.3 with squeeze does not support splitting lines with fgetcsv while reading properly if the first letter after the delimiter is a german umlaut (UTF8 representation thereoff))
2012-12-12 09:44:12 +00:00
Klaus Leithoff
28bf96d79a
for replaceTagsCompletely modify the prex for singeltons (as we are in Ungreedy mode, so we expect * to be ungreedy without specifying ?)
2012-12-04 14:20:44 +00:00
Ralf Becker
cf5361d925
fixed not load translations if depending on multiple files and maintaining load_via in tree-wide cache
2012-11-16 09:18:44 +00:00
Ralf Becker
64f31a0fdc
* Setup/API: translations are no longer installed in database, but loaded directly from lang-files into tree-level cache
...
also backported:
- r40748: loading all translations in one go from cachem, saving some latency
- r36329: config is now cached on instance level, arrays in $GLOBALS[egw_info][server] are now automatically serialized and unserialized
2012-11-15 19:12:15 +00:00
Klaus Leithoff
08ba7c2827
mailheader-decoding: check if there is a possible nested encoding; make sure that the inputstring and the decoded result are different before recursively calling decodeMailHeader on the decoded result (to avoid loops)
2012-11-07 11:47:48 +00:00
Klaus Leithoff
96eea7c331
introduce detect_encoding functionality as a static function (used in decodeMailHeader as of now)
2012-10-24 10:56:08 +00:00
Klaus Leithoff
883e501480
add rarely used charset mswin1252; seems to be a variation of windows-1252
2012-08-01 14:54:23 +00:00
Klaus Leithoff
8abb10c5ed
when converting HTML 2 Text remove style,head and comment style browser-switch
2012-06-04 14:54:08 +00:00
Ralf Becker
30f8a711e3
* API: support windows-1256 via iconv and prefer iconv for windows-1252 too
2012-06-04 11:58:44 +00:00
Klaus Leithoff
33633cd7a5
attempt of switching from htmlpurifier to htmLawed and replacing kses by htmLawed calls; this is done for performance and resource considerations; still the common call in egw is by html::purify, but htmLawed is doing the work now. let me know if there are issues regarding; if we cannot find issues within EGroupware, we will clean out the related sourcecode of kses and htmlpurifier with the next step
2012-05-30 14:47:03 +00:00
Ralf Becker
0f42a2f916
fixes for PHP 5.4 warnings and strict warnings, thought disabled E_STRICT for now, because of various strict warnings in working code, which could not be easy fixed in all areas (see comment in phpgwapi/inc/functions.inc.php)
2012-05-16 12:39:52 +00:00
Ralf Becker
820df063ef
* Admin/Setup: fixed custom translations got lost during update
2012-02-27 08:03:30 +00:00
Ralf Becker
22034c81e4
quietening permanent error_log
2011-11-30 09:38:18 +00:00
Ralf Becker
973d6b71a0
fixed racecondition in caching translations for installs with multiple instances:
...
do NOT use automatic callback to cache result, as installing languages in setup can create a racecondition, therefore only cache existing non-instance-specific translations, never cache nothing found === array(), instance-specific translations can and should always be cached!
2011-11-30 09:20:54 +00:00
Ralf Becker
f2d7c5c6c3
* Custom / instance-specific translations, eg. to rename an application
2011-11-17 12:43:59 +00:00
Ralf Becker
a48104bfd7
in case no charset is set, default to utf-8, as otherwise setting charset in sqlfs_stream_wrapper can stall install
2011-11-10 10:24:37 +00:00
Klaus Leithoff
bda5e014d7
* tracker: mailhandling - prevent to use rsh or ssh to establish connection
2011-08-18 14:49:16 +00:00
Ralf Becker
31c9e8965b
fixed creating of new translations / give [Write] button file not yet existing (permissions given)
2011-08-04 07:27:23 +00:00
Klaus Leithoff
9f3a3f0424
fix bug regarding left over tags after converting HTML2Text
2011-05-11 10:39:55 +00:00
Klaus Leithoff
76980e665c
HTML2Text: reduce CR/LF groups of more than 2 to a sequence of 2 CR/LF
2011-05-10 15:32:44 +00:00
Klaus Leithoff
98122085f7
fixing a problem of swallowed whitespace while converting html to text
2011-05-05 08:59:54 +00:00
Ralf Becker
0db7258a7b
quietened permanent eror_log
2011-04-09 10:02:40 +00:00
Ralf Becker
5f2252819a
* Setup: fixed not working deinstall of languages
2011-04-09 09:45:41 +00:00
Klaus Leithoff
ea97a9671b
fix for Stylite Ticket#8044 -Message on loginscreen and home doesent have a default lang fallback as all other egroupware translations
2010-10-05 08:30:50 +00:00
Klaus Leithoff
02c6955326
convertHTML2Text: handling of chars that break further processing of converted Data (e.g.: Mail to Infolog)
2010-09-15 08:39:07 +00:00
Klaus Leithoff
5153a61a63
preserving ampersands while converting html to text; improving linebreak behavior; switching off WordWrapn (by setting it to 0) in phpmailer, as we handle our linebreaking on our own
2010-09-09 10:19:23 +00:00
Klaus Leithoff
a2919ecd3b
improve convertHTMLToText, for toggle editor and mail2infolog process; better control of insert Signature at Top. Only insert the signature, when the compose window is opened the first time (compose/reply/forward), dont do it if sending failes, and the compose window is refreshed (in general when mySigID is set)
2010-08-31 14:23:58 +00:00
Ralf Becker
7acd58f2f4
using egw_db->capabilities[egw_db::CASE_INSENSITIVE_LIKE]
2010-06-22 16:54:47 +00:00
Klaus Leithoff
82cb36ff3a
some additional stuff to improve mailheader decoding
2010-06-07 14:31:59 +00:00
Ralf Becker
6799864392
fixed wrong language in notifications
2010-05-20 19:32:52 +00:00
Ralf Becker
55d6c7ca00
"prefer iconv for windows-874 and tis-620 (Thai) charsets, as they are not supported by mbstring"
2010-05-11 15:38:39 +00:00
Klaus Leithoff
bac107ac84
fix for missing CRLF after emailreplace/cleaning of/for emailaddresses
2010-05-06 11:16:57 +00:00
Klaus Leithoff
0075e7f4cd
attempt to improve the parsing/cleaning of html messages.
2010-01-19 13:29:16 +00:00
Klaus Leithoff
b48c4f51fc
improving the display by toggling the editor mode; improving import of html mails after flaw in rev28758
2009-12-16 10:57:37 +00:00
Klaus Leithoff
493789cec5
extend some debug infos in egw_sessions; add a 4th param to replaceTagsCompletley in translation class; prepare some more htmlpurifier stuff in order to use it for the activation of links; wrap the creation of the htmlpurifier default config in a function, to be used as config object for changes when about to be used with html::purify
2009-12-02 14:56:41 +00:00
Ralf Becker
f2e52e1478
fixed sometimes not translatable phrases longer 128 chars, problem was a trim() after truncating the message to 128 chars
2009-11-28 16:20:21 +00:00
Ralf Becker
ef67ed41e3
commiting fix again, please update before your commit, to NOT overwrite other peoples commits
2009-11-28 11:40:10 +00:00
Oscar Manuel Gómez Senovilla
2d678b8966
Missing file for the patch for moving the lang files in previous rev
2009-11-28 11:34:40 +00:00
Ralf Becker
d47bb7dd88
fixed replacement of multiple placeholders
2009-11-28 11:30:53 +00:00
Klaus Leithoff
57ce5a4c4c
handling parameter-replacements in translation class
2009-11-27 13:16:20 +00:00
Klaus Leithoff
d4b0e572a1
some more documentation, some improvement in convertHTMLToText and replaceEmailAdresses
2009-11-18 10:38:15 +00:00
Ralf Becker
df8217ff61
"fix to cope with $vars[0] containing '%2' in lang() calls"
2009-10-19 07:41:03 +00:00