Commit Graph

4883 Commits

Author SHA1 Message Date
Nathan Gray
b9fc5e26df Respect rows attribute to restrict how big the taglist is allowed to get 2016-03-08 22:23:07 +00:00
Nathan Gray
53dcea9004 Allow gridview / nextmatch columns to be disabled and not show as options in the column list by sending something from the server. Previously was only parsed & disabled on first load.
eg: setting the column disabled=@no_column, then setting no_column=true in the get_rows response to disable it.

Note: to re-enable the column ,you must send no_column=false
2016-03-08 17:16:32 +00:00
Ralf Becker
42831bc18c dont waste space, if tags fit 2016-03-08 15:37:52 +00:00
Ralf Becker
66e1fae884 style et2_file and et2_textbox for toolbar/NM header 2016-03-08 12:46:27 +00:00
Ralf Becker
fa6ab4daa0 etemplate2.min.js(.map) is created by build/deployment scripts, no longer in svn 2016-03-08 08:17:09 +00:00
Nathan Gray
c329377c70 Remove debug 2016-03-08 00:08:51 +00:00
Nathan Gray
190457bef8 Give taglist special behaviour when it's too small to show everything - it uses ellipsis & hover 2016-03-07 22:39:11 +00:00
Hadi Nategh
586e485d24 Update etemplate2.dtd 2016-03-07 11:38:19 +00:00
Ralf Becker
7ada2354d3 move addresbook_bo to Api\Contacts, ldap to Api\Ldap, ldapserverinfo to Api\Ldap\ServerInfo, bo_tracking to Api\Storage\Tracking, historylog to Api\Storage\History, Api\Customfields to Api\Storage\Customfields 2016-03-06 13:45:15 +00:00
Ralf Becker
fcca19cfcf moving so_sql* to Api\Storage 2016-03-06 09:05:20 +00:00
Ralf Becker
aeee460d6c style chozen / taglist for nextmatch in tracker 2016-03-04 17:00:20 +00:00
Nathan Gray
7b42308df2 Add "toggle" as an option for taglist multiple attribute 2016-03-04 15:36:05 +00:00
Ralf Becker
b540582c2b removing minified files again from svn and creating them automatic in our build and deployment scripts 2016-03-03 16:17:21 +00:00
Hadi Nategh
784aa2c82f Mobile theme W.I.P:
- Fix view mode loads with wrong context
- Fix mail view actions
2016-03-03 14:10:08 +00:00
Nathan Gray
6aa1e19a6f Support using div as a linebreak 2016-03-02 16:19:23 +00:00
Ralf Becker
ecb4b7e74a remove ckeditor from api bundle (it does not work, is already minified and uglify work a lot faster without) 2016-03-02 14:34:01 +00:00
Ralf Becker
0badf82d7b missing et2 and api min.js 2016-03-02 08:46:43 +00:00
Nathan Gray
4ebaf56413 If we are not processing styles, just encode special characters.
Fixes broken downloads, missing bits if there were <> in the text
2016-03-01 22:31:19 +00:00
Ralf Becker
aa31a8705f fixing scope of "use strict", so we do not need to remove it when concatinating our scripts like we do now with minjs 2016-02-29 20:40:43 +00:00
Nathan Gray
c8c25b35ee Add taglist-cat widget for categories in taglist style 2016-02-29 20:29:49 +00:00
Nathan Gray
73009e2f4e Cancel taglist validation check so enter key can trigger ajax search instead 2016-02-29 18:17:20 +00:00
Nathan Gray
86d1cf4511 Fix label merge
Accidentally broken by SVN r54894
2016-02-29 16:49:44 +00:00
Nathan Gray
93f3b23a92 Fix vfs upload on links tab
Accidentally broken by SVN r55144.
2016-02-29 15:59:45 +00:00
Ralf Becker
bbf6ca54ac style search in nm 2016-02-29 14:30:47 +00:00
Hadi Nategh
45e7142b09 Fix javascript error on serachbox
Remove overlay option from addressbook
2016-02-29 14:19:33 +00:00
Hadi Nategh
794a2082f2 Add 'fix' option for searchbox widget:
- Make possibility for none flex searchbox, simple as just an input field, default value is true.
2016-02-29 13:53:18 +00:00
Ralf Becker
68374ff0a3 use svg image itself as thumbnail 2016-02-29 13:05:48 +00:00
Hadi Nategh
5e25f344d6 Make checkbox with label unique enough to style it different than normal label 2016-02-29 10:05:15 +00:00
Hadi Nategh
eaea386b82 Mobile theme W.I.P.:
- Change etemplate navbar.svg color
2016-02-26 11:46:55 +00:00
Ralf Becker
63f1e7100c tree uses now png or svg images, still some do not yet exist as png or svg 2016-02-26 10:59:23 +00:00
Ralf Becker
7e5c0d0579 readd removed z-index for searchbox, using a lower value so tooltips still overlay it, fixes searchbox in addressbook is below selectboxes 2016-02-26 10:46:00 +00:00
Ralf Becker
1fb2255643 fix accidently removed brighter background from buttons and margin between favorites and counter 2016-02-25 21:35:27 +00:00
Ralf Becker
1c8d6e7b03 show no more lines and left/down triangles instead of plus/minus in tree 2016-02-25 19:29:56 +00:00
Nathan Gray
c17bebaab0 Instead of showing invalid email values, remove them and set a validation error then focus the value so user can keep editing. 2016-02-25 18:34:20 +00:00
Nathan Gray
97a4d43312 Use accounts from accounts cache, if available, before we check the link_title store.
Fixes account name not shown on first load.
2016-02-25 18:13:14 +00:00
Ralf Becker
4f5c8bec8b active first search result in taglist, to just use enter to add it 2016-02-25 17:36:19 +00:00
Nathan Gray
baa28c6939 Avoid triggering onChange event when loading 2016-02-25 16:17:40 +00:00
Ralf Becker
ce1a502344 work in progress: styling mail list, added styling for progress-bar/quota in toolbar or nextmatch header 2016-02-25 15:07:35 +00:00
Ralf Becker
d2e26f6e10 fix button to only assign et2_button_text class, if we really have a text in the button and style it correctly for nextmatch 2016-02-25 13:23:22 +00:00
Ralf Becker
3a00764669 do not wrap progress widget in an a tag and install click handler, if there is no href 2016-02-25 13:12:25 +00:00
Nathan Gray
0fbd48a0db Allow enter to select the highlighted suggestion 2016-02-24 18:18:03 +00:00
Nathan Gray
009b5b72e7 Check for old template and clear it before loading a new template into same DOM node
Prevents action corruption in home when new etemplate is loaded before old one is cleared.
2016-02-23 21:18:33 +00:00
Nathan Gray
4c307f7d1f Catch and log errors when trying to resize to prevent home from breaking if something goes wrong. 2016-02-23 21:14:26 +00:00
Nathan Gray
27720bdaa2 Handle value set before taglist is created without errors 2016-02-23 21:06:46 +00:00
Hadi Nategh
ba0b2b8d5b Mobile theme W.I.P.:
- Fix searchbox icon disappears after closing it
2016-02-23 11:21:48 +00:00
Ralf Becker
d8822b5d52 fix PHP Warning: declaration of method x should be compatible with parent 2016-02-22 17:13:48 +00:00
Ralf Becker
a84a255bb7 fix for PHP Warning: Declaration of etemplate_request_cache::id() should be compatible with & etemplate_request::id() 2016-02-22 16:20:00 +00:00
Hadi Nategh
848c7d71d2 Mobile theme W.I.P.:
- Fix error 500 happens when opening view template
- Implement better approach for specifying currentapp
2016-02-22 13:03:57 +00:00
Hadi Nategh
a3fc4c38c5 Mobile theme W.I.P.:
-Fix security warning happens when click on nm headers buttons in Safari
2016-02-22 09:49:58 +00:00
Hadi Nategh
a765e1496d Fix searchbox does not collapse after reload and fix close button padding 2016-02-19 13:45:20 +00:00
Ralf Becker
ab23ecb7f5 fix infolog wont save, if cc was an empty string, seems taglist needs empty now as empty array, not null or "" 2016-02-19 09:36:41 +00:00
Hadi Nategh
1b0c8eaad7 Fix searchbox jumps into second row in FF 2016-02-19 09:00:47 +00:00
Hadi Nategh
843b53487b Better styling for selected searchbox button 2016-02-18 17:41:53 +00:00
Nathan Gray
040d1e8353 Revert part of r55067 - still need that for clicks on suggestions 2016-02-18 16:42:09 +00:00
Nathan Gray
782c54976b Fix some issues causing problems with existing taglists:
- Some account widgets were not finding accounts through selectbox
- Setting a single value was causing an error
2016-02-18 16:29:24 +00:00
Ralf Becker
c871f25ddb fix not working "cat_is_select" === true, for translating options used instead of category-selection 2016-02-18 15:50:58 +00:00
Hadi Nategh
0936e5e71e Fix searchbox does not keep the search value after reload 2016-02-18 13:49:45 +00:00
Hadi Nategh
d5f0727b2e Enable overlay attribute for addressbook's searchbox 2016-02-18 12:58:14 +00:00
Hadi Nategh
5612a16c76 Add overlay attribute for seachbox widget 2016-02-18 11:16:47 +00:00
Nathan Gray
ae79287e18 Get relative dates working again in export 2016-02-17 23:45:30 +00:00
Ralf Becker
61027429eb alignment of NM header 2016-02-17 19:56:54 +00:00
Ralf Becker
8637e1c41b move label of all addressbook selectboxes into all-label (eg. "All categories"), resize selectboxes via css automatic, fix borders of favorites and row-counter in nextmatch header 2016-02-17 13:23:27 +00:00
Hadi Nategh
c13fea5a4d Add always class for filters container 2016-02-17 09:44:46 +00:00
Ralf Becker
80fa092296 fix doubled space between nextmatch header and title row after nathans fix 2016-02-17 08:27:41 +00:00
Nathan Gray
6ccc3e5713 Avoid value not being properly parsed in calc 2016-02-16 23:58:37 +00:00
Nathan Gray
063eeb3c0b Fix extra vertical scrollbar in nextmatch 2016-02-16 22:27:51 +00:00
Nathan Gray
c6c0d970ae Some more taglist changes
- Styled to look like selectbox with tags
- Start server search with 2+ chars on enter, even if there is a local match
- Fire change on change again, not blur, for less confusion
2016-02-16 21:37:19 +00:00
Hadi Nategh
55f9f03714 Fix nm header alignment 2016-02-16 19:42:31 +00:00
Hadi Nategh
18c4661e3c Mobile theme W.I.P.:
-Fix nm header
2016-02-16 18:00:05 +00:00
Ralf Becker
60d41a7a48 WIP aligning nextmatch header and styling it as toolbar 2016-02-16 17:18:02 +00:00
Nathan Gray
521c0f04e8 Avoid child indexes not lining up with DOM node indexes, causing wrong widget order in nextmatch header bar by using an extra wrapper around the filters 2016-02-16 16:39:53 +00:00
Hadi Nategh
9fd87f7816 Fix et2_button does not set image if the widget gets created via et2_createWidget
- Implement searchbox's image with image attribute
2016-02-16 15:23:14 +00:00
Hadi Nategh
db7e7135ea Fix searchbox button occupies so much space 2016-02-16 13:46:16 +00:00
Hadi Nategh
e06a8bc167 Mobile theme W.I.P.:
- Add some styling for searchbox
- Fix contextmenu is not coming on trees
- Add back handler for context menu in order to close it
2016-02-16 11:59:31 +00:00
Ralf Becker
f6e5a85c46 revert accidently commited stuff 2016-02-16 10:16:49 +00:00
Ralf Becker
6b33adcb7c quiten a warning, if apps return nothing 2016-02-16 10:14:02 +00:00
Hadi Nategh
d1186de773 Mobile theme W.I.P.:
-Fix nm header for new searchbox widget
2016-02-15 19:10:14 +00:00
Hadi Nategh
876072aa1f Add ettemplate2 styles for searchbox 2016-02-15 18:38:24 +00:00
Hadi Nategh
b26a2e6593 Implement nextmatch search using searchbox widget 2016-02-15 18:37:24 +00:00
Hadi Nategh
83d47aed72 Implement searchbox widget 2016-02-15 18:30:40 +00:00
Ralf Becker
40cb207afa fixed not detected number of autorepeated rows for id like "${row}@[name]" addressing first column, gave error "Problem in autorepeat fallback: too many rows" 2016-02-13 16:25:50 +00:00
Ralf Becker
ab3e235ed6 work in progress aligning nextmatch headers 2016-02-12 17:19:27 +00:00
Nathan Gray
5955705002 Owner widget changes:
- Now returns results with users, then groups, then other apps
- If a result is found in the static options, the server is not queried
- 2 character limit before searching
- Change event fires on blur, not change in selection
2016-02-11 20:30:55 +00:00
Nathan Gray
3ebfe5d650 Reduce back-to-back resize requests by cancelling the timeout before setting it again 2016-02-11 20:20:46 +00:00
Hadi Nategh
964db76cd6 Mobile theme W.I.P.:
-Avoid loop causing by expose click handler. Fixes expose in filemanager stalls browser
2016-02-11 13:58:11 +00:00
Ralf Becker
0fe178a9f2 fix messed up application change in preferences, need to take modified tabs into account 2016-02-11 09:54:02 +00:00
Ralf Becker
4f2ef55206 Adding support for set_min/max() arguments supported only by jQuery.Datepicker for HTML5/mobile browsers, thought it seems none of the browsers support them right now ... 2016-02-10 17:42:11 +00:00
Nathan Gray
c8cf2d30d8 Fix resize issues with etemplate2 / calendar 2016-02-10 16:50:42 +00:00
Ralf Becker
c25403bec7 inline calendar is not existing in html5, so allways use datepicker instead 2016-02-10 16:39:43 +00:00
Hadi Nategh
63b3009bb5 Implement category color column purely with css 2016-02-10 09:45:33 +00:00
Nathan Gray
61b2957124 Keep focus when selecting from the option list 2016-02-09 21:30:47 +00:00
Nathan Gray
3895b4ca0e Remove incorrect ajax stuff from selectbox, just enhance taglist to support static options as well as ajax 2016-02-09 20:19:16 +00:00
Hadi Nategh
710e8a7847 Add nextmatch-cat-header in order to add category color into nm rows 2016-02-09 17:11:44 +00:00
Nathan Gray
1d3e696676 Ajax fetching for chosen taglist style selectboxes - set tags & source attributes 2016-02-09 00:38:09 +00:00
Ralf Becker
88ea87fedb Using HTML5 input field for mobile browsers to get there native UI for date/time entry 2016-02-08 17:23:54 +00:00
Hadi Nategh
9e690d2304 Mobile theme W.I.P.:
- Translate appname indicator
2016-02-08 10:59:09 +00:00
Hadi Nategh
36c97ec7e9 Mobile theme W.I.P.:
- Add application name indicator for header
2016-02-08 10:25:58 +00:00
Ralf Becker
0261dd0b82 server-side adds now urls for extra tabs incl. cache-buster, so we dont rely on app-code to add it 2016-02-03 15:20:50 +00:00
Hadi Nategh
751a96feba Mobile theme W.I.P.:
- Avoid contextmenu confusion between applications
2016-02-03 10:48:40 +00:00
Nathan Gray
f9bcb91d33 Reduce memory usage during merge a bit 2016-02-02 04:47:16 +00:00