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
Ralf Becker
04601a486e
"understand run_lang for settings, to NOT return already translated phrases with replaced placeholders"
2010-05-21 07:21:30 +00:00
Ralf Becker
6799864392
fixed wrong language in notifications
2010-05-20 19:32:52 +00:00
Ralf Becker
a3a3fa1671
"new feature to explicitly set an id for widgets: prefix name with a hash --> id is the name without the hash, and NOT the form_name as before
...
Should not create any backward compatibilty issues - fingers crossed ;-)"
2010-05-20 09:06:53 +00:00
Ralf Becker
3a1412d8fe
"fixed warning: explode expects 2. parameter to be string, array given"
2010-05-15 13:44:42 +00:00
Ralf Becker
71a7c20326
"fix for bug #2588 and #2592 : links/popups in resources are not working
...
--> seems to be an aftermath of the new quoting
Thanks to Yudhi Kusnanto for a patch"
2010-05-12 19:17:01 +00:00
Ralf Becker
55f5a80a5e
refining regular expressesion for PHP variables (replies[$row][reply_message] returned more then $row) and removed quoting from submitit call in button, as quotes in vars get quoted double
2010-05-12 07:50:13 +00:00
Ralf Becker
dbf8a15b55
"disable permanent error_log"
2010-05-11 18:12:55 +00:00
Ralf Becker
fd56fb27c3
Correct quoting of special chars in vfs:
...
- # has special meaning in url and is intern always urlencoded as %23
- ? has special meaning in url and is intern always urlencoded as %3F
- % need to be urlencoded as %25, as it's the escape char in urlencoding
(it has not been stored urlencoded in sqlfs so far, there's some
workaround in filemanger_ui to deal with the old unencoded % chars)
- space and + are NOT urlencoded in sqlfs in the DB, they get urlencoded
only for download urls
- " get urlencoded for download urls only as it messes up the html
markup
--> Filenames get urldecoded, before displayed to user
- done manually eg. in messages
- done automatically in new vfs-name widget (both ways)
2010-05-11 15:02:30 +00:00
Ralf Becker
2d0c33bb90
Some more quoting (and unquoting) of quotes in variable used eg. as
...
button names: eg. "delete[$row_cont[path]]" with path containing " or '
- they need to get quoted for correct html markup
- etemplate_request::set_to_process() need to use unquoted version, as
this is how it get returned in $_POST
2010-05-11 14:52:45 +00:00
Ralf Becker
db23b1d746
- correctly quote single and double quotes in html element id's
...
- correctly quote quotes in parameters of javascript functions used
eg. as eventhandlers, eg. onchange="do_something('$cont[name]');"
--> if $cont[name] is an array: do_something([ 'val1', 'val2' ]) is used
- correctly quote & in get parameters of url's
2010-05-09 14:06:35 +00:00
Ralf Becker
4ecc2c0360
"allowing (at least) German umlauts in domain names"
2010-05-06 08:02:32 +00:00
Klaus Leithoff
ed040955bb
prevent foreach warning, when & is not an array
2010-04-27 10:37:50 +00:00
Nathan Gray
f47cced6ed
Fix for Postgres DB error loading eTemplate from Yudhi Kusnanto
2010-04-25 23:47:16 +00:00
Jörg Lehrke
334a8c6fc3
Fix addressbook_bo::find_contact()
2010-04-21 17:41:34 +00:00
Nathan Gray
6c3ba68ca1
If only_keys is true, expand it in so_sql_cf so the table_name can be prepended. Fixes last part of #2543 , adding link when importing mail to infolog
2010-04-21 15:40:58 +00:00
Klaus Leithoff
69da1000b2
if only keys is passed to search return only the DISTINCT result-set (was not implemented when only_keys where passed as array)
2010-04-21 12:14:04 +00:00
Klaus Leithoff
7a4f191fb3
fix to provide (return) data even if a shortname is used as column name
2010-04-20 13:58:01 +00:00
Ralf Becker
423dbbc567
"an other fix: if there's already an explicit named column, just use that name"
2010-04-20 08:12:22 +00:00
Ralf Becker
765a1d5c09
"fixed not returned (explicitly given) columns: you need to use $table.'.'.$col.' AS '.$col, without AS column get NOT returned as name is different"
2010-04-20 07:39:23 +00:00
Klaus Leithoff
a9fd21325d
fixing a bug, when trying to sanitize possible ambiguous columns
2010-04-16 10:35:09 +00:00
Nathan Gray
2aed9e476f
Fix copy/paste error to get address merging working
2010-04-15 14:56:37 +00:00
Klaus Leithoff
1ec94a70fe
set cat_app with value from get_row (, if not set) to ensure the cats of the template/listview in question are to be loaded
2010-04-12 07:23:21 +00:00
Nathan Gray
549626cbf9
Add some extra handling for potentially ambiguous columns in
2010-04-08 22:13:22 +00:00
Nathan Gray
215da11fae
Add some extra handling for ambiguous columns
2010-04-08 20:21:40 +00:00
Nathan Gray
79dfab8005
Custom field widget can be limited to (or exclude) certain fields. Put the list of fieldnames to display as the 3rd (4th, etc) option. Using a ! as the first character will negate the list, and exclude the named fields.
2010-04-07 17:00:09 +00:00
Nathan Gray
97727d41ce
Fix filtering on a multi-select custom field. Any entry with the filter value will be included.
2010-04-07 16:06:01 +00:00
Ralf Becker
f2e9a38ff4
"fixed ambiguous column sql-error by adding table-name to id over which we join"
2010-04-04 09:08:25 +00:00
Ralf Becker
a45ea03b19
"fixed ambiguous column sql-error by adding table-name to id over which we join"
2010-04-04 08:59:37 +00:00
Nathan Gray
5e23cfb764
Working on searching...
...
- Check default column names to avoid DB errors
- Prefix default column names with table name to avoid ambiguity
- Handle single words in quotes
2010-04-01 20:48:16 +00:00
Nathan Gray
93cf9c2e84
Don't need to pass ->extra_value, search2criteria() will take care of it
2010-04-01 20:20:08 +00:00
Nathan Gray
4b134dfc9e
Extra column check needs to be escaped
2010-04-01 20:19:28 +00:00
Nathan Gray
fa6c1d4a9c
Need to set numeric types to check
2010-04-01 20:07:01 +00:00
Nathan Gray
d22773d04d
Add extra search functionality to custom fields.
2010-04-01 19:59:50 +00:00
Nathan Gray
3d8fca332b
More sensible handling of numeric columns:
...
- If app doesn't specify columns to search, all columns except numerics with '_id', 'modified', 'modifier', 'status', 'cat_id', 'owner' will be considered
- Numeric columns will be searched only if the search string contains a numeric token. 'maintenance 50' is ok to search for, but for numeric columns only 50 will be searched.
- Numeric columns are searched using equality, unless user puts in a wildcard. Searching for 50 will only match 50, not 150 or 1950/04/10, but *50 will match 150.
- Text columns are searched using LIKE, including numeric search terms, as before.
2010-04-01 17:03:51 +00:00
Nathan Gray
cc0f8f3c28
An attempt to add more functionality to searching
...
- All words are trimmed
- Double quotes require the exact phrase ("Nathan Gray" will not match Nathan Brown or Gray Power)
- Modifiers + and - before a word will require or exclude the word (+test -fail), otherwise word is ORed
- User language modifiers AND, OR and NOT (uppercase) will be parsed.
- Combinations: tracker entry -testing -"fatal error"
Note that "entry" will not match "entries", and the results are not sorted by match strength.
All applications that use so_sql for searching should gain these benefits.
2010-03-31 21:29:11 +00:00
Ralf Becker
a858db5eb8
"for iPhone and Android: replace evtl. configured telephony integration link with tel: protocoll"
2010-03-28 13:33:40 +00:00
Ralf Becker
c60a1ad94d
"for iPhone and Android: replace evtl. configured telephony integration link with tel: protocoll"
2010-03-28 13:27:30 +00:00
Ralf Becker
99a9132cd5
"fixed not working activation of tab with different prefix"
2010-03-23 19:34:40 +00:00
Ralf Becker
71960a6d02
Fixed some more php53 Warnings after latest fix_depricated.php
...
improvment.
2010-03-21 09:37:52 +00:00
Ralf Becker
4cc9586e39
xajax uses xml to transport the label, therefore we have to replace not only CR, LF (not allowed unencoded in Javascript strings) but also all utf-8 C0 and C1 plus CR and LF
2010-03-19 13:05:20 +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
Klaus Leithoff
d9c39caf7e
removing possible CR/LF from content for ajax search result javascript, as it breaks the options
2010-03-15 17:17:33 +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
83b60b81fc
Fixed r29141: "Add a checkbox to allow user to prevent notification of
...
changes to a ticket", to NOT prevent history logging, if checked
2010-03-07 14:45:12 +00:00
Ralf Becker
3eb38935bb
caching etemplates using egw_cache class on instance level (instead off old not egw_cached based code on request level), to ease the load on the db
2010-03-05 08:18:46 +00:00
Ralf Becker
0f2eceefb8
Preseed link title-cache for link-list and link-string widget
...
(Performance improvment, as all titles of an application get queried in
a single query and NOT once for every link)
2010-03-04 17:07:10 +00:00
Nathan Gray
4424d49c30
Handle case when ID is missing, happens the time after clearing the cf search
2010-02-22 22:46:17 +00:00
Nathan Gray
48886af55c
Blur text can affect regular searches, not just array searches
2010-02-22 20:56:59 +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
Ralf Becker
ab598b8fcb
fix for user changing the timezone while having an edit popup open (unfixed the timestamps would change by the differenz of the two timezones). This fix does eg. NOT fix history logging (depending on the entry read before saving it), so it is better to handle the situation in the UI code, thought this is better then not handling it at all
2010-02-17 00:55:43 +00:00
Ralf Becker
39666ba03b
let link-entry display "appname: #id" for entries no link title is available (eg. because they got deleted), makes sense eg. for history logging
2010-02-16 23:23:24 +00:00
Nathan Gray
42bd4d227c
Upgrades to historylog_widget:
...
- Allow array for options of a 1:N record, as documented in bo_tracking
- Allow passing in a filter parameter, and pass it on to historylog->search
2010-02-12 18:34:33 +00:00
Nathan Gray
9bf462d616
Add check for blur text left in
2010-02-09 18:07:53 +00:00
Nathan Gray
fc1328fae8
Fix path problem where js couldn't be found
2010-02-09 16:34:34 +00:00
Jörg Lehrke
b75f5f9828
Change default timezone for tracking->datetime() to server-time
2010-02-05 16:41:04 +00:00
Ralf Becker
bba515d2e2
added upload failed message also to vfs-upload widget
2010-02-05 04:09:17 +00:00
Ralf Becker
6fb9ae3a6d
moved failed upload check from filemanager to etemplate and further improved it
2010-02-05 02:54:47 +00:00
Jörg Lehrke
75746226a4
Use egw_time for InfoLog, tracking backend and Tracker
2010-02-04 12:08:03 +00:00
Klaus Leithoff
807b72aa93
feature: resize etemplate popups, that they may fit into the window
2010-02-03 14:11:16 +00:00
Ralf Becker
958452ff95
Implementation of global categories limited to a certain group:
...
- from user perspectiv they are global cat like the existing ones
(also comming in two flavors: global or for a certain app)
- admins can select to limit a global cat when they create it
--> all members of a given group have the cat as a global one
==> This does a silent modification of the categories table:
global cats get changed from cat_owner=-1 to cat_owner=0 !!!
2010-01-31 03:36:01 +00:00
Ralf Becker
e73dcb2a27
fixed colorpicker (as not using current color) and added colorpicker widget to etemplate
2010-01-30 23:55:36 +00:00
Ralf Becker
25c29211f5
adapting for changed categories class
2010-01-30 23:54:08 +00:00
Ralf Becker
6b5976ba82
fixed not displayed custom field type "link-entry"
2010-01-24 00:03:41 +00:00
Hans-Jürgen Tappe
4a709b2024
Fix typo.
2010-01-22 21:18:45 +00:00
Nathan Gray
7c72754631
If an option is null, don't keep it because it may get turned to an empty array.
2010-01-15 16:10:55 +00:00
Ralf Becker
369161d91f
allow to use \n in confirm messages to format the question
2010-01-15 01:10:15 +00:00
Ralf Becker
3ce3cde916
fixed in wrong order displayed sub-categories
2010-01-13 06:31:52 +00:00
Nathan Gray
d889e92774
Add AJAX Select widget as a field type for custom fields.
...
Select options can be provided using one of three different methods:
1. key=value pairs, one per line, as for a selectbox
2. @filename.php - The file must be in the egw root, and define an array named $options, that has key => value pairs
3. Define the options normally used for the AJAX Select widget (get_rows, get_title, id_field) and it will pull values from the database, as normal.
Other options (icon, filter, template, link) can be used regardless of the method used to get the values.
2010-01-12 22:35:51 +00:00
Ralf Becker
cc5c917832
fixed static get_rows callback for php5.3, it is working for all php versions, thought from 5.2.3+ it is a static call AND always calls $query as a var parameter!
2010-01-11 23:37:39 +00:00
Stefan Becker
ddd1a2176c
"fixes Problem with pagerepead and multipe Adresslabels on one page"
2009-12-30 13:59:08 +00:00
Ralf Becker
7e754c28c1
hack to get Excel 200X to display additional rows in tables
2009-12-27 23:51:25 +00:00
Ralf Becker
fdf4dcb9b9
fixed not working $$time$$ and $$date$$ placeholders, by using egw_time::to() and deprecating format_datetime()
2009-12-24 02:00:51 +00:00
Stefan Becker
5a4c77bcf3
"fixed Problem with span and Linefeed"
2009-12-21 10:47:02 +00:00
Oscar Manuel Gómez Senovilla
ef7ff3d6b3
Fix pending hardcoding for new translations
2009-12-14 21:11:05 +00:00
Nathan Gray
28b3dde6ec
Change how type is passed to use the new link query options parameter
2009-12-07 21:44:04 +00:00
Ralf Becker
de2589963a
"fixed warning of not writable lang directory to cater for new location"
2009-12-03 16:45:51 +00:00
Ralf Becker
13cb41a882
"allow for office2003 (application/xml) $$pagerepeat$$ and some cleanups"
2009-12-03 16:15:23 +00:00
Oscar Manuel Gómez Senovilla
f092da71fd
Patch to migrate lang files from setup/egw_*.lang to lang/egw_*.lang
2009-11-28 11:30:48 +00:00
Ralf Becker
697cc4f310
otherwise we get stoped by max_excutiontime
2009-11-28 11:07:31 +00:00
Stefan Becker
84e692fbb8
new prefix tags for serial letters
2009-11-27 16:37:54 +00:00
Ralf Becker
0814820652
new option &128 to NOT require an extra trigger for date popup, clicking
...
into input box is enought and removing of extra separators to be more
compact
2009-11-25 20:19:35 +00:00
Nathan Gray
8972a0ceff
Fix typo, should have a list of apps now
2009-11-24 16:31:14 +00:00
Ralf Becker
0e646e28c8
optinally return an iterator for a search
2009-11-24 10:59:19 +00:00
Ralf Becker
86e1dfa7c7
some switched off debug messages
2009-11-24 10:56:41 +00:00
Nathan Gray
b685a21fd1
eTemplate changes to support optional link sub-types
2009-11-19 20:10:46 +00:00
Ralf Becker
fe41f199bc
"use application/vnd.ms-excel for downloading excel 2003 xml format"
2009-11-14 16:08:26 +00:00
Ralf Becker
21edc1ac8a
"also disable columns for which application supplies no label (eg. no custom fields exist)"
2009-11-14 08:45:38 +00:00
Ralf Becker
b2436d312b
"fixed again which row to use, if we have to autodetect the fields:
...
we start now from the beginning searching for the first row of type array
(previously we tried the first and last row)"
2009-11-14 07:17:19 +00:00
Ralf Becker
3d5bd129ca
"using an implicit default of '.' as decimal separator, if no explicit default is set"
2009-11-13 09:49:13 +00:00
Ralf Becker
47b2216554
- new preference number_format, to specify number_format (currently only
...
used in eTemplate)
- added basic support for DateTime / egw_time to eTemplate date-widget
2009-11-12 18:36:50 +00:00
Ralf Becker
5b64b4a0e7
"fixed exception eteplate::get_array($arr,$name) $arr is no array"
2009-11-06 12:56:51 +00:00
Ralf Becker
b70d208d3f
"alternative syntax using double curly brackets, agressivly removing all xml-tags eg. Word adds within placeholders:
...
{{user/n_fn}} or {{<w:t>user</w:t>/<w:t>n_fn</w:t>}} --> $$user/n_fn$$"
2009-11-04 14:18:11 +00:00
Ralf Becker
b800493aa2
"application/xml need to be treated like xml: utf-8 encoded and encoding <>&"
2009-11-03 13:10:49 +00:00
Ralf Becker
86d9470719
"downloading word2003 mergeprint files (application/xml) as application/msword, to open it automatically in word or oowriter"
2009-11-03 11:55:12 +00:00
Ralf Becker
1052fffbba
"added application/xml as alias for text/xml"
2009-11-03 11:05:09 +00:00
Ralf Becker
90f91bc9c7
"- fixed wrong languague in notifications, because translation->userlang was changed to a static class-var
...
- fixed sometimes wrong prefs for to notified user were used (because more then one user got notified)"
2009-11-03 10:19:48 +00:00
Ralf Becker
0a4c2614a5
- moved user timezone list to egw_time
...
- added standard widget to select timezones
- modified egw_time::server2user and ::user2server to return NULL, if
time can not be parsed, not throwing an exception (as this are legacy
function meant to easy convert existing code, eg. replace strtotime())
2009-11-01 12:48:25 +00:00
Ralf Becker
d8ce440e33
fixed not encoded column-headers in csv export (were not useing the
...
export charset, as used for data)
2009-10-27 14:49:23 +00:00
Ralf Becker
a00b86c0df
"making send_notification public, as it's used by infolog"
2009-10-24 09:07:33 +00:00
Ralf Becker
b1e7fddde7
"making bo_tracking::datetime public again, as it's used outside of the class"
2009-10-23 09:47:15 +00:00
Ralf Becker
b74cf30404
"using a vbox (instead just a box) widget, to separate files in individual lines for readonly display too"
2009-10-22 14:02:19 +00:00
Ralf Becker
dbcf17972e
"make 1:N relations more tolerant for none existing rows, gave a fatal error"
2009-10-19 12:24:34 +00:00
Ralf Becker
29040ae9f8
Allow extensions to mark themself as noReadonlysALL, to not set
...
readonly, if $readonlys['__ALL__'] is set:
required for tab-widget, to be able to disable single tabs, if whole
dialog is set to readonly (view-mode)
2009-10-15 08:48:47 +00:00
Ralf Becker
ccdb259f5f
setting readonlys to array, if its not that type
2009-10-14 19:06:54 +00:00
Ralf Becker
12c7f02be3
"fixed only first row got loged, as array_diff keys the index --> renumbering with array_values"
2009-10-14 19:01:36 +00:00
Ralf Becker
11d0e8caec
"allow to specify an addtional option for each widget in a 1:N relation"
2009-10-14 19:00:16 +00:00
Ralf Becker
17bd96df7d
"ability for table plugins: they allow to repeat a table-row of an 1:N relation
...
It can eg. be used to list infologs under a sheet with contact information"
2009-10-14 08:12:11 +00:00
Ralf Becker
b97b485700
"need to also empty $name, to fully supress buttons in a box"
2009-10-13 12:09:54 +00:00
Ralf Becker
7ad5e22305
"disabling permanent logging of get_rows calls"
2009-10-12 09:08:11 +00:00
Ralf Becker
7813b84458
"reworked nextmatch widget to be able to call it's csv-export from applications (to not implement it again):
...
Example: nextmatch_widget::csv_export(array('get_rows' => 'myapp.myclass.mymethod'));"
2009-10-11 12:37:48 +00:00
Ralf Becker
4e21b766b9
- reworked old browser class to use have only static methods
...
--> recogniced it's so old and dusty, it does not make sense any more
--> moved content_header() method to html class
- fixed calls of browser->content_header to use html::content_header
instead
2009-10-11 11:37:46 +00:00
Ralf Becker
30a8168747
"only open office archives need to be repaired by \"zip -F\" (because a bug in php<5.3.1),
...
ms word files brake, when \"zip -F\" is run on them
GRRRRRRRRRRRR"
2009-10-09 14:39:55 +00:00
Ralf Becker
141519d4e6
"open office and ms office xml based formats always use utf-8 encoding (dont use export charset for them)"
2009-10-09 11:22:23 +00:00
Ralf Becker
200a6d61d5
Reworked so_sql class to:
...
- use new egw_time::server2user() and egw_time::user2server() to do
timezone conversation of registered timestamps
- added $timestamp_type parameter to constructor, to automatic convert
all timestamps on read (or search) to given type, default NULL leaves
them unchanged --> will allow in future to work completly with
egw_time objects
2009-10-08 16:18:28 +00:00
Ralf Becker
fe3ec75610
zip'ed xml document (eg. OO) --> need to encode &,<,> to not mess up xml
2009-10-07 17:46:09 +00:00
Ralf Becker
adf5ca040e
"dump4setup: searching by app.% instead of app% now"
2009-10-03 06:17:05 +00:00
Stefan Becker
e1c1f54cd6
added new tags for emty lines also for open office
2009-10-01 19:37:16 +00:00
Ralf Becker
a81fb02efe
"\"needed\" attribute got lost for \"select-account\" widget"
2009-10-01 14:08:15 +00:00
Nathan Gray
978a1d9642
Make sure if options-selectcols is set by caller, we don't clear it
2009-09-30 15:04:49 +00:00
Ralf Becker
db8599726e
"fixed partial content lost on validation errors"
2009-09-30 07:29:14 +00:00
Nathan Gray
9b29f45a0f
Remove return true; it was from the previous way I tried.
2009-09-29 14:22:10 +00:00
Ralf Becker
22083c7780
"only export highest version (we sort by version DESC!)"
2009-09-29 12:35:58 +00:00
Ralf Becker
ba213a6946
"export now correctly included multiple levels of included templates using relative names"
2009-09-29 12:19:54 +00:00
Klaus Leithoff
638ec3fcd0
return false for _post_process_cf_header as the return of always true in rows context, breaks functionality with infolog close, closeall and delete called from listview
2009-09-29 12:04:27 +00:00
Stefan Becker
0c7521cecf
added a 7th paramter to use in sitemgr modules
2009-09-28 19:14:45 +00:00
Ralf Becker
d6aaaf1f73
some widgets have label as second option (column name with _ as first),
...
not a perfect detection ...
2009-09-28 12:52:50 +00:00
Ralf Becker
90cba9cb0e
added select-bool widget with options 0 => 'no',1 => 'yes'
...
--> can be used with nextmatch custom filter to filter by a boolean
column
2009-09-28 12:51:18 +00:00
Ralf Becker
a47dab03a4
"added $extra_cols parameter of so_sql (parent class)"
2009-09-28 12:44:44 +00:00
Ralf Becker
a4d167ef8c
"fix to allow array with id's for autoinc_id"
2009-09-26 11:00:11 +00:00
Nathan Gray
c619a5d1ec
Clear filter button no longer needed, link-entry handles it
2009-09-25 14:17:41 +00:00
Ralf Becker
a11a04b78d
Enhanced nextmatch and link-widget to be able to use a link-entry
...
widget as a custom nextmatch header
Allows eg. in InfoLog to search and then filter by any linked entry of an other application:
- Infologs linked to a project or
- Infologs linked to a contact
2009-09-25 07:59:34 +00:00
Nathan Gray
780bfee1ec
Add ability for nextmatch-customfields header to filter custom fields that are links to another application
2009-09-23 15:27:33 +00:00
Stefan Becker
08d4daad55
added new Tags for merge
2009-09-23 13:00:59 +00:00
Nathan Gray
84e61f3d92
Changes from John Trudel to allow the ajax select widget to return additional information about a selected item. Additional fields are semicolon separated and added after the primary key in the ID Field
2009-09-21 18:34:14 +00:00
Ralf Becker
8db94f2471
"fix csv export to correctly export multiple categories (semicolon separated)"
2009-09-18 14:09:11 +00:00
Ralf Becker
35396fb309
"fix to simplify implementation of view dialogs:
...
$readonlys['__ALL__'] = true;
$readonlys['button[cancel]'] = false;
--> makes all widgets readonly, but the ones explicitly set to false"
2009-09-16 10:42:45 +00:00
Ralf Becker
ad5d2c3941
docu update and fixed so_sql_cf::delete($keys,true) to always return array
2009-09-16 10:20:34 +00:00
Stefan Becker
e88e7fab4b
added serial letters for docx files
2009-09-13 12:06:40 +00:00
Christian Binder
9259494a02
just a small fix for the debug output
2009-09-12 09:09:28 +00:00
Nathan Gray
c8f411bd4c
Make etemplate able to handle multiple calls to egw::lang() in the same line
2009-09-11 20:13:06 +00:00
Ralf Becker
4e2f35d4dc
added support for ms excel 2007
2009-09-01 14:41:48 +00:00
Ralf Becker
4a2d859391
implemented OO spreadsheet support
2009-09-01 10:25:36 +00:00
Klaus Leithoff
d7c2041872
making do_notification public again, as it is used for addressbook_contactform
2009-08-28 11:16:57 +00:00
Ralf Becker
a8fa4383e5
"fixed typo"
2009-08-28 07:14:39 +00:00
Christian Binder
ce3ee8e556
contact_replacements() is called from outside the class and extended class (felamimail) and therefore it should be public
2009-08-26 20:50:14 +00:00
Ralf Becker
d990609083
refractored addressbook merge class in an abstract class and an implementation for addressbook
2009-08-26 17:12:43 +00:00
Ralf Becker
eea731e906
allow to add further options behind type, separated with a colon
2009-08-26 17:09:07 +00:00
Ralf Becker
c9882fe76e
"fix for bug #2222 : Since a one of the last SVN update... Unable to print a ticket... Blank page...
...
bo_tracking::get_body() was protected, now public again"
2009-08-26 06:27:43 +00:00
Ralf Becker
8e55998ce2
"fix for some columns, which could not be switched off (eg. InfoLog category col), after the last fix"
2009-08-25 14:40:28 +00:00
Ralf Becker
beee590fc2
"fix nm widget to deal with same header in multiple columns (eg. InfoLog's 2 time columns)"
2009-08-25 13:14:00 +00:00
Ralf Becker
3a3a0e1613
"fix to allow to specify multiple autoinc_id's (as eg. done in timesheet_bo::sum())"
2009-08-25 12:48:04 +00:00
Ralf Becker
8b4ff9f6fd
"do NOT translate file permissions"
2009-08-25 07:35:53 +00:00
Ralf Becker
fdbf3b207b
- added support for 1:N relations to history logging
...
--> added documentation for 1:N relations and general usage
- created a public method to determine if a record is changed,
which can be called before an application to determine if
saving is necessary (it's result can then be passed on to
bo_tracking::track() to not compute the changed fields again)
2009-08-21 12:57:12 +00:00
Klaus Leithoff
796dba966d
if app changes while displaying content, be aware of that (as of addressbook infolog view)
2009-08-20 14:11:10 +00:00
Ralf Becker
4f910c4a5e
"automatic convert db timestamps to unix timestamps, our db class does the reverse on writing them"
2009-08-20 11:41:13 +00:00
Ralf Becker
19086bb7b0
Some fixes and enhancments to simplify search with so_sql
...
- search($criteria,...) if $criteria is a string, search in all data
columns or - if set - $this->columns_to_search
--> that's NOT backward compatible - though a quick scan through the
EGroupware code showed no use of $criteria as string!
- this automatic search, appends and prepends '%' only, if search
pattern does NOT already contain wildcards (* or ?)
--> allows to search "test*" for values starting with test
- improved handling of db timestamps (Y-m-d H:i:s), to allow to search
for them too (eg. "2009-08-*")
- so_sql_cf::get_rows() now calls parent
- so_sql_cf::search() adds DISTINCT if query contains a join
--> ToDo: remove custom search code from apps, to give consitent search
behavior in all apps and simplify the code there
2009-08-19 12:08:52 +00:00
Ralf Becker
c324275b1d
docu update and remove decriated assignment of objects by reference
2009-08-19 11:58:43 +00:00
Ralf Becker
35626a6593
"docu update to avoid a common pitfall"
2009-08-17 12:28:30 +00:00
Christian Binder
40372cba8f
add eGW independent html output mode for new mail stationery feature sponsored by Inspections Unlimited Franchise services ( http://www.inspectionsunlimited.com )
2009-08-14 22:15:15 +00:00
Ralf Becker
281502f36f
allow to use an etag in so_sql_cf::save(), eg array("etag=etag+1")
2009-08-10 16:32:45 +00:00
Ralf Becker
b400e8d880
"allow a negative filter (eg. '!xyz'), NULL or array with possible values as custom field filter"
2009-08-10 15:31:49 +00:00
Ralf Becker
2a4e1a95cb
"- method to automatic convert all timestamp fileds to and from usertime
...
- enable this->timestamps to deal with timestamp type columns (as well as integers as before)"
2009-08-10 13:48:11 +00:00
Ralf Becker
f8ccec0d35
if textarea is readonly, but form_name is already used by an other widget, dont use it
...
browser would only send the content of the readonly (and therefore unchanged) field
2009-08-10 11:33:32 +00:00
Ralf Becker
ae855c4979
"we explicitly need to delete custom fields, if value is empty or field allows multiple values or we have no unique index"
2009-08-10 09:12:35 +00:00
Ralf Becker
821f0daf42
"rewriting onchange for checkboxes for IE to an onclick"
2009-07-30 07:10:31 +00:00
Ralf Becker
6fe6365c78
"fixed sometimes not working [Values] button"
2009-07-23 11:27:46 +00:00
Ralf Becker
dfaa808b8c
- allow to use $row or $row_cont, $c to disable columns or rows,
...
eg. "$row_cont[x]=y"
- complete_array_merge does no longer overwrite numerical keys,
if value is an array
2009-07-23 11:25:10 +00:00
Ralf Becker
e9a7336a35
"removed onclick alert"
2009-07-18 15:35:42 +00:00
Ralf Becker
2cfa5530c3
"if path ends in a slash, multiple files can be uploaded, their original filename is kept then"
2009-07-16 12:57:00 +00:00
Ralf Becker
332901742b
"- document and clearify option: required mimetype or regular expression for mimetype to match, eg. '/^text\//i' for all text files
...
- unset onchange, if $id is empty"
2009-07-16 08:02:37 +00:00
Ralf Becker
7c3f249f71
"added static function to check if file exists, which does NOT take the extension into account (can be used in the application code too)"
2009-07-15 11:31:02 +00:00
Ralf Becker
1dc2c88059
fixed not working precistion display
2009-07-15 10:47:36 +00:00
Nathan Gray
2bb5884ad9
Captcha widget based on secureimage, contributed by Randy Houlahan
2009-07-14 16:29:47 +00:00
Ralf Becker
ee2b5cf164
new param to delete method only return ids: can be used in extended class for deletes in other tables
2009-07-13 08:17:41 +00:00
Ralf Becker
919aea627e
"use form_name (with replaced substitutes) instead of $cell[name], allows to put into the name something like \"app:$cont[id]:files/blah\" or \"app:$row_cont[id]:files/blub\""
2009-07-13 08:14:59 +00:00
Ralf Becker
49c5b2933c
New vfs-upload widget to upload files into vfs:
...
- if file already exists, show download and delete link
- if file does NOT exist, show upload box
Name or value of widget is either:
- vfs path or
- $app:$id:$relative_name (if empty($id) a temporary directory in users
home directory is created and application is responsible to move
content of that directory to the entry directory (/apps/$app/$id)
2009-07-11 09:07:59 +00:00
Ralf Becker
62d3afdd36
"display on horizontal scrollbar for width 100%"
2009-07-04 14:17:58 +00:00
Ralf Becker
dcce79d92a
check if application of template has a app.js file
...
--> load it
2009-07-03 08:38:25 +00:00
Ralf Becker
15f7e3a1db
"fixed not deletetable links: to delete one, you have to select 'New search ..."
2009-06-30 18:37:30 +00:00
Ralf Becker
c4e24a1e58
if we have more then 5 cf's to display --> limit header height to 5 lines plus vertical scrollbar
2009-06-30 18:21:15 +00:00
Ralf Becker
a1d81f3e06
"if label_for starts with a '#', it is already an id - no need to create default id from it"
2009-06-27 10:18:44 +00:00
Ralf Becker
232252475f
patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
...
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Nathan Gray
f124b889d8
Need to define a __isset() method so empty() works with __get(). Fixes missing body javascript when looping.
2009-05-27 14:57:29 +00:00
Ralf Becker
5e9699a5b5
reverting again r27107, as it has to many (unwanted) sideeffects
2009-05-24 20:03:28 +00:00
Ralf Becker
3dadb5abe3
- allow to specify on sub-type level, if post_process method should be
...
used for extensions
- if extension is called with empty name, it can set a name in
cell[name], which then get's used for the content (extensions can use
eg. an option to select the name)
2009-05-24 18:02:54 +00:00
Ralf Becker
53a8d50bb0
"fixed date-time widget to correctly write seconds, eg. if output format is \"Y-m-d H:i:s\""
2009-05-22 07:04:55 +00:00
Ralf Becker
ef1227767a
"validation error in named tab (eg. \"tabs=general|one|two\") did not change to tab with field causing the validation error"
2009-05-21 19:16:32 +00:00
Ralf Becker
7049fe4bc0
- implemented htmlpurifier also for sitemgr (only non site-admins) and
...
knowledgebase
- html::fckEditor() has optional parameter to NOT use htmlpurifier
2009-05-19 19:23:38 +00:00
Ralf Becker
8f797be836
Added HTMLPurifier ( http://htmlpurifier.org/ ) Version 3.3.0
...
- can be used via html class like:
$clean_html = html::purify($html);
- using it now in eTemplate to remove malicious code from html:
a) when displaying "formatted text"
b) when "formatted text" get's input by the user
2009-05-19 17:32:06 +00:00
Ralf Becker
75850fd66b
fixed problem pointed out by Necky(T.Okabuchi) <neckyegw(at)wanaya.jp>
2009-05-19 15:24:15 +00:00
Ralf Becker
082f21d3e6
"fixed search for new phrases, to also work with newer method hooks and not only with file-hooks (preferences, admin, settings, ...)"
2009-05-19 13:34:27 +00:00
Ralf Becker
a5f7d8d4a3
"fix for bug #2085 - Rev. 27023 PM does no longer save custom fields"
2009-05-19 07:31:13 +00:00
Ralf Becker
d56e962ca3
"allow to store custom fields with 1:N relations (eg. multi-select-box) as real 1:N relation in the DB
...
(default is the old behavior!)"
2009-05-17 22:03:31 +00:00
Ralf Becker
654d91cc7c
"allow extension preProcess method to modify / fix $form_name of a widget:
...
- usefull if complete name is determined by eg. options
- extension has also to fetch the content from etemplate::$request->content!"
2009-05-17 13:56:32 +00:00
Ralf Becker
220492880d
allow to load widget specific edit-template from the app the widget belongs too, eg. infolog-value --> infolog.widget.infolog-value
2009-05-17 11:41:58 +00:00
Ralf Becker
f4b09d620f
"allow one-letter name/mailbox part in an email address"
2009-05-15 07:35:58 +00:00
Ralf Becker
2a03d32d81
Automatic import labels into the content of an edited template via a
...
callback: ${app}_bo::labels(). They are set as $content['labels']
2009-05-14 17:45:00 +00:00
Ralf Becker
a94586bad4
New syntax (@@name) to access values absolute to the content array ofs
...
the request. Here's an example:
$content['my-label'] = $id ? 'Edit' : 'Add';
You can use it now in the template of an nextmatch row for the label:
@@my-label
Saved the need to import these kind of data in the get_rows function
into the rows.
2009-05-14 17:42:48 +00:00
Ralf Becker
5d7b9133f1
using is_readable
2009-05-14 17:38:09 +00:00
Ralf Becker
31cb95989e
"allow static get_rows callbacks, eg. 'app_ui::get_rows':
...
- on php5.3+ they get directly called via a variable: $callback($query,$rows,$readonlys)
- on php < 5.3 we instancate the class, an call the method non-static: $obj->$method($query,$rows,$readonlys)
--> allows application code to be prepared for static callbacks
Note:
- we can not use call_user_func, as it does NOT support passing by reverence, which is required for $rows and $readonlys parameter
- static callbacks allow to NOT instanciate the class again for the callback (without current dirty methods like placing the object in $GLOBALS[$class])"
2009-05-14 10:22:13 +00:00
Ralf Becker
fe03b91b54
"- 5th option for select-cat: parent category
...
- adding category desciption (if available) as option title"
2009-05-14 08:02:56 +00:00
Ralf Becker
95168d28bb
"method to access comments in schema definition"
2009-05-13 09:58:21 +00:00
Ralf Becker
51284255c1
Edit and set comment field for colums in eGW's schema files
2009-05-13 07:39:58 +00:00
Ralf Becker
e5ffe827f6
"extend readonly handling of button to images (images with a link have a similar function)
...
setting their name in $readonlys, removes the image completly"
2009-05-08 15:51:57 +00:00
Ralf Becker
5a22640c82
- changed return value of search() to NULL instead false, if nothing
...
found, as this can be simply casted with (array) to work in foreach
- documentation update
2009-05-03 18:36:38 +00:00
Ralf Becker
69171b7928
"image: using csv_split for options to allow options with commas, eg. filenames containing commas"
2009-04-30 08:07:25 +00:00
Klaus Leithoff
0439b8de35
handling checkbox values in listview, handling radio values display in listview
2009-04-29 14:29:57 +00:00
Ralf Becker
0930d0a739
new ajax_submit() function with submitts the whole form via ajax to a given callback
2009-04-29 14:15:35 +00:00
Ralf Becker
ee45dc8567
"fixed one byte to long key-size"
2009-04-28 15:36:51 +00:00
Ralf Becker
10c390a654
"allow 'test' in template name for application == 'test'"
2009-04-25 06:56:42 +00:00
Ralf Becker
affce3e5bc
update to work with "new" translation class: class constants and static calls
2009-04-23 08:38:20 +00:00
Ralf Becker
e6762bf009
"fixed last commit r26803 \"allow to specify app in image name\":
...
thumbnails or other direct url's as image in buttons were no longer displayed"
2009-04-22 05:52:07 +00:00
Ralf Becker
aca05a32e3
using new check_load_extension function
2009-04-20 12:43:44 +00:00
Ralf Becker
107d5dbbe9
"added somehow missing png type, preventing thumbnails being displayed for png images"
2009-04-19 07:20:22 +00:00
Ralf Becker
1a8b605c17
method to create user friendly label for a mime type, eg. "PDF file (application/pdf)"
2009-04-18 09:53:36 +00:00
Ralf Becker
5e88f9b563
"allow to specify app in image name"
2009-04-17 07:27:12 +00:00
Ralf Becker
3c18478f86
- more docu for file selection dialog
...
- added mime type filter
- added more user friendly mime type names:
application/pdf --> PDF file (application/pdf)
2009-04-17 06:28:19 +00:00
Ralf Becker
823a3ab4c0
"allow to disable one of multiple checkboxes"
2009-04-15 21:07:33 +00:00
Ralf Becker
6f34257730
"allow to specifiy an onclick handler for vfs widget (instead of using download-url or filemanager to display dirs)"
2009-04-15 21:06:41 +00:00
Ralf Becker
2b73958407
"title for ro-image of buttons"
2009-04-15 09:16:04 +00:00
Ralf Becker
68f15f6c5a
"fixed bug reported on German list: all new calendar events in trunk are private"
2009-04-15 09:11:03 +00:00
Ralf Becker
95a0339cc9
"fixing the fix ;-)
...
addslashes does to much --> now quoting only quotes"
2009-04-09 12:44:56 +00:00
Ralf Becker
592488908e
"fixed filemanger bug: actions dont work for filenames containing commas
...
--> allow to enclose comma-separated checkbox and radio-button option values in quotes (\"), so they can contain commas
eg. file-names containing commas in the filemanager"
2009-04-09 11:49:16 +00:00
Ralf Becker
bd8ba08bc3
allowing stream-wrappers to specify an other mime-type for directories
2009-04-08 09:54:13 +00:00
Ralf Becker
e33b55efa3
"- only show thumbnail for image types with support (eg. not for tiff)
...
- resolve symlinks for links"
2009-04-07 19:37:50 +00:00
Ralf Becker
73aeaa3cad
"add link title only, if id is numeric"
2009-04-04 17:41:15 +00:00
Klaus Leithoff
3e0ff9b004
prevent strpos to fail, if lable is empty
2009-04-03 14:01:24 +00:00
Ralf Becker
f1855baac2
"fixed typo"
2009-04-03 13:27:01 +00:00
Ralf Becker
b7444a9598
"fix for bug #2025 : Database error in Timesheet with selected view category/date"
2009-04-01 20:01:54 +00:00
Ralf Becker
bfab75389c
"replace ambiguous auto-id with (an exact match of) table_name.autoid"
2009-04-01 13:01:16 +00:00
Klaus Leithoff
1f6bba4aba
handling the doubling of select/multiselect -cfs in advanced search,, adding empty entry for radio-cfs in advanced search, allowing to edit readonly cfs when in advanced search.
2009-04-01 08:22:01 +00:00
Ralf Becker
1dbec93dc9
"fixed broken extended search in addressbook:
...
form get's summited via ajax (without the _FILES array), which caused the process_show for 'files' to stall the the ajax request
--> get's ignored now"
2009-03-30 16:36:25 +00:00
Ralf Becker
9937f44e5a
"- using exceptions instead of die with function_backtrace --> gives nicer traces (specially with ajax)
...
- fixed typo in get_array"
2009-03-30 16:34:04 +00:00
Ralf Becker
7caeef71fd
"Do NOT trim decrypted string, as it contains binary data (it is compressed) and can be demaged by that.
...
This might be a problem if a mcrypt alogrithm is used, that pad decrypted strings with \"\0\". (I tried rtrim($str,\"\0\"), but that still failed)"
2009-03-27 15:35:54 +00:00
Ralf Becker
4cbbbc3892
"upps"
2009-03-26 14:38:37 +00:00
Ralf Becker
4311a66215
"improved csv-export:
...
- use options to export values of select boxes
- use strtotime on not-numerical date or time values
- use specified number formats for int and float"
2009-03-26 14:25:41 +00:00
Ralf Becker
019dd988c8
fixed TranslationTools problem in trunk, caused by old copy of
...
solangfile in etemplate.
--> moved that now completely to etemplate
(Also updated the docu of TT a bit)
2009-03-20 09:02:41 +00:00
Ralf Becker
55d2aaa3ee
Implemented symlinks for eGW's VFS:
...
- sqlfs can store now symlinks (implements symlink and readlink)
- vfs resolves symlinks before calling a mounted stream-wrapper
--> symlinks can be between different mount-points
- filemanger can create symlinks and follows them
- etemplate vfs_widget displays symlinks (to be improved)
Happy testing :-)
2009-03-19 20:12:35 +00:00
Ralf Becker
52db44fb83
make boetemplate::store_to_cache public (static) to call it from xul_io
2009-03-19 12:06:49 +00:00
Ralf Becker
85a93987a9
"etemplate_request class to store the request data in the filesystem
...
need to be explicitly enabled by setting: etemplate_request::$request_class = 'etemplate_request_files';"
2009-03-16 13:43:16 +00:00
Ralf Becker
486a32e86d
Refractured eTemplate to use:
...
- the etemplate_request object which stores the request data in the
a) session (as before) or
b) compressed and encrypted in the form transmitted to the user
Benefit of b) is that the session does not grow and the form can
be submitted as long as the session exists, as we need no garbadge
collection. Of cause more data needs to be submitt between
browser and webserver. b) is choosen automatic if mcrypt and
gzcompress are available, but can be turned off via setting
etemplate_request::$request_class = 'etemplate_request_session';
- static class variables instead of the before used global ones
--> This new version of eTemplate is fully backward compatible with 1.6!
2009-03-16 12:58:24 +00:00
Ralf Becker
b8f6481688
not longer used
2009-03-15 15:08:21 +00:00
Ralf Becker
df134f3588
"removed prefered phone marker \"♥\" from url, causing 9829 to be appended to the phone-number otherwise"
2009-03-12 11:41:58 +00:00
Ralf Becker
f61ffc2e5e
allow to pass $extra_cols parameter from get_rows to search
2009-03-11 12:14:15 +00:00
Ralf Becker
10e7a6ba21
"get default for query parameter of 'link-entry' working again and documented it (stoped working with patch fromRegis Leroy) "
2009-03-07 11:05:59 +00:00
Ralf Becker
8abb78f918
"small change on the upload to be still able to detect failed uploads caused by to small upload_max_filesize
...
--> !empty($file['name]) && empty($file['tmp_name'])"
2009-02-26 14:42:50 +00:00
Ralf Becker
a5a28ad708
Enhanced file upload to allow user to upload multiple files by appending
...
[] to the name of the widget, eg. "upload[]". In that case attaching a
file adds an other file upload via javascript direct under the current
upload and etemplate returns an array of files (each with keys
'tmp_name', 'name', etc.).
2009-02-26 13:51:25 +00:00
Ralf Becker
684ad891b8
"fixed wrong template-name in export, if name contains variables"
2009-02-25 15:55:53 +00:00
Ralf Becker
a80c2f92c8
"vfs-mime: fixed empty filename always showed directory logo, now empty filename shows an empty cell"
2009-02-25 15:54:24 +00:00
Ralf Becker
587a3b92bc
automatic fix / pad 0 based arrays with the required number of false
...
values, to match the number of header lines in the rows template
--> allows to customize the template (number of header lines) without
the need to patch the code
(fixed pm's element list with uses 2 header lines, but required exactly
one pad done by the old code)
2009-02-24 07:42:12 +00:00
Ralf Becker
bdcb10ea2d
Enable etemplate to mark rows of a grid / table as part of the header or
...
footer to repeat them on each printed page.
2009-02-23 13:21:28 +00:00
Ralf Becker
38aa29a852
"making process_show public again, as requested by Raphael Alla
...
(there was no real reason to make it private, beside hiding it from public interfaces, as I thought noone else is using it)"
2009-02-16 08:36:56 +00:00
Nathan Gray
346f749219
Improve readonly handling when a link is specified
2009-02-04 17:17:40 +00:00
Klaus Leithoff
964e28a3d8
adapting regex for emailvalidation to accept single letter subdomains
2009-02-04 07:57:30 +00:00
Ralf Becker
3b962e7064
Allow to set an explicit name for a tab_widget: "tabs=one|two|three"
...
In the example the tab itself is named "tabs", with tabs "one", "two"
and "three". Therefore the name of the tab-widget (where the select tab
gets reported and used to disable a single tab) does no longer depend on
the available tabs. This allows for a deeper customization.
Examples on how to use it are in the next two commits: tracker and pm
2009-01-29 18:31:40 +00:00
Nathan Gray
d3d47af015
Fix bug where if there are multiple nextmatches on a page, and your default num_rows is not in the list (ex: 15), and you cause a nextmatch to submit (by changing a filter or num_rows), the num_rows of the next nextmatch to be processed will be cleared
2009-01-23 19:33:19 +00:00
Nathan Gray
4c5d771cde
Don't use htmlspecialchars, it causes issues with mixed quotes.
2009-01-22 15:05:54 +00:00
Ralf Becker
1b4d236d4a
New class extending so_sql handing all custom fields needs: reading,
...
saving, searching, ordering and filtering
Makeing a full custom field implementation like in addressbook very easy
and quick
2009-01-17 03:36:58 +00:00
Nathan Gray
db48c553ab
Fix # more... line at the bottom when there are more results that are not displayed
2009-01-07 16:47:00 +00:00
Nathan Gray
66bb41b065
Check to see if the value is a string before we try to lowercase it, strtolower() doesn't like arrays.
2008-12-09 16:02:01 +00:00
Nathan Gray
dd749ffa6e
Add special handling for query values of 'false' (the string) to convert them to false (boolean)
2008-12-05 21:27:12 +00:00
Ralf Becker
340e369e04
"fixed changed constructor name"
2008-11-27 10:31:19 +00:00
Ralf Becker
d4a01c41f3
"fix not working nextmatch widget in tracker, readonly detection was uncomplete ($readonlys can be an array!)"
2008-11-17 10:41:33 +00:00
Ralf Becker
aa4d4c3d0f
"fixed typo prefenting sel_options set in get_rows to be displayed"
2008-11-16 07:20:23 +00:00
Ralf Becker
343ff1d77d
"fixed eTemplates garbage collection to work with new session class, and lowed timeout of not used sessions to 30min (was 1h)"
2008-11-13 17:20:53 +00:00
Ralf Becker
33d617aa8f
"stop storing rows content in session by using an empty new var $rows in calling the get_rows funktion:
...
get_rows($value,$rows,$readonlys) instead get_rows($value,$value['rows'],$readonlys)
because $values['rows'] as reference would be stored in the session, when apps store $query parameter in the session
"
2008-11-13 16:55:03 +00:00
Ralf Becker
d61c1af60f
"dont set unneeded extension data"
2008-11-13 16:50:05 +00:00
Ralf Becker
a921812095
"only supply extension data for non-readonly widgets or if it's already set
...
otherwise lists store >10k unnecessary data in each etemplate-session"
2008-11-13 16:49:44 +00:00
Ralf Becker
d28f6f672c
- fixed url recreation for links (use ? for get-params, if no ? in the
...
link)
- made bo_tracking abstract
- added default return null to bo_tracking::get_config and removed it
from extensions implementing no config
- fixed signature of get_config($name,$data,$old=null)
2008-11-08 10:37:52 +00:00
Ralf Becker
f713c095b2
"fixed link_widget to link-entry widgets and application type custom fields working again"
2008-10-27 13:26:43 +00:00
Ralf Becker
fa6ab9b7a1
"fixed lost right align in nextmatch sort headers, if they are active"
2008-10-22 07:06:45 +00:00
Ralf Becker
e54f9ee079
Fixed encoding problems in WebDAV and vfs:
...
- egw_vfs::download_url as not encoding + or ' ' in pathes
- HTTP_WebDAV_Server was urldecoding $_SERVER[PATH_INFO], which is
wrong, as it is NOT encoded
- HTTP_WebDAV_Server was NOT urlencoding the pathes in PROPFIND
responses, causing eg. cadaver not to be able to use dirs containing
+ or space
2008-10-21 11:57:26 +00:00
Ralf Becker
a749233461
"removed call to depricated bolink class"
2008-10-21 08:08:56 +00:00
Ralf Becker
273bd722e2
fix for bug #1739 : config for CSV export for non-admins is not working.
...
Reworked it not in the following way:
- numerical limit or total disabling (setting "no"), are only valid for
non-admins
- addressbook has it's own value, but uses now the global one, if no
addressbook specific limit is set
2008-10-16 11:17:49 +00:00
Ralf Becker
4520f9e9ce
"fix from Regis Leroy to allow to set some extra query parms from the calling application"
2008-10-10 07:58:59 +00:00
Ralf Becker
bb1ed52c7f
updating version and dependencies for 1.6
2008-10-07 18:04:59 +00:00
Ralf Becker
9e85c8e343
renamed uietemplate to etemplate, to save unnecessary include, as gtk isnt used in a long time
2008-10-07 09:14:17 +00:00
Stefan Becker
858485ad30
"fixed Bug #1663 'More News' not visible in sitemgr when limit is 1, -> so_sql, is now giving back the numbers of total"
2008-10-07 08:17:09 +00:00
Ralf Becker
071fb06b8a
no translation and no word-wrap for vfs (filename) widget
2008-10-07 05:33:27 +00:00
Ralf Becker
0218ffb751
- new vfs-widget to encapsulate common vfs/file related stuff
...
+ path with clickable components
+ human readable size, mode, ...
+ mime icon with integrated thumbnail creation
- link widget uses now vfs-mime for it's icons
- thumbnail creation is now switched on with size 32px by default, it can
be switched of by the admin or user, in doing so explicitly
- mime-icons are moved from filemanager to etemplate, as not everyone
installs filemanager
- filemanager has now 3 display modi:
+ Current directory (with subdirs always on top)
+ Subdirs sorted in
+ Files from subdirs (shows recursive all files and you
can click on the path components thanks to new vfs widget)
2008-10-06 17:43:42 +00:00
Ralf Becker
d6693b27ab
"formatting"
2008-10-06 10:05:56 +00:00
Ralf Becker
f64c51778b
"nextmatch filter- or sort-headers can now made to nextmatch-headers (label only), by making them readonly"
2008-10-05 16:56:37 +00:00
Ralf Becker
0e62b50197
Ok, found thumbnail problem:
...
- size need to be configured in admin >> site config
--> disable no pref to display thumbnail if admin did not configure size
--> fixed last commit to use configured size for thumbnails
2008-10-04 07:59:43 +00:00
Ralf Becker
62d7b78c45
Removed an (unnecessary) table from the link list and removed direct
...
html stuff.
@Nathan: there's a problem with the thumbnail generation
2008-10-04 07:36:26 +00:00
Ralf Becker
a603c8bb2e
"correctly quoting the id's in ajax_search, as single quotes otherwise mess up the javascript in the ajax response (eg. caused by single quotes in Wiki Page Names)"
2008-09-24 11:16:26 +00:00
Ralf Becker
a1a3ed0d35
"use egw_db::select instead of self::search in so_sql::not_unique() as it does NOT set this->data"
2008-09-22 16:00:45 +00:00
Ralf Becker
9d9fc41658
"hopefully last fix for Raphaels patch ;-)
...
if readonlys[__ALL__] is set, also set readonlys[$name] (but only then as for extensions (eg. tabs) $readonlys[$name] can be an array!)"
2008-09-22 09:28:01 +00:00
Nathan Gray
c1e89c5f0a
Keep the returned readonly value from the extension
2008-09-19 13:35:29 +00:00
Nathan Gray
7b01f31d7d
Readonly parameter is pass-by-reference, can't be an expression
2008-09-17 14:47:47 +00:00
Ralf Becker
74d78f5dbe
"1. two patches from Raphael Alla:
...
- expand onchange before calling extensions pre_process method
- additionl evaluate $readonlys['__ALL__'] in calling extensions pre_process method
2. replaced {} as array-operator in string with []"
2008-09-16 05:41:33 +00:00
Ralf Becker
b195ac76e2
refractured infolog code to create links to custom field link types
2008-09-11 14:57:20 +00:00
Ralf Becker
0f0b5c9639
fixed old "'%1' is NOT allowed ('%2')!" error:
...
the ajax search now opens the pending eTemplate request and stores the
new allowed id's from this search
2008-08-30 11:17:04 +00:00
Nathan Gray
044cc0f679
Last piece needed for multiple nextmatches / page.
2008-08-21 18:09:20 +00:00
Ralf Becker
037704a801
"php5.1 seems to have a bug: array_slice($parts,$offeset) != array_slice($parts,$offeset,null)"
2008-08-16 07:40:04 +00:00
Klaus Leithoff
ab37be5fba
fix for php warning empty haystack ... in line 967
2008-08-08 09:26:36 +00:00
Ralf Becker
e3c60d8243
"only check if $name is a string"
2008-08-01 15:36:31 +00:00
Ralf Becker
3fa1859f70
"- input fields can be now also made readony by specifying the parent ($readonlys['set'] make eg. $readonlys['set[whatever]'] r/o)
...
- allow extensions to re-enable readonly widgets by setting $cell[readonly] = false "
2008-08-01 15:34:13 +00:00
Ralf Becker
32eb1bafa6
"fix for bug #1643 : %t in phone numbers (telephony intergration) does not work"
2008-07-30 11:08:51 +00:00
Ralf Becker
c1c52cf797
reworked the size limitation for displaying email or url again a bit
2008-07-14 06:29:57 +00:00
Nathan Gray
98eb1f18cc
Escape ID field as well, in case there's something special in there too
2008-07-02 19:43:50 +00:00
Ralf Becker
70052c8355
fixed SyncML and accounts problem reported by Phillip Herbert <pherbert-at-knauber.de>: update set all but the updated fields to NULL, instead of just updating the given fields
2008-07-02 15:25:54 +00:00
Ralf Becker
b17df8df9b
fixed not working imagemap (clickable milestones and bars in ganttchart) for firefox3 and ie, thanks to ae275-at-CAM.AC.UK from the English user list
2008-06-30 14:35:51 +00:00
Klaus Leithoff
7921ef5767
# support for size options in url customfield
...
# support for size options in url-phone customfield
# support for size options in url-email customfield
# allowing additional parameters to be passed to the link created from the url-email
2008-06-30 14:30:16 +00:00
Ralf Becker
b3b53c2f87
"treat (space separated) words in search as or'ed search for them individually"
2008-06-26 16:08:47 +00:00
Ralf Becker
5679bdd5f6
"allow to overwrite readonly settings of a cell"
2008-06-26 11:38:31 +00:00
Ralf Becker
eb290477dd
"get the new url, email or phone cf's working"
2008-06-24 09:56:39 +00:00
Ralf Becker
a4133ab894
"temporary disabled additional nextmatch row on the bottom of the list for php5.2.6, until I find time to fix it"
2008-06-23 06:46:58 +00:00
Ralf Becker
03d9baf5c6
"fixed warning under php5.2.6"
2008-06-22 08:51:38 +00:00
Ralf Becker
f66e2e4004
fixed php5.2.6 problem: unknown type ''
2008-06-22 07:16:40 +00:00
Ralf Becker
23c473690e
"removed accidently commited 2. patch"
2008-06-19 16:07:57 +00:00
Ralf Becker
b89e7b46a1
"fixed not working install (segfault) caused by account creation in sitemgr's default_records and the new uid code in addressbook_sql::save() going into an invinit recureing, because so_sql::update calls $this->save() instead of self::save()"
2008-06-18 19:56:26 +00:00
Klaus Leithoff
09abb185f9
# improving of the negated search criteria behavior
2008-06-17 07:28:35 +00:00
Ralf Becker
2b6f25b7f3
added popup size for phone integration and better sanitizing of phone numbers
2008-06-11 07:18:29 +00:00
Ralf Becker
c0ec512113
new widget for urls, email-addresses and phone numbers (displaying them r/o as links like in addressbook)
2008-06-11 06:29:41 +00:00
Ralf Becker
2e77c2a4c6
"a little bit nicer implementation"
2008-06-11 04:20:39 +00:00
Ralf Becker
c57b02c59f
"allow to have more then one nextmatch widget on a page, for nathan and pERP :-)"
2008-06-11 04:05:10 +00:00
Ralf Becker
6b74d6ad88
"switched permanent debug message off again"
2008-06-04 05:26:52 +00:00
Ralf Becker
20fe4703ab
"removed 1.2 compatibility code"
2008-06-03 06:22:35 +00:00
Ralf Becker
c34dc55633
"fixing the fix: only add primary key, if it's NOT an auto id"
2008-05-30 08:20:06 +00:00
Ralf Becker
b6be2fb249
"bugfix: not_unique() method was not working with unique indexes over multiple columns and was not testing the primary keys, with is also unique"
2008-05-28 12:17:06 +00:00
Ralf Becker
ae044a9a08
allow to instanciate the historylog with a given user or 0 for
...
changes by the system itself (eg. async service). bo_tracking passes on
it's user param of the constructor.
2008-05-27 09:25:25 +00:00
Ralf Becker
78dd1cdf03
missed new $no_clone parameter
2008-05-26 08:32:27 +00:00
Ralf Becker
83a250e085
php5 __construct plus old old class-name method calling the new constructor, added non_db_cols to __get() and __set()
2008-05-26 08:27:24 +00:00
Ralf Becker
1f144e4670
"colspan='all' was only working in the first grid of the template"
2008-05-24 08:42:43 +00:00
Ralf Becker
c45e0ee9fe
"- fixed sometimes not working delete of a column (seems to be php5 related, as it was working before)
...
- removed one idention from tables_{current|update}.inc.php
- removed closing ?> tag"
2008-05-24 06:39:05 +00:00
Ralf Becker
6c1dcb430d
"unit was missing for readonly values"
2008-05-20 12:21:53 +00:00
Ralf Becker
b69b8085e6
Fixed some problems with the etag handling, causing an SQL error on
...
merging contacts, as reported by Johannes Gorschlüter from Stylite
2008-05-17 06:44:17 +00:00
Ralf Becker
c74789fc2c
"removed unnecessary instanciation of old bolink class"
2008-05-15 12:41:20 +00:00
Ralf Becker
31f71a54e2
"fixed syntax error reported by uwe.redecker(at)hspl.de"
2008-05-13 05:56:00 +00:00
Ralf Becker
4885518b88
autoloading of addressbook classes
2008-05-10 12:06:15 +00:00
Ralf Becker
d58ddd9999
"allow to insert rows with the auto-id specified"
2008-04-27 20:05:04 +00:00
Ralf Becker
163b795d45
"extra where condition, eg. to check etag on writing"
2008-04-26 07:49:01 +00:00
Ralf Becker
4048c304d7
"using the configured temp directory for uploaded files"
2008-04-24 13:59:47 +00:00
Ralf Becker
f40cfd935d
"using the configured temp directory for uploaded files"
2008-04-24 13:55:12 +00:00
Ralf Becker
0cdfc90f61
"using egw_vfs::mime_icon()"
2008-04-22 20:33:42 +00:00
Stefan Becker
82e4a81bc8
""
2008-04-22 08:42:31 +00:00
Ralf Becker
ea7ea8deb6
modifications for the links via the new vfs/links stream wrapper
2008-04-16 19:53:20 +00:00
Ralf Becker
5fd2d8def8
removed unnecessary instancations and using static methods of html and egw_link class
2008-03-25 16:42:23 +00:00
Ralf Becker
b550aeecf5
"fixed typo"
2008-03-22 09:31:23 +00:00
Ralf Becker
84c1ac74f0
removed unnecessary instanciations
2008-03-21 20:54:28 +00:00
Ralf Becker
add5646e48
fixed a few errors in the etemplate editor
2008-03-20 18:43:11 +00:00
Nathan Gray
186d0ad967
Fix missing readonly parameter reported by randy houlahan, and pass it to the template
2008-03-20 16:18:15 +00:00
Ralf Becker
ef43425f7f
allow to use global db-object (and no clone&set_app), if told so via a separate parameter to the constructor (not by default as the app using so_sql might not be ready for it)
2008-03-13 11:08:54 +00:00
Ralf Becker
694dbc443b
some more php5 and html static fixes
2008-03-10 15:54:21 +00:00
Ralf Becker
6e9829faf6
some more php5 and html static fixes
2008-03-10 15:49:46 +00:00
Ralf Becker
9993be3eed
"make etemplate::_sel_options() public again, as it's used by other widgets (eg. tree_widget), thank to webmaster-at-kmu-tools.de "
2008-03-10 06:50:02 +00:00
Ralf Becker
e6d99f37e9
"but test_import and import_dump is ..."
2008-03-09 15:54:52 +00:00
Ralf Becker
4b60cbf95f
"UPPS compress_array is NOT static"
2008-03-09 15:48:21 +00:00
Ralf Becker
e90a3d3a83
reworked etemplate to have static methods and use the new features of egw_db- & html-class
2008-03-09 14:41:22 +00:00
Ralf Becker
0da675bf6e
made all methods from html class static and removed the unnecessary singleton
2008-03-09 14:35:48 +00:00
Ralf Becker
37c3933e0b
using new egw_link class with static methods
2008-03-08 21:41:59 +00:00
Nathan Gray
09556f8fb0
Preserve ajax_select_widget options across a loop
2008-03-07 17:47:06 +00:00
Ralf Becker
60a65bb560
Added an id tag to templates, contact and infolog widget
...
New js_pseudo_function to fetch the styles of a template:
template::styles('template.name')
2008-03-05 18:38:46 +00:00
Ralf Becker
c1647bfcbf
added a get-parameter "empty_post=1" if process_exec redirects to the app, because the _POST array is completly empty. That happens if post_max_size <= max_upload_size and is neccessary to give an adequte error-message about the failed upload in filemanager.
2008-03-04 16:56:19 +00:00
Ralf Becker
233875a181
"using ungreeded search for egw::lang()"
2008-03-03 05:47:12 +00:00
Klaus Leithoff
5f9104250b
fix for the optgroupfeature, which messed up some callback checking (validation) of the selected values.
...
This is since the assumption of being an array as value of the selectkey is a sufficient marker to recognize an optgroup
does not always match for optgroups only. Projectmember roles dialog employs select options with label/title arrays as value
2008-02-27 15:48:52 +00:00
Klaus Leithoff
d349ffed88
ouch, forgot a closing bracket, ...
2008-02-14 07:46:18 +00:00
Klaus Leithoff
ee3377d1f2
small bugfix for a bug/phpwarning (empty haystack...) appearing occasionally while building up templates
2008-02-14 07:40:16 +00:00
Ralf Becker
ea2c699f5c
allow the link-query method of an app to set further attributes of the option used to display the entry, eg. a title (tooltip) of a certain entry: instead of id => title pairs, you return eg id => array(label=>title,title=>tooltip) like for html::select or the select widget
2008-02-07 02:54:11 +00:00
Klaus Leithoff
09612e4f58
documented the feature (week+dow) accordingly
2008-02-05 15:41:41 +00:00
Klaus Leithoff
20fccf9bf6
prepare the date widget to output a very long dateformat (week + dow)
2008-02-05 15:34:07 +00:00
Christian Binder
5b699573e4
enabled class autoloading for notifications, let admins enable or disable notification backends, security fixes for email and egwpopup backend, unified link arrays used for notifications
2008-01-30 18:58:00 +00:00
Ralf Becker
3f3954440d
"fix for optgroup's, eg. used in addressbook now"
2008-01-26 01:24:42 +00:00
Ralf Becker
ced6adf23f
reworked and generalised Klaus new custom field header feature, to use it in the addressbook too, easy to addapt for the other apps now, only requires the get_rows/search method to understand filter and order_by with cfs
2008-01-19 05:36:20 +00:00
Ralf Becker
1d54ae791c
ability to specify a comma-sep. list of cat_ids as row-class, to color the rows by the color of the cat, first match used
2008-01-19 05:34:14 +00:00
Ralf Becker
e40d73091b
new time-since sub-widget
2008-01-09 01:57:45 +00:00
Ralf Becker
21465c8c93
some more js pseudo functions and docu
2008-01-09 01:56:42 +00:00
Ralf Becker
4d4d66ea9c
Allow 00:00 times or 0h in date-(time|hour)only widgets, by differing
...
between 0 and ''/null
2007-12-20 03:08:07 +00:00
Ralf Becker
18790b1362
ability to specifiy a suffix for select-numbers, to eg. add "h" to the label of each option
2007-12-16 23:13:32 +00:00
Klaus Leithoff
e72c783fd4
pre_process_cf_header -> created by Ralf Becker!!!
...
function to display the customfields in a nextmatch table-header with the functionality of sorting and selecting
by customfields. Of cource you need to adapt the source of your get_rows or search functionality to do the
actual sorting and selecting. We try to do some additional documentation in codecorner
You can pass the allowed/wanted fields to the header by passing an array of the wanted fields to the widget
through the options parameter (see the eTemplate editor for fields/cells). This array is passed on through
$cell['size']. By now the array passed through is only working, if it is the only entry in the optionsparameter.
The allowed fields array assumes an numerical indexed array of (an) array(s) with ['name'] tag(s) set.
The name provided assumes a preceding #. (e.g.: $allowed_fields[x]['name']='#MyCustomField')
2007-12-13 15:36:44 +00:00
Christian Binder
bfff821e18
notification-app is now ready for non-eGW users as sender and recipients. deleted the old-style sending part from bo_tracking. this is not needed anymore.
2007-12-10 08:26:29 +00:00
Ralf Becker
cbf94ab243
mark required input fields visually (darker border and light yellow background)
2007-12-09 08:11:55 +00:00
Ralf Becker
e13da61106
"fixed single field display of customfields, was creating an extra grid and array level in the result"
2007-12-07 07:52:14 +00:00
Ralf Becker
03f786390d
"fix to display readonly link-entry without id empty (showed text search)"
2007-12-06 22:17:08 +00:00
Christian Binder
15e9c36ca6
removed option for sending html mails or not cause this is decided now by the notification backends (as discussed on the list)
2007-12-05 09:05:57 +00:00
José Luis Gordo Romero
e74c6debaa
Reverting the not working (sorry) fix till notifications gets updated to recieve non-accounts in the sender
2007-12-04 17:35:17 +00:00
José Luis Gordo Romero
f7255ea33c
Fix sender in bo_tracking (was using this->user not ->get_sender)
2007-12-04 05:12:20 +00:00
Ralf Becker
33b2504316
"Added code to convert timestamps to so_sql.
...
If you want to use it, you only need to set the timestamps to be converted from user to servertime in so_sql::timestamps AND dont reimplemnt db2data/data2db (or call the default implementation)"
2007-12-04 01:13:53 +00:00
Christian Binder
18cfa84d00
make tracking class aware of possibly missing notification app. if notification app is missing, send a mail, like we did it the old-style before. this behaviour gets changed if notification app is ready for sending notifications to external users.
2007-11-29 18:38:17 +00:00
Ralf Becker
510d1e786e
"marking auto columns automatic as primary key and not null"
2007-11-29 06:50:25 +00:00
Ralf Becker
fb9d6db5be
"fixed so_sql::get_rows to return an empty array() instead of array(false) if nothing found"
2007-11-27 21:24:50 +00:00
José Luis Gordo Romero
b675c2b65b
Fix regresion introduced by r24154 (the send object is newly created for ever
...
mail, til this get fixed in PHPMailer)
2007-11-27 15:05:14 +00:00
Klaus Leithoff
2a498cae0a
Merge of Ralfs customfield commit, with the customfield changes for 1.4: to display only fields with values in listview and to have an info icon to
...
identify which customfield is displayed (onmouseover), a click on the icon of the customfield opens the description of that field as
alertbox. Also added the possibility to set an textfield/textarea to readonly with the option readonly=readonly, so users may not be able to change
values of e.g.: external keys
2007-11-27 15:03:54 +00:00
José Luis Gordo Romero
43d3ee1cf3
Little change to allow mixed (ascii & html) widget, all controll by htmlarea
...
parameters
2007-11-27 05:49:25 +00:00
Ralf Becker
1258b12e91
"small improvment of the last commit:
...
- also lookup the custom fields from the app mentioned in the template, if there no cfs for the current app, eg. sitemgr contactform
- forward the needed attribute to the cf
- alignment (no spacing, padding) if there are no labels"
2007-11-26 17:35:29 +00:00
José Luis Gordo Romero
3d9111ff69
Fix notify_current_user action in send_notifications (set by pref in botracker)
2007-11-25 08:14:50 +00:00
Ralf Becker
d623adab6a
"allow cancel buttons (no validation) to be named eg. button[cancel], instead only cancel"
2007-11-24 18:59:46 +00:00
Christian Binder
c03db413c3
let the backend at the very end enclose HTML-messages in <html> and <body> tags and not get_body. We do not want to lock out further html.
2007-11-24 14:45:03 +00:00
Christian Binder
5a7319417e
get tracker (and infolog) notifications working again with HTML-formatted messages as implemented before.
2007-11-24 14:01:27 +00:00
Christian Binder
bcec4c6dbc
fixed bug in new notifications: wrong function name and signature of get_body
2007-11-24 11:31:04 +00:00
Ralf Becker
93457ceac4
"- new cf type \"custom fields without label\"
...
- ability to specify a single custom field (name = #fieldname)
- show the cf's in the eTemplate editor too"
2007-11-22 20:08:58 +00:00
Christian Binder
e72ec7185e
Extended notification-app and egwpopup. Added winpopup-backend and email-backend. PHP5.1+ is now mandatory in trunk. For more infos look at the egw-developers list.
2007-11-22 08:29:16 +00:00
Ralf Becker
a453c389e5
"new widget to display a clickable email address:
...
- if the regular value is empty the value of options is used
- the link either opens fmail or is a mailto-link
- complete email addess is shown as tooltip
- \"Ralf Becker <ralf@egroupware.org>\" displays \"Ralf Becker\" with \"ralf@egroupware.org as tooltip"
2007-11-22 00:46:54 +00:00
Ralf Becker
b0677b31e3
"fixed not working return value for a single selection"
2007-11-17 13:50:51 +00:00
Pim Snel
fab981c160
prevent compile error in translation tools when searching new phrases
2007-11-12 01:05:11 +00:00
Ralf Becker
3938faeb19
"enhanced link widgets 'link' subwidget, to allow to specify the application via the options (value is just the id then)"
2007-10-31 08:16:34 +00:00
Ralf Becker
a696057734
fixed typo reported by Daniel Lüken <lueken-AT-via-ev.de> on the german list
2007-10-30 06:28:40 +00:00
Nathan Gray
c49d305932
If there is a format error on a tab, make sure that tab is visible so user can see the error
2007-10-22 20:24:54 +00:00
Ralf Becker
c0159b5466
"ability to specify account to not show in the select-account widget"
2007-10-19 05:37:23 +00:00
Nathan Gray
a0201fd941
Fix link thumbnailing, accidentally used include() instead of readfile() for cached images
2007-10-15 21:04:40 +00:00
Nathan Gray
073e5fdc81
Fix thumbnailing of linked jpegs
2007-10-15 19:46:47 +00:00
Nathan Gray
d3b838e13a
Fix link thumbnail caching so it actually caches
2007-10-15 19:34:49 +00:00
Nathan Gray
33d8386f27
Add mime type icons and thumbnail previews to link list
2007-10-15 17:29:46 +00:00
Nathan Gray
4bf66e6f89
Add mime type icons and thumbnail previews to link list
2007-10-15 17:27:25 +00:00
Ralf Becker
336784d74e
fixed only partcial csv export in timesheet, get_rows was not using the num_rows parameter
2007-10-07 13:29:24 +00:00
Nathan Gray
b43a9982e3
Ajax select widget fixes:
...
- Remove the need for the user to have access to the eTemplate app
- Fix some settings being lost, and inability to clear the widget
2007-09-26 17:21:36 +00:00
Ralf Becker
3beb483c09
CSV Export for all eTemplate applications using the nextmatch widget to list their entries. The column names, labels and types can be set by the application or get autodetected by eTemplate. Admins can configure an export limit (max. number of entries to export) or disable the functionality completly for non-admins. The charset for the csv export can be configured in the common prefs. Applications can and have to turn the export explicitly off by setting ['nm']['csv_fields']=false. I only made a column-definition for InfoLog, which includes translated column-names.
2007-09-22 14:58:10 +00:00
Ralf Becker
4cdf282644
allow to specify and extra title (tooltip) for the link widget
2007-09-14 10:07:18 +00:00
Ralf Becker
0fbb7ef5f4
"new account template subwidget for the contact widget: allows to select a templated based on some contact data, eg. a form-header based on the organisation unit"
2007-09-13 13:50:48 +00:00
Ralf Becker
0cfe754826
new custom field types:
...
- button to execute javascript
- selectbox values can be read from a file
2007-09-13 12:43:58 +00:00
Ralf Becker
1055642df3
fixed not working autorepeated rows with , added id's to (content of) labels and images
2007-09-06 11:59:35 +00:00
Ralf Becker
f21e357253
fixed not working direct sql-updates (eg. 'etag=etag+1') via so_sql::save's parameter
2007-09-06 11:56:37 +00:00
Ralf Becker
cb5e205d66
"added missing \"None\" label for contact-type"
2007-09-06 11:14:12 +00:00
Cornelius Weiß
372c2b4b28
fix: onchange of date selector was not working
2007-08-28 13:02:33 +00:00
Ralf Becker
ee022cd40d
fixed bug reported by Raphael Alla: registered javascript files get lost if etemplate loops
2007-08-24 06:15:27 +00:00
Ralf Becker
fde08a961d
fixed not working/existing custom fields and widget-types for dates, accounts and cats
2007-08-20 07:51:49 +00:00
Ralf Becker
0714f41b63
docu update for link widget from aleksander.adamowski-AT-olo.org.pl
2007-08-06 13:52:17 +00:00
Ralf Becker
fbeb8318d7
remove not (longer) existing or inaccessible cats
2007-07-23 09:02:51 +00:00
Ralf Becker
9f1df33c74
first version of a tree widget (atm the whole tree need to be supplied, like for select)
2007-07-22 13:23:44 +00:00
Ralf Becker
edc5dc9db5
fixed not working value display of arrays
2007-07-22 13:12:21 +00:00
Ralf Becker
a0ff70602a
fix for bug #1058 : FATAL ERROR: class.customfields_widget.inc.php on line 168
2007-07-16 16:55:13 +00:00
Ralf Becker
2699258f07
fixed double displayed label
2007-07-12 07:53:21 +00:00
Ralf Becker
7e577e22c4
fixed not working type specific customfields in infolog
2007-07-12 07:30:20 +00:00
Ralf Becker
eadc1c7b38
fix for bug #658 : Custom Fields - added user in list comes up as ID (number)
...
Unfortunatetly this bugfix requires some corrections in the way the customfield widget is called in the templates of other apps
2007-07-11 15:39:41 +00:00
Ralf Becker
2224267a7e
"fixed infinit loop in the select-number widget, if start and end value are identical, also fixing the code with should protect from showing more then 100 items in the selectbox"
2007-07-05 07:48:56 +00:00
Ralf Becker
548858e074
"some bugfixes:
...
- two etemplate on one page (eg. infolog under the addressbook view) is working halfway again
- fixed not working vars in onclick on grid-cells
- disabled cells keep there css-class now
Also calling some of the static methods now static, while trying to make process_exec static (which it is not at the moment)"
2007-07-05 04:57:31 +00:00
Ralf Becker
d255c15248
"new so_sql2 class: adding magic __get() and __set() methods, to be able to work more object oriented with so_sql (just a first step)
...
you can now use $so_sql_obj->my_col = 15 instead of $so_sql_obj->data['my_col']=15; (be aware, that does NOT work with var-parameters of functions and probably references)
$so_sql_obj->id alwas references the auto-id, independent of it's name (id is a bad choice of a column-name, because it's a reserved word in some dbms)"
2007-07-05 04:50:53 +00:00
Ralf Becker
c5ac764580
"- bugfix: data_merge was not merging null values (isset instead of array_key_exists)
...
- new update function, which write just the given cols and not the whole row"
2007-07-05 04:46:49 +00:00
Ralf Becker
c28a1babff
"fixed some bugs, wrong function or method names (it was'nt used so far)"
2007-07-05 04:44:18 +00:00
Ralf Becker
dcb8c7c80c
"removed wrong/old constructor "
2007-07-05 04:42:20 +00:00
Ralf Becker
5d9ff65391
- fixed not being able to switch off notification for responsible
...
- new preference for htmlmail with larger fontsize
- new preference for notification of responsible: only when I get assigned or removed
- notifications are now suppressed, if no changes made (according to save_history)
2007-06-21 16:25:08 +00:00
Ralf Becker
1735a53f85
"fixed bug #946 : Nextmatch last ( >| ) button goes to start
...
also fixed number-of-rows selection, which worked only on the 2. go
--> both problems were introduced by the memory saving fix applied after the last RC"
2007-06-21 09:59:53 +00:00
Ralf Becker
e8b71231f3
"fix for problem discovered by José Luis Gordo Romero <jgordor-AT-gmail.com>"
2007-06-20 20:53:54 +00:00
Ralf Becker
9e49e8c50d
History for InfoLog (incl. the ability to disable real deletes) and delete notifications
2007-06-13 21:37:05 +00:00
Ralf Becker
39dd374379
"notifications were not send to assigned users"
2007-06-11 13:43:12 +00:00
Ralf Becker
fc3c7a40ad
bugfixes and some enhancements to support async notifications (infolog)
2007-06-10 08:50:03 +00:00
Ralf Becker
af5804129f
"two fixes for the num_rows in the next-match widget:
...
- use a default of 15 rows, if user&group has no pref set
- use what's stored in the extension data, if value not set (nm-header not shown)"
2007-06-08 08:51:05 +00:00
Ralf Becker
e5dd7f8122
email for the contactform
2007-06-06 08:22:39 +00:00
Ralf Becker
381d421466
email for the contactform
2007-06-06 08:18:45 +00:00
Ralf Becker
86870ce4d7
"modified to use the non-prefered sender-address if the prefered one is not set/existing"
2007-06-03 11:31:01 +00:00
Cornelius Weiß
8afb0cf003
adopt to static function
2007-06-01 11:53:49 +00:00
Ralf Becker
f2fb5fad4b
2007-05-28 21:17:15 +00:00
Ralf Becker
915e5f74f2
"fixed now working saving of column-selection after the memory-saving-fix"
2007-05-26 07:51:17 +00:00
Ralf Becker
77a318ae69
newest ajax-select-widget from Nathan Gray
2007-05-25 22:13:26 +00:00
Ralf Becker
75c797d0f2
fixed exec to save the include_xajax flag too (looping)
2007-05-25 18:13:13 +00:00
Ralf Becker
1e9b08d510
fixed problems pointed out by Janosch Machowinski <scotch-AT-tzi.de>
2007-05-25 12:18:00 +00:00
Ralf Becker
196046f66c
"fix to drastically reduce the memmory used by eTemplate sessions (accidently the whole eTemplate object was stored incl. db-object with all table definitions and the returned rows)"
2007-05-23 18:06:21 +00:00
Ralf Becker
c2bb34cd4e
fixed missing translation of monthnames after removing the asterisk prefix for untranslated phrases
2007-05-22 18:02:41 +00:00
Ralf Becker
94dced8024
"fix for bug #747 : Postgres SQL error searching tracker items"
2007-05-21 04:49:57 +00:00
Cornelius Weiß
116f97e59c
fix: remove forgotten debug message
2007-05-19 15:59:58 +00:00
Ralf Becker
cb7eb66434
"fixed php5 only foreach syntax, as we still support php4"
2007-05-18 13:49:46 +00:00
Ralf Becker
c60811c353
missing date/time customfield type
2007-05-17 06:04:24 +00:00
Ralf Becker
314beb70b2
"bugfix: for date/time storage formats without separators, eg. Ymd"
2007-05-16 13:02:31 +00:00
Lars Kneschke
f6b3216085
use egw_openWindowCentered2 instead of plain windows.open to open popup windows centered to the screen
2007-05-15 06:44:09 +00:00
Ralf Becker
4921902293
"fix for bug #514 : \"needed\" not working with \"select entry\" widget"
2007-05-14 14:51:32 +00:00
Ralf Becker
aa1a87f328
"fix for bug #622 : 'XML Import' doesn't work right"
2007-05-14 10:41:11 +00:00
Ralf Becker
9b61188549
"fix for bug #727 : can not edit widgets below an embeded template"
2007-05-13 11:24:12 +00:00
Ralf Becker
b07f9f9704
"fix for bug #478 : Invalid argument supplied for foreach() when no nexmatch *headers in rows"
2007-05-13 06:19:11 +00:00
Ralf Becker
32864e955a
"calling the static method static seems to work more relyable in php5.2"
2007-05-12 10:12:41 +00:00
Ralf Becker
e41602efa2
"fixed typo, used german \"Mai\" instead of english \"May\""
2007-05-11 15:56:33 +00:00
Ralf Becker
f40e6d5b5d
fix for bug #275 : tree of projects is only one line high in IE, plus removing the margin arround the mainDiv and saving some space around the navbar
2007-05-08 16:54:07 +00:00
Ralf Becker
f0c9a45803
patch #25 : AJAX Select widget from Nathan Gray
2007-05-08 12:20:38 +00:00
Ralf Becker
3630f964fb
"fix for bug: can not unselect users from a multiple user selection (eg. InfoLog delegates), if the original value is in $preserv array"
2007-05-08 09:00:22 +00:00
Ralf Becker
9748cf96be
fix for bug #700 : Date format d-M-Y not working in Infolog list display
2007-05-08 07:38:36 +00:00
Ralf Becker
2ed91ce075
fix for bug #674 : no more simple multiple participant selection
2007-05-07 19:03:33 +00:00
Ralf Becker
b67a8934e3
"an other fix for bug #645 : Error with apostrophes in organisation's fields"
2007-05-04 13:29:50 +00:00
Ralf Becker
ec4db98936
sitemgr module was not loading eTemplates javascript file
2007-05-03 19:16:32 +00:00
Ralf Becker
a119c5301e
"fix for bug #645 : Error with apostrophes in organisation's fields
...
--> changed the regular expr for egw::link() in js_pseudo_funcs
--> dont add submitit() call to image buttons with onclick action"
2007-05-03 06:38:36 +00:00
Ralf Becker
f386d0480d
reverted
2007-04-29 20:30:15 +00:00
Ralf Becker
c81097ab13
worked around stupid php5.2 empty haystack warnings
2007-04-29 14:26:28 +00:00
Ralf Becker
e11b8e5e32
worked around stupid php5.2 empty haystack warnings
2007-04-29 14:25:19 +00:00
Ralf Becker
d1d4e02aad
"fix: suppresed php5.2's stupid emty haystack warning"
2007-04-29 14:18:08 +00:00
Ralf Becker
8ab5ef92a2
bugfix: new 'buttononly' widget was registered to be processed
2007-04-18 10:34:26 +00:00
Ralf Becker
cb45908892
Class to repressent etemplate requests. It will be used in etemplate in the future and it can be used already to register further form-variables or their options via AJAX.
2007-04-16 20:46:55 +00:00
Ralf Becker
2abd66293e
"docu update for fck"
2007-04-14 16:48:05 +00:00
Ralf Becker
edd2585f78
"docu update for fck"
2007-04-14 16:44:37 +00:00
Ralf Becker
a95813bd5d
"fix for bug #385 : Problem with HTML specialchars in addressbook"
2007-04-06 12:11:21 +00:00
Ralf Becker
82258373e2
"fixed problem reported in the users list/forum: viewing an addressbook entry gives a second navbar and other errors"
2007-04-05 07:27:41 +00:00
Ralf Becker
0eac6dd897
"killed a warning"
2007-03-16 12:20:19 +00:00
Ralf Becker
b7645ea2da
"- improved handling of multiple etemplates on one page (eg. home)
...
- fixed not working validation error for selectboxes"
2007-03-13 13:46:50 +00:00
Ralf Becker
3a8cf8dba3
moved styles of nextmatch- & tab-widget into etemplate's app.css file, which gets now loaded by every eT app. Allows template designers to modify the look of theses widgets too
2007-03-09 11:25:08 +00:00
Ralf Becker
41a7e43d1b
date widget can now prefix (readonly) dates with the week-number
2007-03-09 11:23:26 +00:00
Ralf Becker
dcc669af74
"link-string can now display links to a given app/id/only_app"
2007-03-09 11:21:56 +00:00
Ralf Becker
6bd5ac2da8
users can now switch every single column on or off in all nextmatch lists, admins can configure defaults (plus some bugfixes and other improvments)
2007-03-07 12:30:17 +00:00
Ralf Becker
389b6d0a7c
"small fix to display eg. 0h32 correct"
2007-03-06 15:33:46 +00:00
Ralf Becker
4646fed791
an other small fix for the readonly time
2007-02-19 06:06:08 +00:00
Ralf Becker
928ddd4912
"Fixed not working ignoring of validation errors via regular expressions (eg. forced fields in the etemplate editor)"
2007-02-19 05:29:17 +00:00
Ralf Becker
4e49113cc1
"removed debug-message"
2007-02-14 07:22:15 +00:00
Ralf Becker
e844de99cd
"fixed previous php5.2 fix, which caused readonlys set in the get_rows function not to work"
2007-02-14 07:11:42 +00:00
Ralf Becker
41f10cd5cc
"fixed previous commit: day&month are displayed again with leading 0 plus some other fixes"
2007-02-14 07:09:17 +00:00
Ralf Becker
6ffdbb01a1
"read: prefix column with table-name, if used in join, to prevent ambigous col-name"
2007-02-14 07:07:58 +00:00
Ralf Becker
147240aa07
"treat $ignoare_validation param of validation_errors() only as regular expression, if it starts with a slash"
2007-01-27 04:02:21 +00:00
Lars Kneschke
3d259ec31a
patch from sebastian to removed some forgotten debug output
2007-01-25 14:48:54 +00:00
Ralf Becker
f53c68f94d
php5.2 fix and ability to return something from the get_rows function
2007-01-22 07:06:15 +00:00
Cornelius Weiß
d32b3ef8e8
patch #203 from sebastian ebling:
...
extendet submit_button() to also display <input type=button
new type buttononly for eTemplate
applied this type for addressbook.index.right_add buttons
applied this type for tracker.index.right button
2007-01-20 08:55:26 +00:00
Cornelius Weiß
7478fa159f
complete transition to fck
...
changed etemplate apps: resources, wiki, projectmanager, infolog, news_admin
infolog now has a fck w.o. toolbar by defaut. This helps for mails from mail2infolog
compability function htmlarea in class.html now points to fck
deactivated old tiny code in class.html
2007-01-18 19:19:01 +00:00
Ralf Becker
b3640356f3
"fix for bug #282 , hour and minute < 10 were not selected"
2007-01-14 03:14:11 +00:00
Ralf Becker
0315d30672
revert last commit, as it gives a fatal error with php5.0
2007-01-08 21:23:02 +00:00
Ralf Becker
08aadb56cf
quitened a warning
2007-01-08 15:58:32 +00:00
Ralf Becker
e64e3e06b1
so_sql::init() returns now $this->data as eg. so_sql::read()
2007-01-08 15:57:58 +00:00
Ralf Becker
6387f19cae
fixed isset_array using array_key_exists, to return also null values:
...
eg. $arr = array('x' => null); boetemplate::isset_array($arr,'x') returned false, as isset($arr['x']) === false, now it returns true like array_key_exists('x',$arr)
2007-01-08 15:57:09 +00:00
Ralf Becker
0aa9dffc1d
- optional sprintf format for float and int widget
...
- grid rows can have further classes then row (has to be the first!)
2007-01-08 15:53:27 +00:00
Ralf Becker
4c1b672b72
fix for bug #41 : etemplate generates empty images <img src="">
2006-12-29 06:50:49 +00:00
Ralf Becker
e06b0462c1
render readonly textareas without size as div with the content run through nl2br, former <pre> did NOT wrap lines
2006-12-26 07:21:54 +00:00
Ralf Becker
a999bb4ef4
render only text-widgets with size < 0 as readonly input
2006-12-25 17:43:59 +00:00
Ralf Becker
5bc9ca3a7d
use js_pseudo_func also for onclick
2006-12-19 13:36:54 +00:00
Ralf Becker
7e9852a028
some more stupid php5.2 fixes
2006-12-19 13:36:14 +00:00
Cornelius Weiß
21ae4691b0
fix: strange behaviour on traditional posts in etemplate apps, caused by my ajax feature:"only process what is given". This freature allowes more flexibility in custom templates, but is now only applayed to xajax requests
2006-12-17 14:15:10 +00:00
Ralf Becker
f4238614f3
new egw_db::capabilities['case_insensitive_like']=='LIKE' ('ILIKE' for Postgres) used for all so_sql search and the lettersearch in addressbook
2006-12-17 08:44:05 +00:00
Ralf Becker
be12e577e9
use now capabilities 'query' and 'add_app' instead of '' and 'add', to be more specific about what's needed
2006-12-12 14:38:52 +00:00
Ralf Becker
806cc84b1e
- changed name of app in link-add widget to add_app, to be able to set it idependent of the other link-widgets
...
- added the ability to specify a default app for link-add
2006-12-11 07:53:16 +00:00
Ralf Becker
297690b22c
added php4.3 compatibility function stripos, to get back php4.3 compatibility after the recent replacement of stristr with stripos
2006-12-09 14:20:10 +00:00
Ralf Becker
9e5ba08ecb
fixed warning introduced by strstr --> strpos conversation
2006-12-07 19:05:40 +00:00
Ralf Becker
21f473137e
killed a warning
2006-12-07 19:00:16 +00:00
Ralf Becker
9a96320225
display readonly text widgets with a given length as readonly input and not just as text
2006-12-07 18:59:53 +00:00
Cornelius Weiß
4338f6726b
strstr -> strpos fix by thomas koch
2006-12-07 12:46:46 +00:00
Cornelius Weiß
be0bce8b40
add types passwd and select-lang
2006-12-06 20:09:22 +00:00
Ralf Becker
8c6cb48d85
fix for bug #87 : Infolog - Addressbook categories mixed in 1.2.x
...
The select_widget allways used the cats of the current application. That's still the default, but it can be overwritten now via an option. The nextmatch_widget has now and optional parameter 'cat_app', which defaults to the app of the get_rows method.
2006-12-04 14:39:22 +00:00
Cornelius Weiß
8e647edc80
kill php5.2 warnings
2006-12-02 11:03:54 +00:00
Ralf Becker
efb218c924
we can have multiple comma-separated types now
2006-11-23 13:52:56 +00:00
Ralf Becker
2151ad6579
ability to limit the app selectbox to certain apps
2006-11-07 18:04:33 +00:00
Ralf Becker
76ac8d4381
php5.2 fix: Catchable fatal error: Object of class etemplate could not be converted to string
2006-11-07 14:22:49 +00:00
Ralf Becker
fa3a9da379
enhanced the select-widget to preserv cats added to an entry, which are unavailible for the current user (eg. because they are private cats of an other user or user-cats added the an address in the group-addressbook)
2006-11-03 10:56:40 +00:00
Ralf Becker
e9cc37b01c
link-entry widget returned wrong value, if value was preset and never changed, eg. InfoLogs created from PM or Addressbook
2006-10-27 10:48:29 +00:00
Ralf Becker
5bb1444e90
Need to load etemplate translation for the error-message
2006-10-26 12:11:11 +00:00
Ralf Becker
62bb270e0f
added sub-type 'Account contactdate'
2006-10-26 11:09:34 +00:00
Ralf Becker
890cbb87e6
added sub-type 'Account contactdate'
2006-10-26 10:57:47 +00:00
Cornelius Weiß
40181f7d5c
ups
2006-10-24 20:14:47 +00:00
Cornelius Weiß
cc0705e83a
cleanup
2006-10-24 20:12:33 +00:00
Ralf Becker
dae2c126df
fixed not working (resetable) checkboxes
2006-10-24 14:15:28 +00:00
Ralf Becker
c02a67c9af
allow to specify multiple, comma-speparated id's for the link-entry widget
2006-10-23 11:22:15 +00:00
Ralf Becker
e339994538
removed unnecessary reset of the loop var, so one can use it to detect if etemplate is looping
2006-10-22 11:37:38 +00:00
Cornelius Weiß
8d7bca0d8f
start with reimplementation of advanced search
2006-10-21 20:16:25 +00:00
Ralf Becker
73cfd5e7cc
fixed error-message in the editor: method is no string
2006-10-19 19:05:48 +00:00
Ralf Becker
9ab93a73a2
fix for bug #24 : Contact widget displays contact_id if contact not found
2006-10-19 18:19:11 +00:00
Ralf Becker
c461da0bbd
fixed an off by one problem
2006-10-17 17:27:15 +00:00
Ralf Becker
0d1c4664c3
fixed after some recent updates not working file-upload in etemplate
2006-10-16 20:01:31 +00:00
Cornelius Weiß
d0a7a9aaf4
fix: etemplate does not like my previous patch, don't know why :-(
2006-10-10 18:03:27 +00:00
Cornelius Weiß
4648c5025e
don't set items witch are not submitted from UA in content array on callback.
...
This is usefull if u want to process just subsets of a form e.g. by xajax
2006-10-10 15:10:07 +00:00
Cornelius Weiß
e4d865e365
adopetd ajax-loader to ralfs new namespace concept
2006-10-09 17:36:40 +00:00
Ralf Becker
dbe9270c1b
allow to call etemplate widgets via xajax:
...
- "etemplate" handler replaces the appname with etemplate
- uietemplate::js_pseudo_funcs() replace xajax_doXMLHTTP('etemplate.xyz_widget.method', with xajax_doXMLHTTP('currentapp.xyz_widget.method.etemplate',
--> fixes the not working new link-widgets in trunc (not working for non-admins / no etemplate run rights)
2006-04-06 05:10:32 +00:00
Ralf Becker
c1b1453108
- for extensions also trying an extension-specific template-name
...
- fixed not correct set template after a type change
2006-10-05 08:49:09 +00:00
Ralf Becker
d2ad639d3e
- syntax of link-entry widget (addressbook:id instead of just id)
...
- fixed loading of field translations
2006-10-05 08:05:25 +00:00
Ralf Becker
0cb2c831ec
translations for widget names
2006-10-05 06:36:47 +00:00
Ralf Becker
8ccab4e7cc
widget to show a field from a contact (used for forms in infolog)
2006-10-04 20:23:44 +00:00
Ralf Becker
532264b3fa
new customfield types to select entry of other apps, eg. a contact
2006-10-04 17:10:05 +00:00
Ralf Becker
f68c173c30
- link widgets uses now ajax to search
...
- new sub-type to search and select an entry of a selectable or given app
- more to come
2006-09-29 19:55:00 +00:00
Ralf Becker
2d2a18959f
- allow to set id for box, hbox, vbox and grid
...
- new function js_pseudo_funcs used for onchange and onclick:
+ form::name('name'): translates name in hirashical form-name used by etemplate
+ egw::link('url','vars'): calls $egw->link()
+ confirm('message'): translates 'message'
2006-09-29 19:47:29 +00:00
Cornelius Weiß
f90337fae8
place ajax loader icon over manual
2006-09-28 05:01:01 +00:00
Ralf Becker
b22627c2f2
fixed typo (custom help-message of the link-widget was ignored)
2006-09-27 13:41:51 +00:00
Ralf Becker
79b302aae5
- empty cells in a box can now be kept (not optimized away)
...
- fixed not used ro-image for buttons, if set via the content-array
2006-09-27 13:09:28 +00:00
Ralf Becker
f378683cab
fixed type causing the box-options to be in the orient
2006-09-27 13:01:34 +00:00
Ralf Becker
9cbbf9bef9
classes for filterheaders and fixed the way the *active_sortcolum class is applied
2006-09-25 13:11:00 +00:00
Ralf Becker
eb02bbde24
fixed infolog customfields show regardless of type
2006-09-20 17:49:15 +00:00
Ralf Becker
03630766ad
show readonly cats without indention and global cat marker
2006-09-20 13:32:47 +00:00
Ralf Becker
c49f73a400
moved to the api before 1.2, removing now the compatibility class
2006-09-20 04:48:59 +00:00
Ralf Becker
03a7efb8a0
new sub-type for the nextmatch widget: custom filter. It allows to use any (select-)widget (specified as 1. option) as filterheader for the nextmatch widget. The accountfilter is now only a special case for the customfilter or filterheader.
2006-09-12 15:14:39 +00:00
Ralf Becker
aeb51ceee2
- make the validation-error interface public availible via the set_validation_error() and validation_errors() method
...
- fixed error in validation: a multiselect widget (using checkboxes) got a validation error, if no option was selected
2006-09-12 15:12:39 +00:00
Ralf Becker
80138def68
small docu update
2006-09-12 07:32:34 +00:00
Ralf Becker
6499fb37f2
some fixes:
...
- class of select-widgets is now correctly geneated as attr class
- killed warning generated for boxes (array passed to htmlentities)
- class-vars now just set (not in the constructor, as required by php3)
2006-09-12 07:31:03 +00:00
Ralf Becker
998d51bef4
- fixed bug reported by Deti Fliegl: [ 1548175 ] Pictures in Addressbook cannot be deleted
...
- docu update
2006-08-29 04:19:38 +00:00
Ralf Becker
ad2c99f11e
ability to pass arguments to the etemplate method
2006-08-17 05:36:19 +00:00
Ralf Becker
1f0d4797aa
validation for selectboxes
2006-08-15 12:14:05 +00:00
Ralf Becker
74001bd3ab
sitemgr module was not including the eTemplate javascript file
2006-08-13 18:06:10 +00:00
Ralf Becker
0d0c9df4db
some etemplate fixes:
...
- date-widget does no longer set extension-data if readonly (not used and can conflict with other widgets using the same name, as it was the problem in PM)
- select-widget: fix for "can not unselect the last category"
- red error-messages have now a "white-space: nowrap" for nice formatting
- confirm-message did not quote single quotes (') correct, which caused the complete confirm dialog to fail and allways execute the button
- readonly textarea's without column and row specification are rendered now as <pre></pre> to only take space needed
2006-08-12 06:14:28 +00:00
Ralf Becker
e19d53e870
widget to display the content of the historylog
2006-08-11 20:49:43 +00:00
Ralf Becker
325d849332
allow to use columns, which are not unique, for read
2006-07-08 00:38:06 +00:00
Ralf Becker
f0ee41230d
- use country-class instead of sbox-class for country-names
...
- moved US state name to country class
- new param for select-country to optionaly use the country-name instead of the county-code
2006-07-06 22:55:30 +00:00
Cornelius Weiß
60c5bd673a
fix not displayed actions found by Christophe Combelles
2006-07-01 05:28:40 +00:00
Ralf Becker
12e821b883
fixed date-widget for 12h timeformat:
...
- replaced extra am/pm radio buttons with single selectbox with times includeing am/pm (works much better with the existing layouts)
- fixed wired 12h clock: 12am,1am-11am,12pm,1pm-11pm (0-23h)
- added an select-hour widget to the select-widgets for the above
2006-06-22 16:14:08 +00:00
Ralf Becker
07df005b44
so_sql::search() was loosing filters, sql-strings (int keys) where writen with that key, instead with []
2006-06-17 18:30:38 +00:00
Ralf Becker
d02c93748a
added title for links option to label widget
2006-06-15 21:57:21 +00:00
Ralf Becker
5f35a0cf8b
try using xet files if db is not availible (eg. early setup stage)
2006-06-15 21:52:40 +00:00
Cornelius Weiß
3f168a0c60
me against php and svn :-(...
...
or make buttons work with php5.1.x
2006-05-19 18:10:02 +00:00
Cornelius Weiß
f7c9c18bb8
merge from 1.2
2006-05-18 16:19:50 +00:00
Ralf Becker
abf67e8471
fix for no colums given via $only_keys=''
2006-05-17 03:02:47 +00:00
Ralf Becker
c019eda361
fix for integer values
2006-04-30 16:42:33 +00:00
Ralf Becker
e3ff7b9569
radio button allow now to set the displayed readonly values to something different then X and empty
2006-04-30 07:20:12 +00:00
Ralf Becker
fcfa0f81d5
giving the template name in the content precedence over the one supplied in the template
2006-04-30 07:10:42 +00:00
Ralf Becker
c170b9a047
so_sql::search:
...
- you can use now "!''" (exclemation mark plus 2 single quotes) as value in $filter and $criteria to search for not empty columns
- only_keys (columns to retrieve) can additionally be an array of column-names
2006-04-24 20:48:18 +00:00
Ralf Becker
58cd8de0ce
disabled check can now be done via (pearl) regular expressions, eg. /^(val1|val2)$/ to check for two values
2006-04-24 20:42:42 +00:00
Ralf Becker
2a909066da
nextmatch widget can have an (optional) lettersearch now
2006-04-23 14:44:44 +00:00
Ralf Becker
6a089fb606
some fixes
2006-04-23 14:42:41 +00:00
Ralf Becker
76ff2ee6d1
confirm-message in onchange got not translated
2006-04-22 12:54:36 +00:00
Cornelius Weiß
71743a2260
update docu to better run trough phpdocumentor
2006-04-21 10:31:06 +00:00
Cornelius Weiß
69aa6abdec
update docu to better run trough phpdocumentor
2006-04-20 17:12:30 +00:00
Ralf Becker
2261ca5419
- dont write columns not set in $this->data
...
- read used internal name of primary key, instead of db name (only matters if they differ)
- param column_prefix of constructor and setup_table, to automatic setup a conversation from internal name (without prefix) to the db-name with the prefix
--> I will commit this bugfixes after a short testing period to 1.2 too
2006-04-19 08:03:28 +00:00
Ralf Becker
0d9a26e224
fixed not working arrow-navigation (grids) in the editor: php5.1 does not assign by reference if a function returns no reference
2006-04-09 08:16:12 +00:00
Ralf Becker
4794146748
removed / reverted some earlier fixes which caused other problems
2006-04-06 18:39:34 +00:00
Ralf Becker
f4ee3a80db
- fixing the fix: uninitialised ...
...
- additional alignment, caused some space behind the arrow in an active nextmatch header, in a right aligned cell - complicated ;-)
2006-04-05 15:28:48 +00:00
Ralf Becker
435a8ee099
fixed disapearing addressbook view if changing something in the hooked in infolog. Caused by one etemplate app hooking an other one, was not working.
2006-04-05 15:24:46 +00:00
Ralf Becker
85a9bfb5d3
For a union-query call search for each query with $start=='UNION' and one more with only $order_by and $start set to run the union-query
2006-04-05 15:22:50 +00:00
Cornelius Weiß
821f206962
fix: advsearch in cat
2006-04-05 13:53:37 +00:00
Cornelius Weiß
d79ed4aa96
allow etemplate to use xajax
2006-03-29 19:25:00 +00:00
Ralf Becker
c18b81ffbf
fixed old nextmatch-widget problem, which cause the first click on a button in the list got not registered, because of an uninitialised filter
2006-03-27 15:08:47 +00:00
Ralf Becker
4a98fcd281
fixed default to be hours (not minutes)
2006-03-27 12:46:21 +00:00
Ralf Becker
54f423b6cf
added minutes as input unit to the duration / date widget
2006-03-27 12:22:12 +00:00
Ralf Becker
ddde44ea3c
added precision to the float widget
2006-03-27 12:21:29 +00:00
Ralf Becker
9a6649a931
- fixed not working buttons in nextmatch-list, if pressed before direct after login
...
- improved printing:
+ disabled unnecessary UI-elements in nextmatch
+ nextmatch has now selection for the number of rows to display
+ nextmatch-filters (selectboxes) are now printed as text
2006-03-26 22:17:55 +00:00
Ralf Becker
23f5d80380
enabled so_sql::search to use UNION
2006-03-26 22:09:02 +00:00
Cornelius Weiß
f8443b7c19
insert id in <div> tag
2006-03-22 13:04:17 +00:00
Cornelius Weiß
71d59ec6cb
fix forgotten </div> tag if empty content
2006-03-21 22:59:03 +00:00
Ralf Becker
fc5c2baa45
added ablity to set onchange via content
2006-03-21 22:13:46 +00:00
Ralf Becker
9dfb3f5629
fixed return of "<b></b>" for empty textfields
2006-03-21 17:11:57 +00:00
Ralf Becker
84b36865e1
dont give a required error if there's a blur content
2006-03-21 14:00:50 +00:00
Ralf Becker
a615cada89
added ability to specify some extra styles for the multiselectbox with checkboxes
2006-03-20 21:51:55 +00:00
Ralf Becker
c751dee313
fix to allow 2 eTemplate's in one request (eg. addressbook.view)
2006-03-16 14:20:57 +00:00
Cornelius Weiß
300b9b1070
addressbook extension:
...
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Ralf Becker
bd8dab6477
ability to set the onchange attribute
2006-03-07 23:44:21 +00:00
Ralf Becker
51c43c997f
docu update and make the content array globaly availible for eg. extensions
2006-01-11 05:25:49 +00:00
Ralf Becker
1f3f5651ee
bugfix: suppressing numeric attributes
2006-01-06 04:50:56 +00:00
Ralf Becker
68f2b987ce
bugfix: link-widget did not reset remark after an attachment/link
2006-01-06 04:50:11 +00:00
Ralf Becker
a1f055d42d
allow to use a constant for the app-name
2005-12-19 04:27:19 +00:00
Ralf Becker
28fe36e769
typo
2005-12-19 04:26:34 +00:00
Ralf Becker
e73c48f794
fixed some bugs and missing things:
...
- subs are closed (set to done) too, if an entry is set to done via the close action
- infolog stays now in the subs view, if you add or edit an entry there
- entries created from the projectmanager go a set category
- times can optionaly be shown in the list
2005-12-06 07:11:14 +00:00
Cornelius Weiß
ac8eb8bf72
fix: wildcard search
2005-12-01 17:16:04 +00:00
Ralf Becker
8fa2337beb
fixed prob. with the new sub-types of the link-widget, they returned null content because of the postprocess function, setting the cell to readonly fixed that
2005-11-12 13:22:05 +00:00
Ralf Becker
99ca767542
a bit more flexible parsing of confirm dialogs
2005-11-12 13:20:20 +00:00
Ralf Becker
b795d8172b
two minor enhancements:
...
- style editor gives now a msg, if the CSS file has been written
- the message new version exists contains now a link to load that version
2005-11-12 06:59:34 +00:00
Ralf Becker
090dc5c1da
shorten the category names, by not appending <Global [App]> anymore, instead we use a symbol (diamond) to indicate a non-user cat
2005-11-11 23:05:35 +00:00
Ralf Becker
b51c7496e6
not returning labes containing $row or $cont for translating
2005-11-11 08:49:42 +00:00
Ralf Becker
434431727a
taking $GLOBALS['egw_info']['flags']['params']['manual'] into account too
2005-11-11 08:49:06 +00:00
Ralf Becker
b668ae7f1a
editor was inserting one comma to much in case the popup target was _blank
2005-11-11 08:48:03 +00:00
Ralf Becker
9f1ef5c546
a bit bigger popup for the widgets-editor
2005-11-10 14:52:13 +00:00
Ralf Becker
9de22c86f2
1) label, html & image image widget now fully supporting link, target and popup (size of a popup to open, if link gets clicked)
...
2) several imporvments for the link-widget
- it uses now popups, if the link-registry says so for a given app
- new widget to add an already linked entry of an other app (used in PM so far)
- new widget to display a single link to view a linked entry
2005-11-10 14:51:12 +00:00
Ralf Becker
36a683642c
phpgw_setup --> egw_setup
2005-11-10 12:27:04 +00:00
Ralf Becker
96fd5ccfbd
fix for Lanfile to not add phrases which are variables
2005-11-10 12:26:16 +00:00
Cornelius Weiß
b57aaf28af
allow NOT in customfield search of type select
2005-11-10 12:10:17 +00:00
Ralf Becker
8237b88c41
small phpDoc updates
2005-11-10 05:42:28 +00:00
Ralf Becker
f21f778800
small phpDoc updates
2005-11-10 05:15:06 +00:00
Ralf Becker
7a4a18ec0a
phpgw --> egw
...
from this revision eTemplate requires a 1.0.1/1.2 API, the last working version for 1.0.0 has been taged "last_working_1_0_0"
2005-11-09 20:50:45 +00:00
Cornelius Weiß
b67562d721
added row actions
2005-11-09 19:13:51 +00:00
Ralf Becker
69ff4a066f
Manual widget, which open the online help from popups
2005-11-09 16:56:23 +00:00
Ralf Becker
d871b17bc9
valign top and other minor stuff
2005-11-08 14:33:16 +00:00
Cornelius Weiß
ffd9fec8c8
fix: searching in customfields of type select was not working
...
fix: hadle search actions if they are no button
2005-11-07 23:09:49 +00:00
Ralf Becker
a680d87a67
tabindex and accesskey
2005-11-05 17:07:29 +00:00
Ralf Becker
20d1b19c3c
method to get a reference to a widget by it's name
2005-11-05 16:09:10 +00:00
Cornelius Weiß
0c82e07152
fixed bug reported by lutz falkenberg
...
killed warnig if no customfields are present
2005-11-04 12:11:50 +00:00
Ralf Becker
9835bb0fdb
sort the apps alphabetic
2005-11-02 20:02:27 +00:00
Ralf Becker
1618a67d7e
duration can now (optional) differ between 0 and empty values, which get returned as null
2005-11-02 19:59:58 +00:00
Cornelius Weiß
10ff4dd436
cleaned op logic
...
added action support for result_sets
still some layout stuff to do
2005-11-02 16:49:45 +00:00
Cornelius Weiß
fba9f65ae3
add option "dosn't matter" to selectboxes in search-mode
2005-11-02 16:48:24 +00:00
Cornelius Weiß
519e6875d6
added option to supress search filed
2005-11-02 16:46:34 +00:00
Ralf Becker
b254fdaeaf
allow to use !patter as value in the criteria array to invert the query (NOT LIKE instead of LIKE)
2005-11-01 10:13:28 +00:00
Cornelius Weiß
ad5c21fca1
new widget for advanced search (needs still some work)
2005-10-31 17:49:19 +00:00
Cornelius Weiß
e3e75bc70d
fixing the fix :-)
2005-10-31 09:33:15 +00:00
Ralf Becker
968c1d41a5
fixed fatal error when calling soetemplate::add_cell with the template itself
2005-10-31 09:06:24 +00:00
Cornelius Weiß
202611ea0d
clean up code
...
bugfix for type radio
2005-10-28 21:05:56 +00:00
Cornelius Weiß
2afcf77024
advanced custiomfield widget moved from infolog
2005-10-28 18:29:05 +00:00
Ralf Becker
8bfbbd96ae
allow extending classes to use numerical and string debug-levels, so_sql only reacts on debug=4
2005-10-16 11:45:59 +00:00
Cornelius Weiß
f578c4f826
make tinymce call easier and provide some custom view
2005-10-13 20:43:06 +00:00
Cornelius Weiß
c5d434332c
make both (htmlarea / tinymce) pluging arguments styles working in etemplate
2005-10-13 15:13:58 +00:00
Ralf Becker
e76a77cce9
Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
...
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 12:17:38 +00:00
Cornelius Weiß
9cbf5c356b
use tinymce for htmlareas
2005-10-10 15:43:45 +00:00
Ralf Becker
cb59056b85
fixed wrong unit-label
2005-08-17 11:04:21 +00:00
Ralf Becker
a962d8cbf7
fixed (maybe PHP5 related error) that caused the selection of multiple cats to fail
2005-08-02 08:52:47 +00:00
Ralf Becker
566d5ecbd5
added parameter for a popup in links
2005-07-30 12:49:11 +00:00
Ralf Becker
e03b9a8a67
fixed double <global> in cat-selection for application global cats
2005-07-30 12:48:27 +00:00
Ralf Becker
5254c9690f
*** empty log message ***
2005-07-30 12:45:54 +00:00
Ralf Becker
b68fb24b25
nextmatch sortheader can specify a default sort now: default is ASC and can now be set to DESC
2005-07-17 21:42:11 +00:00
Ralf Becker
4b97e9463c
new output mode for home: first-time return content (to create the protalbox), next time use echo as we run alone
2005-07-17 21:40:31 +00:00
Ralf Becker
7378a3b898
fixed spelling
2005-07-14 06:56:56 +00:00
Ralf Becker
608d5131a4
implemented "Nextmatch Accountfilter", a nextmatch filterheader to filter by accounts using the perfered account-selection method
2005-07-14 06:47:14 +00:00
Ralf Becker
5803c3a7c7
1) extensions can now use other extensions - thought only the post_process function of the topmost/first extension is called (this need a bit more work)
...
2) grid and template now only temporary set $readonlys['__ALL__'] if they are readonly (before that was permanently set and made all further widgets readonly)
2005-07-14 06:42:39 +00:00
Ralf Becker
55b65ed240
saving the widget type more compatible with other extensions
2005-07-14 06:31:05 +00:00
Ralf Becker
50ab75e58a
option to never hide the nextmatch line (if less then max-matches entries
2005-07-13 08:39:42 +00:00
Ralf Becker
1e3124d099
fixed readonly display of select-dow and add a new option if and where the summaries (workday, weekend) should be displayed
2005-06-19 11:10:38 +00:00
Ralf Becker
76ff6260c2
allow to set class and align for boxes (incl. the template itself)
2005-06-19 08:31:11 +00:00
Ralf Becker
215ab71516
added javascrpt values2url function to transmit selected runtime values via the url to a popup, which can use etemplate::process_values2url to retrieve the values from the url as content-array (incl. $preserv from exec())
2005-06-16 21:44:51 +00:00
Ralf Becker
fd13a74162
quitent a warning, which happens if readonly
2005-06-16 21:32:07 +00:00
Ralf Becker
e1df8ccd7f
readonly checkboxes can now be disabled (not displayed), if they are unchecked
2005-06-14 21:38:49 +00:00
Ralf Becker
d5d43df995
fixed wrong message about not writable dir
2005-06-14 21:36:52 +00:00
Ralf Becker
7d5686a55c
fixed wrong id in label of checkbox
2005-06-14 08:40:39 +00:00
Ralf Becker
74b50f5dea
added multiple checkboxes with identical names ending []
2005-06-12 15:58:22 +00:00
Ralf Becker
8ef28951a8
added form::name() pseudo function for onclick events to find out the name used in the form
2005-06-12 13:22:47 +00:00
Ralf Becker
6a4ff5d1d1
allow to specify the app-name in which a widget is defined in the widgets name: list($app) = explode('_',$name)
2005-06-12 12:32:59 +00:00
Ralf Becker
0cde45389d
allow to override the id of a widget
2005-06-12 12:31:05 +00:00
Ralf Becker
2c8193ab05
do not disable data-line if rows-template has only one row
2005-06-11 20:15:02 +00:00
Ralf Becker
6fd3abff3b
initialised var to kill warning
2005-06-11 20:13:38 +00:00
Cornelius Weiß
7679d73df0
update documentation
2005-06-11 10:49:50 +00:00
Cornelius Weiß
ea424535df
update documentation
2005-06-11 10:09:34 +00:00
Ralf Becker
ba459fdfcd
fixed link to DeveloperDocs
2005-06-11 10:08:08 +00:00