Commit Graph

15281 Commits

Author SHA1 Message Date
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
f1646e34df Use so_sql::search2criteria() to generate search criteria 2010-04-01 17:07:06 +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
48c5ec9b24 Use so_sql::search2criteria() to generate search text filter 2010-03-31 21:37:35 +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
Nathan Gray
9127fb5d71 Fix importing links 2010-03-31 17:02:53 +00:00
Nathan Gray
076137ec85 Fix js error in IE: make sure button has onclick handler and call xajax_eT_wrapper_init() 2010-03-31 16:27:57 +00:00
Nathan Gray
9eacd3de3c Fix missed class name change in default importexport profile 2010-03-31 15:45:15 +00:00
Nathan Gray
aa8ec8856e Comment out cache call until I get it worked out 2010-03-31 15:07:47 +00:00
Nathan Gray
e66b0d5373 Fix missed class rename 2010-03-31 14:32:41 +00:00
Ralf Becker
fa234df716 "switching E_STRICT off in error_reporting" 2010-03-30 13:24:45 +00:00
Ralf Becker
3f026390ab "fixed typo in german translation" 2010-03-30 07:01:12 +00:00
Nathan Gray
fb5a3e11a8 - Add blacklisting so plugin scan will skip certain files or directories
- Add caching to plugin scan, default is to rescan once a day
- Remove lingering unneeded requires
2010-03-29 17:38:54 +00:00
Ralf Becker
c4ec7ad53f fixed old classname 2010-03-29 13:10:01 +00:00
Ralf Becker
80d89dc590 "allow to specify more then one group for an auto-created user
(first is primary, further are just memberships)"
2010-03-29 07:39:09 +00:00
Ralf Becker
34d460ae2f "deleting a type, did not delete a group owner
--> causing groups still considered to be used as group owners and therefore not resolved to there users for grants"
2010-03-28 15:38:12 +00:00
Ralf Becker
2d6cc439c3 "fixed not working sort" 2010-03-28 15:01:58 +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
Nathan Gray
af9df0faf4 Fix for possibly undefined variable 2010-03-26 16:47:31 +00:00
Nathan Gray
ef4b5a48ab Add error messages to export template 2010-03-26 15:19:18 +00:00
Nathan Gray
1d04bc2d65 Fix directory scan to only scan installed apps 2010-03-26 14:57:44 +00:00
Nathan Gray
84d3643b22 Fix bug where a rejected event could still cause a schedule conflict 2010-03-25 20:23:22 +00:00
Nathan Gray
04c83e9b14 Don't scan applications that are not available to admin. 2010-03-25 19:24:36 +00:00
Jörg Lehrke
af6e0c661d Fix Windows 7 WebDAV issue 2010-03-25 14:17:56 +00:00
Ralf Becker
ac75c349b8 "calling split_accounts with 'merge' it type is NOT either 'accounts' or 'groups'" 2010-03-25 08:48:58 +00:00
Jörg Lehrke
41c4ae0536 Give Administrator more control over SyncML clients 2010-03-24 17:56:02 +00:00
Nathan Gray
68a2a3d641 Notify linked apps about changes in contact data so linked addresses get displayed with new information 2010-03-24 16:23:12 +00:00
Nathan Gray
a59d33723c Don't change a user account into a regular contact 2010-03-24 15:43:52 +00:00
Klaus Leithoff
3aec3b7e5a accounts_search with app param: for split_accounts we want the result merged all the time, as we use it for checking ids only 2010-03-24 13:53:28 +00:00
Jörg Lehrke
0dfb44228c Fix SyncML preferences 2010-03-24 11:37:22 +00:00
Ralf Becker
de947ef466 "fix an other case of empty enddate get set to \"something\"" 2010-03-24 08:15:36 +00:00
Ralf Becker
8d033f95f8 display a backend specific tab, if supported by backend, eg. versioning information 2010-03-23 20:44:17 +00:00
Ralf Becker
99a9132cd5 "fixed not working activation of tab with different prefix" 2010-03-23 19:34:40 +00:00
Ralf Becker
394bae101f - disable status column/row in index/edit, if no status defined
- remember status on "Save & new"
- [Save] was not closing in edit status
2010-03-23 12:54:00 +00:00
Ralf Becker
ee406cc534 "adding changelog also as commit message to obs commit" 2010-03-22 21:28:11 +00:00
Jörg Lehrke
42a09eda30 Add configurable client character set for SyncML & various fixes 2010-03-22 18:03:23 +00:00
Nathan Gray
1d4190276c - Update importexport names/classes to reflect changes in importexport 2010-03-22 15:12:01 +00:00
Nathan Gray
6de19f924e - Update importexport names/classes to reflect changes in importexport
- Use new wizard base class to simplify import definition wizard
2010-03-22 15:11:12 +00:00
Nathan Gray
a6887ae908 - Change file/class names to match new naming conventions
- Change spelling of wizzard to wizard
2010-03-22 15:09:26 +00:00
Jörg Lehrke
fcf1de6a1c Cleanup GroupDAV code 2010-03-22 15:04:21 +00:00
Ralf Becker
57adecd8ff fixed after r29540 broken install:
- calling egw_time::getTimezones() not possible during setup time -->
  stalling all installs
- using tz_id=1 for a default is not possible, as that's the first
  regular tz_id on new install --> using '0' now
- added translation for that new calendar setting
2010-03-22 14:20:19 +00:00
Klaus Leithoff
23202744d7 ampersand-at-the-end-of-url fix provided by zorg 2010-03-22 12:11:45 +00:00
Klaus Leithoff
a185cdece2 fix small spelling bug 2010-03-22 11:23:11 +00:00
Ralf Becker
676d76ff7c removed no longer used file, which will crash anyway because of old botimesheet class name 2010-03-21 10:07:02 +00:00
Ralf Becker
5eaee2c6e7 "patch from Lorentz <lorentz(at)friendship-systems.com>" 2010-03-21 10:00:48 +00:00