Commit Graph

87 Commits

Author SHA1 Message Date
Ralf Becker
d49f8bc45f fix situation where multiple app.js objects are used, eg. InfoLog and CRM view in Addressbook:
- etemplate2 creates a private app object instead of using window.app with just prototypes, if template is not from current app
- fixed all cases where window.app was used to use just app, to use evtl. private object
- app_base no longer assigns itself to window.app (window.app[this.appname] = this), as that breaks private app objects
- et2_compileLegacyJS replaces app.appname with widget.getInstanceManager().app_obj.appname
- etemplate2 stores either private or global app object in app_obj attribute
2016-03-17 18:12:36 +00:00
Nathan Gray
0db8f1f6da Fix js error "Cannot read property 'getArrayMgr' of null" 2016-03-15 16:59:38 +00:00
Ralf Becker
67e6965b1f fix javascript error when getState called by et2_ready from tutorials, caused by content.data.nm does not exist for tutorials 2016-02-22 15:48:19 +00:00
Ralf Becker
a4e350317e put a single [Add] button left of nm-header (opening selected type or task if not) and show dates popup right aligned 2016-02-15 11:59:55 +00:00
Hadi Nategh
9332ce4a80 Mobile theme WIP:
- Add plus button for all apps list views
2016-01-14 10:56:48 +00:00
Nathan Gray
fae06bcbe5 Refinements to timestamp button
- Better icon & more specific hover text
- Now goes to start if you forget to place cursor
- Style encrypt button to match
2015-12-21 22:19:05 +00:00
Nathan Gray
833253e73d Add a button to insert the current time and user into infolog description 2015-12-16 18:14:37 +00:00
Nathan Gray
12962b77b4 Fix bug where additional infolog columns get shown after changing selected columns 2015-12-02 21:03:45 +00:00
Nathan Gray
e56ff68a61 - Make sure we always use index's nextmatch
- Add some documentation about the this.et2 variable
2015-12-02 18:42:55 +00:00
Nathan Gray
3a84c8118f - Change from 0% to 10% when changing not started to ongoing
- When changing type column filter, clear status if it is not in the new type
2015-11-26 16:07:36 +00:00
Nathan Gray
2dee92b877 Hopefully resolve completed vs status with custom statuses. 2015-11-20 16:33:59 +00:00
Nathan Gray
cc5b035d15 - Fix drag & drop breaks when changing to another application tab
- Fix wrong ajax method called to move infologs
2015-11-05 20:56:13 +00:00
Hadi Nategh
5f19cc95fc Mailvelope WIP:
- Add mailvelope keepAttachments option
2015-09-17 09:52:58 +00:00
Ralf Becker
d0dae2b32a * InfoLog: fix not working "No filter" favorite 2015-08-24 14:34:19 +00:00
Hadi Nategh
433baf9459 Fix encrypted infolog shows on hover even if the mailvelope is not available 2015-08-20 16:14:06 +00:00
Ralf Becker
765d28ea21 fixed not being able to switch on encryption for new entries 2015-08-19 13:28:33 +00:00
Hadi Nategh
57a3c318ea Do not let to address a possible freed object 2015-07-30 15:25:44 +00:00
Hadi Nategh
b582716dff Fix infolog error: content is undefined 2015-07-30 10:33:41 +00:00
Nathan Gray
89a8ee9804 Decrypt on hover for historylog 2015-06-09 20:57:43 +00:00
Nathan Gray
e1d56b5969 Move some common code for decrypt on hover 2015-06-09 20:04:57 +00:00
Hadi Nategh
2d9821ff01 Resolve mailvelope encrypt for infolog print dialog 2015-06-09 14:45:32 +00:00
Ralf Becker
1ca4b24ec2 added missing error message when adding a responsible without key to an encrypted infolog, also adding timestamp to infolog-encryption.js to force loading of changed files 2015-05-29 08:20:41 +00:00
Ralf Becker
ddbe8ccec3 encryption of InfoLog entries (EPL only) 2015-05-28 14:40:33 +00:00
Nathan Gray
d599cadf8a Pre-set contact in new infologs opened from context menu.
Contact taken from link filter, or current contact when in CRM view.
2015-05-11 21:03:29 +00:00
Nathan Gray
237d1d809e * If column information is stored in a favorite, restore it along with the filters
To get column information in the favorite, change the visible columns before you create the favorite.
If the favorite has no column information, the visible columns will not be changed.
2015-05-11 17:29:31 +00:00
Nathan Gray
9e1625c983 Avoid errors in refresh if most recently opened etemplate gets closed before refresh. 2015-03-16 21:15:38 +00:00
Ralf Becker
043f2480f4 keep automatic update of pricelist, if project get updated 2015-03-10 12:21:03 +00:00
Nathan Gray
345ec3c652 Make sure status has a 'not-started' value before we switch to it, prevents infologs disappearing if you change status back to 0% 2015-03-04 16:13:47 +00:00
Ralf Becker
93a514993a * InfoLog/Addressbook: refresh CRM view if InfoLog was edited without having InfoLog tab open 2015-02-17 16:21:50 +00:00
Ralf Becker
f994089389 * InfoLog: new context menu: View parent with children 2015-02-13 18:03:40 +00:00
Hadi Nategh
39cc660c0d Implement set window title for each application with a default title field or define an app specific custom get title 2015-01-05 14:28:35 +00:00
Nathan Gray
fc3eca62f0 Take nextmatch / favorite values into account, not just what was set on first load. 2014-12-11 17:59:29 +00:00
Ralf Becker
5549dd1fd2 * InfoLog: "No filter" favorite was not resetting filters anymore 2014-10-23 12:42:24 +00:00
Ralf Becker
b6f69d3a4c "No filters" in InfoLog was not removing a search 2014-10-21 12:17:00 +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
2cf2c3ec12 Avoid extra reload of infolog, just hide the details 2014-09-16 14:30:52 +00:00
Nathan Gray
2b17360a7e Set appropriate no details CSS on initial load 2014-09-09 14:28:16 +00:00
Nathan Gray
a862bd46bb Store infolog list details/no details choice as implicit preference 2014-09-02 21:14:33 +00:00
Nathan Gray
9a0b6a921b Show or hide details only for the current nextmatch 2014-09-01 19:20:05 +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
300263e534 Always include date sub-template, and just disable it when not needed.
Fixes date widgets not validated.
2014-08-25 17:29:42 +00:00
Hadi Nategh
81dc9a9be3 Make sure all DOMSubtrees are loaded before trigger the print job on window onload. Fix error "getComputing is not function" when closing the window while the print preview is loaded 2014-07-29 15:02:46 +00:00
Hadi Nategh
dcad41f542 Try to not always refresh calendar via observer for every infolog entry, but only the ones that are integrated in calendar 2014-06-26 12:39:20 +00:00
Nathan Gray
a866eb5ed9 Fix details filter not properly changing 2014-06-04 18:43:21 +00:00
Hadi Nategh
a7ecc60a5e Make sure that _links is not undefined 2014-05-27 13:36:40 +00:00
Hadi Nategh
d58b111165 Remove _targetapp argument from observer and add _links. Additionally, make sure if the application, fired observer, is linked and needs to be refreshed 2014-05-26 14:01:18 +00:00
Ralf Becker
893091e286 - new app.js observer method which receives update notifications from all apps
- app.infolog.observer triggering refresh of InfoLog list, when a timesheet get stored
- moved code of already deprecated egw_refresh() to egw.refresh() and changed etemplate to use that
- framework from jdots/pixelegg template no longer overwrites window.egw_refresh, but egw.refresh calls framework.refresh for regular refreshs if framework is present
2014-05-22 15:29:14 +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
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