Commit Graph

73 Commits

Author SHA1 Message Date
Nathan Gray
0ecbc8b54d Allow functions deep in the stack (table callbacks) to throw exceptions in error conditions 2011-06-21 21:14:16 +00:00
Ralf Becker
65a8e4e8d3 fixed some printing stuff in calendar, printing in listview is disabled, because it is NOT working atm. 2011-06-17 15:16:40 +00:00
Ralf Becker
6cf426d465 added a mime-type filter 2011-06-17 14:07:51 +00:00
Ralf Becker
d13b605db8 uncomment testwise commented allowens for admins to export more then the export limit 2011-06-17 13:35:00 +00:00
Ralf Becker
81b78a8e65 fixed not working standard document with absolute path 2011-06-17 13:08:10 +00:00
Ralf Becker
92ddeca1fb - fail with error message, if user trys to export more entries then allowed (previously entries were silently cut down to allowed number, even 0!)
- fixed path of document-actions if more then one directory with subdirectories were given
2011-06-16 11:36:15 +00:00
Ralf Becker
1774e5674f support for multiple space or comma separated download dirs 2011-06-14 10:48:15 +00:00
Ralf Becker
e50565ccb4 allow multiple space or comma separated template directories 2011-06-14 08:54:42 +00:00
Ralf Becker
e474b0f0d4 - insert in document action:
+ one submenu with default document (if set) on top
  + if more then 9 documents, show them in submenus by mime type
