Nathan Gray
e843208353
Add mergeprint tag for links to a specified application: links/appname
2012-01-06 17:57:16 +00:00
Klaus Leithoff
bfd333b0c2
Limit custom field app entry possibilities to apps that support query and title, which are required for custom field to work properly
2012-01-06 15:34:47 +00:00
Ralf Becker
494a3af78f
html5 input type=nummeric seems to ignore size, setting a width instead
2012-01-05 01:44:13 +00:00
Klaus Leithoff
4cc16bcc33
API/customfields: fix for link-entry validation problems caused by unmotivated/empty default data. This may require a review.
2012-01-03 16:34:03 +00:00
Klaus Leithoff
acd3806ab1
* API/customfields: fix for Stylite Ticket#2629 ->Mandatory custom field not saved<- fix for customfields (if mandatory) where not saved on first attempt, after failed formvalidation.
2012-01-03 14:41:59 +00:00
Philip Herbert
25ab165898
mending Warnings: Cannot use a scalar value as an array
2011-12-19 12:40:47 +00:00
Nathan Gray
824829ae3e
Fix missing >< when merging to XML, caused by double escaping
2011-12-12 23:28:20 +00:00
Ralf Becker
c5712cd6b5
dont use html5 input type="url", as it requires a scheme (eg. http)
2011-11-24 07:13:06 +00:00
Ralf Becker
176e81cd1c
* ImportExport: allow to select "Old fixed definition" in preference for nextmatch export (disk icon)
2011-11-21 10:10:46 +00:00
Ralf Becker
de9280dc6b
fixed warning if no name part exists
2011-11-18 13:04:32 +00:00
Ralf Becker
35ac4e0993
* 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-17 08:44:40 +00:00
Ralf Becker
fe22901d54
* Filemanager/eTemplate: fix for MyStylite bug #2495 : deleting files containing [ as first char deletes whole directory
...
added encoding of square brackets in eTemplate and improved etemplate_bo::(get|set|isset|unset)_array() to split indexes at ][ and not just [
2011-11-09 14:32:50 +00:00
Ralf Becker
bd616f8a34
merged some fixes from Trunk to quieten warnings in CalDAV:
...
- r36515: query_list(). initialize return value to array(), to allways return an array
- r36542: skip the empty (NULL) row
2011-11-06 09:49:53 +00:00
Nathan Gray
f6a28b7550
Remove ID, if already in title (eg Infolog)
2011-11-03 14:31:01 +00:00
Klaus Leithoff
85857cae6c
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:24:13 +00:00
Nathan Gray
6da51ecbdb
* Add {{links}}, {{attachments}}, {{links_attachments}} placeholders for merging
2011-10-27 16:21:15 +00:00
Klaus Leithoff
bea7bba0b3
* import/export: fix for failed export on not set limit for nonadmins on standard export (handle empty export_limit since it will be casted to 0 on (int))
2011-10-12 10:40:51 +00:00
Klaus Leithoff
55dbf20c33
* calendar/addressbook/importexport/merge-print: introduction of a static function to fetch the export limit, and normalize the possible output: bo_merge::getExportLimit; apply new function to bo_mergen, nextmatch_widget, addressbook, calendar and importexport; introduction of an calendar export limit; introduction of hook to provide appspecific export_limit
2011-09-16 13:23:15 +00:00
Klaus Leithoff
9037a6c039
making 1st param for custumfield_widget construct (ui) optional, to avoid warning
2011-09-13 08:39:24 +00:00
Ralf Becker
1d6f9f0bfe
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:56:08 +00:00
Ralf Becker
7c381ba855
added "progress"(-bar) widget to differ from image and using it in templates
2011-09-08 19:03:44 +00:00
Ralf Becker
975a8ade09
* API/Calendar: allow to link to accounts and allow to select accounts as participants by searching them like contacts
2011-09-07 16:47:08 +00:00
Nathan Gray
3bdbeef5d6
Taming tidy - fixes extra line breaks, don't detect encoding.
2011-09-07 15:51:33 +00:00
Ralf Becker
36093fbd2a
added missing semicolon to entity ​ and do an urldecode to get a nicer looking link
2011-09-06 07:42:08 +00:00
Ralf Becker
78b7a1442d
* Mergeprint uses tidy, if available, before atempting to convert html to office documents, requires now php-tidy
2011-09-06 06:27:07 +00:00
Nathan Gray
cc80f295c6
Remove spans with no attributes, they're invisible and can cause invalid XML with linebreaks
2011-09-05 17:11:20 +00:00
Klaus Leithoff
a3b17caa5f
* impportexport/document merge: better control of exportlimits, you are now able to exempt groups or users from any exportlimits set (backport of nathans work, with enhancements from ralf)
2011-09-01 14:32:26 +00:00
Ralf Becker
bf4fcb159e
* richtext custom-fields
2011-08-30 19:19:56 +00:00
Nathan Gray
98ec62d0e2
* Translate basic HTML formatting (bold, underline, cursive, text & background color, bullets & lists, fonts, size) into target document's formatting when merging into a template. Works for odt, docx and some xml.
2011-08-30 16:08:34 +00:00
Ralf Becker
8d4bd41736
allow to call a function instead of a static helptext
2011-08-27 18:36:16 +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
Klaus Leithoff
23ec5634b3
* API: taking care of sorting AND filtering by customfields with names containing whitespace; (best way to deal with this issue, is not using whitespace in your customfield names at all)
2011-08-22 13:12:32 +00:00
Klaus Leithoff
b76da493de
* API: taking care of sorting AND filtering by customfields with names containing whitespace; (best way to deal with this issue, is not using whitespace in your customfield names at all)
2011-08-22 13:08:19 +00:00
Ralf Becker
31ab3d9d75
use html_entity_decode, as we add options with .text(), it can't be entities, but php knows no string literals with utf-8
2011-08-22 07:46:38 +00:00
Ralf Becker
0aa128b53e
Loading translations like other javascript files:
...
setting headers to allow browser to cache the file until it's etag containing the creationdates of the used langfiles changes
--> et2 can now use egw_lang object to translate labels, options, ...
2011-08-21 20:09:14 +00:00
Ralf Becker
7b89481b76
fixed typo giving fatal error with template infolog.edit
2011-08-21 17:13:08 +00:00
Ralf Becker
db9434d8e6
added radio validation to etemplate_widget_checkbox, as they are nearly identical
2011-08-21 14:03:52 +00:00
Ralf Becker
5bc3844be8
fixed typo
2011-08-21 14:02:31 +00:00
Ralf Becker
7c5cb7e04b
validator for checkbox, not yet tested because of missing clientside
2011-08-21 13:47:45 +00:00
Ralf Becker
74fabe9994
removed implemented todo
2011-08-21 13:46:21 +00:00
Ralf Becker
32ea28a59c
fixed copy-n-paste typo
2011-08-21 13:45:55 +00:00
Ralf Becker
76d5a57b8c
added validator for htmlarea, not yet tested, as it is not yet implemented on clientside
2011-08-21 13:01:10 +00:00
Ralf Becker
ec58f52b62
implemented disabled columns
2011-08-21 12:43:02 +00:00
Ralf Becker
c4293ba3bc
honor disabled attribute in validation for widgets including grid rows, but not yet grid columns
2011-08-21 11:55:56 +00:00
Ralf Becker
7916e86880
method to translate options incl. optionial title
2011-08-21 11:38:01 +00:00
Ralf Becker
e0624ebe89
removed set_(row|column)_attributes and disable_(row|column) method, which modifies template on run-time, it was only used internally by etemplate
2011-08-21 09:14:58 +00:00
Ralf Becker
e92087df31
- new validator for selectboxes (menupopup)
...
- also used currently to supply options for predefined selectboxes (eg. select-cat), need to discuss if we want to fetch these per ajax
- new widget method run, which runs a given method on all widgets (and children) supporting it, eg. used now for validate
2011-08-20 10:27:38 +00:00
Ralf Becker
30ed6a8ab7
- added legacy-options parsing and defintions for currently implemented widgets
...
- added more server-side debuging:
* etemplate_widget_template class can be called via url and displays parsed xml, eg:
http://localhost/egroupware/etemplate/inc/class.etemplate_widget_template.inc.php?name=infolog.edit
This is different from directly calling the xet file, as it show what got parsed and how:
http://localhost/egroupware/infolog/templates/default/edit.xet
* etemplate_new class can be called via url to render an arbitrary template, eg:
http://localhost/egroupware/etemplate/inc/class.etemplate_new.inc.php?name=timesheet.edit
Thought not all are already rendered correct, eg. infolog.edit is not:
http://localhost/egroupware/etemplate/inc/class.etemplate_new.inc.php?name=infolog.edit
2011-08-19 08:22:19 +00:00
Ralf Becker
107b12abcd
- template references can contain attributes, in this case we have to clone the template and set them
...
- optional template namespace is in "content" attribute
- ability to unset validation messages
2011-08-19 06:30:06 +00:00