Nathan Gray
ecb972ca66
Etemplate now uses JSON instead of XML for templates on the client side.
...
XML files are parsed into JSON objects on the server, then sent as JSON.
Etemplate parses the JSON object on the client side instead of the XML file directly. This is supposed to be faster for IE.
2015-08-18 17:47:40 +00:00
Ralf Becker
4efe325cdf
* Admin: fix SQL error when searching in access rights popup (probably other places too)
2015-08-13 12:55:01 +00:00
Ralf Becker
9ede2c0b70
WIP image upload via drag into ckeditor 4.5
2015-08-07 14:18:07 +00:00
Ralf Becker
b799107de5
* Admin: fix SQL error when search contains a non-ascii character
2015-07-29 10:35:01 +00:00
Ralf Becker
af157c3218
* Addressbook: custom fields of accounts enabled via own-account-acl were not editable
2015-07-27 16:52:55 +00:00
Nathan Gray
ea0663d531
Prevent column selection preference from being reset, fixes forced columns don't stay forced.
2015-07-27 15:24:27 +00:00
Hadi Nategh
ce9c1187bf
Add nocheckbox option into tree widget to instruct the component not to render checkbox for the relevant item
2015-07-27 13:34:38 +00:00
Ralf Becker
6110c34aaa
if db-object passed to so_sql_cf, use that also for querying custom-fields
2015-07-27 13:17:03 +00:00
Hadi Nategh
466eea3cbc
Correct the value of checked option from previous commit
2015-07-22 10:06:30 +00:00
Hadi Nategh
ae4fa08e80
Add checked option to tree widget
2015-07-22 10:04:24 +00:00
Ralf Becker
43b016f1e0
missing commit from index and text field change
2015-07-15 15:09:11 +00:00
Hadi Nategh
7f01ef37ed
Do not reference customfields if they are already read
...
-Fix second row of infolog customfields in CRM view does not respect nm filters
2015-07-14 15:12:22 +00:00
Klaus Leithoff
c73f4bcb4c
silence some chitter-chatter of etemplate_new
2015-07-07 12:14:19 +00:00
Ralf Becker
8c57206745
fix groupbox to have NO namespace (it was implemented on client-side with and on server-side without namespace before)
2015-07-07 11:37:41 +00:00
Nathan Gray
ed97ead93e
If app is not found in get_rows, use the template
2015-06-29 20:33:10 +00:00
Ralf Becker
5449825beb
use raw custom-field data for yaml files, no user-preference specific formatting, all to use regular expressions in yaml files to modify content of placeholders, eg. commas with linebreaks: "{{name/, */\n}}"
2015-06-18 13:18:07 +00:00
Ralf Becker
46c8c6e318
minimal support for yaml files in document merge: multi-line replacements get prefixed with as many space as the placeholder
2015-06-17 19:37:40 +00:00
Ralf Becker
876db7ca1e
* CustomFields: keep order of select-options (was not working for nummeric values)
...
fixed #9613 : Order of customs field in a selectbox has changed
2015-05-28 11:29:43 +00:00
Ralf Becker
82f9190c32
* Tracker: fix slow rendering of edit popup for hugh number of tracker-user
...
doublicate check was iterating through all options for each option, causing it to take eg. 25s for 7000 options
2015-05-27 12:18:12 +00:00
Ralf Becker
3156134a31
remove double schema prefix "vfs://defaultvfs://default/path"
2015-05-27 12:15:36 +00:00
Ralf Becker
db180f816d
ignore CR when comparing textfields for history
2015-05-26 10:50:42 +00:00
Nathan Gray
aa724afc03
Some date formatting options could not be automatically parsed, so explicitly use user's date & time settings.
...
Fixes intermittent automatic {{timestamp/date}} placeholder.
2015-05-25 15:34:41 +00:00
Hadi Nategh
76d22e8515
Fix some IDE warning
2015-05-21 14:22:51 +00:00
Nathan Gray
69f1fc4696
Fix some problems with merging into email files:
...
- Use correct merge sub-class when merging multiple entries
- Accept merge placeholders in to/cc/bcc fields (displayed as invalid, but still accepted)
- Use merge placeholders to pull addresses from associated entry
2015-05-19 19:24:02 +00:00
Klaus Leithoff
01fdd4d33a
fix/avoid warning on NULL sel_options subarray in fix_sel_options
2015-05-19 14:27:06 +00:00
Nathan Gray
2122f7db0f
Avoid error in case $date is not set
2015-05-05 23:35:01 +00:00
Nathan Gray
1ae125f08e
Handle escaped curly bracket placeholders in rtf
2015-04-29 21:40:12 +00:00
Nathan Gray
b0a8cebc69
Avoid some more ambiguous columns
2015-04-29 16:31:48 +00:00
Hadi Nategh
a3f2dc1488
Fix htmlarea editor always wrap border around editing text in IE
2015-04-27 13:39:27 +00:00
Nathan Gray
27e2f787a1
Date widget:
...
- Add year_range attributes to set the options in the year dropdown
- Experimental min and max attributes
Custom fields:
- Allow to set attributes in options field for some widget types (not ones that lists of options)
2015-04-21 19:46:33 +00:00
Nathan Gray
79332f31a5
Simple et2 implementation of ajax_search widget
2015-04-21 16:47:33 +00:00
Nathan Gray
5cfd583904
Allow applications to add additional options to selectbox type options.
2015-04-13 21:57:46 +00:00
Ralf Becker
d82f65e95e
reverting r52412, as it breaks not validating not send values, sending empty array for nothing selected in selectbox instead of (not submitted) null value
2015-04-03 12:43:26 +00:00
Nathan Gray
9cebe6a8fb
Fix unable to remove last value from multiselect
2015-04-02 15:41:05 +00:00
Nathan Gray
1deb3d4f34
Selectbox options kept on the client side
...
Static options copied to the client side in the JS code where possible, and requested from the server once via AJAX when needed.
2015-04-01 17:11:21 +00:00
Nathan Gray
1f88ddf303
Fix single-field customfields widgets not setting value properly
2015-03-31 19:48:46 +00:00
Ralf Becker
9fc67020cc
* Mail: setting default font-face and -size reliable and remove space in front of cursor
2015-03-31 17:01:25 +00:00
Hadi Nategh
5026216842
Treat iceweasel browser like as firefox
2015-03-31 13:55:05 +00:00
Hadi Nategh
467578d34f
Consider iceweasel browser in autocomplete_fix handling
2015-03-31 12:30:43 +00:00
Hadi Nategh
01e339815f
Fix customfields options with multiple negated fields and single custom field
2015-03-27 16:32:51 +00:00
Hadi Nategh
4368ccbb58
Fix some more typo in customfield widget
2015-03-26 19:07:08 +00:00
Hadi Nategh
0328abf1c4
Fix typo in customfield widget
2015-03-26 17:08:49 +00:00
Ralf Becker
8431629ed2
* All apps: nummeric custom-fields (float or new integer) sort nummeric in lists
2015-03-23 08:38:30 +00:00
Ralf Becker
7fa86b19ca
do NOT send select-options for each autorepeated row for id like "set[$row_cont[id]][value]" and fix merging of app preset options with type-specific ones to not overwrite the later
2015-03-20 15:38:20 +00:00
Ralf Becker
63a7af621d
allow to submit partial content by passing a container(-widget) to etemplate2.submit()
...
- not send content is not validated and therefore not passed to server-side callback (currently only implemented for text-, select- and checkbox)
- new method et2_grid.getRow(_widget) to return a fake row container to pass it etemplate2.submit() --> implemented a real row-container for et2_grid
- new output_mode=4 for etemplate_new::exec() to force a json response, like form was submitted from client-side
--> allows to use full server-side validation for ajax like calls submitting only partial content
2015-03-20 02:12:33 +00:00
Ralf Becker
d40f41950b
fixed not run validation on server-side for templates included via template tag
2015-03-18 21:31:16 +00:00
Nathan Gray
0db176f0b2
No need to strip out mime again, it's already removed by egw_link
2015-03-18 17:28:49 +00:00
Ralf Becker
387d5053dd
stop etemplate_widget_template::instance from returning a stdClass object for a not found template after content-expanding, leading to a fatal error in etemplate_widget line 338
2015-03-17 14:07:20 +00:00
Ralf Becker
3d05a43417
implement part attribute with values "header" and "footer" to put rows in thead or tfoot instead of tbody of table
2015-03-17 09:44:14 +00:00
Nathan Gray
984bbf4d44
Include lettersearch when forcing preferences
2015-03-16 22:28:18 +00:00
Hadi Nategh
1f177aace4
Change category icon in all apps
2015-03-12 12:39:49 +00:00
Hadi Nategh
1c8b6a5976
Do not log toolbar widget content in error log
2015-03-10 15:55:29 +00:00
Nathan Gray
60e13cd679
Documentation update to be a little more clear about 'none' option
2015-02-26 16:16:00 +00:00
Nathan Gray
b1b1269e0e
Entry type / transformer changes
...
- better support for entry-types in nextmatch-customfilter
- if transformer changes widget type, run new widget's beforeSendToClient
2015-02-18 23:04:59 +00:00
Ralf Becker
39115a0985
fixed not shown custom-fields in infolog
2015-02-17 14:35:40 +00:00
Ralf Becker
e87c0dfb1a
* ProjectManager/PostgreSQL: fix SQL error in project-list caused by new resources column
...
fix columns containing commas as part of function calls getting split incorrect in fix_group_by_columns
2015-02-16 10:22:23 +00:00
Ralf Becker
3ec789adfd
added more docu and some constants with sane names
2015-02-13 09:40:50 +00:00
Ralf Becker
17f83d89c7
add modification time of files to thumbnail url to allow longer caching, also set_time_limit(0) for pdf thumbnails, as they might take > 90s
2015-02-13 08:27:08 +00:00
Hadi Nategh
cdb1f042a2
Make the autocomplete iframe helper invisible
2015-02-10 13:15:48 +00:00
Nathan Gray
dd30ac28f4
- Allow app attribute to be specified in the template file, not just at run-time
...
- Use app attribute to fix infolog customfields in addressbook CRM view
2015-02-10 00:13:31 +00:00
Hadi Nategh
2554c30da7
Fix security error about autocomplete form happens only in FF
2015-02-04 09:40:52 +00:00
Hadi Nategh
13684d4903
Activate cross-browser autocomplete
...
- Replace et2_contianer from DIV to FORM
- Add autocomplete fixer to submit action
- Add autocomplete fixer to nextmatch search box
2015-02-03 17:42:32 +00:00
Nathan Gray
3ec43f0421
Update favorite GET fallback to use new style of favorite
2015-02-02 17:19:20 +00:00
Hadi Nategh
59e922221c
Enhance autocomplete fixer and fixes some bugs
2015-01-27 10:52:42 +00:00
Nathan Gray
6b01a18960
Clean up debug
2015-01-26 17:30:10 +00:00
Hadi Nategh
ebab506aa9
* All Applications: Get browser autocomplete form working
2015-01-26 16:13:08 +00:00
Ralf Becker
70b603ac77
moving VFS API classes into a namespaced PSR4 autoloadable structure:
...
- PSR4 autoloader exists beside our old autloader to support old as well as new structure until everything is ported over
- moved ported API stuff from phpgwapi to new api directory (idea is phpgwapi become a compatibility layer for old code, while we only port selected stuff to new api directory)
- namespaces use prefix "EGroupware", then (first letter capitalised) app-name or "Api", sub-system names like "Vfs" or for apps "Ui", "Bo, "So" and at least class name starting with a capital letter and without understores eg. "StreamWrapper" plus just ".php"
- examples:
+ egw_vfs in phpgwapi/inc/class.egw_vfs.inc.php --> EGroupware\Api\Vfs in api/src/Vfs.php
+ sqlfs_stream_wrapper in phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php --> EGroupware\Api\Vfs\Sqlfs\StreamWrapper in api/src/Vfs/Sqlfs/StreamWrapper.php
+ sqlfs_utils in phpgwapi/inc/class.sqlfs_utils.inc.php --> EGroupware\Api\Vfs\Sqlfs\Utils in api/src/Vfs/Sqlfs/Utils.php
- api directory is no a new svn module but exists (like home) as sub-directory under base egroupware module
2015-01-26 09:15:07 +00:00
Nathan Gray
d633ce970a
Don't try to transform missing templates, it doesn't end well.
2015-01-16 18:10:30 +00:00
Hadi Nategh
f8e9911743
Serach js files for new phrases for translation
2015-01-15 14:56:23 +00:00
Nathan Gray
06abca167d
If a widget is transformed into a template, try to load and process that template too.
2015-01-14 20:10:34 +00:00
Ralf Becker
86eba3f137
for nextmatch filters we need to encode global nextmatch definition too
2015-01-12 14:10:40 +00:00
Ralf Becker
f15a37f368
always run fix_encoded_options to cope with customfields of type select got resorted by Firefox
2015-01-12 12:53:50 +00:00
Ralf Becker
60f67bfff8
* all apps: preserving for current user unavailable categories (eg. private categories of other user) when editing entries
2014-12-17 13:58:15 +00:00
Nathan Gray
da3d0d23c4
- Use link registry to open notification links
...
- Fix mark all notifications as read on popup close
2014-12-15 19:09:22 +00:00
Hadi Nategh
81cc0f35f7
Convert ambiguous column to tablename.column name
2014-12-15 16:57:45 +00:00
Nathan Gray
afcad4b50f
Set value to a new location using a prefix to avoid changing the original, should fix contact-templates
2014-12-10 00:07:23 +00:00
Ralf Becker
9b5c68f743
hidden widget to transport content from server to client and back, thought server to client could easier be done by accessing content via content array manager
2014-12-05 08:59:51 +00:00
Ralf Becker
ecc9dece92
throw an exceptin with a more maningful message if a template does not contain a template tag with an id attribute matching template name, eg. it was forgotten to rename when customizing
2014-12-04 15:51:59 +00:00
Ralf Becker
cf9326391c
document tooltip name "hint" for actions
2014-12-04 09:19:03 +00:00
Nathan Gray
681566471a
Accept and process commands even if they're right at the beginning.
...
Fixes bug where commands at the start of content were not processed.
2014-12-03 19:58:59 +00:00
Ralf Becker
597e9b82ae
remove no longer necessary resize from (old) eTemplate, as it is done now by egw.js for all popups
2014-12-03 07:34:30 +00:00
Ralf Becker
f7610cd6d6
do not validate vfs-widgets not returning a value, as it overwrites preserved values with null
2014-12-02 19:17:03 +00:00
Ralf Becker
8a9657541d
moving egw_openWindowCentered() to egw(window).openPopup()
2014-12-01 10:45:24 +00:00
Hadi Nategh
7f4f340efd
Missing code from commit r49612
2014-11-27 17:31:03 +00:00
Ralf Becker
674fd0736a
fix PHP Fatal error: Access to undeclared static property: customfields_widget::$non_printable_fields
2014-11-19 13:24:12 +00:00
Ralf Becker
7bfa13728d
class var to enable/disable memory_usage reporting to error_log
2014-11-19 12:57:31 +00:00
Ralf Becker
c633e0033b
* all aps: lower memory requirements of insert into document by skipping HTML processing, if there are no html (custom-)fields
2014-11-19 12:20:59 +00:00
Ralf Becker
ca7bdb66a3
fix error introduced by previous commit
2014-11-19 09:22:52 +00:00
Ralf Becker
b10cf0a295
quiten permanent error_log on disabled cells and fixed IDE warnings
2014-11-19 08:53:17 +00:00
Ralf Becker
5eeac7093c
use filemanager UI as UI for sharing directories
2014-11-18 12:55:32 +00:00
Ralf Becker
be66f13885
fix unknown modifier "n" warning caused by a "/" in replacement
2014-11-18 12:28:20 +00:00
Ralf Becker
08ab6679d2
try to increase/double prce.backtrack_limit no failure to preg_replace up to 1/4 of memory_limit
...
previous code was adding max 10 time 10000 to default limit of 1000000, which increased it by 10% max, given we have now a default memory_limit of 128M
2014-11-14 19:08:18 +00:00
Ralf Becker
8f713fe2f1
fix fatal error if customfields contains widget with no validation method --> nothing to validate / return
2014-11-13 09:28:22 +00:00
Ralf Becker
1c6524cf0b
remove upper limit of number of characters at last domain-part to allow new domain-names like .hamburg
2014-10-30 13:20:04 +00:00
Ralf Becker
93bc0feb16
* Filemanager: fix since PHP 5.5.18 not longer working non-ascii chars in filenames, eg. German umlauts or accents
2014-10-18 12:17:17 +00:00
Nathan Gray
f099800b62
Prevent empty options being sent when selectbox is in a row.
...
Fixes unwanted numeric options in auto-repeat rows.
2014-10-14 16:43:47 +00:00
Ralf Becker
a1e444fdfd
fix non-fatal PHP Parse error, when $j was used eg. in onload
2014-10-13 12:21:53 +00:00
Ralf Becker
55e931871e
mtime postfix for WebDAV has to use "?download=", as our WebDAV treats everything else literal
2014-10-13 12:15:30 +00:00
Ralf Becker
178bca7f7a
fix redirect loop initiated eg. by saving a mail, caused by document.location=url triggering etemplate unload handler and destroying et2 request, identical redirect url detected by jdots framework causes refresh via nextmatch --> next redirect
2014-10-08 20:02:59 +00:00
Ralf Becker
fcd03a54c8
refactored code to always run Nathans fix (before it was only run for ajax requests, not for initial request)
2014-10-08 12:16:13 +00:00