Commit Graph

128 Commits

Author SHA1 Message Date
Ralf Becker
6ae1195c38 missing file from a467bab return hashed appName of opened tab eg. to set notifcation counter 2021-03-03 19:13:45 +02:00
Hadi Nategh
96c0f54581 Fix extra tabs opened not keeping their orders after reload 2021-03-01 17:30:33 +01:00
Ralf Becker
dc6f937f02 reverting using app from parameter object 2021-03-01 13:41:27 +02:00
Ralf Becker
e36c6c4cec move global et2_call function to egw.call and egw.apply methods, ensuring app.js is loaded, if not yet loaded, also using that as apply plugin for egw.json 2021-03-01 11:50:41 +02:00
Hadi Nategh
2a2f0bf390 Keep darkmode state in serverside session too. Fix darkmode state in egroupware iframes. 2021-02-24 12:22:27 +01:00
Hadi Nategh
dad82bf1f1 Implement auto color-scheme in order to respect browser's selected prefers-color-scheme 2021-01-26 17:04:37 +01:00
Hadi Nategh
f21ac58c87 Introduce dark/light mode theme switch into framework 2020-12-15 20:24:25 +01:00
Hadi Nategh
e549b6fcd9 Use replace() instead of replaceAll() as it's not supported in older browser versions 2020-11-09 11:10:18 +01:00
Hadi Nategh
e34e18757e Purify framework tab appname used as dom id 2020-11-02 17:38:35 +01:00
Hadi Nategh
082d7fddad Remove closed tabs from the client-side session 2020-11-02 13:12:43 +01:00
Hadi Nategh
0d68c751bf Keep the open crm view tabs after reload 2020-11-02 12:50:39 +01:00
Hadi Nategh
321aebf199 Fix type error not finding app object 2020-10-23 11:11:42 +02:00
Hadi Nategh
7d1cd4c12c WIP Multitabs:
- Fix wrong ids generated for sideboxes
- Fix tab header refresh
2020-10-22 13:52:17 +02:00
Hadi Nategh
c2ca23a071 Do not create application object if already exists simply open the tab 2020-10-20 17:28:14 +02:00
Hadi Nategh
81420b2261 WIP multitabs:
- Add a flag to specify app object is a fw tab
2020-09-30 16:03:04 +02:00
Hadi Nategh
7f4535cf1d WIP multitabs and CRM view 2020-09-30 13:19:36 +02:00
Hadi Nategh
cdbc5e3a71 Create new sidemenuEntry for tab target 2020-09-28 15:43:42 +02:00
Hadi Nategh
3956760c23 Add tooltip for Tab's header, it can be set as attribute 'hint' in openTab framework app object too 2020-09-25 11:53:00 +02:00
Hadi Nategh
2ed186079e Implement openTab for egw_open object and make tab attributes configurable 2020-09-24 16:19:56 +02:00
Hadi Nategh
6c6759549e Make a copy of app object to not destroy the existing one 2020-09-24 11:13:12 +02:00
Hadi Nategh
4bf65486ef WIP of framework's multitab implementation 2020-09-23 16:55:35 +02:00
Hadi Nategh
c05047728c Push online users into top of the list as soon as they're active 2020-09-16 16:17:57 +02:00
Hadi Nategh
6d467e33ed Avoid getting exceptions when user has no access to status app but getting notified by broadcast message 2020-08-25 13:21:53 +02:00
Ralf Becker
33d983f547 * Calendar: fix not working refresh via push, if Home app is used
Current fix only makes sure global app.calendar created by home get completly destroyed (and newly created by calendar itself), and not just unregistered from the push
We probably want to modify home to create private app objects for its portlets
2020-07-29 18:25:09 +02:00
Hadi Nategh
631587eab1 Fix notifications stalling login 2020-07-29 12:55:15 +02:00
Hadi Nategh
231312b0aa Implement popup notifications filter based on tab notification's indicator 2020-07-27 14:44:44 +02:00
Hadi Nategh
ae0349487d Change tab notification indicator 2020-07-24 11:32:52 +02:00
Ralf Becker
8bb9111cd5 fix double message in popup and none in main window 2020-07-24 09:23:44 +02:00
Hadi Nategh
0cea328928 Only set notification tab for none active tabs 2020-07-23 17:39:39 +02:00
Hadi Nategh
1815b1e985 Implement framework tab's notification 2020-07-23 15:50:15 +02:00
Hadi Nategh
ceccd2a50d Implements stronger check to make sure the object is a regexp 2020-06-03 11:38:10 +02:00
Ralf Becker
3750711cdf * OpenIdConnect/OAuth: manage access and display OAuth apps inside EGroupware 2020-03-30 21:03:19 +02:00
Ralf Becker
f15d047e9d generated TS declaration for framwork objects 2020-02-09 13:38:23 +01:00
Ralf Becker
7b30bb7b0d * Admin: optional session-action column in access-log and sessions
also no longer update access-log in session-class destructor, as it fails with skipping permanent logging for WebDAV and others
2019-12-14 13:09:22 +02:00
Hadi Nategh
4276ebbe5f * Mobile theme: fix mobile theme sidebar not showing notifications 2019-12-10 14:18:05 +01:00
Hadi Nategh
e0fdcaa959 Call on logout event when any sort of logout happens 2019-10-18 14:17:27 +02:00
Hadi Nategh
10632f886d Call client-side logout hooks when the logout button is triggered 2019-10-16 12:46:44 +02:00
Hadi Nategh
ff9b3c1c03 * UiUx: Implement applications list up/down scroll buttons (as an user preference feature) 2019-09-24 11:41:18 +02:00
Hadi Nategh
768eb99113 Fix last visible tab wrongly set to closable 2019-08-20 14:01:09 +02:00
Hadi Nategh
11d4aaf7c1 Some UI/UX improvements:
- Fix tabs headers alignment and resize
- Implement a loading page to obscure actual DOM rendering from user's view
2019-08-06 10:00:53 +02:00
Hadi Nategh
33aa092453 Add descriptive tooltip for avatar status 2019-07-31 11:45:39 +02:00
nathangray
be2e632a9d Api - Don't print the show/hide sidemenu button 2019-07-26 13:44:31 -06:00
Hadi Nategh
016cfc79ef Revert reset width on sidebar active header 2019-06-03 15:27:24 +02:00
Hadi Nategh
f424b1cdb6 WIP new framework style:
- Fix tab's close buttons jump while hovering
- Add search menu into info menu
- Add notifications as info menu and style it nicely
- Toggle avatar top menu by clicking away on body
- Fix notifications popup message alignment
2019-05-27 17:12:40 +02:00
Hadi Nategh
b1f4b2cb5d WIP framework new style 2019-05-24 16:11:37 +02:00
Hadi Nategh
3ea645f8e5 Fix regexp not matching the given popup id because of invalid regexp 2019-04-24 15:14:44 +02:00
Hadi Nategh
8d7ec84a80 Make active header fixed inside sidebox while scrolling 2019-04-02 12:02:28 +02:00
nathangray
c6f2f7f85e Api - some basic support for printing popups 2019-03-15 16:01:43 -06:00
Hadi Nategh
1206bc1987 Add new application setup status for running an application in background 2019-03-11 12:06:41 +01:00
Hadi Nategh
b3328b8ae5 Make looking up for opened popups via window properties (e.g. window.name) possible 2019-02-25 13:37:22 +01:00
nathangray
511b2c2b20 Return the promise if available 2019-01-10 14:21:31 -07:00
Hadi Nategh
a25f8ece13 W.I.P. of modern theme with SVG icons enabled:
- add application specific id to tabs
2018-12-11 17:02:13 +01:00
Hadi Nategh
fd36f854a3 W.I.P. of disableIfNoEPL attribute:
- Implement the same attribute for sidebox menu
- Fix if hideOnDisabled is enabled it will ignore the disableIfNoEPL and it will not show the menu at all
- Adopt addressbook Mail VCard menu
2018-11-27 15:22:50 +01:00
Hadi Nategh
7289e80e92 Wait till common translations are loaded then ask for IE browser compatibility 2018-08-08 11:12:57 +02:00
Hadi Nategh
3604e66fa6 Exclude Edge from previous commit 2018-08-07 16:30:53 +02:00
Hadi Nategh
4c7d7fa9ca Add IE browser warning as message after login 2018-08-07 16:26:54 +02:00
Hadi Nategh
2d71cdf0f5 Fix tracking of opened popups not working after framework reload 2018-03-12 17:04:17 +01:00
Hadi Nategh
72bc17abf7 Add a fallback site title to avoid showing undefined as title 2018-03-12 12:16:50 +01:00
Hadi Nategh
81a79f0da8 WIP framework's popup storage/restore:
- fix typo
2018-03-09 17:53:36 +01:00
Hadi Nategh
a8e10cdc64 WIP framework's popup storage/restore:
- Keep tracking of popup's window object and restore it when needed
- Implement a method to check an already opened popup and execute a method in the selected popup context
- Fix vcard import into opened compose windows not working
2018-03-09 17:48:09 +01:00
nathangray
82dd2cbc11 Fix some bugs in printing:
- Framework was iterating over all app tabs, not just the current one
- Skip hidden etemplate widgets
2017-10-10 10:16:08 -06:00
nathangray
a09ab65973 Fix bug preventing etemplates in iframes from being unloaded 2017-10-05 11:18:09 -06:00
Hadi Nategh
385977e828 * All applications: Set proper default page title if nothing is set 2017-02-01 16:23:25 +01:00
nathangray
aad82affa1 Handle re-loading an app with the URL query parameters so it actually gets reloaded, since its internal state may have changed since the initial load 2016-12-01 11:20:25 -07:00
Hadi Nategh
5e4412aea5 Run applications categories with ajax=true
- Fix categories colors not showing up
- Fix categories list refresh does not work
2016-06-13 12:30:21 +02:00
nathangray
578ded52b8 Fix quick timezone selection
- Now updates all open apps, not just the currently active one.
- Fixed AJAX change did not stay changed
2016-06-08 16:02:10 -06:00
Hadi Nategh
93217a149d jQuery libraries updates via composer 2016-06-06 17:38:20 +02:00
Hadi Nategh
87fb94a496 Deprecate $j global variable and replace them all with standard jQuery 2016-06-02 16:52:01 +02:00
Ralf Becker
1edc14740b use iframe for popups running in main window with GET parameter no_popup=1, as they need to set a different CSP to use eg. CKEditor like Tracker URL in notifications, if HTML is allowed 2016-05-30 15:40:49 +02:00
Hadi Nategh
4aa1156af0 Fix framework asks always for jdots even if the jdots is not installed 2016-05-18 12:39:06 +02:00
Ralf Becker
4af0e7cb1c WIP EGroupware without phpgwapi&etemplate 2016-05-04 19:07:54 +00:00
Ralf Becker
429177686a make home a regular application, which can eg. disabled, incl. moving all services using "home" as appname to "api" and moved some other forgotten stuff from phpgwapi&etemplate to api 2016-05-01 09:57:48 +00:00
Nathan Gray
04ab1494fb Show loader while recovering from print 2016-04-29 16:34:18 +00:00
Hadi Nategh
9cd72f8e14 Mobile theme:
- Missing part from commit 55893
2016-04-28 13:55:31 +00:00
Nathan Gray
39fb455bea Remove printing margin adjustment, looks like print css covers left margin now (checked Chrome, FF, Safari, IE) 2016-04-26 18:57:11 +00:00
Hadi Nategh
980a5537d9 Fix sidebar toggle sometimes flickers in close states in FF 2016-04-25 13:51:21 +00:00
Nathan Gray
5e2d782414 Fix filter for only printing visible templates 2016-04-21 20:30:10 +00:00
Ralf Becker
2e3bd32721 moving all - non ancient ;-) - js files to api/js 2016-04-07 10:38:05 +00:00