Commit Graph

48 Commits

Author SHA1 Message Date
Ralf Becker
7d90bca111 fix fatal javascript error "egwIsMobile is not defined" in fw_browser.js, if minifying is disabled, by adding an explicit dependence to egw_action_common.js 2016-03-02 18:04:47 +00:00
Ralf Becker
f25070a9c2 - switching minifying of javascript to use Grunt and Uglify (instead of doing it on the fly with php on every host)
- generating now a couple of bundles: api, et2, mail, calendar, jdots, pixelegg and mobile
- developers need to update minified files whenever a javascript file changes: grunt uglify[:(api|et2|mail|calendar|jdots|pixelegg|mobile)]
- minified files also contains a map file allowing to debug with them
2016-03-01 20:45:31 +00:00
Ralf Becker
033c1f4a9f fixing scope of "use strict", so we do not need to remove it when concatinating our scripts like we do now with minjs 2016-02-29 15:50:24 +00:00
Nathan Gray
5b10bde980 Trigger a resize to notify listeners of the change in size
Fixes sidebox calendar is too small after expanding sidebar
2016-02-24 16:16:21 +00:00
Hadi Nategh
8e455d873b Do not allow to resize sidebox more than screen width 2016-01-07 09:16:59 +00:00
Hadi Nategh
3be2bbd786 W.I.P. of a general method for calling loading prompt
- Define an id for each loading prompt
- Implement new style for loading prompt
2015-12-07 09:08:09 +00:00
Nathan Gray
5343a4eae3 Fix admin so it will reload the page it was opened with instead of changing to user list, or doing nothing. 2015-12-02 18:05:25 +00:00
Hadi Nategh
2c5b1de5b5 Do not notify tabs on framework initialization
- Fix reloading framework closes opened tabs
2015-11-19 16:33:39 +00:00
Hadi Nategh
7c944b5aeb Mobile theme W.I.P.:
- Sidebar acts based on device size
- Remove portrait top header (sidebar toggle menu will be positioned next to nm header)
- Remove collapsed sidebar application navigator, only for devices
2015-11-16 15:45:04 +00:00
Nathan Gray
7e97da50d2 Fix tab error / sidebox stays when closing the active first tab right after login. 2015-11-06 18:08:43 +00:00
Ralf Becker
db774ece2b fix intro offer was not translated and now shown in idots template, also changed wording a little and added German translation 2015-10-24 11:07:22 +00:00
Hadi Nategh
524c16e536 Run tutorial intro confirmation dialog only once per framework reload and session together 2015-10-20 12:51:40 +00:00
Hadi Nategh
938c991124 WIP Egroupware tutorial:
- Create tutorial sidebox hooks automatically
- Fix some styling for popup
- Display intro video show confirmation dialog based on session (login/logout)
2015-10-19 15:00:42 +00:00
Hadi Nategh
c200c1ccc3 WIP Egroupware tutorial:
- Use framework-reload to determine the first load after login
2015-10-19 10:48:16 +00:00
Hadi Nategh
88da09bc80 Do not scroll sidebox on selectboxes or video tutorials box 2015-10-16 12:37:51 +00:00
Hadi Nategh
04a8cd4f60 WIP EGroupware Tutorial:
- Implement video navigation on popup
- Implement introduction video with user confirmation dialog based on session
- New layout for tutorials list both in sidebar and popup
- Separate tutorials styles to be able to set different styles base on templates
2015-10-14 14:17:09 +00:00
Hadi Nategh
61db4b7559 WIP EGroupware tutorial:
- Open autoload introduction tutorial from all apps
- Provide fallback tutorial
2015-10-09 15:09:34 +00:00
Ralf Becker
f8821f692f fix an other case were spinner is not removed due to a client-side javascript error 2015-10-07 09:32:22 +00:00
Nathan Gray
741e6e02af Return Deferred promise when app handles the link, avoids error Cannot read property 'promise' of undefined 2015-09-21 20:27:07 +00:00
Hadi Nategh
383052c516 Fix broken sidebox app header refresh caused by commit 53643 2015-09-16 13:32:15 +00:00
Hadi Nategh
c159e47406 Consider link with load param for re-browse it in admin tab 2015-09-14 17:34:43 +00:00
Hadi Nategh
6010115714 WIP toggle sidebar menu:
- Add refresh icon to active header
- Fix wrong indentations
2015-09-10 13:51:31 +00:00
Hadi Nategh
f75264c66f WIP toggle sidebar menu:
- Fix toggleSide bar initialization
2015-09-09 13:56:50 +00:00
Hadi Nategh
b24dc04138 WIP toggle sidebar menu:
- Keep toggleSidebar state
- Fix documentation
- Fix default width size
2015-09-09 11:03:24 +00:00
Hadi Nategh
4fea2b801b WIP toggle sidebar menu 2015-09-08 16:31:49 +00:00
Nathan Gray
b1b8206d05 Use restore_count variable instead of non-existing length attribute, maybe helps with framework loading. 2015-05-25 17:05:06 +00:00
Hadi Nategh
8f92df1a86 Escape from infinitive loadingDeferred if the diferred did not get resolved or rejected, and give user a chance to try other tabs 2015-05-13 16:21:50 +00:00
Hadi Nategh
ab890a7c56 Clear deferred object after its resolved, since the next time reload checks the deferred object existence
-Fix calendar d-n-d works only once
2015-03-23 14:30:53 +00:00
Ralf Becker
3f5a251ad6 Fixed changing to a non-toplevel / iframe url did NOT allow to return to a top-level (ajax=true) one, because browser.currentLocation was not updated for iframe 2015-03-18 09:56:11 +00:00
Nathan Gray
cabf2f2e75 Don't clear deferred, as type may get reset in initialization. 2015-03-11 21:55:25 +00:00
Nathan Gray
3135068a45 Return a Deferred object when tab is browsing, and use it do show & hide a loader div while loading an app for the first time. 2015-03-10 20:12:30 +00:00
Nathan Gray
1f65eee3fc Check that getApplicationByName() got something before using it, avoids hidden error loading sideboxes for apps with no tab 2015-03-09 19:19:41 +00:00
Nathan Gray
ead0a507bf Do not use iframe for popups from external links 2015-03-09 18:18:52 +00:00
Hadi Nategh
5e681e3156 Fix sidebox scrolling conflicts with selectbox scrolling in IE 2015-03-09 16:30:19 +00:00
Hadi Nategh
0257f17c81 Fix scrolling issue happens in FF when scrolling over selectbox items located in sidebox(e.g. selectboxes in calendar sidebox menu) 2015-03-04 14:23:18 +00:00
Nathan Gray
f1e0cc90d7 Slightly gentler reset after forcing margin for printing 2015-02-19 00:54:49 +00:00
Nathan Gray
89741b682c Force left margin to 0, avoids margin when printing 2015-02-19 00:27:21 +00:00
Nathan Gray
82f36e6de4 Extend printing support to work with multiple etemplates on the printed tab 2015-02-11 18:05:14 +00:00
Nathan Gray
cee521d4cd Work in progress of printing nextmatches, still needs some prettying up & edge case testing 2015-01-27 16:26:59 +00:00
Hadi Nategh
af05aa9471 Removes setMessage from framework, as egw_message handles all cases now, and bind click handler to dismiss the message when we create the element 2014-12-10 10:32:51 +00:00
Ralf Becker
48b3ee0b10 extending jdots and pixelegg framework from new desktop framework, allowing pixelegg to overwrite iframe height calculation 2014-12-09 14:25:44 +00:00
Hadi Nategh
90afd04015 Fix framework wrong window opener in openPopup 2014-12-02 11:18:12 +00:00
Ralf Becker
fa0a10a840 moving egw_openWindowCentered() to egw(window).openPopup() 2014-12-01 10:44:51 +00:00
Hadi Nategh
1e93cb8224 Add missing print function to the framework base 2014-11-26 08:40:42 +00:00
Hadi Nategh
fd73f9fb21 Add refresh method to framework 2014-11-19 13:58:01 +00:00
Hadi Nategh
4ce9b93bb2 Activate the new structure of egw framework.
- jdots: egw_fw_ui and egw_fw are removed and replace with the new files fw_ui, and fw_jdots
- work in progress of mobile framework (Mobile framework is not activated yet)
2014-11-14 16:20:11 +00:00
Hadi Nategh
6d9969b050 Some W.I.P. of egw framework restructuring 2014-11-12 17:14:58 +00:00
Hadi Nategh
af83de8198 Work in progress of egw framework restructuring 2014-11-11 18:00:29 +00:00