Ralf Becker
a467bab01f
return hashed appName of opened tab eg. to set notifcation counter
2021-03-02 21:00:59 +02:00
Ralf Becker
7a060b205b
not overwriting call and apply method of egw function/object using callFunc and applyFunc instead, fixes several problems
2021-03-02 12:16:47 +02:00
Ralf Becker
9691a14279
interface for nm getValue() and activeFilters
2021-03-01 23:08:13 +02:00
Hadi Nategh
96c0f54581
Fix extra tabs opened not keeping their orders after reload
2021-03-01 17:30:33 +01:00
Ralf Becker
dc6f937f02
reverting using app from parameter object
2021-03-01 13:41:27 +02:00
Ralf Becker
e36c6c4cec
move global et2_call function to egw.call and egw.apply methods, ensuring app.js is loaded, if not yet loaded, also using that as apply plugin for egw.json
2021-03-01 11:50:41 +02:00
nathangray
9128d15bb2
Etemplate: Fix some load bugs
...
- tabs got doLoadingFinished() multiple times if tablist was modified by data
- selectbox with cached options did not load correctly first time
2021-02-26 15:22:47 -07:00
Hadi Nategh
e5ea49a565
Fix youtube video autoplays itself after being seekTo on initiation.
2021-02-26 13:17:54 +01:00
Hadi Nategh
925285d370
Fix youtube video not being played for after initiation
2021-02-26 10:16:12 +01:00
nathangray
1eb174d3f7
For push update filter, consider empty array as having no value
2021-02-25 13:59:32 -07:00
nathangray
158e65fc90
Take contact shares into account for push ACL checks
2021-02-25 09:11:39 -07:00
Hadi Nategh
1f41bba904
Fix youtube API loading player after initiation
2021-02-25 13:51:20 +01:00
Hadi Nategh
2d4b0b8259
Fetch youtube videoid from url
2021-02-25 11:19:26 +01:00
nathangray
3c72462b5e
Enable push for addressbook
...
Refactor EgwApp.push() to cover more common stuff for simpler app code
2021-02-24 09:18:42 -07:00
Hadi Nategh
2a2f0bf390
Keep darkmode state in serverside session too. Fix darkmode state in egroupware iframes.
2021-02-24 12:22:27 +01:00
Ralf Becker
cf9e3ae4e1
WIP to display calls in calendar
2021-02-23 00:16:51 +02:00
Ralf Becker
907b33454a
date-duration select_unit=false must show full value for highest display unit, not just the remainer
...
value=3600 with display_format=m:s must show "60:00" not "00:00"
2021-02-22 10:52:15 +02:00
Hadi Nategh
1501df227a
WIP integrating youtube video:
...
- fix ontimeupdate event
- fix currentTime for youtube type
- fix not working play_video
- fix video not getting a fullwidth
2021-02-16 18:00:46 +01:00
Hadi Nategh
f5e165a07a
WIP integrating youtube video frame api into video widget
2021-02-15 16:58:19 +01:00
Hadi Nategh
390c715508
Encapsulate html video properties
2021-02-15 12:24:33 +01:00
Hadi Nategh
dc2f80c39c
Some TypeScript definitions
2021-02-10 14:12:27 +01:00
Ralf Becker
df2a426e08
fix not working onchange on all inputs of date-duration select_unit="false"
2021-02-09 15:51:10 +02:00
nathangray
0d7a4bb848
Etemplate: Fix rows actions didn't work after dragging file from system onto row
2021-02-08 14:44:55 -07:00
Ralf Becker
04f4a327c2
implement date-duration select_unit="false" to show durations like "0:01:20"
2021-02-05 15:57:59 +02:00
Hadi Nategh
62951986ae
Add break_title option for link widget in order to be able to break link's title into new line based on a given delimiter
2021-02-03 14:14:22 +01:00
Hadi Nategh
8f28533288
Set initial startitme after the video is loaded
2021-02-02 12:35:28 +01:00
Ralf Becker
bbd9a5a765
allow to set starttime of video
2021-02-02 12:02:52 +02:00
nathangray
a412aa18a4
Etemplate: Export et2_appicon
2021-02-01 16:54:20 -07:00
nathangray
6ab0ad934b
Etemplate: Fix tree default icons path was still in phpgwapi
2021-02-01 16:40:10 -07:00
Ralf Becker
2af199f725
new precision option to limit number of counters shown
2021-01-29 20:35:00 +02:00
Ralf Becker
15c72f284f
change client-side to only deal with a duration converted server-side from an end-datetime or a duration like "+123seconds"
2021-01-28 19:53:14 +02:00
Ralf Becker
5b4a436ab3
countdown: convert datetime server-side into a duration to avoid problems with wrong time or timezone on client
2021-01-28 16:02:38 +02:00
Ralf Becker
69b33e9288
make countdown a value-widget to get automatic timezone handling by date widgets beforeSendToClient method
2021-01-28 12:08:29 +02:00
Hadi Nategh
b9570b9b60
Some fixes for darkmode:
...
- Fix darkmode not switched in popups
- Fix a quick white page shown before switching to darkmode when it's set to 'auto'
2021-01-27 12:26:37 +01:00
nathangray
e980f3a851
Etemplate: if readonly radiobox has the default ro_true=X, we still need the label
2021-01-26 13:09:39 -07:00
nathangray
867fcc17c6
Etemplate: Allow to specify the read only true/false values for checkbox customfields
2021-01-26 10:42:18 -07:00
Hadi Nategh
dad82bf1f1
Implement auto color-scheme in order to respect browser's selected prefers-color-scheme
2021-01-26 17:04:37 +01:00
Ralf Becker
8425f380fe
some fixes for int/float widget: server-side was not expanding min/max attribute and client-side considers empty min/max attr as 0
2021-01-22 17:24:55 +02:00
Hadi Nategh
4e95ac86a8
Add some jquery dialog options
2021-01-14 16:57:28 +01:00
nathangray
208817054b
* Etemplate: Avoid "Uncaught TypeError: Cannot read property ‘length’ of undefined"
...
This was happening when an app was open but not currently active and had a push update with no type.
2021-01-13 09:08:53 -07:00
Hadi Nategh
a777610c2d
Fix htmlarea resize
2021-01-07 11:46:09 +01:00
Hadi Nategh
85b14052ea
Make blockquotes breakable in html editor
2021-01-06 14:06:21 +01:00
nathangray
cf9c366d2b
Etemplate: Bugfixes
...
- Early exit for arrayMgr().getEntry() if nothing is found, avoids returning all data
- Remove debugger from selectbox
2021-01-04 11:00:10 -07:00
nathangray
5c10576b3b
Don't event set sort order if it hasn't changed
2021-01-04 09:43:54 -07: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
nathangray
5b5539584a
Etemplate: Fix tooltip didn't work on select+tag widget
2020-12-21 10:04:24 -07:00
nathangray
8910983c8e
Etemplate: Fix for some attributes not getting set
2020-12-17 09:17:38 -07:00
Hadi Nategh
f21ac58c87
Introduce dark/light mode theme switch into framework
2020-12-15 20:24:25 +01:00
nathangray
c301c1b194
Etemplate: Fix read-only selectAccount would always add new values causing doubles
2020-12-15 09:41:02 -07:00
Alexandros Sigalas
2a333be92d
Added tooltip in multiselect selectbox widget
2020-12-10 08:55:05 -07:00
Hadi Nategh
cde6c10e05
Add Segoe font family into HTMLEditor
2020-12-09 13:17:37 +01:00
Hadi Nategh
e317645291
* Addressbook: fix 'undefined' title shown for some contact links opened in CRM view tabs
2020-12-03 18:19:25 +01:00
Hadi Nategh
d957ed41d0
Implement an alarm callback for countdown widget
2020-12-02 16:54:50 +01:00
Hadi Nategh
bd8a78505b
Add new option to countdown widget inorder to hide empty values
2020-11-30 14:35:28 +01:00
nathangray
3e371ea51f
Etemplate: Don't try to expand src if it is empty
2020-11-24 10:24:36 -07:00
Hadi Nategh
54eb66fd30
Add onFinish callback to countdown widget and style it
2020-11-24 13:46:05 +01:00
Hadi Nategh
65b24440a0
Implement widget countdown timer
2020-11-23 21:11:19 +01:00
nathangray
522fca6344
Etemplate: Apply sort order (to UI) if server sends it
2020-11-23 10:19:11 -07:00
nathangray
9bc4c41941
Api: Clear sorting with 'No filters' favorite
2020-11-16 10:57:04 -07:00
Hadi Nategh
09c0d12f0e
Fix error trim is not a function from commit bac5c2e83b
2020-11-13 13:50:53 +01:00
nathangray
bac5c2e83b
Etemplate: If key is empty / not set, don't try to explode it
2020-11-12 16:29:57 -07:00
nathangray
eb7a03b191
Etemplate: Limit sortable to just the grid's immediate rows, excluding rows in nested grids
2020-11-10 13:41:24 -07:00
nathangray
1ba23feb9c
Etemplate: Fix nextmatch controller destroy() left some references
...
AJAX responses would then try to use them after the etemplate was destroyed, and fail.
2020-11-09 09:44:40 -07:00
Hadi Nategh
e549b6fcd9
Use replace() instead of replaceAll() as it's not supported in older browser versions
2020-11-09 11:10:18 +01:00
nathangray
8b28d8ffd0
Etemplate: Include etemplate exec_id as sortable parameter
2020-11-04 15:15:31 -07:00
Hadi Nategh
f064ff8242
Make sure the params exists before addressing it
2020-11-03 11:47:26 +01:00
Hadi Nategh
e34e18757e
Purify framework tab appname used as dom id
2020-11-02 17:38:35 +01:00
Hadi Nategh
082d7fddad
Remove closed tabs from the client-side session
2020-11-02 13:12:43 +01:00
Hadi Nategh
0d68c751bf
Keep the open crm view tabs after reload
2020-11-02 12:50:39 +01:00
Ralf Becker
e98e91b9f3
give explicit select-options priority over querying accounts via link-widget, fixes not displayed addressbook for sharing
2020-11-02 09:09:46 +01:00
Hadi Nategh
b0e2e1f1be
Open crm view for contact link
2020-10-29 11:47:29 +01:00
Ralf Becker
9021220f14
only return "" for blur-value, if browser does not support html5 placeholder
2020-10-29 11:00:45 +01:00
Ralf Becker
47da0f9bf8
* Addressbook: allow to configure sending fax via email by replacing the number with an email address
2020-10-28 13:30:28 +01:00
nathangray
bf615644d4
Api: Add egw.request() into egw_global.d.ts
2020-10-27 16:17:32 -06:00
nathangray
7cfbf133cd
Etemplate: Also expand grids if they're inside a box
2020-10-27 16:17:04 -06:00
Ralf Becker
086771ee66
try to fix race-condition in reconnecting a "lost" websocket connection
2020-10-27 14:19:25 +01:00
Ralf Becker
82d7a103a9
try to fix race-condition in reconnecting a "lost" websocket connection
2020-10-27 14:16:11 +01:00
Hadi Nategh
321aebf199
Fix type error not finding app object
2020-10-23 11:11:42 +02:00
nathangray
d16b91c901
Etemplate: Queue refresh() calls made while nextmatch is hidden.
...
Queue is limited in length, after too many refresh() calls, we throw away the queue and refresh the whole thing when nextmatch is visible again.
2020-10-22 15:53:59 -06:00
nathangray
3b90e1a50d
Etemplate: Fix auto-refresh mixed up new rows
2020-10-22 13:40:38 -06:00
Hadi Nategh
7d1cd4c12c
WIP Multitabs:
...
- Fix wrong ids generated for sideboxes
- Fix tab header refresh
2020-10-22 13:52:17 +02:00
Ralf Becker
765b545697
* SmallPART: fix not working LTI launch after last maintenance release
...
checking if we are about to load required files, before redirecting to cd=popup to load them
2020-10-22 10:00:27 +02:00
Hadi Nategh
d4d63d382e
Fix error message still remains even after connection is up again
2020-10-21 11:54:45 +02:00
nathangray
5bf4d4866f
WIP on sharing prompt to ask about mounting new share
2020-10-20 16:47:26 -06:00
Hadi Nategh
c2ca23a071
Do not create application object if already exists simply open the tab
2020-10-20 17:28:14 +02:00
Hadi Nategh
a8c136f1cc
No longer need to send ajax=true at the end of url
2020-10-20 16:04:32 +02:00
nathangray
d1955419ee
Etemplate: Fix flipping between 2 nextmatch filter values stopped updating results after 2 changes
2020-10-19 13:17:09 -06:00
Hadi Nategh
5288e3a0fd
Make sure sender object is there before using it
2020-10-19 16:06:22 +02:00
Ralf Becker
09f95a8e78
manifest scope need a tailing slash eg. "/egroupware/"
2020-10-19 13:42:45 +02:00
Hadi Nategh
644feaffa4
* Filemanager: fix drag and drop a file no longer working from outside of browser into the list
2020-10-19 12:54:16 +02:00
Ralf Becker
fa98eb1071
fix a couple of errors stalling file uploades
2020-10-19 11:45:49 +02:00
Ralf Becker
910329c2e7
* Rocket.Chat: fix not working login with newer desktop clients
...
there were two problems:
1. Whatever URL you specify, the client removes the path and queries just /, our index.php now detects Rocket.Chat User-Agent header and redirects to /rocketchat/ in that case
2. our manifest.json an webworker registration was not using the individual webserver-URL but as static path
2020-10-19 10:30:08 +02:00
nathangray
38ff63f778
Api: New JavaScript API method egw.request(menuaction : string, parameters : any[]) : Promise
...
Does an AJAX request, and resolves the returned Promise with just the data (no piggybacks) when it arrives from the server. Any registered data handlers are run before resolving the Promise.
2020-10-16 10:33:13 -06:00
Ralf Becker
83eabe4d8e
login page does NOT need client-side api and redirect with cd=popup shows as message
2020-10-16 09:45:30 +02:00
nathangray
c78c8cc215
Etemplate: Make sure controller has current filters when created. Fixes scrolling to trigger fetching more rows did not pass initial filters.
2020-10-15 14:56:23 -06:00
nathangray
0df6306dc2
Etemplate: Fix multi-select / tags value sometimes got lost if we had to fetch options from the server
2020-10-15 11:22:45 -06:00
Ralf Becker
1ef16c9c55
closing websocket explicit, before reopening it, to not end up with multiple connections and doublicated messages
2020-10-15 18:17:31 +02:00
nathangray
758934c1e4
Etemplate: Fix printing ruined scrolling in nextmatch
2020-10-15 10:11:24 -06:00
Ralf Becker
663816769e
fix TypeError this.openWebSocket() is not a function
2020-10-14 22:28:32 +02:00
Ralf Becker
313a378539
* Swoolepush: periodically pinging server from browser to detect lost websocket connection and reconnect
2020-10-14 20:16:13 +02:00