Commit Graph

47 Commits

Author SHA1 Message Date
ralf
ac3c50adef new et2-vfs-name widget which does NOT allow to put (back)slashes in filenames
@nathangray client-side validation somehow does NOT work
2024-08-06 15:58:36 +02:00
nathan
8e4160c6c9 Remove old vfs select 2024-03-27 08:38:20 -06:00
nathan
d8d7560d12 Swap in vfsPath webComponent 2024-03-05 16:34:19 -07:00
nathan
288c0c39e9 Switch on new Et2VfsSelect widget(s)
includes mail
2024-02-12 10:32:28 -07:00
ralf
b1f7d01a71 fix invalid display for negative values (eg. showing growth/shrinkage) and preserve empty ("" or undefined), not show 0B 2024-02-11 13:56:53 +02:00
nathan
4856e97010 Fix vfsWidget sometimes gives "TypeError: Cannot read properties of null (reading 'get_value')"
It was trying to access template widgets before they had loaded.  Fixed to wait until load is done.
2023-12-13 11:09:22 -07:00
milan
5e3c67a5cf converted egw_action from javascript to typescript
classes are now uppercase and in their own files. lowercase classes are deprecated.
Interfaces are now actual interfaces that should be implemented instead of creating and returning an ai Object every time
2023-07-10 16:54:22 +02:00
nathan
4708c19665 Fix vfsSelectUI path closed dialog if you pressed enter 2023-04-06 16:14:09 -06:00
hadi
1aa0528642 Fix broken vfsPath widget 2023-03-30 16:04:52 +02:00
nathan
3f5cb42c96 Fix vfsUpload didn't open mail files 2023-01-18 13:07:04 -07:00
nathan
dd39305443 Fix VFS upload couldn't show newly uploaded files 2022-12-08 15:01:25 -07:00
nathan
691928a54c Fix attachments not displayed in tracker comments 2022-12-08 11:39:00 -07:00
ralf
05b316f7ff move egw_get_file_editor_prefered_mimes() to egw.file_editor_prefered_mimes() as everything in old jsapi.js is deprecated and should be removed
.
2022-10-18 08:30:15 +02:00
ralf
2a8aa8e7ae some fixes for vfsSearchUI 2022-08-15 17:38:56 +02:00
nathan
6c315301aa Get link-to buttons looking better by switching to et2-button 2022-07-20 11:27:18 -06:00
Hadi Nategh
eecc093ce3 Fix styling for Vfs select dialog 2022-07-11 12:44:09 +02:00
ralf
ac5932240b remove old expose view / blueimp gallery and all widgets which have been using them:
- new web-components are unconditionally replacing them via the preprocessor
- some widgets (eg. et2_description) could not be removed as other legacy widgets are extending them, but they are no longer registered
- as there are many places using et2_createWidget('description', ...), et2_description returns now web-components for no longer existing widgets
2022-05-13 11:59:13 +02:00
ralf
21def67f83 fixed a couple more calls to egw.link_title() without 3rd parameter 2022-05-02 11:43:51 +02:00
ralf
b2a85e68b8 fix vfs-path widget to correctly deal with smallPART paths (hierarchical structure inside entry directory) 2022-04-01 21:00:45 +03:00
nathan
f714729c26 Dialog / button fixes
- Fix vfsSelect did not close (seen in collabora save as)
- Turn off destroy_on_close, vfsSelect was destroying opening session (seen in mail compose 404)
- Add doSubmit property to Et2Button, dialog no longer gives error on every button click
2022-03-25 09:55:02 -06:00
nathan
21da0b067a Get vfsSelect dialog working again 2022-03-24 13:01:41 -06:00
Hadi Nategh
f4e877bcdf Adapt vfs dialogs with new Et2Dialog widget 2022-03-22 12:50:42 +01:00
Hadi Nategh
2e5c433ab9 Add a boolean listonly option to vfs-upload widget in order to render only the file list 2022-02-03 15:56:03 +01: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
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
Ralf Becker
23844e01df fix wrong import 2021-06-14 14:48:05 +02:00
Hadi Nategh
9ea598070e Get vfs and expose working 2021-06-10 15:52:00 +02:00
Ralf Becker
304dbb95ab got empty nextmatch in timesheet working 2021-06-08 14:11:59 +02:00
Ralf Becker
f91bca83e1 got et2 mostly working: timesheet.edit renders 2021-06-07 17:33:53 +02:00
Hadi Nategh
47c7570862 Prevent vfs select dialog destroying session becuase of not being able to find the right app name (eg. admin mail account where app is different than current app) 2021-05-05 16:51:19 +02:00
nathangray
6af3e37bed * Etemplate: Add context menu action on linked files to copy them somewhere else
Also, update vfsSelect to use request(), so it processes the additional stuff in response so we can have a success message.
2020-12-21 13:53:24 -07:00
Hadi Nategh
5288e3a0fd Make sure sender object is there before using it 2020-10-19 16:06:22 +02:00
nathangray
510a6419c5 Etemplate: Avoid error if file_data.mime is false for some reason
(file missing)
2020-07-10 11:11:05 -06:00
nathangray
4c7709d49f Etemplate: Get vfsUpload values to use expose so they work like links 2020-07-03 14:23:41 -06:00
nathangray
a993938134 Etemplate: Fix VFS & file widgets were not properly handling files 2020-06-10 10:20:30 -06:00
nathangray
821c8474c5 Fix link from VFS dialog did not open 2020-04-14 14:13:36 -06:00
nathangray
eda34d67b3 Fix some typescript bugs
- Don't default dialog width so the automatic calculations run
- Setting etemplate_exec_id after load doesn't work, moved to passing it in.  Fixes several file select issues
2020-04-09 14:26:57 -06:00
nathangray
1da1cb7b99 Fix legacy options not being read for some widgets 2020-03-30 10:28:48 -06:00
nathangray
22f498d6e2 Try to fix navigation issues in file select popup 2020-03-25 13:48:04 -06:00
nathangray
5af17679f3 Fix some missed free() calls 2020-03-16 14:27:57 -06:00
Hadi Nategh
a79280e78c Fix error egw_keymanager_js_1.egw_keyHandler is not a function 2020-03-05 14:53:50 +01:00
Hadi Nategh
e48000d149 Convert vfsSelectUI to TS 2020-02-26 12:19:17 +01:00
Hadi Nategh
b7403af93f Fix expose class and its derived widgets 2020-02-20 17:46:53 +01:00
Hadi Nategh
9a4f2d1e69 Convert expose to TS and apply it to all exposable widgets 2020-02-19 17:14:44 +01:00
Hadi Nategh
0def94240f Fixes some errors in vfs widget 2020-02-13 10:39:13 +01:00
Hadi Nategh
d88854b467 Convert et2_widget_file, et2_widget_vfs and fixes couple of definitions in other widgets 2020-02-07 17:41:51 +01:00