Commit Graph

53 Commits

Author SHA1 Message Date
nathan
725b32941f Api: Fix sharing folders by making sure compression is off 2022-04-06 14:44:46 -06:00
Ralf Becker
a09c6d3639 do NOT handle / redirect for not found eT2 session in ajax_destroy_session()
as it's called, when the session is no longer needed
2022-01-19 20:16:28 +02:00
Ralf Becker
1f4cb50e74 use $method parameter of Api\Etemplate::exec() plus new et2_process handler as menuaction GET parameter
allows determining the called function on the URL to eg. send it to different FPM pool
(before the menuaction of et2 was always "EGroupware\Api\Etemplate::ajax_process_content")
2022-01-09 16:38:14 +02:00
Ralf Becker
5bd2b86683 fix broken filemanager after PM integration commit
array_merge_recursive accumulates values in sub-arrays:
array_merge_recursive(['nm'=>['get_rows'=>'a.c.m']], ['nm'=>['get_rows'=>'a.c.m']]) === ['nm'=>['get_rows'=>['a.c.m','a.c.m']]
2021-12-02 22:18:41 +02:00
nathan
26595b4cba * Projectmanager: Add calendar integration so projects can be shown as events in calendar 2021-12-01 10:32:32 -07:00
Ralf Becker
91bd7c7aeb an other chunk of fixed PHP 8.0 Warnings 2021-10-07 10:14:43 +02:00
Ralf Becker
2f155e0d79 fix popups of apps without app.ts/js wont work as eT2 is not available
it get's included by the app.ts/js otherwise
2021-07-13 21:02:08 +02:00
Ralf Becker
d57fe03326 use same method (prefer .min.js over .js) for app.js include in Etemplate and Framework
fixes double include of /mail/js/app.js and /mail/js/app.min.js
2021-07-08 16:58:05 +02:00
nathangray
3add958afa The results of Guy Bedford's help
Egroupware will load into addressbook & show rows
Most base files should be bundled server-side & included
rollup.config.js controls the process

Still needs work:
- consider /dist directory for best-practice
- cleanup
- other built-in apps
- EPL / external apps need Guy's multi-stage work
2021-06-25 14:49:24 -06:00
Ralf Becker
fb30713cbb fix not working load_via parameter 2021-04-18 21:07:38 +02:00
Ralf Becker
7135243d06 nicer implementation of CreateObject and some small fixes 2021-04-02 10:47:52 +02:00
Ralf Becker
ffc048d472 fix PHP 8.0 Fatal error unknown function get_magic_quotes_gpc 2021-03-21 18:27:09 +01:00
Ralf Becker
3eaab63bfa new $output_mode=5 for exec to allow validating client-side created templates, see SmallParT\\Questions\\ajax_answer() 2021-01-19 14:55:27 +02:00
Ralf Becker
d759e4b5a9 * Tracker: fix empty notification mail, if ticket was opened by following a link in notification mail 2020-11-21 18:55:39 +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
nathangray
4d8164bb77 Clear & reset content, modifications & readonlys when resetting the request. 2019-06-13 10:14:08 -06:00
Ralf Becker
aeef70486f fix IDE warning 2019-03-08 11:26:43 +01:00
Ralf Becker
756ebb77f3 trying to get output mode 1 (return html) working again 2019-03-07 10:06:37 +01:00
nathangray
9253e5230a * Api - When printing lists ask for print orientation and size columns to fit 2019-02-25 14:14:09 -07:00
Ralf Becker
9ff814f5b4 Revert "simpler way to un-reference the rows and some docu why we have to"
This reverts commit f89f08a8ed.
2019-02-20 14:58:04 +01:00
Ralf Becker
f89f08a8ed simpler way to un-reference the rows and some docu why we have to 2019-02-20 14:50:57 +01:00
nathangray
eea03aa47c * Api - Fix redirect loop and use deep copy to keep initial nextmatch rows 2019-02-19 16:41:58 -07:00
nathangray
81ddb509a0 Etemplate - Fix initial nextmatch rows not sent to client 2019-02-15 11:53:21 -07:00
nathangray
38939f1f38 Improvements for entry widget for robustness, includes automatic server side tests. 2018-11-15 11:15:35 -07:00
Ralf Becker
60e953292a adding sel_options to etemplate2_before_exec hook (for policy) 2018-08-17 14:39:28 +02:00
nathangray
67d8166b27 Better way to handle an app having more than one etemplate2_before_exec hook - fixes collabora stopped working 2018-06-08 10:26:48 -06:00
nathangray
cc21c823dd Handle an app having more than one etemplate2_before_exec hook 2018-06-05 15:34:54 -06:00
Hadi Nategh
a4fdc052ab Filemanager "New" actions:
- Add "New" actions into nm header as drop down list
- Re-arrange actions in contextmenu
- Let Etemplate modifies sel_options if extra changes are available
2017-09-26 18:43:18 +02:00
nathangray
27fab7c259 Etemplate - keep child after instanciating 2017-09-08 12:43:28 -06:00
nathangray
c656d13a4c Silence log of validation errors 2017-09-08 09:00:37 -06:00
nathangray
b0cd55f0b6 Some more Etemplate tests 2017-08-24 08:48:07 -06:00
nathangray
2bfe829dd8 Fix calendar entries opened from mail using a link could not be edited 2017-07-27 13:28:37 -06:00
nathangray
9d1756e5d9 Basic Etemplate testing
Some simple exec / process round-trip tests
2017-04-21 12:17:59 -06:00
Hadi Nategh
2b0fecd8bd Return form including etemplate-data if the output_mode is set to 1 2017-03-15 16:55:24 +01:00
Ralf Becker
b6c5ad31db log menuaction of eT2 requests, instead of eT2 itself, to do so move update of access-log to destructor of Session class 2016-08-18 13:05:51 +02:00
Hadi Nategh
a64adb19e6 Fix app.js files included in wrong order 2016-08-16 11:13:11 +02:00
Ralf Becker
a90087b81c send page-generation- and session-restore-time via json response not as dom fragment 2016-07-14 14:55:57 +02: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
e87cbc4832 use static Hooks methods 2016-05-11 18:58:10 +00:00
Ralf Becker
5261404c53 remove accidently readded loading of no longer existing etemplate translations (moved to api) 2016-05-06 10:51:25 +00:00
Ralf Becker
4a128b913c if template-set does not supply (login_deny)login.tpl, use the ones from api/templates/default 2016-05-06 10:49:11 +00:00
Ralf Becker
683f09bf6c moving etemplate translations to api to allow installation without (old) etemplate, added debug GET parameter to lang.php to JSON pretty-print 2016-05-05 09:31:54 +00:00
Ralf Becker
9aac672e8f use Grunt&cssmin to minify CSS files, moved diverse conditional includes into etemplate2.css, as we anyway include all widgets from api 2016-04-30 09:29:54 +00:00
Ralf Becker
8c87cf9dfc move egw_framework to api and refactor it 2016-04-07 20:42:06 +00:00
Ralf Becker
2e3bd32721 moving all - non ancient ;-) - js files to api/js 2016-04-07 10:38:05 +00:00
Nathan Gray
9905a3f6bd Cache widget registry for an hour.
Fixes historylog not loading entries.
2016-03-21 17:08:17 +00:00
Nathan Gray
ca0a896fa3 Fix widget scan 2016-03-21 16:05:51 +00:00
Ralf Becker
4da844a70f move categories class to api 2016-03-20 13:41:33 +00:00
Ralf Becker
52a7f2198a move egw_json_(request|response|push) to api 2016-03-20 13:02:55 +00:00