Commit Graph

86 Commits

Author SHA1 Message Date
Ralf Becker
cc6f013f6f performance optimisation for many cf's, most important was to remove the unnecessary join with the extra-table, if there's no search 2008-03-06 22:41:36 +00:00
Klaus Leithoff
75b824bced To improve performance for people/installations with large amounts of infologs and many customfields who want to use customfields in customized
templates, but do not want to use the customfields in listview, reworked the logic of the retrieval of customfields. 
Fix for the retrieve more fields, than selected - problem, when customfields start with the same string. Replaced stripos by in_array after a split 
of the selected cols.
2008-02-26 13:16:59 +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
Klaus Leithoff
79e9038ec0 added the option to display customfields in the infolog main view.
after selecting customfields with the columnselector, you can choose which customfields you want to display
in the customfields column with the columnselector. The header supports sorting and selecting.
Controling of the displayed customfields is done in uiinfolog, the action takes place in soinfolog
2007-12-14 13:11:29 +00:00
Ralf Becker
71149c972f - fixed not copied constrains and milestones in PM templates
- fixed not creatable milestones in templates
- when deleting a project you can now choose to delete the datasources
  of the elements (eg. InfoLog entries) too
- new stati 'template', 'nonactive' and 'archive' for InfoLog, which get
  not displayed by any standard filter, but choosing them from the
  status column filter
- InfoLog tasks in PM templates get now automatic activated, there stati
  is set depending of the percentage to not-started, in-progress or done
- changing the status of a project you can now choose to change the
  stati of InfoLog tasks (or other types having the needed stati) too
--> these features have been sponsored by Arne Reith from Reith-IT
2007-10-05 15:06:27 +00:00
Ralf Becker
7b6a1013fc SyncML patches from patrick.bihan-faou-AT-mindstep.com (without
logout+mbstring stuff), small modification to use the already exiting
methodes to generate full name and fileas)
The code is commited to trunk only at the moment to allow testing of it.
If everything goes well, we intend to commit it to 1.4 branch too.
Here's the original description of the patch by Patrick:
- handles the default config for current versions of funambol (i.e. the
scard/stask/snote/scal locations)
- tries to be a bit smarter on how the data content should be encoded
based on what the client specified (sif+base64/vcard, / fragmented or
not, etc.)
- workaround a bug in some versions of funambol, where funambol does not
specify the proper sif type for the type of requested data
- imported patch #117 from egw's tracker
- make sure that the logs generated by the horde code go to stderr so
they can be view in the webserver's logs
- as much as possible reduce code duplication. For example, the
categories are handled in the parent classes for both the SIF avn VCAL
formats for each type of data (addressbook,infolog,calendar).
- make sure the code can handle more than one categories in each
  direction
- treat the 'sony ericsson' vendor string just like 'sonyericsson', the
newer phones apparently have a space in the vendor string... (this
touches some files in the icalsrv as well)
- handle notes: these should now work with everything (funambol or
  other)
- remove more code duplication: the syncml "api" for the various data
types (calendar, contacts, infolog) is now common for both the vcard and
sif data formats (cf the files that need to be removed)
- handle the "privat" filter in infolog like the "private" filter (some
part of the code use the name without the trailing e)
- imported patch # 267 from egw's tracker
2007-09-29 10:29:48 +00:00
Ralf Becker
56774aaee5 using uid to fetch infolog entries like in calendar, used by icalsrv, requires a schema update to store the uid 2007-08-27 13:04:05 +00:00
Ralf Becker
c452b9f1c1 "fixed type of info_responsible, it's varchar, in the query, gives error in MaxDB" 2007-07-03 04:37:06 +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
2d0eac55b7 InfoLog notifcations for due or to start entries (You need to run Admin>>Register hooks!) 2007-06-10 09:21:04 +00:00
Ralf Becker
349b8c521a "fix for bug #866: private InfoLog entries are shown in the calendar day-view, if looking on someone elses calendar" 2007-06-09 16:10:20 +00:00
Ralf Becker
98ca788a6d (custom) types can have a group as owner now, which allos there acl to depend on that group and not the person who created it 2007-03-12 11:27:33 +00:00
Ralf Becker
c0c28b5af1 fix for PostgreSQL, thanks to Mark Stosberg 2006-12-08 07:10:27 +00:00
Cornelius Weiß
76ebb5167f strstr -> strpos fix by thomas koch 2006-12-07 12:47:11 +00:00
Cornelius Weiß
e800b75362 kill php5.2 warnings 2006-12-02 11:05:05 +00:00
Ralf Becker
1f4450a34c - fixing SQL error in cal-dav-view caused by previous commit
- new InfoLog preference to not show custom types in calendar (default)
2006-10-24 11:58:14 +00:00
Ralf Becker
34fb07492b added possebility to delegate to groups and filter by groups 2006-10-24 10:08:21 +00:00
Ralf Becker
208d226bf1 InfoLog view for organisations or multiple contacts 2006-10-23 11:50:30 +00:00
Ralf Becker
2f3d566207 using a type-specific template in the list, if it exists 2006-10-21 13:07:32 +00:00
Ralf Becker
4259d8d622 - primary link / contact con now be set direct in the contact line
- checkbox to set a custom contact (additional to the linked contact)
- new select/link entry custom fields (eg. to store a contact)
- uses the stock customfield widget now
- email is now a stock infolog type
2006-10-04 17:40:33 +00:00
Ralf Becker
a435f90c08 fixed bug "infolog filter 'responsible open' does not show all items the user is responsible for", it was caused by the update of existing entries writes '' into info_responsible instead of '0' 2006-09-26 04:50:37 +00:00
Ralf Becker
f10d3f9826 Fixed bug reported by Jens Benner, custom fields in InfoLog were NOT saved on add 2006-05-22 22:02:15 +00:00
Ralf Becker
890237480b fixed get_status method to return the percentage for status 'ongoing', as it was before the split of status and percentage 2006-04-08 07:33:17 +00:00
Ralf Becker
dbbee206a4 added default implicit add right for responsible 2006-03-27 15:33:25 +00:00
Ralf Becker
7254bef473 bugfixes:
- search was not searching in id, phone/email, location
- setting status or percent&date completed was not working for the responsible under some conditions
- for the conversation of days to hours always 8h were used, now that's the default if nothing is configured in the PM
enhancements - some might call bug-fixes too ;-):
- configuration of the rights of the responsible:
  a) implicit edit rights (default is only read)
  b) additional fields to edit without edit rights: eg. description, used time, ...
