Ralf Becker
f676a23821
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-03-04 13:33:10 +00:00
Nathan Gray
dc6da791f4
Add placeholder [links|attachments|links_attachments]/link to get a download url for attachments
2012-02-28 00:23:41 +00:00
Nathan Gray
058553b8d9
- Fix last[-1] comments
...
- Show custom notification / signature checkboxes for all queues too
- Handle message / signature as HTML, not text
- When merging HTML, keep the same tags as OO.o & word documents
2012-02-27 21:34:34 +00:00
Nathan Gray
9caec6fffb
Fix for empty spreadsheet dates in XML & OO.o getting a date anyway
2012-02-24 23:29:58 +00:00
Nathan Gray
2b39a7a059
Fix spreadsheet date/time formatting issue - incorrect parsing of user's time
2012-02-20 16:15:18 +00:00
Nathan Gray
1624c37dc7
Fix typo in Excel date processing
2012-02-13 19:23:17 +00:00
Nathan Gray
4f669300a4
When merging into a spreadsheet document, convert dates into SS dates
2012-02-13 18:59:00 +00:00
Nathan Gray
b8d9b748ac
- Re-arrange HTML tag order to account for simplistic newline handling (broke nested tags)
...
- If unable to load/parse content after trying to convert HTML styles into target document styles, fall back and try again, but strip all tags this time.
2012-02-01 00:03:31 +00:00
Nathan Gray
af2e743a83
Add parameter to exclude certain entries
2012-01-06 17:28:40 +00:00
Nathan Gray
2e9866bab9
Add mergeprint tag for links to a specified application: links/appname
2012-01-05 17:43:44 +00:00
Nathan Gray
2eee7a5119
Fix missing >< when merging to XML, caused by double escaping
2011-12-09 21:00:57 +00:00
Ralf Becker
38f282bccf
fixed warning if no name part exists
2011-11-18 13:03:12 +00:00
Ralf Becker
978b014ffc
* Mergeprint: fixed not working merge (white screen, nothing in error-log) under PHP 5.2.6
...
Catchable fatal error: argument 1 to transformToXml() must be of type DOMDocument
2011-11-16 09:26:23 +00:00
Nathan Gray
4449f65797
Call entry2name() for titles, don't just use cache
2011-10-31 15:47:24 +00:00
Klaus Leithoff
0141321c76
silence warning: bo_merge::get_links -> make third parameter optional, as the parent function called has this one as optional parameter too.
2011-10-31 11:23:04 +00:00
Nathan Gray
40fbf0a450
List each link on own line, add ID shortcut like filemanager, if available
2011-10-27 16:08:59 +00:00
Nathan Gray
18e38b1dfc
- Add app filter
...
- List should be comma separated
- Add attachments translation
2011-10-25 22:50:05 +00:00
Nathan Gray
c972484133
Add common function to get titles of linked entries
2011-10-25 22:30:51 +00:00
Klaus Leithoff
2d494997ab
rework of bo_merge::getExportLimit, apply to etemplate, importexport, addressbook, calendar
2011-09-16 13:03:46 +00:00
Klaus Leithoff
d9905d3fb4
calendar/addressbook/API: introduce hook to fetch the export_limit to be applied for an app; introduce method to test if a specific hook exists for an application; fetch the export_limit via hook where appropriate
2011-09-15 14:46:56 +00:00
Klaus Leithoff
70a7026915
* merge_print/calendar: control the availability of mergeprint and csv export, if the export_limit is set to ->no<- and the user in question is not exempted from export_limit restrictions
2011-09-14 13:09:13 +00:00
Klaus Leithoff
36e3a1b8ce
add missing translations for export_limit feature of calendar, correcting translation strings for export_limit warnings
2011-09-14 10:27:53 +00:00
Klaus Leithoff
74b41ec99a
fix bug regarding merge_print with export_limit set in calendar, as calendar may pass a search query instead of a list of ids (this is the reason, why the test within bo_merge on export_limit is not working as expected)
2011-09-13 15:41:31 +00:00
Klaus Leithoff
d52c72207c
* calendar/importexport/addressbook: calendar introduce new config option to set app specific export_limit; calendar csv export: use enumerate for exporting events as csv; bo_merge: introduce new helper functions to get and check export-limit; addressbook: use new helper functions
2011-09-13 09:05:33 +00:00
Ralf Becker
132cafc8a9
check if we can use the XSL extension, to not give a fatal error and rendering whole merge-print non-functional AND only keep tags, if XSL is available
2011-09-12 10:51:21 +00:00
Ralf Becker
9066385fa5
check if we can use the XSL extension, to not give a fatal error and rendering whole merge-print non-functional
2011-09-12 10:21:18 +00:00
Nathan Gray
ae1b9c8a64
- Don't let tidy wrap lines - line breaks don't go inside tags
...
- If tidy reports errors, strip all tags so we should get some sort of openable file
2011-09-07 15:15:08 +00:00
Nathan Gray
d71b807b8f
Use 'utf-8' (instead of utf8) as the encoding, it seems to solve any encoding issues
2011-09-06 18:21:39 +00:00
Nathan Gray
67d7615ecc
Fix config for HTML Tidy, fix stripped text in lists
2011-09-06 17:22:48 +00:00
Ralf Becker
7984af4c0e
specify encoding, as it defaults to latin1 (iso-8859-1) which is not longer used by EGroupware and writes non-ascii as entities
2011-09-06 06:25:17 +00:00
Nathan Gray
9e17bd1faa
If HTML Tidy is available, use it to clean HTML content
2011-09-05 20:24:10 +00:00
Nathan Gray
cb5ee32664
Remove spans with no attributes, they're invisible and can cause invalid XML with linebreaks
2011-09-05 16:10:04 +00:00
Ralf Becker
bc739d8309
adding an empty hidden field, to force some return value, if no account was selected for export_limit_excepted, without any return value nothing gets returned and therefore stored
2011-08-30 08:16:51 +00:00
Ralf Becker
389486793d
- config is now cached on instance level
...
- arrays in $GLOBALS[egw_info][server] are now automatically serialized and unserialized
- new static method to check if user is export-limit excepted
--> saves to query it on each request (for non-phpgwapi, which was already cached in the session)
2011-08-26 13:50:20 +00:00
Nathan Gray
0571ac47e2
Get basic HTML formattings working in word 2003, formattings inside table working in word documents
2011-08-25 20:28:24 +00:00
Nathan Gray
005b483487
Replace extra XML declaration
2011-08-25 15:46:54 +00:00
Nathan Gray
bb00c4217d
Don't fail if table has properties, support table borders in docx files
2011-08-24 17:29:03 +00:00
Nathan Gray
42af1f2db6
Fix line breaks in xmlWord.Documents
2011-08-23 19:56:46 +00:00
Nathan Gray
1cddecb832
- Fix missing formatting in xml/word documents
...
- some changes in bullets, maybe avoid error in docx documents
2011-08-22 22:30:14 +00:00
Nathan Gray
0264b70a0b
Silence warning when export exception is not set
2011-08-22 14:20:44 +00:00
Nathan Gray
8f5f334762
Only process HTML inside Word xml documents
2011-08-17 15:47:05 +00:00
Nathan Gray
16bafa78b8
Implement export restriction exception for given users/groups in apps
2011-08-17 15:38:56 +00:00
Nathan Gray
2a815be3d3
Process xml as if it were a MSOffice document
2011-08-17 14:47:17 +00:00
Ralf Becker
7cbff78854
config for export limit excepted users/groups, need backend work from nathan
2011-08-17 09:36:51 +00:00
Nathan Gray
ea8d70136e
Implement labelplaceholder for OO.o files
2011-08-16 23:07:44 +00:00
Nathan Gray
e6355334f4
Move applying HTML styles into its own function
2011-08-02 18:41:18 +00:00
Nathan Gray
c2c1b4af95
Fix mismatched tag in MS linefeed
2011-07-29 15:34:12 +00:00
Nathan Gray
a2be785731
Bring some HTML styles into merged documents (ODT & docx)
2011-07-19 23:32:01 +00:00
Nathan Gray
624839d0db
Translations for placeholder labels
2011-07-05 22:21:49 +00:00
Nathan Gray
aab8157907
Translation for placeholder labels
2011-07-05 21:44:21 +00:00