Nathan Gray
57d95dde57
Silence error about missing row widget
2015-09-02 22:43:24 +00:00
Nathan Gray
34825b0171
Use selectbox method to fix encoded options instead of own version, also handles numeric indexes.
...
Fixes categories in wrong order in Resources.
2015-08-18 18:41:35 +00:00
Nathan Gray
ea0663d531
Prevent column selection preference from being reset, fixes forced columns don't stay forced.
2015-07-27 15:24:27 +00:00
Nathan Gray
ed97ead93e
If app is not found in get_rows, use the template
2015-06-29 20:33:10 +00:00
Nathan Gray
1deb3d4f34
Selectbox options kept on the client side
...
Static options copied to the client side in the JS code where possible, and requested from the server once via AJAX when needed.
2015-04-01 17:11:21 +00:00
Nathan Gray
984bbf4d44
Include lettersearch when forcing preferences
2015-03-16 22:28:18 +00:00
Nathan Gray
b1b1269e0e
Entry type / transformer changes
...
- better support for entry-types in nextmatch-customfilter
- if transformer changes widget type, run new widget's beforeSendToClient
2015-02-18 23:04:59 +00:00
Nathan Gray
3ec43f0421
Update favorite GET fallback to use new style of favorite
2015-02-02 17:19:20 +00:00
Ralf Becker
cf9326391c
document tooltip name "hint" for actions
2014-12-04 09:19:03 +00:00
Ralf Becker
fcd03a54c8
refactored code to always run Nathans fix (before it was only run for ajax requests, not for initial request)
2014-10-08 12:16:13 +00:00
Nathan Gray
26261e080d
Fix bad logic breaking historylog
2014-10-07 20:47:54 +00:00
Nathan Gray
aeefd2823a
Use a client-side setDetachedAttributes() to do needed data changes for dates.
2014-10-06 20:43:46 +00:00
Ralf Becker
11fefa28fa
remove debug stuff
2014-10-06 11:22:02 +00:00
Ralf Becker
1e4e044f5b
using a compiled list of timestamp column-names instead a regular expression, fixes duration columns like "info_used_time" get transformed too
2014-10-06 11:20:58 +00:00
Ralf Becker
aff6248300
fixed row vanishes on refresh, eg. after editing an address in an already refreshed addressbook list, caused by row_modified no longer a timestamp when it get checked in ajax_get_rows
2014-10-02 15:00:18 +00:00
Ralf Becker
e316379373
* Mail/Calendar/eTemplate2: fix timezone problems of times in grid or lists, if server_timezone differs from php.ini date.timezone
...
- for grid this is a real fix by correctly expanding names in auto-repeated rows and therefor running widgets beforeSendToClient methods
- for nextmatch is is just a hack looking at get_rows content and converting everything "looking" like a timestamp to a "Y-m-d\TH:i:s\Z" string
2014-10-01 19:10:59 +00:00
Ralf Becker
c73cc6b398
fixing the fix: now cat_id=1 got not lost with a 2nd default option set in addressbook (0=None)
2014-09-09 14:11:42 +00:00
Ralf Becker
8ecaac7dde
fixed category with cat_id=1 got lost in addressbook
2014-09-09 13:13:27 +00:00
Ralf Becker
d50ccc9c21
fixed not working custom date filter
2014-09-02 16:26:37 +00:00
Nathan Gray
ff29be3197
Fix history log widget no longer working
2014-08-27 17:13:38 +00:00
Nathan Gray
60b02ccb4b
- validate filters when getting rows
...
- run method (beforeSendToClient, validate) needs to include all sub-templates (header_left, header_right, header_row, template) or those widgets get left out.
2014-08-25 17:28:00 +00:00
Nathan Gray
0fa3ad831b
Fix no longer working 'None' category option
2014-08-11 22:50:38 +00:00
Ralf Becker
672297df94
fix for somehow empty etemplate request content, giving an error when (or after) sending mail
2014-08-11 15:12:34 +00:00
Nathan Gray
8a70df4df8
Handle num_rows set by application:
...
- Don't overwrite num_rows setting if the application sets it for some reason
- If num_rows is 0, don't get the initial rows server side
- If num_rows is 0 and the initial rows are missing, trigger an update right away to get them asyncronously.
2014-07-28 21:00:39 +00:00
Ralf Becker
c54e53d405
fixed PHP Strict Standards: Declaration of etemplate_widget_*::set_attrs() should be compatible with etemplate_widget::set_attrs()
2014-07-14 10:02:47 +00:00
Nathan Gray
2e09cf1ab1
- changing column selection preference now works if 'nextmatch-' prefix is included in the columnselection_pref setting
...
- change column selection popup to reload every time it opens, just in case something changes in the columns
2014-06-04 18:37:58 +00:00
Nathan Gray
22dfe2a5db
Any changed sel_options from app need to get encoded too.
...
Fixes missing 'All' option in Tracker with Firefox.
2014-04-08 17:42:19 +00:00
Nathan Gray
42272cf2e2
Don't take away default action's onExecute, even if it does have children
2014-03-25 16:47:27 +00:00
Nathan Gray
133c4a317c
Fix bug in using knownUIDs where empty rows were left or too many removed when the count changed
2014-03-19 19:19:34 +00:00
Nathan Gray
4a5d906e48
Enable using knownUIDs and lastModification timestamp to avoid sending unchanged rows back to client
2014-03-18 22:54:14 +00:00
Nathan Gray
1124c62200
Allow changing sel_options with array data, not just key => value pairs
2014-03-05 17:20:17 +00:00
Nathan Gray
2bf0f96602
Nextmatch uses value to store most attributes, so get value from request to get access to those.
...
Fixes unable to force infolog details column selection.
2014-03-03 21:00:31 +00:00
Nathan Gray
f561e7e7bf
Add check for automatic 'All' option to avoid extra 'All' options when app stores category options in session.
2014-03-03 17:53:27 +00:00
Ralf Becker
2e287689ef
allow to call etemplate_widget::setElementAttribute() static eg. from within a get_rows method
2014-02-27 17:43:51 +00:00
Ralf Becker
73523fbecc
extra option 0 => None set in addressbook for cat_id got lost
2014-02-18 16:44:20 +00:00
Ralf Becker
ae057bd957
fixed cat-id in nextmatch header of addressbook is in id-order and not alphabetic/hierarchical order
2014-02-18 16:35:54 +00:00
Nathan Gray
378bd43d29
Set is_parent flag for all get_rows calls, not just the onces done via ajax.
...
FIxes missing flags on first load.
2014-02-05 23:13:47 +00:00
Nathan Gray
ec7360d36f
If application changed actions in get_rows(), the new actions need to be sent through etemplate_widget_nextmatch::egw_actions(). Now doing so automatically.
...
Fixes js error in infolog refresh.
2014-02-05 17:17:45 +00:00
Hadi Nategh
7f222b165d
Remove "BLACK DIAMOND SUIT" character from global categories
2014-02-03 09:19:59 +00:00
Nathan Gray
4d997bf7c8
Fix up caching, clearing and filtering, so we cache what we need and clear only what we have to when filtering
...
Selection still needs work.
2014-01-21 15:21:42 +00:00
Nathan Gray
49ef2c538a
Use any row data passed from server in etemplate load call to avoid an extra call to get_rows
2014-01-09 11:25:08 +00:00
Nathan Gray
d65b40046a
Move sidebox favorites & backend out of nextmatch and into framework
2013-12-12 00:03:07 +00:00
Nathan Gray
87936488bf
Implement getState() & setState() towards a more universal favorites, but still more to do:
...
- Need to get favorite widget to use setState()
- Move much code out of etemplate2 widgets into a higher level
2013-12-05 00:00:43 +00:00
Nathan Gray
7f176d54f1
Add a fallback to the fallback.
...
If an app doesn't support 'list' link entry, use 'index'
2013-12-02 20:11:47 +00:00
Nathan Gray
fe5650e144
Auto-detect location target if not set.
...
Fixes whole page reloads in jdots/pixelegg.
2013-11-26 15:55:56 +00:00
Nathan Gray
c1fd6e5acb
Give automatically added 'Select All' action its own group
2013-11-15 19:59:25 +00:00
Nathan Gray
f33862b8b6
Fix setting default/forced column preference when selected columns was changed at the same time.
2013-11-06 22:51:57 +00:00
Ralf Becker
7180f78f00
setting default for optional 2. beforeSendToClient parameter to null
2013-11-04 15:41:58 +00:00
Nathan Gray
7c7d6391ab
- Automatically add 'Select All' action with Ctrl+A shortcut after first action group
...
- Implement Select All into selection controller so it works even if all rows aren't loaded
2013-10-24 17:29:11 +00:00
Nathan Gray
ab4873553b
- Add in any missing filter/left/right header select options from favorites or other changes instead of rejecting. Server side get_rows is responsible for actually providing the missing option(s)
...
- Propagate changed exec_id to controller
2013-10-21 22:23:02 +00:00