Commit Graph

1136 Commits

Author SHA1 Message Date
Nathan Gray
07fc3e4bbf When changing the nextmatch row template, don't query the database right away since re-initializing the nextmatch controller forces another query. 2015-02-09 20:47:18 +00:00
Ralf Becker
acebbba931 fix server-side of switching info-type specific template "infolog.index.rows.$type" for type $type" 2015-02-09 09:03:50 +00:00
Ralf Becker
c28dac7206 eT2 needs a name not a template object 2015-02-06 18:02:36 +00:00
Klaus Leithoff
628b875bfb add default cat (set in pref) to infologs that are created from mails 2015-01-23 14:25:40 +00:00
Nathan Gray
9bd29925cd infolog_ui changes default_cols in get_rows, so we change it back. 2015-01-14 20:25:05 +00:00
Nathan Gray
d51c83402d Set default columns 2015-01-12 19:59:25 +00:00
Ralf Becker
7346a37998 cleaning up old addressbook stuff 2015-01-10 09:51:51 +00:00
Ralf Becker
0efd64bb2e revert r49817: as it causes an SQL error in Home ("linked" is not a column) 2014-12-11 16:02:24 +00:00
Nathan Gray
85d531e797 Persist linked entries filter until it's cleared, fixes link filter lost after submit (context menu -> change) 2014-12-10 17:36:55 +00:00
Nathan Gray
7760ea36ad Fix select all in contact view actually selects the page instead of all rows 2014-12-08 22:05:21 +00:00
Nathan Gray
ba13371430 More Home progress:
- Add birthday reminders
 - Prevent infolog favorites from setting an app header
