Commit Graph

387 Commits

Author SHA1 Message Date
Nathan Gray
cb6ad85fb3 Make sure link_to is an array before trying to use it as one 2012-04-25 16:50:15 +00:00
Ralf Becker
c571975c83 * InfoLog: remove group-types user has not any rights to as filter in list 2012-04-24 10:15:47 +00:00
Ralf Becker
2dac72f0da Schdule was only save new entries, not existing ones which got updated (only if you edit rights), same for ical export 2012-04-23 12:01:37 +00:00
Nathan Gray
9cb6cf0caa Fix missed file extension 2012-04-18 15:33:20 +00:00
Nathan Gray
4ab0a5a30d Make sure info_contact is a string before trying to explode it 2012-04-16 21:53:19 +00:00
Ralf Becker
71d669e951 * InfoLog: fix export of multiple InfoLogs (no METHOD, only one VERSION, PRODID and correct dates) 2012-04-11 16:51:23 +00:00
Nathan Gray
f6ac7b8419 Use Horde to export multiple infologs 2012-04-05 15:57:06 +00:00
Ralf Becker
9ff981b697 * InfoLog: remember filter to restore it after viewing subs or an other action-view 2012-04-04 11:57:06 +00:00
Nathan Gray
26513d715f Add ical export to edit 'Actions' selectbox, and list context menu 2012-04-02 23:08:20 +00:00
Ralf Becker
4cdc5f39c1 support for parent_id and is_parent 2012-03-30 12:28:31 +00:00
Ralf Becker
cc23776f13 fixed status-icon and subject-class got lost 2012-03-23 15:05:22 +00:00
Ralf Becker
d0c3d82eaa not unsetting query[col_filter][info_id] as it is needed for etemplate2 (and unnecessary anyway), setting row_modified=info_datemodified to allow to check if entries are modified and need to send to client 2012-03-23 14:41:07 +00:00
Ralf Becker
92ddbf9a6d * InfoLog: new config for copying or creating sub-entries to exclude just attachments (was links including attachments and links to other apps), fixed deleting attachments in copys/subs before storing them, deleted original attachment 2012-03-22 15:33:20 +00:00
Ralf Becker
cd2cc35b73 * InfoLog: icons to visualise entry has a parent or subs, using these icons (arrow left or up) in context-menu too 2012-03-20 11:18:33 +00:00
Ralf Becker
f676a23821 fixes for PHP 5.4 warnings and strict warnings, thought disabled E_STRICT for now, because of various strict warnings in working code, which could not be easy fixed in all areas (see comment in phpgwapi/inc/functions.inc.php) 2012-03-04 13:33:10 +00:00
Ralf Becker
3e5e2156c1 allow to unset default info_des from sub_excludefields 2012-02-24 10:31:43 +00:00
Ralf Becker
3015287833 fixed not working storing of sub_excludefields and translations 2012-02-24 10:01:40 +00:00
Ralf Becker
ec694d4a4f * InfoLog: make fields excluded from copying to a new sub-entry configurable and add scheduling an appointment to action
refactured copy and sub creation into one method, as they do essentialy the same thing with just setting the parent and excluding different configurable fields
2012-02-24 09:29:27 +00:00
Ralf Becker
2f2a252b51 * InfoLog: fixed multiple [apply] after copying an InfoLog creates multiple new infologs 2012-02-23 16:42:58 +00:00
Ralf Becker
26bebbedd9 * InfoLog/Calendar: renamed context menu "Calendar" to "Schedule appointment" and make preset participants configurable, allow to config prefix for sub-entries and allow times in due-date 2012-02-22 12:31:00 +00:00
Ralf Becker
0037bf4077 * InfoLog/CalDAV: fixed sub-entries created in WebGUI got identical caldav_name as parent and therefore updates of sub-entries did not work as expected 2012-02-18 13:39:56 +00:00
Ralf Becker
c9b0ad39f7 [Save] missing for edit with implicit rights only, [Apply] was there 2012-01-26 01:43:14 +00:00
Klaus Leithoff
01dfdbbe75 add priority to the sel_options in case someone wants to display the priority as stand alone column 2012-01-09 09:35:30 +00:00
Nathan Gray
3ca10ad0c5 Add ability to create tracker from infolog to the infolog context menu 2011-12-13 18:25:08 +00:00
Nathan Gray
2f4d8848c5 - Remove previously added hook & base class, turns out there's an established way to do it...
- Use existing link_app type hook to create calendar from infolog
2011-12-12 21:51:12 +00:00
Nathan Gray
332427277d Add ability to create calendar entries from infolog entries, using new base so other apps can be added (hopefully) easily later 2011-12-08 23:20:49 +00:00
Nathan Gray
e5cbfc5601 Move handling of filter by date from user interface into logic layer 2011-11-24 17:56:05 +00:00
Klaus Leithoff
b11e7f9291 fixing an en/de- coding issue, regarding the attaching of an .eml file to the infolog in question when converting an email -with german umlauts within the subject line- to infolog and adding the original email to it. 2011-11-21 12:41:58 +00:00
Klaus Leithoff
8f0f3a92c3 * eMail/infolog: mail to infolog, preference (and action) to allow the additional attaching of the raw mail message as message/rfc822 (.eml) to the entry 2011-11-17 16:05:36 +00:00
Ralf Becker
f255a2396a new InfoLog configuration: Load custom fields in index, if filtered by selected types (eg. to display them in a type-specific index template) 2011-11-17 09:30:30 +00:00
Klaus Leithoff
3541fc7129 fix bug regarding the default of info_status 2011-11-10 14:14:35 +00:00
Klaus Leithoff
c5946b62ce fix bug regarding the saving of excluded field (once selected, you could not deselect fields) 2011-11-10 14:05:03 +00:00
Klaus Leithoff
2946928c69 add function header/doku for get_validtypes 2011-11-10 13:44:57 +00:00
Klaus Leithoff
5869d59d12 while copying infologs - handle defaults 2011-11-10 13:38:23 +00:00
Klaus Leithoff
0d916de566 * infolog: allow to exclude fields while copying an infolog entry; done via infolog->configuration 2011-11-10 12:17:35 +00:00
Ralf Becker
1774e5674f support for multiple space or comma separated download dirs 2011-06-14 10:48:15 +00:00
Nathan Gray
a70b03614f Give an error if user uses context menu to change type to one with a required custom field 2011-06-07 23:01:49 +00:00
Ralf Becker
db9d5bf6b1 switching legacy-actions off by default 2011-06-07 09:26:07 +00:00
Ralf Becker
ed8c386a12 using egw_refresh to allow fmail to ignore the saved/deleted message 2011-06-06 15:11:25 +00:00
Ralf Becker
d61ccc9bc4 icon to undelete 2011-06-01 15:52:47 +00:00
Ralf Becker
486e99ec0c - Implemented a hook for timesheet_ui::edit to query calling apps for additional information to set in new tickets incl. links.
Replaces existing $_GET parameters, which are hard to set for new action system.
- also adding category color to infolog and tracker
2011-05-30 14:21:27 +00:00
Ralf Becker
7de4e0108d infolog view uses now the edit popup in a readonly mode, reverting r34950, as it does not solve the problem for entries without edit rights 2011-05-18 14:18:37 +00:00
Nathan Gray
6f2050fa7e Handle special case if viewing parent / sub and the parent has no (visible) sub entries 2011-05-16 15:53:03 +00:00
Ralf Becker
81ea3b639c - using now nm_(open|hide|submit)_popup and nm_action => 'open_popup'
- fixes not working actions in InfoLog list in Addressbook view
- fixed not working adding/removing of responsible users
2011-05-07 08:51:35 +00:00
Ralf Becker
d982883959 renamed 'action' to 'multi_action', as InfoLog already uses 'action' and using 'action' broke a lot existing functionality 2011-05-06 18:13:10 +00:00
Nathan Gray
ec61c6268f Allow documents in dirs other than user's preference dir by passing full path 2011-05-05 21:41:40 +00:00
Ralf Becker
1a0826b182 added undelete action and show parent infolog title for subs view (one sub only) in app_header 2011-05-05 10:18:38 +00:00
Ralf Becker
c0c2a0ed0e - fixed not working delete - was commented ;-)
- using original labels, for which we have translations
- always confirm with popup, not javascript confirm (makes things a lot easier)
2011-05-05 06:30:44 +00:00
Nathan Gray
03cd666e8b Implement client side delete confirmation 2011-05-03 23:31:40 +00:00
Ralf Becker
19cb4ca8d4 - got delegation and link via context working
- fixed sometimes not working context, because row id was not set
- disabling close and close all if not applicable
2011-05-03 07:26:32 +00:00
Ralf Becker
30b922f30e - fixed not working switching legacy actions columns on again
- moved some translations to common
2011-05-03 06:26:56 +00:00
Nathan Gray
e92173afdd Work on context actions:
- Implement view of multiple selected parent / subs
- Implement link + delegation popups
- Fix filemanager action
- Change action selectbox to button, as in timesheet
2011-05-03 00:14:44 +00:00
Ralf Becker
1ef6edd5e8 Context menu for InfoLog: NOT YET COMPLETET, SOME STUFF WILL NOT WORK!
ToDo:
- implement view subs or parent from context
- test all context actions (some do not work)
- test CSS based disabling of actions
- change delegation or links popup not yet working (just an alert in index.js)
- delete of entries with subs (serverside confirmation displaying subs) probably not working
2011-05-02 19:41:21 +00:00
Ralf Becker
9c9276638e fixed wired indention 2011-04-27 16:33:23 +00:00
Ralf Becker
5c47626dc5 using new historylog custom field stuff, storing custom fields now on a per field basis 2011-04-20 06:31:45 +00:00
Ralf Becker
2e4c048e9e fixed not working setting of links for new entries after r34606 2011-04-12 11:53:34 +00:00
Klaus Leithoff
1f66093694 * infolog: when breaking overlong words into fitting pieces, do not break lines that are tested positive to contain links. (reported as Helpdesk issue #1324 in Stylite tracker) 2011-03-21 16:12:55 +00:00
Ralf Becker
c8bf14e1fc bofelamimail --> felamimail_bo 2011-03-10 12:51:45 +00:00
Nathan Gray
579d813ec9 * Add Cc field to Infolog 2011-03-08 19:18:07 +00:00
Nathan Gray
ebffdf2f53 Provide proper history widget for Last changed, and stop any more from being logged 2011-02-17 00:10:51 +00:00
Nathan Gray
7f3baa2639 Disable merge icon if user has no document set 2011-02-04 16:02:18 +00:00
Nathan Gray
116523ccfd Add merge functionallity to infolog 2011-01-26 20:16:18 +00:00
Klaus Leithoff
1abcbb12fc * eMail: fix stripping too much text, extended: apply solution of r33526 to infolog and tracker, when mail is converted while/after sending 2011-01-20 12:24:34 +00:00
Klaus Leithoff
d39b9f3594 * infolog: feature to be able to control max-width of description area in list-view 2011-01-05 15:45:27 +00:00
Nathan Gray
bb01196183 Check to make sure rows is set before trying to unset a sub-index 2010-12-20 22:27:33 +00:00
Nathan Gray
746d48d5af Unset checked entries when no longer needed, they can cause problems with other actions (delete) later 2010-12-20 18:16:34 +00:00
Klaus Leithoff
2b692f5830 code alignment 2010-12-10 09:10:39 +00:00
Nathan Gray
f9e8c78eed - Add multi-entry action 'delete'
- Line up whole query and do not notify checkboxes
2010-12-09 19:56:05 +00:00
Nathan Gray
bbe5a682d0 Add checkbox to skip notifications of multiple entry actions 2010-12-08 22:09:59 +00:00
Nathan Gray
b8b8afcb2f Layout and lang for 'whole query' 2010-12-08 21:00:27 +00:00
Nathan Gray
acf078a1c0 - Abstract multiple actions code to remove multiple if / switches
- Add multiple entry action to change entry delegation
2010-12-08 19:01:13 +00:00
Nathan Gray
a3d2d724ee Fix bug allowing delegated user to change type via action selectbox if they have no permission to 2010-12-08 17:27:56 +00:00
Nathan Gray
88a72b12fe Fix typo changing completion to 99% 2010-11-23 21:50:36 +00:00
Nathan Gray
05df47216f If changing the status of done entries, change completion to 99% instead of giving an error 2010-11-23 21:45:00 +00:00
Nathan Gray
b2b292603d - Fix incorrect result counts when using whole query
- Add action to change completion
- Give warning if trying to change the status of a done entry.  Completion of 100% will change it right back.
- Fix ACL when linking - only link to entries with EDIT permission
- Hide group types if user has no access to them
2010-11-23 17:56:56 +00:00
Nathan Gray
71674ddb00 * Add actions on multiple infolog entries 2010-11-22 22:28:46 +00:00
Ralf Becker
3a119867b7 fixed wrong parameter for egw_link::get_links() $only_app, causing extra_links, eg. projectmanager link not to work, if links are not already supplied, like in infolog view mode 2010-11-17 13:08:01 +00:00
Ralf Becker
f46e031933 removed (anyway unnecessary) deprecated posix regular expression, giving a warning in php5.3 2010-10-12 07:38:35 +00:00
Nathan Gray
d00b629269 Add a 'No notifications' checkbox to infolog edit dialog to avoid sending notifications 2010-10-08 17:48:36 +00:00
Klaus Leithoff
2072920aae *eMail: feature to be able to import an email recieved or while sending as a tracker item; (that includes the move of some functions from infolog to bofelamimail, to make it available to more than one app); better charset detection on message body parts that do not carry a charset information (e.g.: base64 and quoted-printable messages, seem not to carry that info) 2010-10-06 12:45:58 +00:00
Klaus Leithoff
b1721146d1 *infolog: fix startdate filter for infolog, if you select a single day for start and enddate, and if your infologs start at 00:00 of that day (no time specified) 2010-10-05 09:29:16 +00:00
Nathan Gray
6da84c0dcd Changes to be able to create an infolog entry from a tracker ticket. Tracker subject, description and any matching custom fields are copied over. 2010-09-23 22:51:17 +00:00
Klaus Leithoff
d5962bd0ed allow bcc in header print (may be set on outgoing mails) 2010-09-20 14:33:19 +00:00
Klaus Leithoff
0f5e8d53bf fix typo, remove unneeded instance of mailPreferences 2010-09-20 11:45:54 +00:00
Klaus Leithoff
fbdbfda46a quiten warning when missing entrys for (to/cc/bcc) 2010-09-20 09:42:44 +00:00
Klaus Leithoff
c892a3fcda improvement of import_mail (decode issue), add headerinfo to body while sending (splitting emailaddresses into to/cc/bcc) and preserving identity 2010-09-20 09:31:32 +00:00
Klaus Leithoff
6a25f137f7 *Infolog: Feature; import_mail; Prepend the Message HeaderData in Front of the infolog Text. That way Headerinformation is preserved, when the Infolog is altered in Type, Link, Adresses or Startdate; funded by Knauber 2010-09-15 08:52:26 +00:00
Klaus Leithoff
26838d34a7 fixed problem reported with myStylite Trackerticket #820 wrong owner assignment with groupowned infologtypes, when initially linked to addressbook 2010-09-03 11:34:39 +00:00
Klaus Leithoff
a2919ecd3b improve convertHTMLToText, for toggle editor and mail2infolog process; better control of insert Signature at Top. Only insert the signature, when the compose window is opened the first time (compose/reply/forward), dont do it if sending failes, and the compose window is refreshed (in general when mySigID is set) 2010-08-31 14:23:58 +00:00
Klaus Leithoff
02d2ca5157 improve the handling of overlong words, fix a bug regarding the check of infolog_status existing in known status for the type selected 2010-07-30 10:19:06 +00:00
Klaus Leithoff
1654d4b07c optimize printing by adding spaces to content of info_subject and info_des and thus allow automatic line-wrapping in printpreview (and print) 2010-07-16 09:13:32 +00:00
Klaus Leithoff
4bd384f77d handling long info_addr lists, splitting by comma to enable linebreaks 2010-06-28 15:25:27 +00:00
Ralf Becker
85329717ee fixed Template Error: set_block: unable to find block 'admin_line' in 'info_admin_t' 2010-06-16 08:45:02 +00:00
Ralf Becker
d53e5291ce - not longer using referer for message of successful saved infolog, but
using opener.location.search += 'msg=...', as it works better with jDots
- calling static methods of egw and common class static
2010-06-07 14:43:34 +00:00
Ralf Becker
fb04a535b6 "using egw_link::VFS_APPNAME constant instead of 'file'" 2010-05-12 07:06:06 +00:00
Nathan Gray
a670e8f4a3 Make sure linked files get copied when copying an infolog 2010-05-11 21:04:24 +00:00
Klaus Leithoff
b161002ab4 fix warning regarding unsupported operand types; translations provided by mkk 2010-05-11 12:59:47 +00:00
Ralf Becker
f0f6047658 skip notifications on second write in infolog_ui::edit(), used to update just the link_id: causes double notification for new infologs 2010-05-05 15:53:34 +00:00
Ralf Becker
012d7d23e4 "- fixed not exported custom fields, if field is valid for more then one type
- fixed not exported regular fields: info_datemodified, info_modifier, info_id"
2010-04-23 12:10:36 +00:00
Ralf Becker
70c7ad3516 "directly cache link titles, to query them all at once (per app)" 2010-04-04 09:15:25 +00:00
Nathan Gray
5e2d3f4739 Fix for lost links when copying. All links get copied now, including the one in the header. 2010-02-22 21:25:00 +00:00
Ralf Becker
936c636ffd display upload failed (because post_max_size of webserver exceeded) message from etemplate, could be nicer but way better then before 2010-02-05 03:34:17 +00:00
Klaus Leithoff
e5978c32a1 fix missing startdate, when importing mail from compose 2009-12-15 16:05:48 +00:00
Stefan Becker
086edcac9b fixed promblem with infolog save of copyed infolog 2009-12-13 13:58:01 +00:00
Stefan Becker
80f02187a6 added print template to infolog 2009-12-13 13:36:09 +00:00
Stefan Becker
d11469f91f added copy function to infolog and action box, more actions will follow 2009-12-11 08:34:47 +00:00
Nathan Gray
1524b6670f Implement new link hook view_list, to be able to be taken to a list of entries 2009-12-08 21:48:10 +00:00
Klaus Leithoff
8de55a88f4 support CC in import of saved email-messages too 2009-11-28 18:55:26 +00:00
Klaus Leithoff
0473f987ad fixing a problem regarding the import of draft-messages with attachments into infolog (, fixing a display issue with getAttachments in uicompose as well) 2009-11-28 18:16:18 +00:00
Klaus Leithoff
5ff54af20b make the datefilter stay when filter by day is active (stick it with the sessiondata) 2009-11-16 09:49:50 +00:00
Klaus Leithoff
0bfb18470d feature to be able to filter by startdate 2009-11-10 08:11:41 +00:00
Ralf Becker
00ca396066 Added filter to list, which allows to show infologs linked to an entry
of any other applications, eg:
- infologs linked to a certain project
- infologs linked to a contact
2009-09-25 08:03:01 +00:00
Stefan Becker
051b00b199 added new filter for projects 2009-09-19 13:58:24 +00:00
Klaus Leithoff
9a42ca2fbb removing deprecated/not needed '=&' for CreateObject 2009-08-28 13:11:03 +00:00
Klaus Leithoff
46b0a0ea98 improvement of the import of eMails if bodystructure is cascaded deeper than expected 2009-08-28 13:07:32 +00:00
Ralf Becker
93f99c8e58 "fixed not displayed time sum, if \"time, planned\" column was selected:
-> only check used&planned time (not replanned) to work for both time cols"
2009-08-25 13:17:29 +00:00
Ralf Becker
ae33932f0b "fixed not savable empty site configuration 'responsible_edit', once a value was set before" 2009-08-19 14:59:58 +00:00
Ralf Becker
ced14e2c15 "removed depricated calltime pass reference, it's unnecessary in these cases anyway" 2009-08-19 13:56:35 +00:00
Klaus Leithoff
ff1c884e65 feature to convert to infolog emails with attached emails and their content 2009-08-13 10:07:34 +00:00
Ralf Becker
036b2cd14e - merged SyncML-1.2 branch with trunk:
svn merge ^/trunk/infolog@27329 ^/branches/SyncML-1.2/infolog .
- completly reverted changes in inc/class.boinfolog.inc.php, as they are
  not related to SyncML at all:
svn revert inc/class.boinfolog.inc.php
2009-07-15 20:04:17 +00:00
Klaus Leithoff
7d0184e9ea you need to have current_app modified when importing mail 2009-07-13 10:47:19 +00:00
Klaus Leithoff
b731dcbfe0 loading infolog translations if current_app is NOT infolog 2009-07-13 10:33:26 +00:00
Klaus Leithoff
aa1d033532 preserve the col_filter within the active session 2009-07-09 12:14:35 +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
Ralf Becker
1585a36fdf used&planned time or used,planned&replanned time incl. icons 2009-05-11 09:19:16 +00:00
Ralf Becker
701fe5661b - icon linking to filemanager of entry
- configurable limit of height of describtion in list
2009-05-08 16:01:33 +00:00
Ralf Becker
7bc380fab9 Moved filter labels to BO 2009-05-05 12:48:38 +00:00
Klaus Leithoff
c5ba464ffa Handling completion via fastlink action button better by offering close and close_all buttons.
Preventing setting the status to done if that status does not exist for the given infolog type.
Listview (offering the fastlink action button for closing):
Regarding an infolog as done if it is cancelled.
Regarding an infolog as done if the stati done/billed/cancelled do not exist for that type, but the percentage is 100
2009-04-23 14:47:26 +00:00
Ralf Becker
6ef914fbbb "using etemplate::$hooked instead of $GLOBALS['egw_info']['etemplate']['hooked']" 2009-03-16 13:00:45 +00:00
Klaus Leithoff
e4f6c3c488 conditional replace of all CarriageReturnLinefeeds, since, if it is done always, a sendmail looses its linebreaks 2009-03-09 10:43:25 +00:00
Klaus Leithoff
023f3b6326 handling a problem while importing mails as infolog, if they contain no text/plain part; this implied the move of some functionality from bocompose to bofelamimail 2009-03-06 14:39:34 +00:00
Ralf Becker
1d549d1dcc "fix for bug #1467: sorting get lost using green close icon" 2008-10-22 06:51:01 +00:00
Ralf Becker
876649fe6f Big performance improvment by:
- using egw_link::set_cache() for entries read or searched
--> eliminates an excessive number of single entry reads, when the links
need titles or file_access permissions
- removing sub-query for number of sub-entries from search (Bug #1613)
- method to query the number of sub-entries of all displayed entries in
  one go
2008-10-19 11:34:12 +00:00
José Luis Gordo Romero
bad25ee249 Fix not correctly set of $this->prefs['show_times'] pref (because of addition of info_replanned_time columnt to the header) 2008-10-08 09:40:23 +00:00
José Luis Gordo Romero
fdb1b050f7 Infolog renaming classes minor fix (botimesheet -> timesheet_bo) 2008-10-08 08:13:17 +00:00
Ralf Becker
98a1d706ae "an other uiinfolog" 2008-10-07 13:00:03 +00:00
Ralf Becker
7f9df0d051 - renamed class to new naming convention
- update version and dependencies for 1.6
- file_access method for attachments
2008-10-07 12:50:14 +00:00