Ralf Becker
0238118906
new preference about how to select additional lines in lists
2011-06-15 15:50:16 +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
Andreas Stöckel
8cfae5bd16
Including JS-file for keyboard navigation
2011-06-12 16:43:43 +00:00
Nathan Gray
e59b50e7fb
If etemplate_exec_id is lost, pass along any GET parameters with redirect
2011-06-09 16:47:40 +00:00
Ralf Becker
3bbc6a6962
- egw_open nm_action using new clientside link registry
...
- enabling/disabling actions based on row-id matching a regular expression
- children/submenus inherit 'url','popup','nm_action','onExecute','type','egw_open' attributes
2011-06-02 20:03:34 +00:00
Andreas Stöckel
4cb37be5d3
Implemented usage of global action manager and object manager for nextmatch widget
2011-06-02 14:49:56 +00:00
Nathan Gray
30bef48900
Fix hierarchical category action
2011-06-01 16:23:04 +00:00
Ralf Becker
4d2cf32f9a
missed dragType in egw_action_supported attributes
2011-05-31 20:42:34 +00:00
Ralf Becker
5eca546898
some enhancements for the felamimail context menu
2011-05-31 19:49:19 +00:00
Ralf Becker
b64a0de528
allow to specify "none" in popup size for no popup AND no link target, to allow dial scripts to use status "204 No Content"
2011-05-30 14:59:40 +00:00
Ralf Becker
a147a9a4a8
fixed not working category color of rows (calendar, addressbook)
2011-05-30 11:08:37 +00:00
Ralf Becker
2e95210154
load new row selection / egw_actions system for all nextmatch lists, not only ones defining actions / context menus
2011-05-27 10:28:30 +00:00
Ralf Becker
678efd6ced
switch to tab with customfield widget (empty name for call cfs), if validation error is for a cf (name prefixed with #), if no tab found add validation message to $content[msg] as a last resort to make it more visible to the user
2011-05-18 14:23:23 +00:00
Ralf Becker
1053267a96
fixed an "htmlspecialchars 1. param should be string, array given" error
2011-05-18 14:21:02 +00:00
Ralf Becker
3b90f44c89
got select entry custom fields honor required flag and select entry widget show required input with inputRequired css class
2011-05-18 10:23:39 +00:00
Klaus Leithoff
3ee6fba705
fix error on saving addressbook items with new link-widget customfields; error_log stuff (disabled)
2011-05-17 11:50:06 +00:00
Klaus Leithoff
64c798cda4
show raw selectvalue, if we are not able to show the corresponding selection entry
2011-05-17 11:46:56 +00:00
Klaus Leithoff
dcb5a86aca
fix for bug #1631 on Stylite tracker: no browsing/navigation in egws popup filenavigation used for image browsing for CK-Editor.
2011-05-16 07:46:27 +00:00
Klaus Leithoff
46bd49e810
handle arrays as value, that are passed down for customfield links
2011-05-12 14:44:09 +00:00
Klaus Leithoff
064490bfef
fix typo that prevented the referencing of sub elements in get_array in some cases
2011-05-12 12:03:55 +00:00
Klaus Leithoff
11411abef5
fix for 'cf_link_fields do not create link on inital save' in calendar: reason no id passed when called tracking for new events
2011-05-11 15:09:16 +00:00
Ralf Becker
fe6a0e906c
automatic create and update links for custom fields linking to applicaton entries
2011-05-07 15:32:51 +00:00
Ralf Becker
0ced6fcf51
- storing etemplate form name and variable prefix into egw_actionManager to be able to work on a 2. eTemplate on a page (InfoLog in Addressbook view)
...
- moving (open|hide|submit)_popup used in InfoLog and Tracker to etemplate, so code can be shared
--> change 'onExecute' => 'javaScript:open_popup' to 'nm_action' => 'open_popup' and onclick="(hide|submit)_popup()" to onclick="nm_(hide|submit)_popup()"
2011-05-07 08:47:58 +00:00
Ralf Becker
366aa7c05a
- allow to specify to use selectbox, instead of category selection for category
...
- allow to specify name of action (infolog already uses 'action')
2011-05-06 18:10:50 +00:00
Ralf Becker
b52b7acf8a
values are NOT yet used on client side, but give warnings if array are not converted to strings
2011-05-05 07:31:04 +00:00
Ralf Becker
e1783ea0f7
values are NOT yet used on client side, but give warnings if array are not converted to strings
2011-05-05 07:30:30 +00:00
Ralf Becker
beb6f20790
sort attributes, to stop xet files from changing because of changed attribute order
2011-05-05 06:51:40 +00:00
Ralf Becker
1e8de99ed7
Move initialisation for egw_actions stuff into static method of nextmatch_widget, it get called now from:
...
- etemplate::show_grid()
- addressbook_ui::view() to load JS stuff before header get generated
2011-05-02 13:34:59 +00:00
Ralf Becker
dfd160f11b
- automatic switch to hierarchical display, if more then $max_cats_flat=14 cats found
...
- add category icons
2011-05-01 09:11:45 +00:00
Ralf Becker
ce4543785c
setting default to 14
2011-04-30 08:21:19 +00:00
Ralf Becker
4f65e182e1
automatic pagination of long context submenus, eg. categories
2011-04-30 08:17:14 +00:00
Ralf Becker
60edb83929
enable via a class and no more need to set enabled='javascript:nm...' for enableClass or disableClass
2011-04-27 16:54:35 +00:00
Ralf Becker
fb5ea143be
- returning checked state of all checkboxes, not only select_all, in $content[nm][checkboxes]
...
- $content[nm][select_all] is now only reference to $content[nm][checkboxes][select_all]
- checkboxes need no default onExecute, therefore removed nm_select_all method
- improved documentation for action stuff in nextmatch widget
- added egwAction.getActionsByAttr(_attr, _val) method returning all actions with a given attribute and value
2011-04-27 07:49:46 +00:00
Ralf Becker
dc88e0c190
- automatic creation of action_links (enabled actions and ones which need to be checked if enabled) by using all first level actions plus the ones with enabled set to 'javaScript:...'
...
- a bit of docu about the actions system usable through nextmatch widget
--> addressbook disables now "remove from distirbution list" and "delete selected distribution list", if no distribution list is selected
2011-04-26 19:50:03 +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
40c4477b23
finetuning history log display for custom fields
2011-04-19 18:50:23 +00:00
Ralf Becker
7705b25ece
history log widget "knows" now about custom fields and bo_tracking optionally initialises them too
2011-04-19 15:00:49 +00:00
Ralf Becker
33bbd3465d
- fixed bug in timesheet, success/error message of set category or status was not shown
...
- using now a single (default) action Open, which opens a timesheet to edit or view depending on rights
- added phrases "Open" and "Whole query" to API/common, as they are used in many apps
2011-04-19 09:44:25 +00:00
Ralf Becker
bb0e8617b2
enable/disable edit and delete action, based on ACL rights, set as css classes to each row
2011-04-17 20:45:21 +00:00
Ralf Becker
6081a5749d
timesheet context menus are now complete:
...
- query all is moved into context menu
- legacy support only contains button to trigger context menu
- moved some common phrases into the API:
+ Delete this entry
+ Delete these entries
+ You need to select some entries first!
- support for singular and plural confirmation messages
2011-04-17 18:53:45 +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
Ralf Becker
f9444ae1cd
added "decimal" to nummeric types, to fix PostgreSQL error (bug #2105 )
2011-04-10 15:12:43 +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
3e1f3f9df8
Allow app to provide an export definition, used if preference can't be found
2011-03-29 14:51:26 +00:00
Nathan Gray
c714b06848
Add custom field type 'Float'.
...
It understands options precision, min & max, so for example:
precision=2
max=20
2011-03-28 22:43:39 +00:00
Nathan Gray
9b072a81a7
Command processing needs to do escaping for XML too
2011-03-28 20:36:15 +00:00
Ralf Becker
b5c3c90260
activated new table style and row selection for etemplate, not yet with contect menus
2011-03-27 16:14:08 +00:00
Ralf Becker
272282e573
remove stupid (0) from phone numbers written as "+49 (0) 123 1234567"
2011-03-26 15:57:24 +00:00
Nathan Gray
c2f1340075
Give CSV export definition preference priority over app settings
2011-03-24 14:45:12 +00:00
Andreas Stöckel
f6d0edbdc1
Added basic support for the egw_action framework in the nextmatch widget (currently not active)
2011-03-22 17:06:02 +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
778d03772a
fixed typo CAPABILITY_CAST_AS_VA(R)CHAR
2011-03-20 12:49:22 +00:00
Ralf Becker
c492c57e2f
* Addressbook: fixed PostgeSQL error when searching or showing accounts
2011-03-20 12:37:22 +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
Ralf Becker
f05b7dd43e
stop filling up the logs with: explode() expects parameter 2 to be string
2011-03-10 13:08:29 +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
Ralf Becker
4cce629666
* fixed handling of + char in VFS filenames (using egw_vfs::decodePath() instead of urldecode())
2011-03-03 15:41:01 +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
20d6378bd2
Change importexport exporting to be able to pass a definition
2011-02-28 18:10:18 +00:00
Nathan Gray
2e5144b5a2
Add permission check before using importexport for export
2011-02-28 17:35:18 +00:00
Nathan Gray
36ac740a5c
* Nextmatch widget can use Import/Export definitions for exporting, if the app has the preference nextmatch-export-definition set to the name of the definition to use.
2011-02-28 17:32:32 +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
99df873aa3
- Add setting to select-cat to display missing IDs as Missing: #
...
- Use select-cat setting in historylog widget to display something for deleted categories
2011-02-18 18:27:01 +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
1ef649b869
Fix for display of multi-row read-only select-account widget
2011-02-16 18:22:42 +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
Nathan Gray
939052437d
Fix escaping of double quotes
2011-01-24 16:43:15 +00:00
Christian Binder
b6b7e7bd84
moved erole widget from global class to app-specific class
2011-01-22 17:02:31 +00:00
Christian Binder
0670e247e9
changed retrieving of pm_id and pe_id to etemplate_request::read() (thanks Ralf) - added tiny method to check for global eroles - prevent displaying global eroles in etemplate editor
2011-01-19 16:36:13 +00:00
Nathan Gray
5301af7a82
Use custom label as label, if it's not just a number
2011-01-18 15:55:42 +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
Nathan Gray
91a5f43670
Updated file from Randy Houlahan
...
- Updates for JS code changes
- Change in file name handling - looks for lower case now
2011-01-10 15:44:32 +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
Nathan Gray
e2d54119dd
- Fix infinite loop bug if you use 'OR' in search
...
- Use case-insensitive LIKE from db capabilities
2011-01-07 21:13:40 +00:00
Christian Binder
52133ffd54
fixed typo (did not validate but should be a typo)
2011-01-07 13:57:58 +00:00
Andreas Stöckel
4b93e5c0c5
Accidently set the thumbnail size to 16 in every vfs-mime widget. Added new option to the vfs-mime widget which allows you to set the thumbnail size.
2010-12-31 14:31:50 +00:00
Andreas Stöckel
2a71bab988
Fixed parts of EGW Stylite Bug #8260 . Very wide images do not longer get displayed very broadly in the filemanager select widget.
...
To achive this, some changes to the CSS were made and the ability to return thumbnails with a given size was added to etemplate/thumbnail.php. Miniature images with dimensions smaller than one pixel are now no longer created.
In this progress I discovered a minor security issue which might cause multiple egroupware instances to mix up their thumbnails in rare occasions. This was fixed by now hashing the image path together with the webserver url and the thumbnail size. In this progress, the thumbnail generation code has been restructured, making it faster and much easier to understand.
2010-12-30 19:54:43 +00:00
Nathan Gray
726798c8cb
Fix order, escape quotes first or the field delimiters get doubled
2010-12-17 16:59:02 +00:00
Nathan Gray
855c601f98
Escape double quotes
2010-12-17 16:45:57 +00:00
Klaus Leithoff
e3ee0b34fd
* CSV Export: Replace CRLF with LF so excel does not break lines early (myStylite#974)
2010-12-16 15:07:19 +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
92ebc10cef
give current value higher priority then $value[default_sel] when determining $app
2010-11-12 08:17:30 +00:00
Ralf Becker
43d2411ba1
fixing some warnings
2010-11-10 08:26:41 +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
5efac64eff
fixed wrong parameter type warning
2010-10-26 13:29:09 +00:00
Ralf Becker
af7a24eb9a
framework->navbar() now automatically calls framework->header(), this way navbar or sidebox can include JS or CSS, because header is called after
2010-10-18 10:46:47 +00:00
Ralf Becker
0dd58b36cf
quiten warning if $cell[size] is an array
2010-10-12 07:48:35 +00:00
Klaus Leithoff
e4ef70dd02
dont try to translate text from textfields when in listview
2010-10-04 11:50:37 +00:00
Nathan Gray
9f6c1c1994
Add a parameter to allow an extra 'Custom' country option when using 2 letter codes
2010-09-28 20:53:00 +00:00
Nathan Gray
272d30c3a7
Add parameter 'show_deleted' to include 'deleted' links waiting for purge
2010-09-27 16:29:50 +00:00
Ralf Becker
d29205529b
removed use of PHP 5.3 deprecated eregi
2010-09-17 19:32:11 +00:00
Ralf Becker
201f0d33e3
also quote quotes in variables surounded by curly brackets, eg. '{[nm][path]}'
2010-09-14 16:33:33 +00:00
Ralf Becker
3c58ef8473
fixed historylog widget shows "unknow type" for selectboxes with explicit options containing key 0
2010-08-27 16:11:02 +00:00
Ralf Becker
ea97fc438f
using utf-8 encoding for html merge-print
2010-08-23 12:03:03 +00:00
Ralf Becker
3835e9acbc
reverted r31570/7: using label as blur text, as label is already used (as label), using blur text field now, no idea why I didnt used it in the first place ;-)
2010-08-16 07:28:58 +00:00
Ralf Becker
f156301f25
fixed wrongly display blur text for value "0"
2010-08-12 18:03:03 +00:00
Ralf Becker
5a03cff75d
set span & class from original cell for single fields
2010-08-05 15:36:23 +00:00
Ralf Becker
bb468774f7
quitened warning
2010-08-01 12:47:26 +00:00
Ralf Becker
a1c9f68a1e
remove not used advanced-search-widget
2010-08-01 10:02:04 +00:00
Ralf Becker
3dc949d08e
display readonly link-entry widgets as links to the linked entry
2010-07-30 15:27:51 +00:00
Ralf Becker
4fc00c03ae
forgot to translate the label
2010-07-30 14:02:19 +00:00
Ralf Becker
55463e493b
displaying label of link-entry widget as blur text
2010-07-30 08:36:41 +00:00
Klaus Leithoff
72610fb3ad
allow minus and underscore in validation as part of the LocalPart of the eMailaddress; even directly in front of the @ sign
2010-07-23 12:10:52 +00:00
Ralf Becker
b9bfd285a5
fixed not working checkboxes after r31472
2010-07-22 13:09:33 +00:00
Ralf Becker
f597385a9c
fixed caching of etemplates:
...
- never read timestamp of last import from cache
- check timestamps only once per session and app
2010-07-21 13:50:29 +00:00
Ralf Becker
4da973400c
allow and validate needed (required) attribute for file uploads, checkboxes and radio buttons
2010-07-21 08:21:42 +00:00
Ralf Becker
4ad95007b5
using call_user_func instead of depricated call_user_method, which seems at least under PHP5.3 not to allow static calls
2010-07-20 14:34:20 +00:00
Ralf Becker
b5f35a4b75
validating (string) === '' (instead === ''), as on ajax commit no yet set inputs are returned as null instead of ''
2010-07-13 20:47:25 +00:00
Nathan Gray
48ba641cb3
Avoid conflicts with other objects that have ->db defined by using the global db
2010-07-13 14:22:14 +00:00
Klaus Leithoff
b78a9865cc
explicitly process fields to order by, as cutomfields may have names with spaces, so we examine each order by criteria, as our preg did not do the job properly
2010-07-08 11:37:56 +00:00
Klaus Leithoff
82e8bdbd9e
allow for like wildcard.val.wildcard in filtersearch for customfields (needed for advanced search, as criteria are now remapped to be filters for customfields)
2010-07-07 14:11:33 +00:00
Klaus Leithoff
07930ecd58
fix advanced search for customfields (multiple field criteria, combined by AND) in addressbook
2010-07-07 11:38:52 +00:00
Ralf Becker
c1fa529fc8
new optional parameter "extra_args" for link widget, to add further get parameters to the link
2010-07-07 10:10:23 +00:00
Klaus Leithoff
c8abf9eacc
fix a problem with content validation; was returned as array
2010-06-28 14:09:59 +00:00
Ralf Becker
30ce2262dd
if search pattern alread contains a wildcard, do NOT add further ones automatic (eg. in extended search in addressbook)
2010-06-25 07:11:39 +00:00
Nathan Gray
97cdb61ea5
Fix for searching with custom fields in
2010-06-18 11:15:35 +00:00
Jörg Lehrke
a4b36620dd
Fix excess of maximum column length issue
2010-06-18 09:33:57 +00:00
Ralf Becker
88ebb437c2
methods to set or get all body tags or javascript files, replacing direct access to variables of old javascript class
2010-06-15 16:08:10 +00:00
Ralf Becker
8c913bb95a
correct validation errors, if no file selected or file could not be attached
2010-06-14 20:17:55 +00:00
Nathan Gray
e37b4807c2
Fix searching for a given custom field value using criteria parameter
2010-06-14 10:18:23 +00:00
Ralf Becker
58ce706d2c
Use json_encode() instead of removed convert_phparray_jsarray()
2010-06-10 14:41:05 +00:00
Ralf Becker
8b49db5a57
new framework method to return javascript to call manual
2010-06-07 22:06:35 +00:00
Ralf Becker
f80f79a98a
removing unnecessary diagnostics
2010-05-30 11:19:50 +00:00
Klaus Leithoff
3d99f3e9b3
if is not a string but 0, the comparsion == ->autoinc_id is true, which leads to an SQL Query error, if an extra column is used in sorting/filtering together with the lettersearch
2010-05-28 11:08:36 +00:00
Ralf Becker
579cf86bbc
fix for bug #2624 : SQL error - CONCAT not supported by postgres
2010-05-26 15:44:09 +00:00
Nathan Gray
2760915be4
Always understand english search operators
2010-05-25 19:04:40 +00:00
Ralf Becker
b43a3843d2
fixing bug #2609 : Saving attached files to the filemanager doesn't work
2010-05-25 13:17:46 +00:00