Commit Graph

472 Commits

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