Commit Graph

36890 Commits

Author SHA1 Message Date
nathan
73df101e8e Better tests & message for symlink test
no longer checking invalid (nlink = 2) or undefined (stat['url') things to see if it worked
2021-07-13 10:33:50 -06:00
nathan
4819afd2d3 Ignore phpunit result cache 2021-07-13 08:29:04 -06:00
Ralf Becker
6502eaeab8 got symlinks working for filesystem streamwrapper and fix one bug in Vfs with symlinks 2021-07-13 13:59:05 +02:00
Ralf Becker
c4c747899f nodejs 14.x is no longer needed, stock 12.x is enough 2021-07-13 08:34:35 +02:00
Ralf Becker
812d0d91c0 using sync versions to work with nodejs 12.x
nothing to gain from the async/promises version
2021-07-13 08:30:51 +02:00
Ralf Becker
1563337458 pending translations from our translation server 2021-07-12 08:15:16 +02:00
Ralf Becker
23dcf58137 remove not needed egw_dragdrop_dhtmlx_tree endpoint 2021-07-10 07:40:56 +02:00
Guy Bedford
a85335beaf build: fix node_modules resolution 2021-07-10 07:23:46 +02:00
Ralf Becker
d11cb4bb7e Adding carbon lit components tutorial
https://github.com/carbon-design-system/carbon-web-components#basic-usage
Thought Rollup gives following Babel error:
Error: Could not load /Volumes/htdocs/egw-test/node_modules/carbon-web-components/es/components/dropdown/@babel/runtime/helpers/esm/decorate.js (imported by node_modules/carbon-web-components/es/components/dropdown/dropdown-item.js): ENOENT: no such file or directory, open '/Volumes/htdocs/egw-test/node_modules/carbon-web-components/es/components/dropdown/@babel/runtime/helpers/esm/decorate.js'
2021-07-09 20:16:24 +02:00
nathan
e474333bc8 Get stylite gantt extra bits running 2021-07-09 11:56:06 -06:00
nathan
da1e7b9fee Implement symlink for filesystem StreamWrapper with test
Whether it works or not depends on filesystem though.
2021-07-09 09:47:23 -06:00
Ralf Becker
a5ad691757 deprecated egw.includeJS() in favor of es6 import statement
with egw composition happening in main window the used import statement happens in that context and NOT in the window (eg. popup or iframe) this module is instantiated for!
2021-07-09 17:27:22 +02:00
Ralf Becker
4f95ebb510 add a missing import 2021-07-09 14:50:15 +02:00
Ralf Becker
eef78fd58a change PHP version to 7.4 and build with nodejs 14.x 2021-07-09 14:23:58 +02:00
Ralf Becker
65502ace6e re-added daily cache-buster for app.js and removed explicit timepicker include causing a double include
(we still sometimes get a jQuery.datepicker is not defined, but it seems a timing issue and is NOT fixed by including it twice!)
2021-07-09 10:07:31 +02:00
Ralf Becker
fc0ad53916 defer first poll by 10 seconds, to speed up start race and make sure status app is loaded
(to not cause a double load of status app.js)
2021-07-09 08:36:13 +02:00
Ralf Becker
e03fb45b0e remove currently not supported/necessary development option debug_minify 2021-07-09 08:17:55 +02:00
Ralf Becker
edacfc12cb remove (unnecessary) double egw.min.js import 2021-07-09 08:15:17 +02:00
Ralf Becker
ff92db4e33 release session in non-json.php requests like lang.php, as it blocks parallel execution 2021-07-09 07:46:18 +02:00
nathan
4627b3b2b1 Remove VfsTest, no longer needed as test has been moved into StreamWrapperBase so it can be run on all StreamWrappers (a63b82d3) 2021-07-08 10:01:33 -06:00
Ralf Becker
5b8923f548 replace include of egw.js with egw_core.js, which provides the egw.extend
fixes the stray egw.js include
2021-07-08 17:04:48 +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
Hadi Nategh
2be47ffce2 Fix input field in sharing dialog doesn't get a fullwidth 2021-07-08 16:15:43 +02:00
Ralf Becker
29acd3ddc9 remove (unnecessary) import statements and fix url for notificationpopup 2021-07-08 16:09:21 +02:00
nathan
a63b82d34e Move symlink test into StreamWrapperBase so it can be run on all StreamWrappers 2021-07-07 15:57:40 -06:00
nathan
35dccf17ae Add missing cleanup of test files 2021-07-07 14:47:04 -06:00
nathan
2e597997e0 Fix wrong permission constant used, resulting in permissions when there shouldn't be 2021-07-07 14:42:10 -06:00
nathan
157926ab00 Better VFS test cleanup 2021-07-07 13:11:44 -06:00
Ralf Becker
a8ae92e1cc add cache-buster to framework bundle 2021-07-07 16:51:31 +02:00
Ralf Becker
b2a48fc942 fix vfs-select dialog destroyed et2 session of popup calling it
dialog set etemplate_exec_id of popup, to be able to submit to server, but must NOT destroy the et2 session when the dialog closes
et2_dialog now calls etemplate2.clear(true, true) to keep app-object AND et2 session
2021-07-07 16:29:04 +02:00
Hadi Nategh
052f5f23cc Remove framework object from import statement which would override the actual object 2021-07-07 12:31:11 +02:00
Ralf Becker
90f1d9ea37 always show deleted filter and set deleted status in calendar
see #29778
2021-07-07 11:21:45 +02:00
Ralf Becker
71ceb25157 change to egw.json to egw.request to fix sporadic error if other data is send back too 2021-07-07 10:33:12 +02:00
Ralf Becker
e8da7caa64 fix after rollup build popups need extra reload
caused by no longer necessary import of etemplate2 in egw.js, as Promise works and etemplate2 is global
2021-07-07 10:32:06 +02:00
Ralf Becker
cf101c8e13 fix not working nm_*_popup actions and others, see #60364 2021-07-07 09:30:29 +02:00
nathan
da3f8d8135 Fix symlink directory problem from 2a64e79 and add a unit test to avoid that in the future 2021-07-06 16:44:53 -06:00
nathangray
0904057714 Solve some calendar issues that were breaking add / edit
- Date widget did not find timepicker.formatTime() when it wanted it
- Faked parent widget was not a good enough fake, added better checking
2021-07-06 11:05:03 -06:00
Ralf Becker
b5015299ee add missing sprintf import 2021-07-06 16:41:23 +02:00
Ralf Becker
5505c9a314 make etemplate2 global, as we need it to check an app uses it and then call methods on it, fixes #60374 2021-07-06 16:00:10 +02:00
Hadi Nategh
81bc236045 Fix vfsSelectUI destroys et2 object after dialog being closed 2021-07-06 15:59:51 +02:00
Hadi Nategh
89695620bc Make sure et2 widgets are there before the container into vfsSelectUI app object 2021-07-06 15:50:49 +02:00
Hadi Nategh
70faf346e4 Fix error egw_keycode_translation_function is not defined 2021-07-06 14:53:56 +02:00
Ralf Becker
75fddd325b if value has already been set, re-set it by it's id(s), fixes #60304 2021-07-06 14:43:13 +02:00
Ralf Becker
51b0888b5d fix diverse calendar errors #60294
thought not sure how this is supposed to work in 21.1, both look like a general problem
2021-07-06 13:06:32 +02:00
Hadi Nategh
cbed97de6d Fix drag and drop actions not working 2021-07-06 12:41:16 +02:00
nathangray
b021767ac1 Make sure nested document actions open in new tab, same as others. 2021-07-05 09:46:00 -06:00
Guy Bedford
e742cce89e enable terser source maps 2021-07-05 17:35:44 +02:00
nathangray
451e4792ac Get calendar working with rollup
owner widget was not being loaded
2021-07-05 09:24:37 -06:00
Ralf Becker
dd020f6f4c using warning.toString() instead of warning message, giving eg. the file using this, while circular dependencies are displayed the same 2021-07-04 09:54:44 +02:00
Ralf Becker
1423616e00 remove some dead code and spelling fixes 2021-07-04 08:52:43 +02:00