Commit Graph

513 Commits

Author SHA1 Message Date
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
Miles Lott
6717a20a69 Fix spelling of quota 2005-11-04 13:06:02 +00:00
Ralf Becker
c85d34c0fe changed the following table-names:
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Cornelius Weiß
65cd84bb4c sorry, acident happend 2005-11-02 10:05:57 +00:00
Cornelius Weiß
76692a6e28 upps, forgot to commit templates for customfields manager 2005-11-01 18:59:15 +00:00
Cornelius Weiß
21cdc2d1e7 added a general custiomfield definition module for admin-section 2005-10-28 18:27:06 +00:00
Ralf Becker
aac9ec7d10 phpgw --> egw 2005-10-14 17:03:16 +00:00
Lars Kneschke
1085534c94 modified the delete hooks to use $GLOBALS['hook_values'] 2005-09-20 10:11:38 +00:00
Ralf Becker
2ebf6f517e fixed old problem: changes in your account (eg. adding an app) happen with the next page-view only 2005-07-22 09:22:04 +00:00
petere78
73d74fa0f3 XHTML 1.0 cleanup for setup application 2005-07-11 18:02:19 +00:00
zhangweiwu
d2444ac288 further modification to replace typical phpgw style
<TD BGCOLOR="{ROW_ON}">
with egroupware style
<td class="row_on">
for more flexibility. most of these files are years old.
(pim proofread)
2005-07-06 02:26:44 +00:00
Ralf Becker
f5fefe3aff enable group ACL for projectmanager 2005-06-14 07:44:36 +00:00
Ralf Becker
483ad2cec4 patch from <tibolist-at-free.fr>:
code logic was wrong and it was using an API method that is
also buggy => in file /egw/phpwgapi/inc/class.common.inc.php the method
cmp_version_long().


1) the code logic:
it get versions for the current app and for the api from file
(app/setup/setup.inc.php) and from DB.
it loops over this 2 apps (app, and api), and set a $_current to true or
false. this variable value is defined by the last app check in the loop
(the API) => then if your API version is up to date, your application
version is also. which was wrong for me. Well in the attached file i
change the code logic.
2005-04-27 07:56:44 +00:00
Ralf Becker
ee9cf93b63 removed hack necessary because of the wrong call of the contructor of the application class 2005-03-30 14:46:37 +00:00
Ralf Becker
091af2e3b6 1) referer check to find out if called via admin or the sidebox menu of an app, in that case show the sidebox-menu of that app and not of admin and return to it
2) load the translations of the app to configure too, so it's phrases dont need to be in common, to have them in admin and the app
2005-03-03 16:57:07 +00:00
alpeb
6212ad3c78 Applied patches #1151626 from Regis Leroy that allow configuration of global ACL rights on a group level (before it was only possible on a user level). This will allow to control access to the admin and monitor sections of the workflow app using its new acl hook 2005-02-28 16:12:31 +00:00
alpeb
8299eb6aa4 added png support 2005-02-28 16:11:47 +00:00
Ralf Becker
d3d2ac11ee fixed bug reported on the devel-list: clicking on "Grand access" icons (pencil) while adding a new account results in an sql error
==> icon not longer shown, as we have no user-id yet
2005-02-15 08:18:27 +00:00
ak703
59392b4087 fix bug loosing email-entry after adding the user
thx to Thai Duong
2005-01-28 22:01:12 +00:00
ak703
c7c29c30aa fix group edit bug detected by Maanus, so after editing groups in combination
with LDAP, the remain with account type "g" and not getting "u".
2005-01-28 20:12:28 +00:00
ak703
0e6474592e it was nerving, being forced to have an icon for categories - many cat's dont
need an icon
2005-01-10 22:54:05 +00:00
ak703
ec7d20c4ae fixed error in last commit, changed overflow for select region to auto 2005-01-03 15:05:56 +00:00
ak703
3efeb8b62b implemented new style of multiple select (recommended by Mauro Donadello)
Items can now be selected by checkboxes instead of keeping CTRL key pressed, which
makes life easier for many users.
2005-01-03 10:41:07 +00:00
Lars Kneschke
cf3f10911e add email address also for new accounts
see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=270672
2004-10-18 05:15:58 +00:00
Ralf Becker
940deb08a9 finished DB backup and restore for eGW:
- the backup is independent of the used DB and can eg. be used to port an install to an other DB type
- autom. backup before upgrades of the DB structure
- installing backups instead an installation from scratch
- own backup screen in setup and admin to:
  + shedule repeating backups
  + up- and download of backups
  + creating and restoring backups