- user preference to show status and percent again as one merged icon (default) or as two spearate ones
- user preference to show a numeric Id, can be used eg. as ticket number
2006-03-24 16:10:09 +00:00
Ralf Becker
aa8136ef60 - added percent, (date-)completed and location for better iCal / SyncML conformance
- remove a lot not needed images
2006-03-17 20:53:26 +00:00
Ralf Becker
9a0ddd8d76 fixing the fix - now it works ;-)
search without start param returns now all entries
2006-03-15 19:08:40 +00:00
Ralf Becker
4febf266fb fix for bug reported on the list: boinfolog::search returns only the first 15 entries, when called via xmlrpc or icalsrv
--> now this only happens if the set the start parameter, otherwise all entries are returned
2006-03-15 08:09:01 +00:00
Ralf Becker
20aa316f59 fix for (doublicate) bugs:
- [ 1433962 ] Custom fields information saved but not displayed
- [ 1376272 ] Contents of user defined fields not saved
2006-03-02 20:45:00 +00:00
Ralf Becker
04c44a735a 1) infolog supports now setting a price for projectmanager (like timesheet)
2) all projectmanager specific stuff is in a new tab which gets only displayed if a user has projectmanager run-rights (incl. times)
3) support to display the infolog status-icons in projectmanager
2006-02-04 07:49:47 +00:00
Ralf Becker
95a3e604b0 big InfoLog update:
- using popups for editing
- renamed filter my to responsible
- warning if a log entry has been updated, while you edit it
- improved referer handling
- optimisations for so class, less DB accesses
2005-11-12 13:25:59 +00:00
Cornelius Weiß
65748ab3e8 php < 5.1 fix 2005-11-11 22:36:34 +00:00
Ralf Becker
3b57b96316 fixed SQL introduced for the multiple responsibles 2005-10-13 15:26:45 +00:00
Ralf Becker
938a25ebeb fixed SQL introduced for the multiple responsibles 2005-10-13 15:24:48 +00:00
Ralf Becker
84b969586e reworked patch from Vincent Cuirassier from Mandriva
- multiple responsibles
- closing action
2005-10-05 07:50:47 +00:00
Ralf Becker
b31e40e067 moved InfoLog's link class and it's table into the api 2005-10-01 20:18:41 +00:00
Ralf Becker
a19684502e 1) added planned/used time for project-manager
2) sorting by priority
3) tables renamed to use egw_ prefix now
2005-07-14 17:12:50 +00:00
Ralf Becker
69b28c6aad 1) Possebility to filter by owner or responsible
2) new filter my: in contrast to own which filters by owner, my shows only entry where you are responsible for
2005-07-14 07:35:11 +00:00
Ralf Becker
3b32bccc49 documentation update and the usual code modernization (phpgw-->egw, ...) 2005-04-06 11:05:57 +00:00
Ralf Becker
7fe8459ced using clone() to create copies of the db-object for php5 compatibility 2005-02-08 17:53:03 +00:00
Ralf Becker
d6f9fd8a99 fix for bug [ 1059619 ] SQL Error: cannot be null 2004-11-04 21:39:23 +00:00
Ralf Becker
7cc7965eea reworked infolog so-layer to use new db-functions to allow updates under MaxDB 2004-09-19 16:26:08 +00:00
Ralf Becker
bd15c88efb reworked infolog so-layer to use new db-functions to allow updates under MaxDB 2004-09-19 16:15:53 +00:00
Ralf Becker
69ba028568 fix for bug [ 1023559 ] Infolog does not search all entries while linking 2004-09-08 16:04:37 +00:00
Ralf Becker
735f8e4036 fixed ACL for status offer, it respects now the regular read-access restrictions 2004-08-22 19:22:53 +00:00
Ralf Becker
25ba714000 not using distinct on MaxDB too 2004-08-07 12:10:12 +00:00
Ralf Becker
c591c2c221 fixed / added mssql support for egw and fixed some other Windows probs on the way ;-)
- knowledgebase is not working: select distinct is not possible with text-columns
- fudforum is not working: is does not use ADOdb and has no own db-layer for mssql
- other apps seem to work, everthing needs through testing - incl. our "old" db's
2004-07-25 01:41:37 +00:00
Ralf Becker
a88c3fb9fd fix for bug [ 955489 ] CustomFields fails: for new entries the info_id was unset 2004-05-19 07:16:11 +00:00
Ralf Becker
25a30c53c6 fix for mbstring.overload=7, ereg('.*(x|y|z).*') never ends, preg_match('/(x|y|z)') works without problem :-) 2004-05-08 22:42:38 +00:00
Ralf Becker
4b7ced6e84 fix for search to return also the entries from sub-categoris, as sugested by Stephan Hilchenbach from the german list 2004-04-04 22:23:47 +00:00