2014-12-02 00:30:11 +00:00
Ralf Becker
2e5fcbda4e fixing the fix, we dont want whole mails in memory 2014-11-26 15:05:59 +00:00
Nathan Gray
4da6635a51 Fix missing infolog custom types 2014-11-19 21:15:48 +00:00
Ralf Becker
c633e0033b * all aps: lower memory requirements of insert into document by skipping HTML processing, if there are no html (custom-)fields 2014-11-19 12:20:59 +00:00
Nathan Gray
ea8ff86854 Add a method to get an icon for a record, as specific to that record as possible 2014-11-18 23:40:49 +00:00
Nathan Gray
5291730724 Fix home favorite filters lost if you change sorting / filter 2014-11-17 18:47:47 +00:00
Nathan Gray
95e343cb27 Drag & Drop support for [infolog] favorite to Home 2014-11-11 23:11:16 +00:00
Ralf Becker
123bb043d5 * InfoLog/Tracker: fix missing attachments when converting a composed mail to an InfoLog or Tracker entry 2014-11-05 07:34:55 +00:00
Nathan Gray
382d7bc762 Get infolog status icons showing in element list. 2014-11-03 17:12:44 +00:00
Nathan Gray
bcbf679f64 More custom field UI work
- Application sub-type options
- Tracker & Infolog now use common UI
2014-10-23 17:33:03 +00:00
Nathan Gray
88414a5169 Fix tracker -> infolog action redirected back to tracker 2014-10-22 20:25:48 +00:00
Ralf Becker
8af4ca6049 reverting r49030 and implementing same functionality with just app.infolog.(get|set)State(), fixes introduced error set you could not filter eg. by type in an action view 2014-10-16 15:59:10 +00:00
Ralf Becker
004de5c81e * InfoLog: allow to (re-)set view of entries link to contacts via favorites 2014-10-16 09:29:01 +00:00
Nathan Gray
c158a32c72 Fix timesheet sum 2014-10-15 23:02:42 +00:00
Ralf Becker
6d76f3d6ba remove mail_bo::htmlspecialchars 2014-10-02 08:18:24 +00:00
Nathan Gray
6ee7f3f219 Basics of infolog-value and tracker-value widgets 2014-09-30 22:08:57 +00:00
Nathan Gray
cd8f1cdd4f Add new infolog filter 'private' 2014-09-23 22:48:11 +00:00
Nathan Gray
76f970967f Fix a few more redirects resulting in unwanted iframes. 2014-09-22 15:23:36 +00:00
Nathan Gray
ee5a8c5fcc Move timesheet sum placeholder 2014-09-09 21:28:57 +00:00
Nathan Gray
9cdaebe1b6 Add timesheet time (info_sum_timesheets) placeholder 2014-09-09 21:26:45 +00:00
Nathan Gray
1b0cefe5f2 Keep pm link when changing contact 2014-09-08 21:24:25 +00:00
Nathan Gray
a862bd46bb Store infolog list details/no details choice as implicit preference 2014-09-02 21:14:33 +00:00
Ralf Becker
6e54b7088c * InfoLog: allways show all children when opening an InfoLog containing children in list (not applying filters or search) 2014-09-02 10:23:09 +00:00
Ralf Becker
6cabb4d37f reintroduced old list-no-subs preferences as "Show sub-entries" with options "Always", "Only if there is a filter", "Only while searching" 2014-08-27 14:38:03 +00:00
Ralf Becker
08c409fdad disable homepage preferences, until we have a home-page again 2014-08-27 09:06:20 +00:00
Ralf Becker
ce9599343e removed usage of removed "listNoSubs" preference, as it leads to empty sub-view, if preference was set 2014-08-27 08:57:36 +00:00
Ralf Becker
bdc8b5bd01 * InfoLog: subentries are now shown only in hierarchical view and updates to them also update modification time of parent 2014-08-27 07:53:40 +00:00
Nathan Gray
12ed9fe370 Change how parent / child is handled:
- No more preference or separate views
- Changing a sub-entry updates the modified date of the parent
2014-08-25 23:43:32 +00:00
Nathan Gray
f3c15f87b1 Infolog lists embedded as action can have their own separate column preferences. 2014-08-25 23:18:09 +00:00
Nathan Gray
2139812849 Fix missing duration format by setting it once at the top level. (see r47942) 2014-08-25 19:56:28 +00:00
Hadi Nategh
a78fda8400 Hide info_link in addressbook CRM view via CSS, and try to not filter them by query in infolog get_rows .
-Fix clicking on linked infolog entry and redirecting to AB CRM view removes the link from the row in infolog
2014-08-20 14:38:33 +00:00
Ralf Becker
e7e1ebe4c1 fixed infolog.index adding percent width for strech-columns 2014-08-20 10:00:33 +00:00
Hadi Nategh
6689ca64f7 SelectAccount with type "none" should get sel_options but it should be readonly if user has no admin access. Fix infolog delegation for admin users with selectAccount type "none" selected 2014-07-29 17:39:35 +00:00
Ralf Becker
b3e4dbf265 removed stray error_log 2014-07-24 07:24:37 +00:00
Ralf Becker
f864753113 * Admin/all apps: fix refresh of admin after calling site configuration, categories, etc from apps 2014-07-08 13:52:48 +00:00
Hadi Nategh
27ab8b3728 Add ajax=true for infolog redirect from site->configuration in order to avoid creating iframe 2014-07-08 08:53:50 +00:00
Hadi Nategh
5d8c57f1bd Avoid to build iframe when redirect, extension to commit 47537 2014-07-08 08:42:57 +00:00
Hadi Nategh
0b8bad6838 Redirect infolog-customfield back to infolog list after save/cancel 2014-07-08 08:23:14 +00:00
Hadi Nategh
eeb375de39 * Infolog/Edit:Add an implicit user preference in order to remember the last chosen of infolog's type 2014-07-03 13:44:04 +00:00
Klaus Leithoff
e0b9fadfdd * Mail/Infolog/Tracker: fix problem with converting mail to infolog/tracker entries, when forwarded messages are attached (message/rfc822 attachments) 2014-07-03 10:16:23 +00:00
Hadi Nategh
8c276bfe96 Remove "placeholder" link from help tooltip of preferences 2014-06-24 09:47:08 +00:00
Ralf Becker
ffae12e240 * all apps: custom-fields are now stored in own egw_customfields table (no more limit on number), site configurations get now JSON serialized 2014-06-23 14:35:22 +00:00
Nathan Gray
228d3e9614 Add placeholders for parent 2014-06-18 15:50:23 +00:00
Nathan Gray
3f8ac20b7a Add a note for if we get back to import/export re-structuring 2014-06-18 14:35:44 +00:00
Ralf Becker
a2e03406d2 also notify about sub-entries 2014-06-17 10:39:12 +00:00
Nathan Gray
52c9a86704 addr_id function moved to importexport_basic_import_csv so it can be used for all apps 2014-06-16 20:08:17 +00:00
Hadi Nategh
630f4558d9 Fix IDE documentation warning 2014-06-12 12:34:50 +00:00
Ralf Becker
2072869ffe fixed wrong "Startdate must be before enddate" validation error, if no start- or end-date given 2014-06-11 10:47:23 +00:00
Nathan Gray
a866eb5ed9 Fix details filter not properly changing 2014-06-04 18:43:21 +00:00
Ralf Becker
577e336b0e fixed typo preventing update of entries in InfoLog list 2014-05-27 09:53:09 +00:00
Ralf Becker
c04f0ccc8f fix not updated infolog in list, when timesheet is booked on it: added "row_mod" as maximum of info_modified, link_lastmod (incl. deleted ones) and timesheet_bo::sum() max_modified 2014-05-24 10:59:03 +00:00
Ralf Becker
50baa1af34 fixed different column-selection for "Details" and "No details" and therefore not calculated timesheet sum 2014-05-22 16:38:22 +00:00
Hadi Nategh
d322ee7ec4 Add print item in infolog context menu and onload print functionality 2014-05-20 10:51:37 +00:00
Nathan Gray
6c696a1db0 Silence error log 2014-05-13 23:20:04 +00:00
Nathan Gray
01011c7349 Fix misplaced bracket causing warning message about invalid arguments 2014-05-07 18:36:13 +00:00
Ralf Becker
5f786d9af3 skip loading (not needed) translations when running during setup 2014-05-05 12:21:47 +00:00
Nathan Gray
354a8426af - Fix $action gets lost if an action (delete) is done
- Fix deleted filter + link showed no results
2014-04-28 20:25:40 +00:00
Nathan Gray
3a004a2672 Add link to list of placeholders into app menu 2014-04-14 17:08:43 +00:00
Klaus Leithoff
671a47f6fc remove references to felamimail stuff 2014-04-10 14:33:24 +00:00
Nathan Gray
87f87d4f86 Always update the whole list, since there's no easy way to tell if the filters will exclude the entry 2014-04-07 20:27:57 +00:00
Nathan Gray
89fa0b435c Don't change infolog list header when called by another app 2014-04-07 16:49:42 +00:00
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
8816fd6e0f Handle selected columns as string or array without warning 2014-03-24 19:32:21 +00:00
Nathan Gray
ab8cc893f7 Handle selected columns as array without erroring 2014-03-24 17:00:54 +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
Nathan Gray
8b9f806b1f - Fix start date filter date selection
- Add end date filter (uses date selection)
2014-03-06 22:12:50 +00:00
Nathan Gray
11e01aaa41 Avoid warning about $field['type2'] already array by checking before exploding 2014-03-06 21:59:48 +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
1d1dbd252c fixed missing sorting in inital sync-collection report with empty sync-token 2014-02-20 19:26:02 +00:00
Ralf Becker
a9b6c6e9b4 * CalDAV/CardDAV: fixed support for limited sync-collection report used eg. by Marten Gajdas Android apps 2014-02-20 17:46:15 +00:00
Ralf Becker
94af139465 * CalDAV/CardDAV: entries with urls containing url-encoded chars, eg. from Google calendar, were not send to clients (missing urldecoding in multiget report) 2014-02-20 15:11:27 +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
f0d7751496 removed caret from group favorites, fixed prefered favorite was not show correct initialy nor updated 2014-02-12 21:51:25 +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
effe2120aa fix ide warnings 2014-01-28 10:08:43 +00:00
Ralf Becker
0c2f0fdcfa fix ide warnings 2014-01-28 10:02:11 +00:00
Ralf Becker
9960468583 * InfoLog: query custom-fields for notifications
and remove static $ignore_acl parameter, as it is only used in no longer necessary read
2014-01-28 09:36:36 +00:00
Ralf Becker
40a13d193b fix ide warnings 2014-01-28 09:22:12 +00:00
Ralf Becker
41ce90ff30 infolog update 1.9.006 changing async_method from (not longer existing) boinfolog to infolog_bo 2014-01-28 08:34:23 +00:00
Ralf Becker
ad57c7ee86 remove addressbook, calendar and infolog classes for xmlrpc, as we droped xmlrpc support 2014-01-28 08:28:20 +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
Nathan Gray
9740d35e3b Fix list registry to be ajax / no iframe 2014-01-16 14:51:35 +00:00
Klaus Leithoff
1b72d90ec5 silence duration format error log in infolog constructor 2014-01-15 14:34:28 +00:00
Nathan Gray
637ebac127 Fix sidebox entry 'Infolog list' opens infolog in iframe 2014-01-14 15:11:51 +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
Ralf Becker
6fd7ed4b2d * CalDAV/CardDAV: only advertice sync-collection report, if we track deleted entries (history-logging enabled, not working otherwise) 2014-01-07 11:10:51 +00:00
Klaus Leithoff
3b971148d5 silence warning regarding custom field types 2014-01-07 10:27:24 +00:00
Ralf Becker
44d5801015 allow to prefix alternative name with a minus to substract instead of adding its value 2014-01-06 13:05:51 +00:00
Ralf Becker
f3cb31ccf5 * CalDAV/InfoLog: fixed not working sync-collection report, eg. used by eM client 2013-12-12 01:54:16 +00:00
Nathan Gray
d65b40046a Move sidebox favorites & backend out of nextmatch and into framework 2013-12-12 00:03:07 +00:00
Nathan Gray
63224d09ab Cast info_id_parent from string back to integer
Fixes Parent: false in edit dialog by using correct data type
2013-12-10 19:18:05 +00:00
Nathan Gray
928c562797 Fix bad argument to etemplate->exec() 2013-12-05 20:58:48 +00:00
Klaus Leithoff
d5eb20e3b2 * Infolog/Notification: when notifying asyncronously , make sure possible customfields are read, as search does not supply these
this results in an additional read per entry and user to be notified, but avoids duplicate rows in search results and the extra effort to check for customfields and their values for async notification only
2013-11-29 12:07:19 +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
758a4557de Restore 'No filter' option for default filter 2013-11-14 21:51:52 +00:00
Nathan Gray
a97ca723d3 Allow app.appcode.function(); calls in sidebox in addition to global functions. Needs the (); at the end though. 2013-11-14 16:50:16 +00:00
Nathan Gray
00a3290d97 Get infolog list working in contact view 2013-11-13 22:44:28 +00:00
Nathan Gray
1d54a4d3d6 Fix custom fields for a type not detected, so tab was incorrectly disabled 2013-11-13 16:51:15 +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
Ralf Becker
f8a0db06fc completly remove preferences menu from sidebox and tiled preferences index in favoir of app-sensitive entries in top-menu 2013-10-03 09:23:18 +00:00
Ralf Becker
18285429e9 * CalDAV/CardDAV: fixed not working propfind-request to single resource in calendar/addressbook collection 2013-10-01 11:38:34 +00:00
Nathan Gray
b6a701ea34 Fix needing to save twice to clear a multi-select custom field. 2013-10-01 11:24:18 +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
Ralf Becker
a79192cc63 fixed not found multiget-report urls where not reported (worked for calendar only before sync-report was introduced) 2013-09-25 10:27:41 +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