Commit Graph

6233 Commits

Author SHA1 Message Date
Ralf Becker
36eaa8e987 fixed not working mime parameter, if just a main type eg. "image" is given 2011-07-04 18:53:48 +00:00
Klaus Leithoff
93636849e6 put some more documentation ito the function header doc part 2011-07-04 13:23:55 +00:00
Klaus Leithoff
820dbed203 make sure we set SMTPSecure to ssl or tls if the standardports for ssl or tls are configured for the given profile 2011-07-04 13:14:45 +00:00
Andreas Stöckel
44b8c43e1e Fixed keyboard navigation in treeview 2011-07-03 12:33:18 +00:00
Ralf Becker
03e379e570 * jQuery: changed $ to $j to work around mootools use in Joomla templates and other js code in imported projects
required to change $ --> $j:
phpgwapi/*
jdots/*
etemplate/*
stylite/*
felamimail/*
admin/*
news_admin/*
projectmanager/*
importexport/*
infolog/*
ranking/*

required, but not automatic:
importexport/setup/etemplates.inc.php
phpgwapi/js/jquery/*

negative, not to touch or revert later:
phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php:		'(\$(.+))'            => 'print $1',
phpgwapi/js/dhtmlxtree/libCompiler/core.js
sitemgr/*
phpfreechat/*
gallery/*
activesync/include/smb.php:        '^\tIPC\\\$(.*)[ ]+IPC' => 'skip',
etemplate/inc/class.bo_merge.inc.php: if ($this->table_plugins && preg_match_all('/\\$\\$table\\/([A-Za-z0-9_]+)\\$\\$(.*?)\\$\\$endtable\\$\\$/s',$content,$matches,PREG_SET_ORDER))

find phpgwapi jdots etemplate stylite felamimail admin news_admin projectmanager importexport infolog ranking \
	\( -name '*.php' -o -name '*.js' \) -exec grep -q '\$(' {} \; -print \
	-exec sed -i '' 's|\$(|$j(|g' {} \;
svn revert phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php phpgwapi/js/dhtmlxtree/libCompiler/core.js \
	importexport/setup/etemplates.inc.php phpgwapi/js/jquery/jquery.js etemplate/inc/class.bo_merge.inc.php
	
additional changes:
phpgwapi/js/jquery/jquery.js:	window.$ --> window.$j
phpgwapi/js/egw_json.js:291	this.request = $j.ajax({url: this.url,
jdots/templates/jdots/head.tpl:59			$j(document).ready(function() {
phpgwapi/js/egw_action/egw_grid_view.js: $.browser --> $j.browser
importexport/setup/etemplates.inc.php: etemplate editor importexport.wizard_basic_export_csv.choose_fields onclick of check icon changed
phpgwapi/js/egw_action/tests/*.html
phpgwapi/js/egw_action/tests/js/jquery.js:	window.$ --> window.$j
2011-07-03 09:00:36 +00:00
Ralf Becker
a7aef6a4da fixed egroupware.org bug #3002: PHP Warning: mb_strpos() in class.egw_session.inc.php on line 1081 2011-07-03 06:54:32 +00:00
Ralf Becker
70b84e372c fixed catchable fatal error: param 2 to egw_vfs::propatch() must be an array 2011-07-01 14:24:22 +00:00
Ralf Becker
3f6fcf60d2 support for some html5 form features, if browser supports it 2011-06-30 15:19:08 +00:00
Ralf Becker
9b26f95798 consolidating icons 2011-06-30 13:01:03 +00:00
Nathan Gray
f736c89bbf Prevent doubling webserver url when building a link 2011-06-29 16:35:24 +00:00
Ralf Becker
37ec659a8f quitend warning 2011-06-29 07:21:56 +00:00
Ralf Becker
5e05030629 fixed attachments lost when converting email to infolog, is_uploaded_file check in egw_vfs::copy_uploaded need to be switched off (plus improved logging) 2011-06-29 07:00:09 +00:00
Ralf Becker
bd7407ed88 - fixed bug in egw_vfs::check_access for a user different from current one: need to clear the stat-cache after the call too, as the next call might be the regular user again!
- new method egw_vfs::copy_uploaded() to copy a file into vfs and set properties (eg. the comment), while treating the whole operation notification-wise atomar (one notification about an added file).
- using that method for egw_link too
- fixed egw_link not displaying comments
2011-06-28 20:43:47 +00:00
Ralf Becker
e6470f6b58 some more debug stuff, switched off by default 2011-06-28 17:20:19 +00:00
Ralf Becker
27edf73e34 upload icon from KDE Tango theme 2011-06-28 07:03:07 +00:00
Nathan Gray
387f4ed073 Some fixes for category access with multiple owners 2011-06-27 22:05:03 +00:00
Ralf Becker
57215ec67c fixed not working debug message 2011-06-27 20:00:05 +00:00
Andreas Stöckel
a81e83a6e6 Prevented grid from loading all data when it is not visible 2011-06-26 15:44:08 +00:00
Andreas Stöckel
18f6a20df4 Included accidently commented out setTimeout commands again 2011-06-26 15:06:39 +00:00
Andreas Stöckel
44f73628e2 Implemented unregistering ActionImplementations when ActionObject.remove is called, ActionObject.clear now calls 'remove' on all child objects. 2011-06-26 14:57:05 +00:00
Ralf Becker
7b83209e7c forgot required changes in acl class, to read grants of a different user 2011-06-26 13:00:51 +00:00
Ralf Becker
04be4c57fe - new registry attribute "file_access_user" to signal "file_access" method understands new 4th parameter $user
- infolog implementation for it
--> allows to check if a given user has access to a files of app/id
2011-06-26 12:32:06 +00:00
Andreas Stöckel
644f7729e3 Added german translation for key codes 2011-06-25 14:46:20 +00:00
Andreas Stöckel
49e6780f07 Shotcuts are now generated on the server side, made key codes class constans 2011-06-25 14:27:30 +00:00
Andreas Stöckel
42e0b10797 Fixed bug with two many prefetch request (also doubles) - a part of this was caused by a wrong parameter sequence for the queueTimeout function, the other part was caused by the 'hasColumn' function not working correctly. 2011-06-25 13:45:46 +00:00
Ralf Becker
b2b27ece2e fixed not sorted eacls 2011-06-25 04:53:35 +00:00
Ralf Becker
36156c61ee clearstatchache needs to set eacl_cache to null, so it gets read again, setting it to array() stops all eacl 2011-06-24 18:19:18 +00:00
Ralf Becker
54dc16f3e5 calling egw_vfs::rmdir/unlink to ensure vfs hooks get called 2011-06-24 18:08:29 +00:00
Ralf Becker
5864d5f1a1 use vfs:// url, to ensure vfs_add|modified hook get called 2011-06-24 17:38:13 +00:00
Ralf Becker
ea6b823bd4 additional parameters _replace and _with for egw_refresh to modify the url, fixed not working update of existing msg parameter 2011-06-24 14:11:37 +00:00
Ralf Becker
e960b79570 fixed not working access to all non-private user categories (ACL was priviously allways taken into account) 2011-06-24 13:35:39 +00:00
Ralf Becker
92d861e712 give #account_id, if user not found 2011-06-24 10:28:08 +00:00
Ralf Becker
ba46b54355 improved exception message 2011-06-24 10:26:46 +00:00
Ralf Becker
7282d42f52 - added hooks to general vfs methods to allow apps to monitore file access, creating, modification, removal
- new $user parameter for egw_vfs::check_access($path, $check, $stat=null, $user=null) to check access to a file for a user, who is NOT the current user
2011-06-23 18:34:47 +00:00
Oscar Manuel Gómez Senovilla
164871ec02 Update Czech translation for trunk. Tracker #2886 2011-06-23 13:53:19 +00:00
Ralf Becker
2bf55a7c87 some fixes for English and Suomi translation, from our Suomi resident here as Stylite 2011-06-22 15:53:36 +00:00
Andreas Stöckel
416ff4787f Fixed bug with SHIFT + Arrow keys not working anymore 2011-06-20 19:25:50 +00:00
Andreas Stöckel
4a1d2cd72c Fixed bug with other jquery drag drop stuff (like sorting apps in the sidebox menu in the stylite template) not working correctly 2011-06-19 11:15:37 +00:00
Andreas Stöckel
1d23398ad9 Added server side key constants and shortcut-generator 2011-06-19 10:52:58 +00:00
Andreas Stöckel
bf8437551d Implemented egw_action shortcuts 2011-06-19 10:48:51 +00:00
Andreas Stöckel
f3ccd96f03 Grid and nextmatch aoi now reset the input element focus once a row is clicked 2011-06-16 20:43:33 +00:00
Andreas Stöckel
41c4d4cee4 Enabled toggeling the grid selection with CTRL+A 2011-06-16 17:08:32 +00:00
Andreas Stöckel
1706f0fb22 Added function for removing actionObjects 2011-06-16 17:03:39 +00:00
Andreas Stöckel
28e6ff6920 Implemented executing the default action with the return key 2011-06-16 13:43:46 +00:00
Ralf Becker
8e7c73dd84 some fixes for English and Suomi translation, from our Suomi resident here as Stylite 2011-06-16 13:01:29 +00:00
Nathan Gray
e9cc2549ac Allow categories->return_sorted_array() to use a filter too 2011-06-15 22:32:52 +00:00
Andreas Stöckel
fd12dfc4ce Fixed typo 2011-06-15 21:08:45 +00:00
Andreas Stöckel
9db8424e15 Implemented default focusing of objects in the tab manager, added new egw_getAppName function on js side, which returns the name of the currently active application - this is needed for the keyboard handler to pass the key events to the correct application object manager. 2011-06-15 20:54:58 +00:00
Andreas Stöckel
1c600b919d Implemented new selectmode in grid, added grid.setSelectmode method to set the selectmode 2011-06-15 16:31:33 +00:00
Andreas Stöckel
085d8bf07f Fixed problem with column header being displayed on checkbox columns, and always disabling the select-cols menu entry for it 2011-06-15 15:26:46 +00:00
Nathan Gray
5bed43746f Fix for editing private categories 2011-06-15 14:20:43 +00:00
Nathan Gray
81f58ab129 - Change category group filtering to allow multiple groups
- Give warning when removing access from a group
2011-06-14 18:50:35 +00:00
Ralf Becker
47439899a5 propset svn:keywords Id 2011-06-14 12:35:36 +00:00
Andreas Stöckel
2e457e4b75 Added forgotten keymanager unit 2011-06-14 10:13:47 +00:00
Ralf Becker
eb6bea34b2 some fixes to run save_repository() reliable within setup 2011-06-14 08:44:24 +00:00
Ralf Becker
69145c40b5 small docu update 2011-06-14 07:31:56 +00:00
Ralf Becker
34ada0535c fixing problem under windows: dirname("/something") === "\\", with which EGroupware VFS can NOT work, using now egw_vfs::dirname 2011-06-14 07:31:33 +00:00
Ralf Becker
fe2b0d17bc * CalDAV/GroupDAV/KDE Akonadi seems to require redundant namespaces, see KDE bug #265096 https://bugs.kde.org/show_bug.cgi?id=265096 2011-06-13 09:10:10 +00:00
Andreas Stöckel
e03d416fda Implemented first version of key-board control over action-objects. For now arrow/page up/down and CTRL-A works.
Known Issues:
- Keyboard navigation in egw_grids (like felamimail) may not work correctly when navigating to not-yet loaded items (current implementation for that is more a hack)
- short-cuts not yet implemented
- not tested in IE, Safari, FF 3.6
- felamimail sometimes loads all/many of the emails you were navigating over
2011-06-12 16:41:40 +00:00
Andreas Stöckel
49ece38c6c Don't send a location header if we currently handle an ajax response/request - use the corresponding json function instead. Doing this on the server side is neccessary as the location header is one of the few ones which is handled by the browser before any XMLHttpRequest event is fired (according to W3C specification) 2011-06-11 21:27:15 +00:00
Ralf Becker
220af27f60 Create template directory and set default document_dir preference of addressbook, calendar, infolog, tracker, timesheet and projectmanager 2011-06-11 11:57:51 +00:00
Ralf Becker
d7c7034771 * Admin/VFS/LDAP: on saving a group, check if group directory exists and create it if not 2011-06-10 11:00:40 +00:00
Ralf Becker
fcfbd038bc some fixes for the English translation, from our Suomi resident here as Stylite 2011-06-10 06:19:36 +00:00
Ralf Becker
d12475ec9e some fixes for the English translation, from our Suomi resident here as Stylite 2011-06-09 06:57:25 +00:00
Ralf Becker
095a36023e allow extending class to supply stat of parent 2011-06-08 12:54:43 +00:00
Ralf Becker
c66928875a no need to run expensive mb_substr 3 times 2011-06-08 10:41:22 +00:00
Klaus Leithoff
123b46372b extending patch rev32909/34417 (chopped off urls when URI contains umlauts AND mbstring.func_overload is activated): using rawurlencode instead of '%' . sprintf('%02X', ); as ord() only returns the int for the first character in a given string, thus crippling multibyte chars 2011-06-08 09:55:26 +00:00
Ralf Becker
c84c890738 fixed not working password change, if no rights for password app, but for preferences 2011-06-07 12:11:16 +00:00
Ralf Becker
582432398e fixed typo 2011-06-07 09:19:13 +00:00
Ralf Becker
2add4fe910 no need to scan non-directories - gives only warnings ;-) 2011-06-07 07:02:08 +00:00
Ralf Becker
9dfdabe1a3 some fixes for the English translation, mostly correcting case, from our Suomi resident here as Stylite 2011-06-07 06:29:49 +00:00
Ralf Becker
ed8c386a12 using egw_refresh to allow fmail to ignore the saved/deleted message 2011-06-06 15:11:25 +00:00
Ralf Becker
5ae8f52ad5 update to 1.9.010 and enabling password migration to sha512_crypt, if available 2011-06-06 06:52:45 +00:00
Ralf Becker
562343a4dd disabling permanent error_log and missing translation 2011-06-06 06:39:07 +00:00
Ralf Becker
fae1d29e68 - implemented more secure password hashing types: sha512_crypt, sha256_crypt and blowfish_crypt (later was only just broken)
- DB schema update for account_pwd to varchar(128) to accomodate sha512_crypt hashes
- enable automatic migration to sha512_crypt, if on SQL or LDAP (but only on Linux, as OpenLDAP has not native support for it)
2011-06-05 23:22:51 +00:00
Ralf Becker
f8d2bd1e6b - introduced preference of type "color"
- modernized color picker a litle to give a visual feedback of the color
2011-06-04 09:30:46 +00:00
Ralf Becker
994d1b63d4 allways display topmenu item "Password" addtional to "Preferences" and shorten "Manual / Help" in topmenu to "Help" 2011-06-03 18:36:47 +00:00
Andreas Stöckel
4477efd6dc Added possibility to add/remove css classes from individual grid view rows 2011-06-03 14:08:49 +00:00
Andreas Stöckel
3a8d1e3227 Fixed problem with double click handler not being bound correctly 2011-06-03 11:21:36 +00:00
Ralf Becker
2bba68b575 nicer workaround 2011-06-03 10:14:12 +00:00
Ralf Becker
310b22c172 * workaround for Fennec bug https://bugzilla.mozilla.org/show_bug.cgi?format=multiple&id=648250 window.(outerHeight|outerWidth|screenX|screenY) throw exception 2011-06-03 09:50:27 +00:00
Ralf Becker
c5e6b56503 missed UA check was caseinsensitiv 2011-06-03 09:09:25 +00:00
Ralf Becker
17fa23843c reworked mobil browser detection to use html::$ua_mobile to be in line with other html class stuff 2011-06-03 07:47:11 +00:00
Andreas Stöckel
0d66fcd9d1 Executing default action on click on mobile devices 2011-06-02 22:53:23 +00:00
Andreas Stöckel
a4730b3511 Added mobile browser detection function 2011-06-02 22:52:12 +00:00
Ralf Becker
fe92979bc1 fallback for egw_link::edit() to use view data, if no edit specified 2011-06-02 19:58:30 +00:00
Andreas Stöckel
d02c638ca9 Implemented global action manager and object manager, implemented possibility of adding sub-action-managers 2011-06-02 14:48:03 +00:00
Ralf Becker
8445199caf fixed unknowns="remove" to remove more strict (only variable names with letterns, numbers, underscore and dash), as it messes up json otherwise 2011-06-02 13:30:21 +00:00
Ralf Becker
423a1d9303 new method egw_appWindowOpen(app,url) 2011-06-02 12:37:49 +00:00
Ralf Becker
47e2764da0 new javascript method egw_open() to open egw_entries using there registered url and popup sizes from the link registry 2011-06-02 11:13:41 +00:00
Ralf Becker
d61ccc9bc4 icon to undelete 2011-06-01 15:52:47 +00:00
Andreas Stöckel
9eb51b8b74 Removed accidently commited debug message 2011-05-31 20:12:51 +00:00
Andreas Stöckel
fc622875d4 Added forgotten aoi file for dhtmlx menus 2011-05-31 20:10:30 +00:00
Ralf Becker
9a6cffe3d8 using a single print icon (from fmail) now 2011-05-31 18:35:18 +00:00
Andreas Stöckel
36d2f605cb Fixed problem with an container object returning 'true' for 'getAllSelected', even if it has no children. 2011-05-31 17:02:51 +00:00
Ralf Becker
574911d077 * Setup/API: new option to enforce ssl (without specifying a domain in Webserver-URL) 2011-05-31 13:33:26 +00:00
Ralf Becker
61c0b251c3 * IE9: enable IE dropdown menu hack only for IE<9, as it stalls IE9 www.stylite.de bug #1722 2011-05-31 07:55:51 +00:00
Andreas Stöckel
2e84fb63e2 added clear function to egwActionObject, reverted change done by klaus leithoff in egw_action.js as it caused serveral problems, fixed problem with no actions being executable when all action objects were selected using the setSelectAll function, added iframeFix to egw_action_dragdrop.js, made draggedOver style working for all tables. 2011-05-28 15:24:31 +00:00
Klaus Leithoff
82f81ccafa make sure AltBody is only added if there is an AltBody present; control messageType regard AltExtended too 2011-05-26 16:34:25 +00:00
Ralf Becker
1e851eaab6 * Calendar/CalDAV: fixed wrong line-defolding, if folding occured in whitespace
reverting r29794, as it "eat" to much whitespace
2011-05-26 15:35:07 +00:00