Ralf Becker
0de6ab1b35
fix not working timesheet status and category actions: "disableClass", "enableClass" and "enableId" are now handled by action system itself, one should not set an explicit "enabled" attribute anymore
2013-08-26 08:24:50 +00:00
Ralf Becker
0984527661
let old eTemplate run its own confirmation from nextmatch_action.js
2013-08-26 07:36:51 +00:00
Ralf Becker
6fbfb6c784
propset svn:keywords
2013-08-26 07:36:19 +00:00
Nathan Gray
1d9589db99
If et2 object changes, we need the new one, not reject.
2013-08-20 23:20:56 +00:00
Nathan Gray
dca0c40418
Promote some useful common functionality to the app.js parent class
2013-08-20 19:20:10 +00:00
Nathan Gray
dba3bcc2aa
Update timepicker, some work on date-timeonly so it returns a value
2013-08-20 18:37:09 +00:00
Ralf Becker
b5ca4ac505
fixed jdots/Stylite template to contain no more inline scripts
2013-08-20 18:01:49 +00:00
Ralf Becker
73aa652c41
missing egw.js from last commit and egw_framework::window_focus() method
2013-08-20 13:25:36 +00:00
Ralf Becker
8b8faba28c
some docu and jsdoc tags to show the outline
2013-08-20 07:06:59 +00:00
Nathan Gray
ba80841c5e
Add some comments and a warning if action string can't be parsed to a function
2013-08-19 17:41:16 +00:00
Ralf Becker
cf25e7bae0
get Eclipse to display outline
2013-08-16 09:16:40 +00:00
Klaus Leithoff
12402514b9
* CKEditor/ASpell: hardening of jscode for IE10, as spellCheckerWin object may not be defined
2013-08-14 09:35:03 +00:00
Ralf Becker
118657ddee
using etemplate_new::ajax_proecess_content to allow to have etemplate still extend etemplate_old, making etemplate_new autoloadable
2013-08-06 18:24:30 +00:00
Ralf Becker
3afd9aaa18
check if quick-add selectbox is alread there, only create it again if not
2013-08-01 09:54:09 +00:00
Klaus Leithoff
7cf8a4d01b
* CKEditor/ASpell: adaption of aspell plugin to work with IE10
2013-07-26 10:40:28 +00:00
Nathan Gray
f65680a7ae
Add CSS to better match egw. Fix chosen sizes using new width attribute. Not perfect, but at least never too small.
2013-07-25 20:28:32 +00:00
Ralf Becker
37671ac812
fixed handling of attributes stored in data, was depending on order or attributes to work
2013-07-24 10:18:11 +00:00
Klaus Leithoff
e92e3694ee
replace currentapp occurence with egw_appName
2013-07-23 10:12:00 +00:00
Ralf Becker
16191d4db4
rendering quick-add menu on clientside and content-security safe, thought not yet in idots template, also removed not used inline javascript from idots
2013-07-22 19:20:13 +00:00
Nathan Gray
cd64ef06dc
Fix copy/paste error initializing app.js object
2013-07-20 14:16:21 +00:00
Ralf Becker
74cb73d2d2
moved most action "comfort" functions (with exception of nm_action and pagination) from server-side nextmatch class to client-side egwActions.updateActions() method, so they are available for all widgets
2013-07-20 13:45:22 +00:00
Nathan Gray
d4880a3351
Load & parse etemplate2 if set in egw.js object's data-attributes
2013-07-20 13:42:23 +00:00
Nathan Gray
26e9792256
Load javascript files before processing other response types, so all JS is available.
2013-07-20 13:41:17 +00:00
Nathan Gray
23fa7ed233
Make sure node is Draggable / Droppable before trying to undo it - though it probably should be
2013-07-20 13:38:09 +00:00
Ralf Becker
0d7c5455df
fixed wrong dependency
2013-07-19 15:22:54 +00:00
Ralf Becker
70c56ebab6
one more missing debug
2013-07-19 15:22:37 +00:00
Nathan Gray
6674e258fc
Tag widget works better with supporting library
2013-07-19 13:36:08 +00:00
Klaus Leithoff
ae848ffaee
upgrade to version 4.1.3
2013-07-19 11:13:23 +00:00
Klaus Leithoff
fbedb9d558
rebuild basic browsertest functionality not provided by jquery anymore
2013-07-19 11:07:22 +00:00
Ralf Becker
45e1fa8d2a
an other missing chosen fix re-added
2013-07-19 10:51:02 +00:00
Ralf Becker
60ac65e80b
updated choosen to 0.13.0 and re-merged r42794
2013-07-19 10:41:27 +00:00
Ralf Becker
d16c426fb6
first step towards content-security by passing parameters to egw.js script via data-attributes of script tag instead of using inline scripts in page
2013-07-19 08:45:26 +00:00
Nathan Gray
ba0fd9fa22
Update jQuery & jQuery UI to latest versions
2013-07-18 15:21:15 +00:00
Ralf Becker
792f1b26cc
replacing egw.LAB with egw_LAB, as egw object is shared by all iframes and popups, while LAB has to work on document
2013-07-17 12:47:21 +00:00
Nathan Gray
744345d751
Change egw.open() (which accepts _blank, _self, etc. as targets) to not pass invalid parameters to egw_link_handler() (which only accepts app names).
2013-07-15 16:03:37 +00:00
Nathan Gray
db75f272b8
Re-add lost reset methods
2013-06-18 14:32:36 +00:00
Nathan Gray
4f21c927cd
Some of the latest changes from chosen library
2013-06-17 22:57:21 +00:00
Nathan Gray
5bb349eb7a
Prevent too narrow chosen boxes
2013-06-17 22:01:11 +00:00
Nathan Gray
44e96714af
Fix adding distribution list (& maybe some other link issues) by looking for framework's link handler in open_link()
2013-06-12 17:04:42 +00:00
Nathan Gray
04fd3b82a9
If egw_link_handler() is defined, use that instead of window.open()
2013-06-12 16:56:12 +00:00
Nathan Gray
3300e82b27
Implement queue when setting preferences
2013-06-11 22:48:27 +00:00
Nathan Gray
d5b289e894
Add a global ajax callback so the et2 widget can stay in sync with the dhtmlxtree
2013-06-03 16:32:45 +00:00
Nathan Gray
fdfae8dd92
Add gridster library for home portlet layout
2013-05-29 19:23:49 +00:00
Nathan Gray
c2c910cee2
Add UI object into all links, in case of popup, so it's available to whatever is chosen
2013-05-29 19:20:36 +00:00
Nathan Gray
555de8e540
Include jQuery's UI object in drop action for location
2013-05-29 16:41:00 +00:00
Nathan Gray
51161e8ddd
For nested droppables, make children greedy to consume the action
2013-05-28 22:09:03 +00:00
Nathan Gray
4995e1fa08
When clearing, remove links too
2013-05-28 22:08:17 +00:00
Nathan Gray
6cfda15a5f
If a programmer calls dock on the splitter while it's already docked, just ignore it instead of breaking
2013-05-28 17:08:45 +00:00
Klaus Leithoff
c2667accee
*API/CKEdidor: upgrade to Version4.1.1
2013-04-29 08:20:40 +00:00
Klaus Leithoff
7b1047aacb
reintroduce r23367 (setFocus capability) and r29752 (oversized events)
2013-04-18 13:22:35 +00:00
Klaus Leithoff
8ffea421d2
updating wz_dragdrop.js from Walter Zorn from Version 4.87 to v. 4.91
2013-04-18 09:47:33 +00:00
Nathan Gray
b2cb70f15f
Use egw.LAB object if available
2013-04-12 16:30:30 +00:00
Ralf Becker
6577e30111
reverting change to original egw_json.js as it somehow needs to assign return value to some context to work
2013-04-12 16:23:10 +00:00
Ralf Becker
34a2f8c6e0
support for non-global func eg. "app.someapp.func" need to be in both egw_json objects (until we fix it so one calls the other)
2013-04-12 16:03:45 +00:00
Nathan Gray
eba9226dd3
Pass selected objects to callback
2013-04-12 10:27:04 +00:00
Ralf Becker
f7214ecd4f
docu fix
2013-04-12 08:23:23 +00:00
Nathan Gray
6d6feb06d7
Fix droppables to accept dragged if one of the types match
2013-04-11 12:53:23 +00:00
Nathan Gray
8192f13b3b
Fix typos preventing some drops
2013-04-11 12:22:34 +00:00
Nathan Gray
868c41643c
Only expire old data if there are no registered callbacks
2013-04-11 10:22:51 +00:00
Nathan Gray
8834d86818
Give a trace on all logs if debug level is 5 to help track things down
2013-04-10 14:14:06 +00:00
Nathan Gray
93eacb1b13
Show browser context menu when you ctrl + right click
2013-04-10 09:03:08 +00:00
Ralf Becker
26f54eb8ce
fixed error if get parameter has no equal sign, eg. /some/url?download
2013-04-09 16:17:43 +00:00
Nathan Gray
344bd88e4a
Open context menu with context menu key
2013-04-09 16:13:10 +00:00
Klaus Leithoff
86fbb6c966
add target ID to target.iface object
2013-04-09 15:43:42 +00:00
Klaus Leithoff
91dc1f9df9
allow for objectified egw functions like app.APPLICATION.
2013-04-09 14:39:56 +00:00
Klaus Leithoff
cd25f3e625
applying the context: suggested by nathan
2013-04-09 14:26:06 +00:00
Ralf Becker
ff7cf9ff17
propset svn:keywords Id
2013-04-09 12:10:48 +00:00
Nathan Gray
a0d18dc8fb
Fix properties
2013-04-09 12:10:09 +00:00
Nathan Gray
f3209731f3
Add inheritance stuff
2013-04-09 12:08:44 +00:00
Nathan Gray
978a90852c
Add a base object for application javascript code to contain it, and solve initialization timing issues
2013-04-09 08:45:59 +00:00
Nathan Gray
8e66bc33bf
Fix error in window module instanciation
2013-04-01 19:06:47 +00:00
Nathan Gray
792152497c
When an ajax response includes a directive to load a javascript file, try to load it using the API - allows cache to skip known files
2013-04-01 18:39:03 +00:00
Nathan Gray
d394cca06f
Avoid some init / destroy errors in color picker popup
2013-03-25 19:39:02 +00:00
Nathan Gray
19aef757f6
Use window from egw object, if available - still not quite right
2013-03-25 16:58:33 +00:00
Klaus Leithoff
d22fb56089
remove ckeditor3
2013-03-14 16:52:21 +00:00
Klaus Leithoff
48687977f9
* API: add CKEDITOR4
2013-03-14 16:16:49 +00:00
Klaus Leithoff
308c4a2951
* CKEDITOR/API: Version update to 3.6.6.1; handle IE10 problems regarding input behavior on enter
2013-03-14 09:55:03 +00:00
Nathan Gray
e685a222dc
Avoid JSON error popup by checking for the queue before using it
2013-03-13 19:31:06 +00:00
Klaus Leithoff
9b0623ff3a
fix typo/copy and past error on dataGetUIDdata
2013-03-04 16:25:39 +00:00
Nathan Gray
9616e44aff
Add ability to get all an application's preferences with '*'
2013-02-27 18:08:03 +00:00
Nathan Gray
987af6b473
Pass along internal lastModification time, and use it
2013-02-27 18:00:15 +00:00
Ralf Becker
139c12821a
added method to access data: egw().dataGetUiddata(_uid)
2013-02-27 12:41:19 +00:00
Nathan Gray
03c9c0804f
Split panel widget. Mostly working, needs some more special case for working with nm - they both want full page
2013-02-22 00:25:41 +00:00
Nathan Gray
89ec3ba866
Add some images of Class Diagram
2013-02-15 16:46:16 +00:00
Nathan Gray
a325583643
Add some overview of how this stuff fits together
2013-02-15 15:55:23 +00:00
Ralf Becker
52ea94cbee
using LABjs to load javascript files in order via egw.includeJS
2013-02-15 15:30:35 +00:00
Nathan Gray
a3647e1b00
Implement refreshing a single UID, limit known UIDs sent to server to 200
2013-02-14 11:22:27 +00:00
Nathan Gray
547d125a30
Check app_refresh to not get an error if an application overrides app_refresh() instead of using register_app_refresh()
2013-02-14 11:11:17 +00:00
Nathan Gray
588c6141c9
Return true to not throw an exception if the plugin worked
2013-02-14 11:01:50 +00:00
Ralf Becker
90370bc387
tracking state of existing script tags and allow to specify multiple callbacks for loading of javascript files
2013-02-13 16:26:42 +00:00
Nathan Gray
33e94d355c
Fix app_refresh to support applications that set window.app_refresh instead of calling register_app_refresh()
2013-02-13 12:47:17 +00:00
Nathan Gray
f2fc558e19
- Add static methods to get into etemplate2 widget context from outside. Call etemplate2.getByApplication(app) or etemplate2.getByTemplate(name) for a list of etemplate2 objects
...
- Add register_app_refresh() function to allow applications to specify a more intelligent way to refresh them
- Change egw_refresh() to call registered refresh function, or if etemplate2 is available try that over reloading the whole page
2013-02-12 15:46:14 +00:00
Ralf Becker
763279562c
fixed event handling in tree, added tree specific onSelect and onCheck events, implemented !multiple mode and fixed dhtmlxtree to not trigger onSelect if selection is change via set_value (according to their documentation)
2013-02-08 13:23:58 +00:00
Nathan Gray
5513df1277
Fix bug in link handling that lost extra vars when extra vars are already in url
2013-02-06 15:04:26 +00:00
Nathan Gray
616e94a7b4
Add the ability to specify the client-side data cache prefix, to avoid collisions in applications where there can be more than one type of data
2013-02-06 10:49:46 +00:00
Klaus Leithoff
0bfa06c6b3
* API/CKEditor: Version update to 3.6.6
2013-02-05 09:56:01 +00:00
Nathan Gray
cfa0b7277a
Fix for IE overflow from Anthony Messina
2013-01-17 23:29:14 +00:00
Nathan Gray
6c03b0ec39
Try to avoid conflicts between framework's egw_appWindow() & jsapi's egw_appWindow()
2012-12-12 19:45:27 +00:00
Nathan Gray
340fec0611
- Remove debug
...
- Change font in results to match selected option and other selectboxes
2012-12-10 16:16:58 +00:00
Nathan Gray
74931d30a9
Return the result of opening so caller can use it
2012-12-04 00:13:12 +00:00
Nathan Gray
713a78dc96
Add a new debug level that includes a stack trace
2012-12-04 00:12:13 +00:00
Nathan Gray
b0e47a70f7
Fix bug where multi-select default text was not fully shown
2012-11-27 22:24:25 +00:00
Nathan Gray
2ea64a658b
Better handling of different hights & open up vs down
2012-11-27 21:32:53 +00:00
Nathan Gray
4dc9f6a472
Fix for chosen results pushing down bottom of popup window
2012-11-26 22:55:09 +00:00
Nathan Gray
0b3836a9f5
If chosen selectbox is close to bottom of the page, open options above the selectbox
2012-11-21 16:22:29 +00:00
Nathan Gray
1484e44c00
Left align chosen selectbox contents
2012-11-15 17:40:46 +00:00
Nathan Gray
8b55a21206
More changes to use chosen for fancy selectboxes - apply to egw multi-select and select user too
2012-11-13 22:14:00 +00:00
Nathan Gray
f72a582532
Use chosen plugin for to get fancy selectboxes. Selectboxes with more than 12 options get it turned on automatically
2012-11-12 19:29:23 +00:00
Ralf Becker
79d2c8f8a1
fixed typo causing alert with "undefied" message, instead of an error
2012-10-24 09:52:00 +00:00
Klaus Leithoff
259a917e38
ckeditor (current) version 3.6.4
2012-10-09 15:03:32 +00:00
Christian Binder
bd270b4010
fix ignored _onExecute attribute
2012-08-25 14:40:48 +00:00
Christian Binder
98d17d7ca4
removed accidentally found typo and logging
2012-08-14 12:02:47 +00:00
Nathan Gray
f198fb8f6e
Lets try this theme for a while, see how it looks
2012-07-18 16:50:49 +00:00
Nathan Gray
5eae11346d
If possible, include CSS here. Menu does not really work without it.
2012-06-19 18:55:03 +00:00
Nathan Gray
234832d1f0
Make sure lang 'array' is not a real array - that means it's empty, and will return 0 for missing translations. It is supposed to be an object.
2012-06-12 18:47:42 +00:00
Nathan Gray
71456ff8ef
Force nextmatch to load affected rows by clearing the data from data store
2012-06-06 21:56:18 +00:00
Frédéric Erpicum
e2cb9b44e7
resolve problems in opening windows for viewing or editing in projectmanager
2012-05-17 09:26:25 +00:00
Klaus Leithoff
e49c5850e5
fix for IE8 using method indexOf as key while iterating over trans
2012-05-09 14:49:24 +00:00
Nathan Gray
0527ec2a88
Implement color picker
2012-05-02 18:01:17 +00:00
Nathan Gray
55ad5a320b
Open in new window if target is not specified
2012-04-25 16:23:27 +00:00
Nathan Gray
22cb0667eb
Handle Firefox vs Chrome File API
2012-04-05 22:31:01 +00:00
Ralf Becker
dd410d49fb
fixed javascript error stalling everything: et2_csvSplit is not yet defined, thought I dont understand why this is needed here anyway: using _name.split("/",2)
2012-04-05 07:38:07 +00:00
Nathan Gray
df2ba7ddd6
Get images named like appname/imagename working again for images outside current app
2012-04-04 19:37:17 +00:00
Nathan Gray
08cb4581ee
egw_open wants the whole registry
2012-04-04 19:17:07 +00:00
Nathan Gray
6e103c4c1b
Get images named like appname/imagename working again
2012-04-04 19:16:19 +00:00
Andreas Stöckel
cfa9c190bb
Implemented keyboard navigation and data retrival for uids
2012-03-29 14:11:22 +00:00
Nathan Gray
bc25b917d4
Fix namespace events - it's event.namespace
2012-03-28 21:01:51 +00:00
Andreas Stöckel
0ae151e638
Got selection working; only problem left with popup menus is, that entries don't get focused on rightclick
2012-03-28 15:36:17 +00:00
Ralf Becker
b55250b81a
encoding and decoding of vfs special characters
2012-03-28 13:58:18 +00:00
Ralf Becker
2f62d7e3b5
allow to set target in mime-registry: need target _self (instead default _blank) for directories opened in filemanager
2012-03-28 13:01:37 +00:00
Ralf Becker
2630a39651
moved egw_links.js window contect specific parts to egw_open.js: egw().open() and egw().open_link() renamed from egw().call_link()
2012-03-28 12:37:03 +00:00
Ralf Becker
fbdb8f3c55
mime_icon method for vfs-mime widget
2012-03-28 08:10:57 +00:00
Andreas Stöckel
3a23d4bb21
Fixed bug with Ctrl-Key no longer working
2012-03-27 13:44:38 +00:00
Nathan Gray
257f823773
Fix handling of file url for vfs
2012-03-26 23:27:09 +00:00
Nathan Gray
3aa8e64f73
Give a warning & return if you try to translate an object
2012-03-26 23:24:56 +00:00
Andreas Stöckel
34a43e8869
Various bug fixes in the grid, implemented prefetching, workaround for performance issues regarding update, removed _lastModification
2012-03-26 15:28:02 +00:00
Andreas Stöckel
7f57f28f38
Deactivated last commit (slow because pending requests are ignored), lastModification is now set per app in the model
2012-03-23 16:38:08 +00:00
Andreas Stöckel
eadeb57f28
Fixed problem with registered data callbacks, when the window the callback belongs to is closed
2012-03-23 13:39:27 +00:00
Andreas Stöckel
b134b36678
fixed some issues with egw_data, improved egw_json exception handling
2012-03-23 12:45:13 +00:00
Andreas Stöckel
23f221456f
Fixed problem with IE, adapted egw_data.js to specification changes
2012-03-23 12:06:52 +00:00
Ralf Becker
2e8d60d5a0
reorganized egw.link methods to call each other (and not dublicate code), using mime-registry to open files, todo: special download url of eg. filesystem stream wrapper
2012-03-21 16:02:50 +00:00
Ralf Becker
514375e2b6
knowUids instead of knowRanges, widgetId and some docu changes
2012-03-20 12:37:45 +00:00
Andreas Stöckel
a45f2d5c69
Commited egw_data.js
2012-03-20 12:05:31 +00:00
Klaus Leithoff
988373b6c4
fix bug regarding the positioning of the drag n drop context menu popup
2012-03-16 12:30:52 +00:00
Ralf Becker
f74b8264a2
propset svn:keywords Id
2012-03-15 08:38:01 +00:00
Ralf Becker
94f1c840d0
add custom translations
2012-03-14 12:11:19 +00:00
Andreas Stöckel
3ecb7a4eec
Added 'langRequire' function which allows to load translations during runtime
2012-03-13 16:05:52 +00:00
Nathan Gray
1d74169848
Add time picker popup
2012-03-12 21:20:46 +00:00
Nathan Gray
da10c03762
Use window's jQuery to make it work
2012-03-12 17:26:33 +00:00
Andreas Stöckel
dc017ed889
Now again using a local etemplate2 instance on the client
2012-03-12 12:05:14 +00:00