Klaus Leithoff
4b4735cb80
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:12:41 +00:00
Klaus Leithoff
33f102ac0a
fix advanced search for customfields (multiple field criteria, combined by AND) in addressbook
2010-07-07 11:50:49 +00:00
Ralf Becker
4b2b17b751
new optional parameter "extra_args" for link widget, to add further get parameters to the link
2010-07-07 10:10:59 +00:00
Klaus Leithoff
9efe355b5c
fix a problem with content validation; was returned as array
2010-06-28 14:08:21 +00:00
Ralf Becker
e09beaff5b
if search pattern alread contains a wildcard, do NOT add further ones automatic (eg. in extended search in addressbook)
2010-06-25 07:10:13 +00:00
Nathan Gray
13707d0907
Backport 30914: Fix for searching with custom fields in
2010-06-18 11:18:47 +00:00
Jörg Lehrke
db8a994b15
Fix excess of maximum column length issue
2010-06-18 09:37:06 +00:00
Ralf Becker
48c6e5416a
methods to set or get all body tags or javascript files, replacing direct access to variables of old javascript class
2010-06-15 16:12:46 +00:00
Ralf Becker
1817525c74
correct validation errors, if no file selected or file could not be attached
2010-06-14 20:18:51 +00:00
Nathan Gray
223bd79fd5
Backport 30786: Fix searching for a given custom field value using criteria parameter
2010-06-14 10:21:32 +00:00
Nathan Gray
1b641c54b3
Use json_encode() instead of removed convert_phparray_jsarray()
2010-06-10 14:28:03 +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