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