Commit Graph

68 Commits

Author SHA1 Message Date
nathan
8d0b1b0234 Fix gantt chart couldn't load data
broken by 2066523.
Loading caused 'Exception "t is undefined" while handling JSON response from ....' deep inside dhtmlx-gantt
2023-02-28 13:02:56 -07:00
nathan
0117c4bde3 Move client-side holidays cache to MODULE_GLOBAL egw.holidays(year) 2023-02-27 15:15:36 -07:00
nathan
206652307b Et2Date fixes
- Fix mobile get / set value was not actually setting value properly
- Set a minimum input width
2023-02-24 11:58:16 -07:00
nathan
4322937ea7 Et2Date: Add widget classes to flatpicker popup 2023-02-09 14:47:43 -07:00
nathan
32dd160e35 Et2Date: Add placement property to control where calendar popup opens. "top", "bottom", or "auto" 2023-02-08 14:36:09 -07:00
nathan
15f986cf1a Get Et2Date & Et2DateTime tests passing again 2023-02-01 09:46:00 -07:00
nathan
0b15ede568 Et2Date: Fire change event when a new date is selected
Fixes nm date filters not filtering
2023-01-30 16:10:49 -07:00
nathan
38b507dcd1 Et2Date: Stop required validation showing on initial load even with a value 2023-01-17 10:52:02 -07:00
nathan
1a969c4cfc Et2Date: Fix validation message display
Required validation was incorrectly displayed / not hidden
2023-01-13 08:40:21 -07:00
nathan
40278c8827 Get our WebComponent tests running again
Made a lot of "failed to construct htmlelement" errors go away, avoid a bunch of egwIsMobile is undefined errors
2023-01-04 12:01:09 -07:00
nathan
098fe647dc Start on converting date range to webcomponent 2022-12-20 14:05:20 -07:00
nathan
fd8f688e8b Avoid error if input node isn't created yet 2022-11-18 13:59:20 -07:00
nathan
6764ef979b Et2Date: Use regular inputs for mobile 2022-11-01 10:34:52 -06:00
nathan
e5a88c35f5 Fix date duration label always showed above the input, never to the left 2022-10-28 11:48:42 -06:00
nathan
19bbea7aca Et2Date: Add up/down buttons on hover to adjust value without opening popup
Buttons adjust by day or minuteIncrement.  Minute values are now always rounded to multiples of minuteIncrement, unless freeMinuteEntries=true (or minuteIncrement=1)
2022-10-20 15:27:24 -06:00
nathan
5f3570768d Et2Date: Add "Ok" button to close calendar popup 2022-10-18 09:08:53 -06:00
nathan
c52ac8fbdc Et2DateTime: Limit minutes to multiples of 5 2022-10-14 11:18:17 -06:00
nathan
dcc6d1eb83 Et2Date: change "Today" button label to "Now" for widgets with time (Et2DateTime, Et2Timeonly, etc.) 2022-10-14 10:05:59 -06:00
nathan
2cb826e268 Et2Date: changes directly in the input field will now update popup & the value when blurred 2022-10-14 09:32:59 -06:00
nathan
0a745299ce Get flatpickr popup working along with LionDialog 2022-10-05 16:22:32 -06:00
ralf
96e2b495e1 pass placeholder attribute to et2-textbox 2022-10-04 13:46:15 +02:00
nathan
e03fea2e9b Et2Date: Fix required validation message was always shown after changing a required date
Some missed changes after moving from Lion
2022-09-20 10:44:28 -06:00
nathan
662ea62790 Calendar: remove most sidebox date customisations
Now using regular calendar header.  "Go" button and custom header styles removed. Changing the date in sidebox calendar immediately updates state.
2022-09-12 15:35:24 -06:00
nathan
7f94b3ae6c Et2Date: Add "Today" button 2022-09-06 11:32:25 -06:00
nathan
33dcbc218f Revert "Calendar: Fix some kanban listen problems"
This reverts commit 59e64cd908.
2022-08-25 10:16:05 -06:00
nathan
59e64cd908 Calendar: Fix some kanban listen problems
- Status filter isn't really applicable
- Priority was missing its options
2022-08-25 10:13:32 -06:00
ralf
8b45483c68 fix not working "use enddate" in edit or quickadd
also fix not displayed month in header and add translation of month or week-day names
2022-08-12 11:38:15 +02:00
nathan
17012f6f25 Fix some readonly / readOnly bugs that snuck in when textbox was converted from Lion to Shoelace 2022-07-26 13:56:17 -06:00
nathan
66164ad2eb Fix disabled widgets returning a value
Fixes calendar event created via quick add, duration is wrong
2022-07-25 13:32:06 -06:00
nathan
a0467b2e55 Fix JS error about can't find input box from init() 2022-07-22 08:42:35 -06:00
ralf
b8ffa91efe use et2-textbox instead of an input for et2-date* to inherit SL styling 2022-07-22 15:45:47 +02:00
nathan
ec608e905a Fix some JS tests
- Description tests were not updated after description moved from shadowDOM to lightDOM
- Missing egw caused errors
2022-06-07 16:39:04 -06:00
nathan
cff1671f6f Et2Date: Handle formatting full month d-M-Y
Maybe we just pass all formatting off to flatpickr?
2022-05-02 17:10:07 -06:00
nathan
b0a57a05fd Calendar refactors:
- Remove some more jQueryUI.datepicker usages
2022-05-02 15:23:03 -06:00
nathan
b44f4ea30d Move holidays to its own file, show holidays in all date selection calendars 2022-04-29 14:37:52 -06:00
ralf
baf07a4a2c only load localization, if we have one 2022-04-29 17:40:43 +02:00
nathan
e5f238584e Et2Date: Avoid error localizing English 2022-04-29 09:14:51 -06:00
nathan
63b2755dbf Et2Date: Add localization 2022-04-28 15:46:39 -06:00
nathan
0017b78b53 Et2Date: Add support for inline dates & passing a format to parseDate 2022-04-26 15:24:58 -06:00
ralf
ee36e83cbb fix Et2Date.set_value('') did not clear 2022-03-16 23:21:15 +02:00
nathan
d0926226cd Fix set_min() & set_max() for Date 2022-03-07 14:33:09 -07:00
nathan
734401c6cd Get Date widget to use slots for better styling, also fixes re-initializing when not needed 2022-03-07 13:33:13 -07:00
nathan
1671e69603 Fix required dates gave missing error even if they had a value 2022-03-07 09:14:15 -07:00
nathan
aa2dc5c8f0 Maybe stop the disconnected month selectboxes? 2022-03-04 15:42:27 -07:00
nathan
0e4d32ea20 Get some neglected tests working again 2022-03-04 15:37:22 -07:00
ralf
ac408f4eef Change handler setting modelValue for validation
setting it in getValue() alone does not remove validation message direct after entering a date
2022-03-01 16:09:27 +02:00
nathan
5406704c74 Add set_min() & set_max() 2022-02-28 14:06:37 -07:00
nathan
30ddeb79b0 Add missing change listener 2022-02-28 13:45:47 -07:00
nathan
e166211a66 Fix required dates always failed as empty 2022-02-25 11:29:36 -07:00
nathan
d9e95dae87 Get needed attribute working
Will cancel submit, shows validation message
2022-02-24 15:53:40 -07:00