Commit Graph

324 Commits

Author SHA1 Message Date
Klaus Leithoff
9e4671e5da handle bug on form validation with method used for taglist preparation 2014-03-31 12:40:20 +00:00
Nathan Gray
beab0aca19 Improvements to CRM view hook filtering
- Don't use linked filter, leave that for the user.  Use action, action_id instead, which can't be cleared.
- Don't store query in the session, it will conflict with app tab.  etemplate2 preserves it in the request.
2014-03-26 19:36:54 +00:00
Nathan Gray
a1bd074787 Un-deleting an infolog entry needs a full refresh, not just an update, to remove it from the list of deleted entries 2014-03-26 16:54:09 +00:00
Nathan Gray
69fea7dc9c Fix Un-Delete label on Save button for new infologs 2014-03-26 14:33:03 +00:00
Nathan Gray
660f57e176 Fix for r46370, Fix links disappearing when changing between details / no details
I changed the wrong parameter
2014-03-25 19:49:47 +00:00
Nathan Gray
b9be77fe0f If editing a deleted infolog, change the save label to 'Un-Delete' to be a little more clear, though 'Apply' would work too 2014-03-25 18:53:07 +00:00
Klaus Leithoff
8de2b22eeb solution for taglist used for info_cc; TODO:replace imap_rfc822_parse_adrlist, as we wanted to get rid of those imap extension functions 2014-03-25 11:22:34 +00:00
Nathan Gray
02ea708a38 Fix links disappearing when changing between details / no details
- stop trying to change columnselection_pref from the server, app.js handles it and nextmatch doesn't support it
- send links based on preference, not filter.  This way they're in the client side row cache, and can be displayed.
2014-03-24 16:31:30 +00:00
Nathan Gray
617928f00b Changes to allow / use some etemplate2 features
- Accept & deal with full linked value, not just a string
- If multiple linked entries are selected, show 'Multiple' instead of 'null'
2014-03-13 19:09:33 +00:00
Ralf Becker
3c91753e80 moving add-icon(s) from header_right to header_row 2014-03-12 10:12:29 +00:00
Ralf Becker
94f468095d disable favories dropdown button if not called from infolog (eg. CRM view) 2014-03-10 19:47:09 +00:00
Hadi Nategh
6a561ee678 Depricated field from infolog edit popup 2014-03-07 11:54:01 +00:00
Nathan Gray
7ad4ebfdea Remove nextmatch export button 2014-03-06 22:30:44 +00:00
Ralf Becker
c28f980db3 avoid "InfoLog - " app-header 2014-03-04 15:38:56 +00:00
Nathan Gray
facdd8143b Don't preserve links so user can delete them if they want. 2014-03-04 00:27:21 +00:00
Nathan Gray
afbc73392c Remove legacy action readonlys 2014-02-27 20:53:14 +00:00
Hadi Nategh
f4d6234978 Remove legacy actions from infolog listview 2014-02-26 16:47:48 +00:00
Ralf Becker
1297c32fb2 adding an extra icon for ical export in context menu, so templates can change it independent of mime icons 2014-02-20 11:07:12 +00:00
Ralf Becker
7c02cd3cd4 explicitly loading addressbook css for CRM view and moved loading of infolog javascript to its hook 2014-02-12 11:07:33 +00:00
Nathan Gray
55a7d7352e Don't preserve message, fixes confusion if it shows again. 2014-02-11 23:18:24 +00:00
Ralf Becker
977ffd5768 fix javascript error when opening a new infolog or convert a mail to an infolog 2014-02-11 15:22:21 +00:00
Nathan Gray
cc628c378a Use egw_framework::message() instead of a label in template, which might stay longer than we want 2014-02-05 23:36:01 +00:00
Ralf Becker
eaf5d3d39b reverted accidently commited changes in infolog 2014-02-04 13:52:12 +00:00
Ralf Becker
84d20661c2 fixed problem reported by Pedro Ribeiro 2014-02-04 13:50:23 +00:00
Ralf Becker
40a13d193b fix ide warnings 2014-01-28 09:22:12 +00:00
Klaus Leithoff
35dc435ab9 try to tackle problem encountered with mail2infolog/tracker 2014-01-20 13:14:18 +00:00
Ralf Becker
6de6114e22 remove old API browser class, apps only used content_header method with is available as html::browser_header() with identical signature 2014-01-19 09:30:33 +00:00
Nathan Gray
782eb7f14c Fix filemanager context menu item opening in iframe 2014-01-16 17:23:39 +00:00
Klaus Leithoff
1b72d90ec5 silence duration format error log in infolog constructor 2014-01-15 14:34:28 +00:00
Nathan Gray
a3d626176a Remove some no longer needed preferences 2014-01-14 15:05:23 +00:00
Klaus Leithoff
e7922714ae * eMail/Mailhandling: introduce option >mail text only< for better control of import of mails to other apps 2014-01-07 12:58:35 +00:00
Nathan Gray
928c562797 Fix bad argument to etemplate->exec() 2013-12-05 20:58:48 +00:00
Nathan Gray
1bace180cf - Fix add popup with extras to handle multiple infolog nextmatches
- Fix setting primary link
2013-11-28 17:34:28 +00:00
Nathan Gray
5c6cceaa53 - Add js function to open a edit dialog with some fields pre-filled (type, category, action), use for buttons in nm right header
- Use different DOM ID for list when called from elsewhere
2013-11-27 00:17:08 +00:00
Nathan Gray
c6388f3d89 Fix context menu add / remove links 2013-11-21 23:30:57 +00:00
Ralf Becker
ed2e3e3bc2 fix warning if $pm_config["duration_units"] is no array 2013-11-19 21:59:42 +00:00
Nathan Gray
00a3290d97 Get infolog list working in contact view 2013-11-13 22:44:28 +00:00
Nathan Gray
de64622b99 Fix missing project manager time units 2013-11-12 21:38:25 +00:00
Nathan Gray
f3180c6ce8 Add extra bits (flags?) to favorite so parent/subs can be stored in filters 2013-11-12 20:15:27 +00:00
Nathan Gray
75a26eed0c Another fix for viewing parent - fix missing last row on first load 2013-11-08 18:03:27 +00:00
Nathan Gray
de1e14307d Don't add parent in expanded children 2013-11-07 17:28:49 +00:00
Nathan Gray
f660ac5a8a Prevent infolog parent from being added anywhere but the first row 2013-11-06 18:43:47 +00:00
Ralf Becker
57f45fe5f0 * InfoLog: add converting into a Tracker ticket to actions selectbox of edit popup 2013-10-25 08:18:59 +00:00
Hadi Nategh
e68a5d3b94 No need to disable "Sub Entry" in infolog->add context menu 2013-10-17 08:45:18 +00:00
Klaus Leithoff
6eb7b8ca92 * eMail/Infolog/Tracker: upon converting mails on send, if we attach messages get the message itself, and attach it, as we are able to display it in egw instead of fetching only the attachments attached files (as we did previously) 2013-10-15 10:44:42 +00:00
Ralf Becker
0e2e88c19b fixed hiearchy display in infolog and reset of subs view via clicking on InfoLog icon/header, using now value of nm[parent_id] as key for col_filter 2013-10-10 11:29:31 +00:00
Ralf Becker
6e30816758 fixed not working download via action system: needed submit via POST request instead of Ajax, add new boolean action attribute postSubmit 2013-10-04 12:48:11 +00:00
Nathan Gray
3f5dcfea04 Fix multiselect settings not being saved 2013-10-01 07:59:23 +00:00
Nathan Gray
95721656c1 Set placeholder action to 'new' (instead of default add) to avoid copy & sub when there's no entries shown 2013-10-01 07:46:24 +00:00
Hadi Nategh
7246093aad Fix activation and inactivation status of "view subs" and "view parent" menu items on Infolog context menu. 2013-09-24 09:16:06 +00:00
Hadi Nategh
a661d52de2 Infolog: Prefix name on css classes 2013-09-19 12:52:50 +00:00
Hadi Nategh
dd4c3c49eb Remove "Whole query" menu from infolo->context_action_menu, while we are handling et2_nm selection differently 2013-09-19 12:27:07 +00:00
Nathan Gray
85f4585abf Fix context menu delete confirm dialog 2013-09-16 17:53:20 +00:00
Klaus Leithoff
b04627ed64 requirement by sales that email-type should not be shown in right - click - action dialog 2013-09-16 11:54:43 +00:00
Hadi Nategh
4bc61c67d9 Infolog: Validate the startdate and enddate, to make sure that startdate is not set after the enddate. 2013-09-12 11:56:33 +00:00
Hadi Nategh
7ee2c05955 remove extra app prefixes from method names in app.js, for both infolog and timesheet applications 2013-08-27 10:46:42 +00:00
Ralf Becker
aa8a848871 optional parameter for egw_framework::window_close() to specify an alert message, which get shown/alerted, before closing the window 2013-08-26 10:24:11 +00:00
Hadi Nategh
589e4ecfbc add app.js to infolog application, add ajax=true to index (enable drag-and-drop), and run infolog app by et2 2013-08-26 09:19:47 +00:00
Ralf Becker
6bfc93ad6c * InfoLog: fixed storing of InfoLog site config: fields to exclude when copying or creating subs and load custom fields in index for types 2013-07-04 15:49:06 +00:00
Ralf Becker
914e70a1b4 when viewing sub-entries (action=sp) partents are displayed immediatly before first occurence of a child, for a single parent, always display it as first entry (linked entries to parent could get sorted in front) 2013-06-06 13:15:02 +00:00
Ralf Becker
14b9b8ca51 * ProjectManager: view all sub-entries of an InfoLog by context menu 2013-06-06 12:17:33 +00:00
Nathan Gray
91799eee19 Clear delegation popup after using it 2013-06-03 19:58:52 +00:00
Nathan Gray
efef1378d0 Missed changes to No filter 2013-06-03 19:54:11 +00:00
Ralf Becker
163702b752 * Calendar: create InfoLog from event
added a general infolog_set hook like existing timesheet_set hook, to allow implementing apps to push further data to infolog, modified existing tracker code to use the hook too
2013-05-10 10:54:36 +00:00
Nathan Gray
78b2012334 Turn on favorites in infolog 2013-04-09 09:37:30 +00:00
Nathan Gray
e8600c5db2 - Fix responsible edit fields not saved
- Change responsible edit to multi-checkbox widget instead of chosen
2013-03-19 15:44:38 +00:00
Nathan Gray
ab601bf94c Make sure global categories is infolog when in infolog. Other apps (tracker) may grab it first if we don't set it here 2013-03-18 23:22:51 +00:00
Klaus Leithoff
176307335e if mail app is available (detect for static function splitRowID), and import_mail is called with param rowid, use application mail for importing (creating infolog/tracker items from emails) 2013-03-05 14:47:00 +00:00
Nathan Gray
a99deb4473 Get contact link working with et2 2013-02-08 13:46:08 +00:00
Nathan Gray
ad36ac309a Move site config over to etemplate, and move custom notifications into site config 2013-01-31 19:39:01 +00:00
Klaus Leithoff
90edebaa72 make sure we use the current icServerID when calling import_mail 2012-11-21 11:43:20 +00:00
Ralf Becker
04017a728b * InfoLog: switching to a group-type resets access to "public" and disables access in edit 2012-11-13 12:07:10 +00:00
Klaus Leithoff
b9192c0f4c attempt to improve overlong-word-control behavior 2012-11-07 07:52:59 +00:00
Nathan Gray
fc8a139f23 Add 'None' category option to context menu for all apps using nextmatch::category_action() 2012-10-15 17:57:58 +00:00
Nathan Gray
7d568d90c7 Add replanned time as trackable in history (also adds as exportable field) 2012-10-10 15:27:43 +00:00
Nathan Gray
ee440ce548 Add special exception for deleted, since it's not in the list of statuses 2012-07-16 22:42:15 +00:00
Nathan Gray
1630d99bac * Add parent to history 2012-07-09 16:57:53 +00:00
Nathan Gray
b80570cd66 Fix view parent / subs action for et2 2012-06-18 18:52:05 +00:00
Ralf Becker
04aa8f3572 * InfoLog: use type or category, when creating new entries in subs-view and stay in subs-view when storing an entry in a popup 2012-06-14 12:06:33 +00:00
Nathan Gray
a184fbcf20 Handle action_popup namespace, if present 2012-06-06 20:44:39 +00:00
Ralf Becker
ed5c5593c3 * InfoLog: status filter in index shows now cumulated list of all status translations, if no type is selected (as context menu does too) 2012-05-22 17:39:28 +00:00
Ralf Becker
619691e462 * InfoLog: change status in context menu shows now labels and icons from all types and fixed my.stylite.de bug #3359: not being able to set custom status 2012-05-15 16:24:06 +00:00
Nathan Gray
286c6331a0 If statis is not valid for selected type, clear status filter 2012-05-14 16:53:35 +00:00
Nathan Gray
c383da7f23 Load details/no details column selection preferences (et2) 2012-05-08 17:06:53 +00:00
Ralf Becker
34edd70a5f * InfoLog: explicitly name tabs in infolog.edit, to get disabeling of tabs working, even if template added custom ones 2012-05-08 09:58:45 +00:00
Ralf Becker
c939232fee * InfoLog: fixed subs view to display only selected custom-fields of parent 2012-05-08 09:43:22 +00:00
Nathan Gray
7184574fab Get details filter working in et & et2 2012-04-30 20:29:34 +00:00
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