Ralf Becker
ee508c50b9
filter out legacy JS code from importmap and sort it
...
also only add extension-less includes for .ts files (was accidentally commented out) and fix some .js imports without extension
2021-06-12 11:44:28 +02:00
Ralf Becker
771d6c727f
got mail app.js incl. jsapi/app_base.js working
...
plus marking et2 methods returning promisses as async and removing cache-buster from includeJS calls in egw_action_common.js as it causes double loads
2021-06-11 10:11:13 +02:00
Ralf Becker
e18832e110
defer calls to app.* after et2_load is finished
...
changing et2_load egw_json plugin to return a promise for that
2021-06-11 09:05:57 +02:00
Ralf Becker
77a4aad7d6
got tree-actions in admin working and fixed tutorials (et2.load() stalled if no app.js or lang-files)
2021-06-10 14:54:30 +02:00
Ralf Becker
bfea641321
fix async loading caused app.js not being loaded before et2.load() tried to instantiate it
2021-06-08 17:13:30 +02:00
Ralf Becker
f91bca83e1
got et2 mostly working: timesheet.edit renders
2021-06-07 17:33:53 +02:00
nathangray
d367da6ba8
Etemplate: switch to tab of first invalid input, not last
2021-05-05 10:09:31 -06:00
Hadi Nategh
c370941c51
Keep private app objects if dialog gets destroyed
2021-04-20 15:30:46 +02:00
nathangray
d0c5f3c09b
Commit changes from update to TypeScript 3.9.9 so we don't keep reverting them.
2021-03-22 11:42:50 -06:00
Hadi Nategh
eed827fccd
Add missing audio widget js
2021-03-11 12:36:32 +01:00
Hadi Nategh
65b24440a0
Implement widget countdown timer
2020-11-23 21:11:19 +01: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
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
f88ae4f46a
Merge branch 'multitabs'
2020-09-25 11:30:32 +02:00
nathangray
293f9cc446
Etemplate: Different way to download generated files to avoid destroying sessions of not-visible etemplates
2020-09-24 15:18:22 -06:00
Hadi Nategh
4bf65486ef
WIP of framework's multitab implementation
2020-09-23 16:55:35 +02:00
nathangray
5379a0c924
Home using non-global EgwApp instances for portlets
2020-07-30 13:00:53 -06:00
nathangray
3e9794e526
Etemplate: Do not bother to resize hidden etemplates
...
Fixes Admin > App > Site config gets resized incorrectly when switching to another app's tab & back
2020-07-22 15:51:42 -06:00
Ralf Becker
8e213a7de5
set id of DOM container, in case server-side returned a different eTemplate
2020-07-21 22:05:08 +02:00
nathangray
bd6b20bae8
Fix home cannot find its portlet templates
...
This reverts commit ff0cdf8143
.
2020-07-20 14:34:10 -06:00
nathangray
10846271f1
Close confirm improvements & fixes
...
- nextmatch is now always not dirty
- Logging the dirty widgets to console
- Fix searchbox did not fully doLoadingFinished()
2020-06-29 11:55:35 -06:00
nathangray
143be4dc98
Etemplate: Cancel buttons do not trigger the change/close prompt
2020-06-24 10:37:57 -06:00
nathangray
52714f0a63
Etemplate: Check dirty before closing, ask if there are changes
2020-06-19 13:27:41 -06:00
nathangray
aab5415873
* Etemplate: Password widget improvements - suggest password button, added as custom field type (stored encrypted)
2020-06-12 10:56:53 -06:00
Ralf Becker
ff0cdf8143
set id of DOMContainer, in case it changed because server-side send a different template
2020-06-04 17:04:32 +02:00
nathangray
ec6a3881e3
Still need to clear before loading or dialogs get doubled
2020-04-22 14:53:11 -06:00
nathangray
444babdbc8
Api: Take care of private app.js instances, make sure they're included in iteration.
...
Iterate over all app.js instances (public & private) using:
for (var app_obj of window.EgwApp) {...}
2020-04-21 15:36:17 -06:00
Hadi Nategh
0cc7ce12d0
merge master
2020-03-05 14:45:25 +01:00
Ralf Becker
65294a3e19
fix error on window closing in Chrome 80+
...
caused by Chrome 80+ no longer allowing to send a synchronious ajax request from beforeunload handler, using sendBeacon (async request with keepalive=true) instead
2020-03-02 10:43:19 +01:00
nathangray
0f898acbb2
Fix action bugs where actions were not properly linking
2020-02-27 11:54:55 -07:00
nathangray
de426e1232
Some types & fixes
2020-02-25 09:05:32 -07:00
nathangray
49493a6af8
Convert etemplate2 to typescript
2020-02-24 15:16:40 -07:00
Hadi Nategh
e1cd652183
Use destroy instead of free
2020-01-29 15:12:43 +01:00
Hadi Nategh
797d396a4a
Make sure we can submit before setting the loading prompt
2019-06-05 15:47:12 +02:00
Ralf Becker
fcc8bc9527
allow et2_dialog.confirm to postSubmit (to download something)
2019-03-03 18:14:10 +01:00
nathangray
4a37e31102
Etemplate - allow customisable onload for templates
2019-02-25 10:49:33 -07:00
Hadi Nategh
fe64572ec9
Fix window name gets changed not intentionally to template name after et2 load
2019-02-22 13:58:28 +01:00
Hadi Nategh
c5c09c4f9f
Deprecate CKEDITOR and remove it from source
2019-01-25 12:41:13 +01:00
Hadi Nategh
1cbd0aa2a3
W.I.P. implementing TinyMCE editor and deprecating CKEditor
2018-10-19 16:35:18 +02:00
Hadi Nategh
577850cfd0
* Api: change default submit to async call and try to block user interfering with submitted popup until the response
2018-10-04 17:23:30 +02: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
17debc8063
Add timestamp button widget, use it in infolog
2017-09-21 14:56:40 -06:00
Ralf Becker
a4d39d5873
fix etemplate2.postSubmit() to not destroy any eT2 session, by unbinding window.onbeforeunload and rebinding it again after 100ms
...
Before postSubmit was unbinding only if current etemplates destroy_session was bound and causes so an other etemplates session_destroy to fire.
postSubmit now allways rebinds the session_destroy handler of current etemplate assuming it is only used for downloads, where current etemplate (and session) should persist.
2016-07-25 12:55:11 +02:00
Ralf Becker
1778f8ef37
remove not used dom fragment, leftover from old code version
2016-06-13 16:03:32 +02:00
Hadi Nategh
87fb94a496
Deprecate $j global variable and replace them all with standard jQuery
2016-06-02 16:52:01 +02:00
nathangray
fb8612f9fd
Fix postSubmit() - fixes broken document merging
2016-05-16 16:55:55 -06:00
Ralf Becker
5be1075f26
move empty.html used for autocomplete to api/templates/default/, as $app/src/ will not be available for direct requests
2016-05-14 12:38:31 +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