- added copy address as second point to add submenu, beside new
- icons for move to addressbook
- fixed icons for org views
--> addressbook context menu should now be fully functional - let me know if not ;-)
2011-04-25 11:30:37 +00:00
Ralf Becker
dfeedf64c5 make prefix for documents a parameter and properly decode file names 2011-04-17 08:42:07 +00:00
Ralf Becker
806d3d604c added context menu for nextmatch widget: first implemenation in timesheet
- legacy actions column and multiple action row below table is switched off by default, but can be switched on again
- legacy action button is NOT yet working
- "whole query" checkbox need to go into context menu too
2011-04-16 21:45:13 +00:00
Christian Binder
a1b44f8df7 projectmanager: added a moreOptions dropdown list to the link add widget in elements view to be able to assign eRoles to added elements quick; added a preference to give a downloaded merge document a default name 2011-04-08 19:32:17 +00:00
Nathan Gray
eb337b7dec Don't throw an exception, just leave the cells as text and log it. 2011-04-06 20:57:40 +00:00
Nathan Gray
1d41d567a0 Iteratively increase backtrack limit to try to handle preg_replace limitations on larger files 2011-04-06 20:45:14 +00:00
Nathan Gray
64cf625403 Avoid weird problem with account_id & preg_replace clearing content 2011-03-31 18:13:46 +00:00
Nathan Gray
9056a41ebf Fix autodetection of numeric fields 2011-03-29 17:46:07 +00:00
Nathan Gray
9b072a81a7 Command processing needs to do escaping for XML too 2011-03-28 20:36:15 +00:00
Nathan Gray
e13ef7c892 Get automatic number formatting working for Excel 2003 xml files 2011-03-21 14:53:41 +00:00
Ralf Becker
6c05070aa0 fixed warning: implode(): Invalid arguments passed in /var/www/epl-trunk/etemplate/inc/class.bo_merge.inc.php on line 569 2011-03-18 15:14:55 +00:00
Nathan Gray
62a856b1c9 Force . as decimal separator for OO.o spreadsheet 2011-03-15 15:31:21 +00:00
Nathan Gray
fe18d21f4b Export limit does not apply to admins 2011-03-15 15:13:46 +00:00
Nathan Gray
4831a34ffa Add ability for extending class to specify its own numeric fields 2011-03-14 22:06:23 +00:00
Nathan Gray
dffb0b87dd Fix linefeed for NELF + application/xml mimetype 2011-03-10 17:23:28 +00:00
Nathan Gray
22b4e56958 Add a LF for excel 2003 2011-03-10 16:50:40 +00:00
Nathan Gray
c2c42cfa92 Use text:line-break, no guarantee that there will be a span 2011-03-03 18:22:49 +00:00
Nathan Gray
57fa8b5504 Automagically detect & set type for numbers when merging into a OO.o calc spreadsheet 2011-03-03 00:15:27 +00:00
Nathan Gray
e81802d0cd Promote number_format() to base class so it's available for all extending classes 2011-02-28 20:31:56 +00:00
Nathan Gray
830fcad2f6 Fix commands for table repeats 2011-02-28 19:16:58 +00:00
Nathan Gray
d6aa239e62 Make merge respect export limit 2011-02-24 00:08:12 +00:00
Nathan Gray
e100e423d8 Move special flags IF, NELF, etc to function so they can be used in a table 2011-02-23 21:01:37 +00:00
Nathan Gray
96dd9d46c2 Include main category even if no sub-cats are selected 2011-02-22 20:14:35 +00:00
Nathan Gray
03d3b5c36b Add common function to get list of supported extensions 2011-02-22 19:46:09 +00:00
Nathan Gray
dfa96ca0a6 List each sub-cat separately 2011-02-18 15:04:40 +00:00
Nathan Gray
d846176c9f Include path for sub-categories 2011-02-17 16:40:57 +00:00
Nathan Gray
3980ba3692 Correct category formatting 2011-02-16 17:56:00 +00:00
Nathan Gray
0c97c3bd10 Add extra placeholder 'categories' for expanded categories with path 2011-02-16 17:47:31 +00:00
Christian Binder
c8d92bc7ca some type checks to avoid php warnings 2011-02-09 20:11:17 +00:00
Christian Binder
31a8c3b51c implemented table plugin for eroles - added bo class for eroles and moved corresponding methods from so to bo 2011-02-07 11:08:08 +00:00
Nathan Gray
aad884a3aa Add a common method get_documents() to fetch a list of documents from a given directory so we don't keep copying it. 2011-02-04 20:04:17 +00:00
Christian Binder
407f7c9440 moved eroles specific code from parent merge class to projectmanager merge class 2011-01-27 17:08:40 +00:00
Klaus Leithoff
85ec9e5a53 fix problem with assumedly broken ZipArchives with OpenOffice Documents used with ZipArchive on SLES11; try opening the archive anyway, even if the onening with CHECKCONS failes. Report that to error_log, and try to proceed before failing fataly 2011-01-13 10:57:20 +00:00
Christian Binder
b80eaab81f initial implementation of merge class and element roles for projectmanager - projectmanager fields are not yet supported but will be implemented later. This feature is sponsored by www.inspectionsunlimited.com. 2011-01-08 16:04:44 +00:00
Klaus Leithoff
cc1310b6de Addressbook / Merge functions: remove error logging 2010-12-15 12:06:53 +00:00
Klaus Leithoff
f42b5cdbe9 * Addressbook / Merge functions: allow pagerepeat for merge in text/plain mimetypes/documents 2010-12-15 10:50:29 +00:00
Ralf Becker
5cd2b962ea split merge taking a path as argument in second method merge_string taking the document as string 2010-10-27 09:34:42 +00:00
Ralf Becker
ea97fc438f using utf-8 encoding for html merge-print 2010-08-23 12:03:03 +00:00
Ralf Becker
6c7e9b0062 fixed regular expression to NOT "eat" 8 and , from merge print replacements 2010-03-16 13:38:20 +00:00
Ralf Becker
bb580029c1 "fixed handling of linebreaks from text and rich text fields for xml based formats (Open Office and MS Office)" 2010-03-08 21:56:05 +00:00
Ralf Becker
3f8da06a9e "replace all control chars (C0+C1) but CR, LF and TAB (eg. vertical tabulators) with space as they are not allowed in xml" 2010-03-08 11:34:22 +00:00
Ralf Becker
3aa96a4a34 for xml: decode all entities, remove all non-decodable entities, remove all html tags and encode <, > and & as entities 2010-02-21 23:15:05 +00:00