Commit Graph

514 Commits

Author SHA1 Message Date
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Klaus Leithoff
cf5fe6a101 making sure the apps for ACL Management are sorted in Group-view 2009-05-13 13:52:54 +00:00
Ralf Becker
b52d29b7a7 New access log (created during an eGroupware application development
workshop at Stylite GmbH for new developers)
2009-04-27 10:31:23 +00:00
Ralf Becker
9aed38299f "fixed fatal error: creating custom fields delete application config:
caused by a missing config::read_repository() before calling config::save_repository(), which then only stores the custom fields, but not the rest of the config"
2009-04-23 11:18:51 +00:00
Ralf Becker
b11d7fe912 "fix for \"bug\" #1954: greatings should be greetings
and a new file-header"
2009-04-03 07:02:08 +00:00
Ralf Becker
185f934852 Patch from jean-charles.passard@provectio.org to fix handling of account
prefixes
2009-02-16 08:22:22 +00:00
Klaus Leithoff
de231ebb28 adapted new tracker table structure; adapted new knowledgebase table names 2008-11-14 13:24:18 +00:00
Ralf Becker
3fe7919b92 "- fixed wrong call $ids2change instead of $this->change
- egw_vfs --> egw_sqlfs"
2008-11-03 11:03:39 +00:00
Ralf Becker
5cf4b6eedc "fix typo" 2008-10-30 11:35:13 +00:00
Ralf Becker
226df83e0b "fixed bug reported from David Ranking on the devel list: cat list looses status, while editing global cat" 2008-10-08 07:55:49 +00:00
Ralf Becker
c475f86147 - get session list for session.save_handler='files' working again
- sessions are sorted by default with session_dla DESC (newest updated
  sessions first)
