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
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
Andreas Stöckel
1d23398ad9
Added server side key constants and shortcut-generator
2011-06-19 10:52:58 +00:00
Nathan Gray
e9cc2549ac
Allow categories->return_sorted_array() to use a filter too
2011-06-15 22:32:52 +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
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
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
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
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
2add4fe910
no need to scan non-directories - gives only warnings ;-)
2011-06-07 07:02:08 +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
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
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
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
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
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
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
Klaus Leithoff
89a1d1d419
* Calendar Notification: handle calendar requests correctly as multipart/alternative; adding AltExtended to phpmailer; beware parts of multipartAlternative must be in decreasing order of preference (text/calendar as the last part)
2011-05-26 13:26:09 +00:00
Klaus Leithoff
3df142b00b
* Calendar Notification: handle calendar requests correctly as multipart/alternative; one part text/plain the other part text/calendar
2011-05-26 09:47:31 +00:00
Klaus Leithoff
0b1e444325
do not use password on asetLastPwdChange in admin actions, as the use of passwords indicates the usage of the functionality in usermode; Handle params for egw_cache::getSession in the correct order
2011-05-19 10:32:46 +00:00
Ralf Becker
5396f9c02f
fix for PostgreSQL notification update not working: some stuff is NOT to be quoted
2011-05-18 10:12:32 +00:00
Ralf Becker
a2d19164ee
fix postgres error reported on devel list: PostgreSQL error with categories attrunk@34914
2011-05-16 14:25:17 +00:00
Klaus Leithoff
9f3a3f0424
fix bug regarding left over tags after converting HTML2Text
2011-05-11 10:39:55 +00:00
Klaus Leithoff
9ec96b10e4
fix typo, as the account_lastpwd_change was not altered anymore on password change
2011-05-11 09:39:02 +00:00
Klaus Leithoff
76980e665c
HTML2Text: reduce CR/LF groups of more than 2 to a sequence of 2 CR/LF
2011-05-10 15:32:44 +00:00
Ralf Becker
f00ba4dc9a
do not restore install_id, as that would give two systems with identical install_id
2011-05-07 17:09:52 +00:00
Ralf Becker
ce619a8711
do NOT query sessionid_access_log for anonymous sessions, as they get not loged anyway
2011-05-05 15:50:22 +00:00
Klaus Leithoff
98122085f7
fixing a problem of swallowed whitespace while converting html to text
2011-05-05 08:59:54 +00:00
Ralf Becker
86837b37f7
password hash migration for LDAP (requires ACL to read password hash!)
2011-05-04 16:35:40 +00:00
Ralf Becker
bd64d536bc
fixed not working password (hash) migration
2011-05-04 13:33:34 +00:00
Ralf Becker
4f3f6748f1
small docu update
2011-05-04 13:32:58 +00:00
Ralf Becker
57fc9c63fc
- fixed with ssha not working migration from sql <--> ldap
...
- using 16 char salt for ssha and smd5 as eclipse ldap admin does
- remove auth::hash_sql2ldap() method, as it is now in setup/inc/class.setup_cmd_ldap.inc.php
- added ability to create uid dn in setup_cmd_ldap subcommand create_ldap
2011-05-04 09:42:50 +00:00
Ralf Becker
457e79454d
* Setup: making SSHA (salted sha1) hashes the default password hash for SQL and LDAP
...
- fixing not working ssha hashes if mb_string.func_overload > 0 set
2011-05-04 07:52:45 +00:00
Ralf Becker
42bf4dbc3c
updating number of current users via notifications
2011-04-14 09:50:35 +00:00
Nathan Gray
056f61ef72
Fix typo
2011-04-13 17:09:18 +00:00
Ralf Becker
5495491e78
* Admin: session-list is generated now from egw_access_log table independent of readablity of sessions files in filesystem
...
- session_(dla|action) is stored in egw_access_log table
- notifications refresh via ajax set notification_heartbeat timestamp in egw_access_log
- if notification_heartbeat is set (happens only for browser sessions with popup notification) sessions get removed from session list one minute after browser is closed
- new static method egw_session::notifications_active($account_id) to check if given user has an open browser with notifications popup checking, to ensure popup notifications can fall back to email
--> REQUIRES DATABASE UPDATE / SETUP
2011-04-13 14:11:09 +00:00
Ralf Becker
da7b427480
output function_backtrace, if get_last_insert_id() fails and commented code to switch querylog on for a single instance/domain
2011-04-10 15:10:07 +00:00
Ralf Becker
a182d128b8
order returned async jobs by execution time
2011-04-10 15:08:49 +00:00
Ralf Becker
524b5d081b
some more PostgreSQL stuff from ADOdb 5.11
2011-04-10 15:06:22 +00:00
Ralf Becker
18b818bd57
reverting accidently commit r34595
2011-04-10 15:05:47 +00:00
Ralf Becker
bd4f019062
some more PostgreSQL stuff from ADOdb 5.11
2011-04-10 15:04:40 +00:00
Ralf Becker
b56311dca0
patch #2932 : allow PostgreSQL unix domain sockets
2011-04-10 12:28:17 +00:00
Ralf Becker
52be51f4bf
* Calendar/API: fixed not working dateformat d-M-Y with French language (Juin=Jun, Juillet=Jui)
2011-04-09 11:24:50 +00:00
Ralf Becker
0db7258a7b
quietened permanent eror_log
2011-04-09 10:02:40 +00:00
Ralf Becker
5f2252819a
* Setup: fixed not working deinstall of languages
2011-04-09 09:45:41 +00:00
Ralf Becker
87ee0f0088
* CardDAV: store name part of URL from client PUT request, to fully comply with CardDAV spec
2011-04-05 20:39:13 +00:00
Ralf Becker
66c61cb74e
- move all filtering into SQL query in calendar_so, to be able to correctly return N rows starting from row M
...
- re-enabling propfind iterator again for calendar (fetching events in chunks of 500), to lower memory footprint
Please note: changed SQL queries used for CalDAV do not take changed participants (or status) in exceptions into account
2011-04-05 15:32:20 +00:00
Andreas Stöckel
b424341afe
Added selected change event to grid component, reverted change with drag'n'drop and window.top
2011-03-31 12:17:46 +00:00
Andreas Stöckel
dde3de5195
Added new column type 'EGW_COL_TYPE_CHECKBOX'
2011-03-30 14:28:49 +00:00
Andreas Stöckel
4b23d7bca2
removed egwGridView_outer margin
2011-03-30 12:28:24 +00:00
Ralf Becker
019ec56408
get new ajax canned responses working with multiline responses
2011-03-30 11:40:14 +00:00
Ralf Becker
05d3ca105a
give everyone implicit rights for home app, to display home link again
2011-03-30 10:44:11 +00:00
Ralf Becker
4039fdf415
* give everyone implicit rights for home app, as taking them away makes to many support problems
2011-03-30 07:54:29 +00:00
Klaus Leithoff
53bb18041e
purifier upgrade to 4.3.0, add missing files
2011-03-28 12:10:21 +00:00
Klaus Leithoff
66ca12e6f2
* core: reintroduce rev32909 (myStylite ticket#987: fixing a problem regarding chopped off urls when URI in question contains umlauts AND mbstring.func_overload is activated)
2011-03-28 11:52:16 +00:00
Klaus Leithoff
375006403c
* API: upgrade to purifier Version 4.3.0
2011-03-28 11:46:24 +00:00
Ralf Becker
3ea7ca54b8
remove not used $error parameter from pam_auth call, as it seems to stop login on some installs
2011-03-23 14:14:57 +00:00
Klaus Leithoff
e33aa2978c
* API/Authentication: add fallback to sql for mail authentication.
2011-03-23 13:19:48 +00:00
Andreas Stöckel
9db4532ca6
Removed forgotten debug message
2011-03-22 14:55:22 +00:00
Andreas Stöckel
afcf96a3cd
Added egw_grid_columns class which is capable of managing the grid columns of a certain grid and to store, load and merge the user columns data into the default column set
2011-03-22 14:00:03 +00:00
Andreas Stöckel
67575e1cd1
Added move and copy multiple files functions to egw_vfs, implemented functions needed to reload subtrees of the egw_grid, fixed problems with data fetching in egw_grid_data.js
2011-03-21 16:12:28 +00:00
Ralf Becker
8db999925d
* exceptions in async jobs no longer stop other jobs
2011-03-21 13:18:11 +00:00
Ralf Becker
3c8abc1971
* fixed not working async service test-job
...
$$adr[0] === $($adr[0]) !== ($$adr)[0]
2011-03-21 13:13:41 +00:00
Ralf Becker
38ef2706e3
switching accidently commited PostgreSQL query log off again
2011-03-20 12:57:56 +00:00
Ralf Becker
778d03772a
fixed typo CAPABILITY_CAST_AS_VA(R)CHAR
2011-03-20 12:49:22 +00:00
Ralf Becker
ebbbf233cf
new capability to CAST AS varchar
2011-03-18 14:18:24 +00:00
Ralf Becker
7f49fa6812
read users full name from password file and create email address according to configured rules for automatic created accounts
2011-03-18 13:36:19 +00:00
Andreas Stöckel
d966794b8d
Added get_home_dir function to egw_vfs
2011-03-16 17:51:33 +00:00
Klaus Leithoff
4f0e104e27
more to the issue: fix to regard the password-last-changed information from the auth system - if provided, and thus be able to react on forced password changes triggered by auth system
2011-03-16 12:44:42 +00:00
Klaus Leithoff
a080404dab
fix to regard the password-last-changed information from the auth system - if provided, and thus be able to react on forced password changes triggered from auth system. set password-last-changed info in authsystem on password change. when trying to force the user to change his password upon next login as admin from within egrouware, try to set the 0 value within the authsystem as well (in ldap rights are required for admin (or user) to set/alter the shadowlastchange attribute)
2011-03-16 11:00:16 +00:00
Andreas Stöckel
fa12444ae7
Moved contents of egw_vfs_utils to egw_vfs, added 'egwGridViewFullRow' class to the egw_grid_view.js, which is capable of inserting a data row which spans all columns, added egwGridData.clearData method to egw_grid_data.js, which delets all data stored in the data row
2011-03-15 17:52:08 +00:00
Andreas Stöckel
ae453db400
Fixed thumbnail generation for application folders, added egw_stylesheet.js, which allows the dynamic generation of a stylsheet. This is now used in the egw_grid_view.js to keep the row caption in the same distance from the icon - depending on the maximum icon width.
2011-03-14 12:42:59 +00:00
Andreas Stöckel
c77069d0af
Reduced thumbnail filesize limit in egw_vfs_utils.inc.php which was increased for testing purposes, fixed bug with container position calculation in deeper levels in egw_grid_view.js, which affected inserting new grid rows
2011-03-14 09:36:59 +00:00
Andreas Stöckel
943f369cce
Fixed bugs in the grid view js code (changes in the test_grid_view.html are for debugging purposes only), added class.egw_vfs_utils.inc.php which will contain high-level vfs functionality which was previously hidden inside etemplate and the filemanager, such as generating the thumbnail url for a file.
2011-03-13 20:54:16 +00:00
Nathan Gray
17f00ad134
Escape quotes in user names
2011-03-09 18:45:08 +00:00
Ralf Becker
f602720404
* fixed in last version not working bcc mail addresses
2011-03-09 11:30:14 +00:00
Ralf Becker
00dd0b090b
add Evolution as know GroupDAV client
2011-03-07 14:00:37 +00:00
Ralf Becker
3bb9e89bcf
* CalDAV/Lightning: fixed under some conditions infinit poping up alarms and user not able to add alarms
...
- Lightning pops up alarm, until Sequence/etag get updated: if user has no edit rights on an other users calendar, etag never got updated, now we update it
- fixed user was not able to add alarms via CalDAV, if he had no edit rights for event (was always possible in web UI)
- alarms from other users calendars are not included any more, as they make no sense but a lot of trouble
- fixed wrong condition on adding alarms, causing some alarms no being saved
2011-03-05 10:21:32 +00:00
Ralf Becker
4cce629666
* fixed handling of + char in VFS filenames (using egw_vfs::decodePath() instead of urldecode())
2011-03-03 15:41:01 +00:00
Ralf Becker
67a34286bb
AddrAppend() for Bcc get's NOT called for SMTP! --> reimplemented AddBCC()
2011-02-28 21:40:39 +00:00
Ralf Becker
c0550a5d59
docu update felamimail and disabled alert for error-messages, hook for egw_mailer to log or authorize all mail
2011-02-28 21:10:16 +00:00
Klaus Leithoff
6857f1c36e
with php5.3 EncodeQP uses quoted_printable_encode, which messes up content eventually
2011-02-23 12:36:08 +00:00
Andreas Stöckel
43e4fa2c3c
Updated the thumbnail generator to use the egw_cache_file class to generate a temp filename
2011-02-21 18:37:45 +00:00
Ralf Becker
1b210da48d
call all delete_category hook only for all apps, if cat is application-global
2011-02-15 13:03:39 +00:00
Jörg Lehrke
c59cb90742
* CalDAV: Apply other users' calendar color, too
2011-02-13 21:08:29 +00:00