Commit Graph

445 Commits

Author SHA1 Message Date
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