2004-10-15 23:06:34 +00:00
bgigon
7e1a268980 Increase visual 2004-09-28 12:26:05 +00:00
Ralf Becker
08089de0a6 enabled editing of user-ACL settings for admins 2004-08-28 13:48:32 +00:00
Ralf Becker
4eff10135f removed plugins, as they only work in selected languages 2004-08-28 13:35:02 +00:00
ak703
d2586ba500 improvements of the ui and some error checking for emtpy fields, implemented
tooltip info images for better explanation of the module. Started the README
2004-08-26 21:11:25 +00:00
Ralf Becker
2c62ea94b9 fix for bug [ 1011713 ] new user email address gone 2004-08-26 11:57:58 +00:00
ak703
eabf6925b5 Added an admin module for ldap based email settings (based on emailadmin)
but reduced to those functions, which are needed to manage ldap entries, which
rely only on standard schemas (core, qmail) which are not considered "experimental"
and without the need to add a separate schema.

This modul will be extended whenever possible and approved for more values.

Main goal here is: Ability to easily use eGW Admin for account management with
LDAP beackend and to comply with those schemas, the distros are delivering.

The link for this module will be shown in addition to Lars' EmailAdmin if LDAP
is used as account storage. So it will not break existing installation ;-)
2004-08-25 22:29:28 +00:00
Ralf Becker
45c0f356ef replaced all while-list-each with foreach, as requested in patch [ 1015863 ] Admin does not save ACL rights and Site Configuration 2004-08-25 11:21:23 +00:00
Ralf Becker
acc5c0dfb0 foreach instead of while-list-each 2004-08-24 19:59:31 +00:00
Ralf Becker
fb1f4f9d6b renamed html class in admin to html_tables, as the name clashes with the class html in the api 2004-08-24 19:57:47 +00:00
reinerj
ae5eb29bfe replace the crap 2004-08-08 21:29:14 +00:00
Ralf Becker
8ea4f68715 using new email address from the account 2004-08-01 17:09:26 +00:00
Ralf Becker
74fd47804a fixed asyncservices to run under the windows sheduler 2004-07-31 19:37:58 +00:00
Ralf Becker
faa4caa918 fix for bug [ 995944 ] Pass by reference in class.uicurrentsessions.inc.php 2004-07-22 14:35:38 +00:00
Ralf Becker
cf32369b5d stoping account or group creation process, if there is an error and therefor no id (else the acl or preference class assumes to change the current user) 2004-07-12 22:06:13 +00:00
Ralf Becker
05a7e6de3a fixed edit-user-form was loosing data, if an error occured 2004-07-12 19:54:44 +00:00
Ralf Becker
2d4a438533 fixed hook-values for add-user hook, new account id was not set, which gave an sql error in fudforum 2004-07-12 19:53:07 +00:00
Ralf Becker
e5d689cb9f added smtp-auth configuration to email and API's send-class (translations for that are moved to admin, as the config is now in Admin >> Site config and only for confinience accessible via Admin >> Email >> Site config too 2004-07-11 08:33:28 +00:00
Ralf Becker
31b3575448 reset start-value after each new search/selection 2004-07-09 16:08:59 +00:00
Ralf Becker
1992c6982b added email-address to the accounts-data and implemented a better account-selection (like the one in the new account-popup) 2004-07-04 17:33:13 +00:00
Ralf Becker
d9eb3ad604 not used anymore 2004-06-30 09:41:18 +00:00
Ralf Becker
889b6931f1 fixed call to accounts::save_repository not update for each user, but one time at the end 2004-06-23 13:19:38 +00:00
Ralf Becker
e8daf45b02 using account-selection widget 2004-06-12 09:48:59 +00:00
Ralf Becker
140a9fb5df added possibility to assign a color and an icon to a global category 2004-05-29 10:16:52 +00:00
Ralf Becker
7a89d5312d fixed loginscreen-message: was not updated if the performance patch was installed, as it changes the order of the columns in the phpgw_lang table and it did an insert without the column-names 2004-05-19 09:33:56 +00:00
Ralf Becker
f4361e3ca4 fixed not working scrolling and search for user-groups, fixed disabled search via admin-ACL's 2004-05-19 06:05:01 +00:00
alpeb
f75a66cc05 fix bug 948702. User won't be allowed to change an app name 'cause it breaks it. 2004-05-07 16:49:17 +00:00
alpeb
1dae93b363 partial fix to bug 948702: can't change apps names. Still more to do. 2004-05-06 15:29:33 +00:00
alpeb
6c6e2c445c added phpbrain to list of apps supporting ACL 2004-05-04 17:45:04 +00:00
Pim Snel
94822be83a implement htmlarea with plugins for testing and real use 2004-04-22 00:19:50 +00:00
Pim Snel
e20c2e2815 completly fix #921476 (Creating new account failes) The system now alerts that a group already exists with the userloginid which was attemted to create 2004-04-21 21:40:13 +00:00
Ralf Becker
b495aa7a0f implemented enble == 4 type apps - opened in a popup window - for the manual 2004-04-13 07:54:25 +00:00
Lars Kneschke
78443fcb63 fix things spoken about with ralf :) 2004-04-04 18:59:12 +00:00
alpeb
24e12a61dd Fixes bug #869805. When updating a group's name, in table phpgw_accounts only the account_lid field got updated, now account_firstname gets updated too. 2004-03-30 04:23:23 +00:00
Lars Kneschke
95ed13e717 second parameter was missing and generating a warning 2004-03-25 06:33:21 +00:00
Ralf Becker
7a47184f12 change icon for Group-ACL to use the standard/API edit-icon, changed the title/tooltip to "Grant access: edit group ACL's" 2004-03-23 13:45:23 +00:00
danbas
31d9bd59b6 fixed bug that I just introduced 2004-03-23 08:41:05 +00:00
danbas
ebe9a3354e idle times of more than 24 hours are now displayed 2004-03-23 08:34:00 +00:00
alpeb
9f17551049 when using popup for selecting users to add to a group, if there was only one member in the group new members added weren't shown in the select box because there was no scrolling bar, so now I made it at least five lines big 2004-03-02 04:08:59 +00:00
Miles Lott
ecd7fdb9ea fix banner 2004-03-01 00:57:01 +00:00
Ralf Becker
b074cbf924 fix for bug #843270: unkillable categories
sub-cats should either be delete or made mains if there parent get deleted
2004-02-26 12:18:44 +00:00
Lars Kneschke
28d5293d6e fix for bug [ 892893 ] "phpinfo" sometimes doesn't work 2004-02-26 09:01:42 +00:00
Miles Lott
2f32ca43b2 remove comment code which is not needed 2004-02-20 15:04:26 +00:00
reinerj
80ea30c5b1 changes from phpgw to egw dev group 2004-01-26 23:26:19 +00:00
Miles Lott
b66c1210c5 switch to _POST and _GET 2004-01-26 05:52:19 +00:00
Lars Kneschke
d96c9afac2 use a prefix for user accounts
can be set in setup
2004-01-12 06:22:20 +00:00
Miles Lott
9b3cb16bba add missing ) 2003-12-20 19:23:49 +00:00
Miles Lott
5a1f288b96 intval, ereg_, and gettype updates 2003-12-20 18:51:51 +00:00
Lars Kneschke
fb8e5b9f8a made adding categories working again 2003-11-28 07:56:30 +00:00
Lars Kneschke
c7c349b7c6 don't open a new windows anymore, when editing ACL's 2003-11-27 18:14:57 +00:00
shrykedude
9fc3c9b55b var check to make sure groups array is set before examining it, to eliminate PHP warning 2003-11-06 23:08:10 +00:00
shrykedude
b9f26e9216 Moved Add account item to same page location as other manager screens 2003-11-05 10:35:53 +00:00
shrykedude
79bae15b8d Correct off-by-1 error in app list 2003-10-29 04:36:43 +00:00
shrykedude
b6578a3c3d forgot to remove debug check 2003-10-22 05:18:45 +00:00
shrykedude
9798ccf162 Fixed bug in error log navigation.
Fixes for better HTML validation.
Match navigation button layout fixes.
2003-10-22 05:14:56 +00:00
Ralf Becker
57066401f5 Implemented for FUDforum/Ilia: changed the hooks addaccount, changepassword & editaccout to be called independent if the user is enabled for the app or not 2003-10-07 17:06:53 +00:00
Ralf Becker
1dfcc53846 sorted apps in user-manage after their titel and not after the not shown app-name 2003-10-05 23:16:03 +00:00
Ralf Becker
8e9ea3667f disabled peer-servers 2003-09-24 16:50:10 +00:00
Ralf Becker
2c3c764d9f fix to call {edit|view]_user_hooks again: ACL-manager and access-control 2003-09-24 16:48:04 +00:00
Ralf Becker
3261633231 sort the apps by title in admin->applications 2003-09-22 11:14:21 +00:00
Ralf Becker
27497d4f21 fix to show title of disabled apps 2003-09-22 10:58:05 +00:00
Lars Kneschke
39e3d2b965 don't call the deleteaccount hook twice anymore 2003-09-20 04:48:34 +00:00
Lars Kneschke
2f986a6667 fixed a problem with the primary group
fixed german translation
2003-09-19 20:43:04 +00:00
Ralf Becker
724b097301 pgSql fix, patch von Shryke Dude (shrykedude) 2003-09-16 21:55:22 +00:00
Lars Kneschke
0086593cb6 add stripslashes if needed 2003-09-14 16:30:27 +00:00
Lars Kneschke
9cf40e6797 can't delete class with members 2003-09-14 08:34:03 +00:00
Ralf Becker
850b3f6b4f set primary group to the first group of the user or the Default group, if it is not set 2003-09-13 19:06:10 +00:00
Ralf Becker
9cb610ad6d - adding primary group automaticaly to the groups of the user
- adding the user-data as parameters to the hooks: adduser, edituser, changepassword (old global var still works)
2003-09-13 19:00:41 +00:00
Lars Kneschke
ac487777b7 added support for primary group 2003-09-13 17:14:30 +00:00
Ralf Becker
35674f5ca3 reverted kneckes exidential changes 2003-09-13 14:39:30 +00:00
Lars Kneschke
437b960836 adding a primary group to the admin pages 2003-09-13 14:09:41 +00:00
Ralf Becker
f4fd01dd10 added possebility to remove the crontab-line 2003-09-06 10:50:35 +00:00
Ralf Becker
5422ee6beb disabled the peer servers 2003-09-02 13:28:38 +00:00
Lars Kneschke
e3dde66e08 change needed for integration of emailadmin
ldap bugfixing
2003-08-31 22:09:12 +00:00
Ralf Becker
1b1329661f admin/cats: changed logic and look to apply with the style-guide 2003-08-30 10:59:32 +00:00
Ralf Becker
f76c6eedd7 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:16:30 +00:00
Ralf Becker
e35efb3f53 merged asyncservices from .16 2003-07-21 18:21:30 +00:00
ceb
782fdf7c2d fix bug #3861 2003-06-24 13:32:25 +00:00