2008-08-19 11:54:35 +00:00
Ralf Becker
563ac8c71c session list:
- fixed not working "go to start or list" button
- added start/total display
2008-08-14 12:45:19 +00:00
Klaus Leithoff
df933068b3 #improving edit-mode in admin composing welcome/start messages.
if you entered/saved text in WYSIWYG Mode, you will start editing the text in this mode, later on. If you choose to leave WYSIWYG mode HTML 
tags will be stripped completely. Switching back and forth, will display the saved content with mode selected (WYSIWYG/PLAIN), changes made are
lost if not saved. 
If you save in PLAIN Mode all former HTML formatting will be abondened.
2008-08-11 10:25:58 +00:00
Klaus Leithoff
c5a3178c77 if you switch from text to html, and back, or if you save the message in html mode, there is no way back to WYSIWYG but using the source button
of fck editor and pasting the content of the window. To enable this, call htmlarea with the style parameter 'advanced', wich will be used as 
editor-mode switch then.
2008-08-11 09:25:23 +00:00
Ralf Becker
0c0f74aae4 "new session methods to list and count" 2008-08-08 08:20:53 +00:00
Klaus Leithoff
c19f247316 -moved the emailadmin related strings to emailadmin
-removed the manual setting of the link to the emailadmin, and moved it to emailadmin's hooks
-support the (user/group id change for emailadmin table/fields
2008-08-07 10:31:54 +00:00
Klaus Leithoff
402c0308dd -missing german translations
#Usability feature: Link to access/create a User assigned emailadmin Profile when in edit/view mode of an existing user
2008-08-01 09:54:12 +00:00
Ralf Becker
4bca7982d6 moved rest of the addressbook group-acl code to addressbook 2008-06-30 16:46:01 +00:00
Ralf Becker
ff7325276e hook to register an app for group acl 2008-06-27 10:03:14 +00:00
Ralf Becker
8e1221940a fixed link to set (extended) acl for user or group dirs 2008-04-18 12:38:17 +00:00
Klaus Leithoff
8d9737dab9 added the account creation/modification information to the edit dialog of an account as well 2008-04-10 10:21:51 +00:00
Klaus Leithoff
5ae0e7de95 fixed typo 2008-04-10 09:56:41 +00:00
Klaus Leithoff
735fe90547 added fields created/modified to the display of the single account info as part of the account status.
added accountstatus/created/modified to the display of the account list
2008-04-10 09:08:51 +00:00
Ralf Becker
afe2795f2d removed unnecessary instancations and using static methods of html and egw_link class 2008-03-25 16:37:37 +00:00
Ralf Becker
f4b534904f fixed delete user: select new owner, was showing only the first maxmatches accounts 2008-03-06 09:03:27 +00:00
Klaus Leithoff
91e5c2ab9c deleting the obsolete hook_admin.inc.php file 2008-02-29 13:06:52 +00:00
Klaus Leithoff
e51e180478 resolving of problems regarding 2 classes responsible for the admin prefs_sidebox (admin_prefs_sidebox_hooks + hook_admin) 2008-02-29 13:05:22 +00:00
Klaus Leithoff
6f9e01d386 get the sidebox menue for admin working again; provided by Stefan Becker 2008-01-29 15:14:35 +00:00
Ralf Becker
5d4e591d19 new private custom fields visible only to certain users/groups, only used in addressbook at the moment, easy to add for other apps, only requires to modify the storage method to only save the available cfs, to not delete the hidden ones 2008-01-19 05:32:51 +00:00
Ralf Becker
fe08487fd8 allow to queue command objects, to be fetched by the client 2008-01-09 02:04:30 +00:00
Ralf Becker
86621d7fe2 moved randomstring method to admin_cmd 2007-12-22 03:21:07 +00:00
Ralf Becker
296e339f65 fix for a stupid bug in php5.1.2 2007-12-20 23:56:06 +00:00
Ralf Becker
b195b3cb8d - throwing an egw_exception_db_not_unique, if saving an remote location, violates a unique constrain
- fixed wired error in setup-cli.php, caused by the automatic setup of the static accounts object, in the setup enviroment
2007-12-20 02:47:37 +00:00
Ralf Becker
e195efadeb moved access checks into the class with a default implementation, so commands can override it, to be eg. anonymous or under other restrictions available 2007-12-18 23:11:53 +00:00
Ralf Becker
21238900c7 __isset() & __unset() methods for admin_cmd 2007-12-13 02:34:44 +00:00
Ralf Becker
b2640f0cec moved remote hash calculation to a function 2007-12-07 00:03:31 +00:00
Ralf Becker
cae8bb40a8 added draft of an exception class for eGW, plus a global exception handler and replaced the fatal errors in the db-class plus the application rights check in the egw object with exceptions, modified the exceptions in admin_cmd* to use egw_excpetion*, instead just Exception 2007-12-06 08:00:41 +00:00
Ralf Becker
4f77162f64 first version of a setup command that can run via admins remote command execution 2007-12-05 02:27:49 +00:00
Patrick Bihan-Faou
bb20c359f2 The formated_list function in phpgwapi/inc/class.categories.inc.php was
renamed to formatted_list a while ago. There is no need to keep dead code
around.
2007-11-27 17:14:54 +00:00
Ralf Becker
71fc139a31 next step: all admin-cli commands are implemented now in the new structure, exist codes need to be reworked 2007-11-27 03:20:28 +00:00
Ralf Becker
007c46e729 next steps: UI to add remote sites, remote admin needs not to be configured/allowed on the remote side 2007-11-24 19:56:58 +00:00
Ralf Becker
912bbae120 next step admin-cli can send now commands to remote installs (defined direct in egw_admin_remote, no GUI yet) 2007-11-23 20:04:26 +00:00
Ralf Becker
462719d45e A very first step to remodel our current admin backend:
- all commands get loged and optional documented with requesting
  person and a comment
- all commands can be run immediatly or scheduled for a later execusion
- all commands can be run either from a command line (admin-cli), from
  the web GUI or via a remore administration from a different instance
current status: 
- command queue / history table created (need to be installed)
- base class for all comments
- one exemplary command to change application rights of users or groups
- admin-cli used the above comment and has additional parameters to set
  the requesting person, scheduled execution time and comment
- GUI to watch the queue / history
- URL to excute/schedule commands remote
More to come now on a daily basis
2007-11-22 00:57:12 +00:00
Pim Snel
a12070b61f add check to prevent compile error in translation tools
add initial kinyarwanda language
2007-11-12 00:47:59 +00:00
Ralf Becker
6ec9f61226 fixed problems pointed out by enricomilanese-AT-gmail.com 2007-09-16 06:51:13 +00:00
Ralf Becker
e91b4400b9 fix for bug #1172: values lost, if error in user-creation/validation 2007-08-30 15:29:34 +00:00
Ralf Becker
eadc1c7b38 fix for bug #658: Custom Fields - added user in list comes up as ID (number)
Unfortunatetly this bugfix requires some corrections in the way the customfield widget is called in the templates of other apps
2007-07-11 15:39:41 +00:00
Ralf Becker
0376f3d48f "removed no changable ACL for addressbook, if contacts are in LDAP" 2007-06-11 13:09:57 +00:00
Ralf Becker
c60811c353 missing date/time customfield type 2007-05-17 06:04:24 +00:00
Ralf Becker
9ff8985ae9 "cancel button was not working in delete user" 2007-05-07 08:06:03 +00:00
Ralf Becker
7ee3b19931 "bugfix: group-name (account_lid) could not be changed" 2007-05-04 14:18:47 +00:00
Ralf Becker
8d5370febe "fixed not working creation, rename and deletion of user- and group-dirs
--> it's done now via hooks from the vfs_home class for all types of vfs"
2007-04-29 12:07:43 +00:00
Ralf Becker
519c8e4e43 "bugfix: blank page when editing a user" 2007-04-26 13:54:21 +00:00
Miles Lott
f74693a09f Add missing (moved) public function 2007-03-09 12:09:54 +00:00
Miles Lott
d274143269 Updated to have all posts and gets go to the ui class. Bo class functions now take direct arguments and respond with true, false, or array of errors (for now). 2007-03-09 12:07:15 +00:00
Pim Snel
9467610549 implement topmenu hook
check if topmenu is enabled and then skip after navbar hook
2007-01-23 23:35:12 +00:00
Ralf Becker
6a0f1b67d3 fix for bug #221: config (admin.uiconfig) is not saved properly, if magic_quotes_gpc is on 2006-12-29 07:08:47 +00:00
Ralf Becker
f1b8c4ec2b Patch from Klaus Leithoff <kl-at-stylite.de> to sort the groups alphabetic while editing accounts 2006-12-19 13:24:09 +00:00
Ralf Becker
176554400a Patch from Klaus Leithoff <kl-at-stylite.de> to better deal with a big number of groups in edit accounts 2006-12-15 10:41:33 +00:00
Ralf Becker
343d5a6eac patch from Klaus Leithoff: implementing lettersearch for group-list 2006-12-06 15:15:42 +00:00
Ralf Becker
2e0e11d5a7 showing the query and keeping it when paging through the result 2006-10-28 09:38:20 +00:00
Ralf Becker
fd45860980 ability to set an email-address for groups (with automatic forwards to member's email) 2006-10-11 21:58:58 +00:00
Ralf Becker
6396d1b235 new application customfields for the other (non-infolog) apps. If the application field should generate a link, it has to be done in the application itself. 2006-10-05 06:34:12 +00:00
Ralf Becker
ff9f3ebcbd passing the info also to method hooks 2006-09-19 06:58:25 +00:00
Ralf Becker
9d4ddba49b removed not used instanciation of old sbox class 2006-07-06 20:15:11 +00:00
Ralf Becker
e6e05e283c reversed password change ACL from changepassword to nopassword change, to allow eGW users created in LDAP to be full users, without the need to change/add something in the ACL table 2006-06-23 01:28:47 +00:00
Ralf Becker
ec8bc31682 fix for empty webserver_url (eGW installed in docroot) 2006-06-22 05:38:31 +00:00
Ralf Becker
860ee3f50b fix to be able to set the email-address against the policy on add (update already worked) 2006-06-21 22:43:50 +00:00
Cornelius Weiß
4d200374a2 fix: load translation only if a gui is involved 2006-06-16 15:14:31 +00:00
Ralf Becker
c30d082ae6 changed editaccount hook to use the same values (with account_ prefix) as the addaccount hook 2006-06-09 00:05:14 +00:00
Ralf Becker
a3e859f85f quitent a debug message 2006-06-07 18:04:24 +00:00
Ralf Becker
6557128ec6 rewrite of the accounts classes:
- new cleaner AND documented interfaces
- old interfaces are still availible, but depricated
- LDAP backend stores now membership information in LDAP too, and does NO longer require the phpgwAccount schema
- LDAP backend deals now well with LDAP schema in which posixGroup is no structural object (eg. newer SuSE distros)
- password from users are done now binded as that user, so if you dont need/use our admin to manage accounts, you can give a root-dn which only allows to search&read accounts
2006-06-06 23:42:56 +00:00
Ralf Becker
c71c53851f fixed critical bug:
a too long account-lid caused the complete lost of run-rigths from all user and groups
2006-04-30 12:18:47 +00:00
Ralf Becker
c730c82502 reading the custom fields and types in the constructor, otherwise save_repository would delete them 2006-04-26 21:26:34 +00:00
Ralf Becker
267015342a fix for register globals off, nextmatch was not working on egroupware.org 2006-04-25 19:10:39 +00:00
Ralf Becker
b6b3db5ed4 first version / step to the new 1.4 addressbook:
- User accounts are an own addressbook now
- every user and group (can) have an own addressbook
- for groups the accessrights no longer depend on the creator
- new acl for adding into an addressbook
- all addressbooks can be displayed together (eg. accounts mixed with personal and group AB's)
- some useful new fields (photo, private cellphone, ...) and some obscure ones have been removed
- db update puts all contacts in the owners personal addressbook (further manual migration tools will follow), thought the UI already allows to mass-move them into a group-addressbook
- group addressbooks in SQL are created by making a group-grant for addressbook (like filemanger)
- Warning: all import/export/xmlrpc/syncml stuff and other apps accessing the addressbook is broken until the contacts class in the API gets fixed!
- it depends on further updates of etemplate, phpgwapi, admin!
==> it's pretty cool (specialy the foto's), but NOT ready for a production server !!!
2006-04-23 14:40:31 +00:00
Ralf Becker
703f049b09 function to create email addresses after a configurable policy 2006-04-16 12:31:00 +00:00
Ralf Becker
fcd9a870b7 fixed not working validation hook 2006-04-06 10:46:59 +00:00
Ralf Becker
bae9cc6013 invalidate session cache on changes in egw_info 2006-04-06 07:53:44 +00:00
Ralf Becker
055c9f846f config ignored changes made in the hook config 2006-04-06 07:52:50 +00:00
Ralf Becker
7b4cdbb097 login- and home-message dealed wrongly with some special chars like: \ ' " < 2006-04-06 07:51:23 +00:00
Cornelius Weiß
300b9b1070 addressbook extension:
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Ralf Becker
db1a32aa33 fix for bug [ 1446044 ] eGw asking for delete sub-categories when it not exists 2006-03-10 09:53:10 +00:00
Ralf Becker
eb6d8504c1 fix for bug [ 1417178 ] Group membership after edit
--> negative indexes to arrays are treated different if represened as string or integer
2006-03-08 18:25:24 +00:00
Ralf Becker
e3c0783cee fix for bug [ 1345020 ] Need to un-escape form/html output...
--> happened with magic_quotes_gpc On
2006-03-08 16:53:16 +00:00
Cornelius Weiß
19d4484b7d fix: hook update_group wasn't processed 2006-01-04 19:19:11 +00:00
Ralf Becker
809768937d added timesheet to the apps with acl 2005-12-19 04:17:43 +00:00
Ralf Becker
dc8d6aa52b fixed not working group-selectbox 2005-12-14 23:27:17 +00:00
Lars Kneschke
a14cf00c50 some small layout fixes 2005-12-02 14:06:25 +00:00
Ralf Becker
f227e36362 fix for bug [ 1362733 ] Setting is ruining calendar display... 2005-12-01 20:21:16 +00:00
Miles Lott
a828b3cf85 remove superfluous globals, format 2005-11-26 14:04:40 +00:00
Miles Lott
2a44512e96 fix email address 2005-11-26 13:48:28 +00:00
Ralf Becker
50548b05f5 fix for bug [ 1257649 ] nextmatchs failed when listing categories with much sub-cat 2005-11-23 23:44:20 +00:00
Ralf Becker
5fa1bb109b fixed not working update of start and login-page message: eliminated direct access to the lang & languages table by using (new) functions from the translation class 2005-11-19 20:10:23 +00:00
Ralf Becker
1f37f024ca phpgw_access_log --> egw_access_log 2005-11-13 09:47:05 +00:00
Ralf Becker
f6e4328f85 phpgw_(app_)sessions --> egw_(app_)sessions 2005-11-13 09:16:31 +00:00
Ralf Becker
8a06c230c4 modernized and documented the hooks-class, phpgw_hooks --> egw_hooks 2005-11-13 06:58:38 +00:00
Ralf Becker
10ced8ebd5 using common::get_referer() 2005-11-09 12:46:52 +00:00
Ralf Becker
402b114918 quitened warning if there are no customfields defined yet 2005-11-08 14:26:36 +00:00
Ralf Becker
37a5d611c0 customfields working again ;-)
- uses admin.customfields for configuration
- and customfield widget in eTemplate
2005-11-08 13:51:43 +00:00