Commit Graph

36528 Commits

Author SHA1 Message Date
Hadi Nategh
b4c4606c22 Move all egw_action constants into egw_action_constants 2021-06-14 13:45:57 +02:00
Ralf Becker
be0af7be68 split implements and instanceOf from ClassWithAttributes in own ClassWithInterfaces and let et2_dataview_view_container inherit from it 2021-06-14 11:47:02 +02:00
Ralf Becker
685a0d3328 handel empty objects like empty array 2021-06-14 10:35:54 +02:00
Ralf Becker
e60fd8f1ef importing AppJS 2021-06-14 10:33:09 +02:00
Ralf Becker
3e5aa5a707 make egw_globalObjectManager available for egw_keymanager 2021-06-12 17:03:22 +02:00
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
nathangray
d6c6e14abf * Api: Prevent invalid customfield names
(cherry picked from commit ae86eb7812)
2021-06-11 13:18:03 -06:00
nathangray
b6282742a2 Filemanager: Fix root access was stopped after removing custom ACL
(cherry picked from commit eb59b6bf65)
2021-06-11 13:17:59 -06:00
nathangray
6ef766edf0 Etemplate: Better error message for parse errors in xml strings (not files)
This happens in things like Transformer, where we generate some XML for parsing

(cherry picked from commit 7cf7c5a638)
2021-06-11 13:17:55 -06:00
nathangray
7ce92b9124 Import/Export: Avoid "Undefined variable: filter" error
Correct files this time

(cherry picked from commit a7d52168b7)
2021-06-11 13:17:52 -06:00
nathangray
5ec39458af Revert "Import/Export: Avoid "Undefined variable: filter" error"
This reverts commit d57df627

(cherry picked from commit c853bb0f84)
2021-06-11 13:17:50 -06:00
nathangray
1586bbd66a Import/Export: Avoid "Undefined variable: filter" error
(cherry picked from commit d57df627a7)
2021-06-11 13:17:47 -06:00
nathangray
a024baeef6 * Api: Clear initial load URL after using it, so F5 takes you to the app's normal entry point
(cherry picked from commit 9219536c2f)
2021-06-11 13:17:44 -06:00
nathangray
5a54397c46 Importexport: Improve handling of targets
- Give error if target uses an unknown stream wrapper
- If stream wrapper is not provided, assume VFS

(cherry picked from commit 93e2633107)
2021-06-11 13:17:39 -06:00
nathangray
8a666c751f Etemplate: Make some statustext readable by screenreader
(cherry picked from commit 5aba575d25)
2021-06-11 13:17:34 -06:00
nathangray
aa241edfb3 Import/Export: Improve error message from bad XML
(cherry picked from commit dd545799e0)
2021-06-11 13:17:30 -06:00
nathangray
2c2563eccf Fix PUSH new entries did not show if filter had multiple values
(cherry picked from commit 0caabaf516)
2021-06-11 13:17:27 -06:00
nathangray
6993d82abf Infolog: Use infolog owner as sender of notifications
(cherry picked from commit c9c9f28851)
2021-06-11 13:14:39 -06:00
nathangray
1bed2d2df6 Notifications: Add configuration for account / address to use for sending notification emails
If the app specifies a different sender (Calendar) that is still used instead.

(cherry picked from commit 7d15c2f352)
2021-06-11 13:14:34 -06:00
Ralf Becker
26e186fb8c fix typo (smallPART) and compress login image 2021-06-11 15:42:29 +02:00
Ralf Becker
f503f7139a EgwApp object need to be global / assigned to window.EgwApp
as that's how we iterate through all EgwApp instances for observer and push
2021-06-11 15:21:18 +02:00
Ralf Becker
78e30f1a27 load egw_ready.js again 2021-06-11 15:05:44 +02:00
Ralf Becker
587c4fd8fd fix not working add in calendar (et2_valueWidget not defined)
instead of checking widget to be instance of valueWidget (which would create a circular dependency) we check for the interface/methods of valueWidget
2021-06-11 14:50:46 +02:00
Hadi Nategh
506111d044 Revert commit 92e435c52f 2021-06-11 14:36:03 +02:00
Ralf Becker
89967336e2 removed app_base.js from egw.js requirement to not pull in etemplate, but had to move app to egw.js too 2021-06-11 13:48:09 +02:00
Hadi Nategh
babb0911ce Fix calendar 2021-06-11 13:46:35 +02:00
Ralf Becker
4752331427 fixed all errors in calendar, thought it's still not ok
also fixed a couple of errors in egw_action
2021-06-11 11:31:06 +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
1f4ba0156a remove (unused) etemplate2 import causing login page to constantly reload 2021-06-11 09:11:28 +02:00
Ralf Becker
ed1c35d28b some small fixes 2021-06-11 09:06:25 +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
Hadi Nategh
81c4df47f2 Revert accidentally deleted file 2021-06-10 16:03:26 +02:00
Hadi Nategh
7a00c3afe7 Fix broken admin 2021-06-10 16:02:07 +02:00
Ralf Becker
e4ac5b2268 got et2_htmlarea/TinyMCE working in edit resources 2021-06-10 15:53:52 +02:00
Hadi Nategh
9ea598070e Get vfs and expose working 2021-06-10 15:52:00 +02:00
Hadi Nategh
54fff9739a Add more missing import statements 2021-06-10 15:40:49 +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
Hadi Nategh
31c7b87faa Add splitter.js and make et2_dialog available globally 2021-06-10 14:21:41 +02:00
Hadi Nategh
f4d2ddde7d Get magicsuggest and tree widget working 2021-06-10 14:07:02 +02:00
Hadi Nategh
0de8f242aa Fix missing dhtmlx menu object 2021-06-10 13:59:12 +02:00
Hadi Nategh
0730d4880e Remove couple of more jquery import statements 2021-06-10 13:57:33 +02:00
Ralf Becker
c51275fde3 got admin index incl. et2_tree and et2_date_ro working 2021-06-10 13:53:07 +02:00
Ralf Becker
5298336886 include jquery and other legacy js files via script tag 2021-06-10 11:38:54 +02:00
Ralf Becker
40cac6f964 generate a non-request specific importmap, as we ajax_exec apps and then not reload importmap 2021-06-09 19:00:53 +02:00
Hadi Nategh
42305a6562 Fix some imports for et2 widgets 2021-06-09 14:28:29 +02:00
Ralf Becker
08d7b7df3e fix async loading caused app.js not being loaded before et2.load() tried to instantiate it 2021-06-09 11:21:52 +02:00
Ralf Becker
38cb855017 fixing a couple more imports to get addressbook list show up 2021-06-09 11:11:34 +02:00
Ralf Becker
c440dffa54 exporting functions 2021-06-09 10:31:22 +02:00
Ralf Becker
027c087a06 remove egw_app dependency and only import et2, if there is an eTemplate on the page
stops login-page from loading eT2 stuff
2021-06-09 10:13:51 +02:00
nathangray
488f01aea9 Etemplate: Only re-set label if the new value is different
Fixes initialization could clear the link text if value was set first
2021-06-09 08:41:07 +02:00