Commit Graph

144 Commits

Author SHA1 Message Date
Ralf Becker
32043f7a41 trigger full refresh / applyFilters, if app refresh_add returns false 2020-07-22 16:58:40 +02:00
nathangray
f0b924008b Etemplate: Add a callback so apps can decide where to put new push rows 2020-07-21 15:32:22 -06:00
nathangray
69420c19ad Api: Handle add push messages in the nextmatch list 2020-07-20 13:43:26 -06:00
nathangray
10846271f1 Close confirm improvements & fixes
- nextmatch is now always not dirty
- Logging the dirty widgets to console
- Fix searchbox did not fully doLoadingFinished()
2020-06-29 11:55:35 -06:00
nathangray
03a5620ea9 Api: Fix nm columns disabled via content could break subsequent columns, giving JS error
"Uncaught TypeError: Cannot read property 'getAttribute' of undefined"
2020-06-09 13:56:52 -06:00
nathangray
82215f292d Api: Fix some favorite widget bugs
- Infolog preferred favorite was not loaded
- Fixed vertical alignment of widget 'Add current' icon
2020-05-22 10:50:58 -06:00
nathangray
bac1ff5a1d Port b6020ad from asig2016 to master 2020-04-09 12:39:16 -06:00
nathangray
abdffc12a0 Fix typescript conversion bug breaking mobile list view 2020-04-01 13:46:05 -04:00
nathangray
3350f3a024 Some fixes for tile view after Typescript conversion 2020-03-23 10:05:46 -06:00
nathangray
c04915ae09 Etemplate: Fix nextmatch printing failed after TypeScript conversion 2020-03-18 10:36:14 -06:00
nathangray
5af17679f3 Fix some missed free() calls 2020-03-16 14:27:57 -06:00
nathangray
298d0618e6 Etemplate: Add 3 minute nextmatch refresh option 2020-03-13 11:49:36 -06:00
nathangray
b8c6d52d29 Merge feature/improve_nm_performance changes in 2020-03-11 10:56:51 -06:00
Hadi Nategh
b47a0917d2 Add getController method to get access to nm controller object 2020-02-28 14:45:58 +01:00
nathangray
6857c42091 Convert dynheight to typescript 2020-02-12 14:49:22 -07:00
nathangray
7a79bfad93 Make cf prefix a proper constant 2020-02-12 11:32:29 -07:00
nathangray
c3350c8114 Get nextmatch-customfields working 2020-02-12 11:16:34 -07:00
nathangray
8eebea528d Code style improvements 2020-02-11 11:32:50 -07:00
nathangray
6c0102e7e7 Fix nextmatch column select dialog 2020-02-10 16:00:14 -07:00
nathangray
8dc41fd07a Get nextmatch-entryheader working 2020-02-05 13:48:50 -07:00
nathangray
e0bc769315 - Fix attribute inheritance didn't work properly
- Get nextmatch filterheader working
2020-02-04 16:07:50 -07:00
nathangray
3f8bd1b494 Get nextmatch rendering, sort of 2020-01-31 13:07:27 -07:00
nathangray
49f3014037 Work on getting nextmatch loading 2020-01-29 16:05:01 -07:00
nathangray
b6e87f0887 Fix namespaces were not processed 2020-01-29 14:29:06 -07:00
nathangray
6094cdd822 Get less errors for nextmatch 2020-01-29 15:12:44 +01:00
nathangray
97337b6729 Get at least the nm header showing up 2020-01-29 15:12:44 +01:00
nathangray
28ad7abe97 Work on getting nextmatch going 2020-01-29 15:12:44 +01:00
nathangray
3258121a15 Api: Fix some nextmatch bugs
- default columns were not properly used if there was no user preference found
- negated column preference caused problems with column order
- missing data for sorting if no column preference set yet
2020-01-07 14:37:22 -07:00
Hadi Nategh
f5ed503502 Attach relative icons with buttons used in col-selector dialog 2020-01-06 16:07:23 +01:00
nathangray
673327da1e Revert "Api: Nextmatch - Do not generate DOM nodes for hidden columns"
This reverts commit 0f3a1660ff.
2019-12-04 09:49:21 -07:00
nathangray
0f3a1660ff Api: Nextmatch - Do not generate DOM nodes for hidden columns 2019-11-26 11:59:37 -07:00
Hadi Nategh
3c374f7803 Fix scrolling a sorting item breaks the sorting in colSelector dialog 2019-11-25 13:37:24 +01:00
Hadi Nategh
3714cbbdf2 Set a max-height to column-selector list 2019-11-20 12:37:58 +01:00
Hadi Nategh
fb20fe69dd WIP nextmatch column sorting UI:
- Give the dialog a new look
2019-11-06 16:07:48 +01:00
Hadi Nategh
2f5fa5def3 WIP nextmatch column sorting UI:
- Apply user preference after sorting saved
2019-11-06 15:12:14 +01:00
Hadi Nategh
68f7e84fa3 WIP nextmatch column sorting UI 2019-11-05 16:22:49 +01:00
nathangray
ca76e377cd Etemplate - avoid JS errors if unloading a nextmatch that didn't get properly initialized.
This can happen if the nm is set disabled via server-side modification
2019-09-16 09:46:57 -06:00
Hadi Nategh
d5b8242b19 Merge branch 'changable_column_order' 2019-07-22 11:55:15 +02:00
nathangray
f5b1b68e20 Fix missing translation on combined column titles 2019-06-05 09:15:40 -06:00
nathangray
afd1923851 Avoid error if dataStorePrefix & get_rows are not set 2019-04-17 11:34:38 -06:00
nathangray
5ca06d432d Break print dialog creation out into its own function 2019-04-05 10:21:41 -06:00
nathangray
b21b905cb4 If nextmatch is on a tab, add the tab name to the print column selection dialog 2019-04-03 15:13:19 -06:00
nathangray
bec4eb8cf1 Better way to avoid JS errors if nextmatch is disabled 2019-04-01 16:49:28 -06:00
nathangray
eb45eea505 Avoid JS errors if nextmatch is disabled 2019-04-01 16:30:53 -06:00
nathangray
b7605e2b3b Get nextmatch to render a little more nicely on a tab when it's not on the first tab 2019-04-01 16:08:39 -06:00
nathangray
1b8ce9ac33 Get nextmatch to render a little more nicely on a tab 2019-04-01 11:34:23 -06:00
Ralf Becker
f9429b7c86 restyle lettersearch: margin to column-headers and lighter border 2019-03-29 10:56:56 +01:00
Ralf Becker
fa8ee606b3 WIP admin history: using eTemplate tree instead of regexp to parse labels and selectbox values 2019-03-19 15:34:44 +01:00
Hadi Nategh
3304322c6c Revert commit 39135d8d42 and use nextmatch-customfilter instead 2019-03-14 09:51:30 +01:00
Hadi Nategh
39135d8d42 Fix Application column selection for admin queue and history 2019-03-13 10:55:48 +01:00
Ralf Becker
e313d24f99 fix old (phpgwapi) image for default export 2019-03-04 13:07:31 +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
nathangray
d28c63c12e Sort nextmatch columns according to order of column selection preference 2019-02-07 15:48:34 -07:00
Hadi Nategh
7f57a4f4aa W.I.P of cats, versions or trackers categories color code 2019-02-06 18:39:24 +01:00
nathangray
4bafc12326 Remove doubled taglist header 2018-09-13 11:17:30 -06:00
nathangray
d5e0bc1615 * Addressbook - Fix bug preventing turning off letter filter after some actions 2018-07-18 13:43:32 -06:00
nathangray
658e84e59f Fix bug where nextmatch selection manager was holding onto selected rows 2018-07-16 16:17:36 -06:00
Ralf Becker
65e7c7be78 make NM lettersearch lettes translatable via phrase "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 2018-01-24 10:08:55 +01:00
nathangray
331364810b Fix nextmatch returned null for getDOMNode() if no sender provided
This caused it to appear hidden to etemplate print()
2017-11-07 09:01:31 -07:00
Hadi Nategh
edf6e16996 * Addressbook: Add searching feature for distribution list filter 2017-09-26 16:57:45 +02:00
Hadi Nategh
c1950b4b1c Make path and up button always available in filemanager mobile theme 2017-02-01 13:17:39 +01:00
nathangray
4cd8b3ee08 Fix for selecbox change event not being bound in some cases (see a81fe4f, 768b6ae) 2017-01-30 09:06:42 -07:00
Ralf Becker
a81fe4f82a partial revert of 768b6ae, as filter, filter2 and cat get lost when changing a column filter 2017-01-30 09:59:56 +01:00
nathangray
8de5542803 Fix nextmatch category, filter & filter2 selectboxes did not listen for custom change return value to cancel server call 2017-01-24 08:41:05 -07:00
nathangray
fbba0f2e59 - Fix a bug in print dialog, clicking header was also toggling first checkbox
- Missing translations from Stefan Unverricht
2016-12-06 09:45:55 -07:00
Hadi Nategh
8da2404279 Mobile template:
- Show fav icon when it's available
- Fix delete_action does not get removed after the row is deleted or deselected
- Fix some alignments for mail list header
2016-09-19 12:23:16 +02:00
Hadi Nategh
69604cb633 Another try to fix base_url for print_dialog template. Seems it's necessary to keep the template_base_url untocued, because template_base_url gets calculated everytime when an et2 instance loads a template. 2016-09-15 11:50:18 +02:00
Hadi Nategh
16992899d4 Let egw.link takes care of the base url. Fix sometimes nm_print_dialog template runs into CSP error 2016-09-14 15:09:32 +02:00
Ralf Becker
845f9aee36 fix CSP error in nextmatch print, if EGroupware is installed direct into docroot
et2.template_base_url == '/' generates url //api/templates/... which is a protocol independent representation of domain api and not identical to /api/templates
2016-08-19 14:54:43 +02:00
Hadi Nategh
e45925b063 * All apps: Add a counter indicator for selected entries in a list in mobile template 2016-07-27 11:34:07 +02:00
Hadi Nategh
ea200604fb Implement new nextmatch cat-filter including category colors 2016-07-07 15:45:14 +02:00
nathangray
2a8bc013d6 Fix Make sure customfield header widgets get finished, even if customfield widget is already done - fix the fix to finish all customfields, not just selectboxes 2016-07-04 13:32:35 -06:00
nathangray
2615837137 Make sure customfield header widgets get finished, even if customfield widget is already done.
Fixes addressbook switching from 'All contacts' to organization and back loses customfield headers
2016-07-01 13:05:16 -06:00
Hadi Nategh
6fbdd38e33 Implement update status for nm header objects used for mobile template (eg. action button) 2016-06-17 12:29:37 +02:00
Hadi Nategh
87fb94a496 Deprecate $j global variable and replace them all with standard jQuery 2016-06-02 16:52:01 +02:00
nathangray
9f32a7e1a9 Don't try to change columns that can't be changed, fixes Uncaught TypeError: Cannot set property 'visible' of undefined 2016-06-01 09:30:42 -06:00
nathangray
65c43ba6f0 Implement set_filter() & set_filter2() to allow application code to change filter & filter2 values, and have them updated in the client UI 2016-05-16 16:30:27 -06:00
nathangray
bb7528af20 Revert changes to nextmatch-filterheader & nextmatch-accountfilter? 2016-05-16 09:31:56 -06:00
nathangray
63d9cfbd41 Move filterheader using taglist to its own widget, nextmatch-taglistheader, and revert changes to nextmatch-filterheader & nextmatch-accountfilter 2016-05-16 09:07:08 -06:00
Hadi Nategh
4b0bc10900 Fix taglist widget:
- Fix taglist single styling
- Fix toggle to single not working when there're multiple selected
2016-05-13 18:44:37 +02:00
Nathan Gray
eea3aac80d Fix up the filterheader sizing to better fit in the nm header 2016-05-11 20:14:14 +00:00
Nathan Gray
da4fd02a7f If there are 2 or less options for a filterheader, disable multiple toggle 2016-05-11 19:56:06 +00:00
Nathan Gray
5dc798da7f Fix customfield column sometimes disappearing from print 2016-05-10 17:12:39 +00:00
Nathan Gray
4dd1fd6368 Set a default of 3 rows for filterheaders to avoid vertical scroll in header 2016-05-09 19:38:31 +00:00
Nathan Gray
457e05d920 Change filterheaders to extend taglist instead of select 2016-05-09 19:17:04 +00:00
Nathan Gray
0ecf39a722 Properly handle nextmatch columns where the width is not set 2016-05-04 15:48:58 +00:00
Nathan Gray
766dd31d16 Only allow printing custom fields if they're already selected (and loaded) 2016-04-29 16:35:00 +00:00
Nathan Gray
523edb57c3 Fix customfield columns do not always come back after print 2016-04-26 18:58:54 +00:00
Nathan Gray
2513fcb7d7 - For print column dialog don't check individual customfields if no customfields are selected
- Fix afterPrint failing if columnselection preference had no nextmatch prefix
2016-04-25 14:49:59 +00:00
Nathan Gray
e869788263 Prompt for columns to print as well as row count when printing a nextmatch 2016-04-20 23:05:43 +00:00
Nathan Gray
a3a0450143 Fix unable to clear nm entry headers by catching change event instead of select 2016-04-13 16:00:49 +00:00
Ralf Becker
ac6b0e9a94 implement et2_label_empty class for all set_label methods and remove no longer necessary label.et2_label > input[type="checkbox"], as it is covered by the standard case 2016-03-31 13:05:03 +00:00
Nathan Gray
8105b93f80 Fix cat_is_select setting was not used 2016-03-24 19:05:26 +00:00
Ralf Becker
9b446f7c17 moving et2 js files to api 2016-03-19 13:48:07 +00:00