Commit Graph

9476 Commits

Author SHA1 Message Date
Ralf Becker
f18f12fab1 missing phrase 2005-05-19 06:54:38 +00:00
Ralf Becker
3adb0e569a 2 bugfixes and some clean-ups:
- db::Halt_on_Error was not set, because of typo
- new md5 encrypted PW in cookie was again md5 encoded on each submit
2005-05-19 06:32:42 +00:00
Régis Leroy
c14db352f2 add a rule 7) in activities verifications. Start activities must be autorouted and interactive. Just to alert user what he is doing can't work actually. 2005-05-17 21:42:30 +00:00
viniciuscb
f5f15999db Tables information for vfs2 in setup 2005-05-17 15:21:38 +00:00
viniciuscb
a1330a50b1 Tables needed for FilesCenter 2005-05-17 14:51:08 +00:00
viniciuscb
729b5d3d7a VFS SQL2 classes 2005-05-17 14:48:20 +00:00
Miles Lott
7c5b4d93c0 Fix for BUG 1167158. Now setting cookie as encoded password vs. plaintext. 2005-05-16 00:42:05 +00:00
Régis Leroy
5e51a5d913 Forbidden access to activities assigned to other users or already gone, the engine was too much relying on client datas. Warning the engine compile pre-activity code is changed, you need to recompile all interactive activities. 2005-05-15 18:25:51 +00:00
Régis Leroy
2990191359 thanks to neomagic: syntax fix, still the same old renamed fields error. Actually not very used function, no immediate effect 2005-05-14 21:12:20 +00:00
Ralf Becker
a9e8ee4e1c some fixes:
- using string 'not set' for a not set lastname, as LDAP allows no accounts without lastname.
- addaccount hook was not called if account was auto-created at login-time (as the apps array is not yet read). Atm. app-names with hooks need to be listed here. I just added felamimail, which need to create mailboxes for new users
2005-05-13 16:02:37 +00:00
Ralf Becker
b883eca49d new auth_ads class:
- only needs host- and domain-name
- needs NO extra account on the ADS host
- can be used with accounts in SQL or LDAP to auto-create autheticated users
- new param to lowercase the user-names before auto-creating them (to deal with case-insensitve and case-sensitive system)
2005-05-13 15:58:10 +00:00
Ralf Becker
53eff000eb fixed ldapexport:
- was not setting the required account_primary_group attribute
- still used / created a phpgw object
- removed some sorting code without function
2005-05-13 13:41:26 +00:00
Cornelius Weiß
e70ba22f00 corrected typho remeber --> remember. 2005-05-11 18:54:34 +00:00
Cornelius Weiß
632a990cfb added support for authentication via cookie. NOTE: you have to enable this in setup if u want to use it. 2005-05-11 18:25:17 +00:00
Régis Leroy
fd9d1b1ceb galaxia workflow bugfix: non interactive activities should not set the user to the actual user, the user having the role on this activity (to make a manual send for example) can be a different one as this actual user is the one having a role on the prev interactive activity 2005-05-11 14:23:23 +00:00
Cornelius Weiß
bd9f34dbd3 bugfix in password migration 2005-05-10 21:14:20 +00:00
Cornelius Weiß
79c9507039 - massive code cleanup
- added md5_hmac auth type
- added support for password migration
2005-05-10 19:00:55 +00:00
Ralf Becker
ba85974cef new method query_list to return an array with one column as key and an other one as value, eg. for option-lists 2005-05-10 14:44:34 +00:00
Ralf Becker
dee6d75828 re-added exidently removed swap method 2005-05-10 14:43:42 +00:00
Cornelius Weiß
6ae229d703 corrected typho $now_us --> $now_su 2005-05-10 13:38:58 +00:00
Ralf Becker
f5da559e25 fixed typo in last commit 2005-05-08 17:54:05 +00:00
Ralf Becker
5fe6577033 widget-popup: changed version lead to empty template 2005-05-08 07:25:58 +00:00
Ralf Becker
42d7504d30 file contained the "wrong" editor.list_result template 2005-05-08 07:24:58 +00:00
Ralf Becker
be91927a2b file contained the "wrong" editor.list_result template 2005-05-08 07:12:46 +00:00
Carsten Wolff
545742c4ee honor ldap protocol version setting 2005-05-07 20:56:45 +00:00
Ralf Becker
27c12ddf2c 1) many bug-fixes
2) old editor removed
2005-05-07 14:05:10 +00:00
Ralf Becker
31aec3834b 1) width of browser-window is not permanently tracked in etemplate::innerWidth (on each submision of a form and stored in the session, default of 1018 is uses on first time)
2) images can have an imagemap (3. option)
2005-05-07 14:00:06 +00:00
Ralf Becker
f7573b9235 using db::select for read and search, search uses now *,? as wildcard 2005-05-07 13:55:19 +00:00
Cornelius Weiß
414d697a3d don't know how to add popups here... 2005-05-07 13:15:12 +00:00
Cornelius Weiß
b6268740b9 i'm so stupid!!! 2005-05-07 13:09:48 +00:00
Cornelius Weiß
5ce8a7b6c9 bugfix cat-admin 2005-05-07 13:08:28 +00:00
Cornelius Weiß
36fbfd7904 bugfix 2005-05-07 12:28:45 +00:00
Oscar Manuel Gómez Senovilla
1cc693567b *** empty log message *** 2005-05-04 22:52:06 +00:00
Ralf Becker
658e1a78c9 form: empty action uses now PHP_SELF?QUERY_STRING 2005-05-03 14:55:24 +00:00
Ralf Becker
434a91f041 allow to use etemplate apps as sitemgr modules:
- extend etemplate's sitemgr_module class and set the $etemplate_method class-var to a method/menuaction of the app
- the app need to return etemplate::exec() (otherwise the content is empty)!!!
- the app need to avoid redirects or links, as this would leave sitemgr!!!
2005-05-02 15:07:37 +00:00
Ralf Becker
ab20fb0a91 fixed translation 2005-05-02 11:38:38 +00:00
Ralf Becker
bdb7f0df1d Tool to change eGW sources automatic to comply with some of the eGW coding rules:
// saves an unnecessary copy
'= CreateObject'           => '=& CreateObject',
'= new'                    => '=& new',
// php5 cloning of the DB object
'= $GLOBALS[\'egw\']->db;' => '= clone($GLOBALS[\'egw\']->db);',
'= $this->db;'             => '= clone($this->db);',
// remove windows lineends (CR)
"\r"                       => '',
// $HTTP_{GET|POST|SERVER}_VARS => $_{GET|POST|SERVER}
$modernize['$HTTP_'.$name.'_VARS'] = '$_'.$name;
$modernize['$GLOBALS[\'HTTP_'.$name.'_VARS\']'] = '$_'.$name;
$modernize['$GLOBALS["HTTP_'.$name.'_VARS"]'] = '$_'.$name;
// phpGW --> eGW
'PHPGW_'	               => 'EGW_',
'$GLOBALS[\'phpgw_info\']' => '$GLOBALS[\'egw_info\']',
'$GLOBALS["phpgw_info"]'   => '$GLOBALS[\'egw_info\']',
'$GLOBALS[\'phpgw\']'      => '$GLOBALS[\'egw\']',
'$GLOBALS["phpgw"]'        => '$GLOBALS[\'egw\']',
'common->phpgw_header'     => 'common->egw_header',
'common->phpgw_footer'     => 'common->egw_footer',
'common->phpgw_exit'       => 'common->egw_exit',
'common->phpgw_final'      => 'common->egw_final',

It also substitutes spaces at the beginning of a line (indetion) with tabs, you need to specify (--remove-space-indention N) the number of spaces to substitute, if it's other then 2.
2005-05-02 10:21:38 +00:00
Miles Lott
2cc1972c51 Converting to new egw arrays 2005-05-01 14:34:59 +00:00
Ralf Becker
72aa737bc4 search: allow aliases in the retrived columns 2005-05-01 11:38:59 +00:00
Miles Lott
622bb81b07 Update to new arrays 2005-04-30 03:27:36 +00:00
Ralf Becker
1dd41c183b applied security relevant patch from nikolaus.jeremic-at-pro-inform.de: checking old password before changeing for a regular user 2005-04-28 13:10:31 +00:00
Ralf Becker
3de0d563ca - fixed horizontal alignment of all box-types
- allow to re-enable (by default) disabled cells, via setting the value for their name in $readonlys to false
- class attribute can be a reference into the content (@) and/or contain vars like $row or $col
2005-04-27 20:53:17 +00:00
Ralf Becker
0476bb0032 fixed not working (first) selection of a filter 2005-04-27 20:48:53 +00:00
Ralf Becker
fa95917fba - get_rows functions now allows to pass a join to the select-function
- fixed the counting of not-left joins (we cant ignore them, nor can we use count(*), we make an unlimited query now and retrive the number of rows with num_rows())
2005-04-27 20:47:34 +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
b97d8b5eeb big documentation update 2005-04-25 10:09:10 +00:00
Oscar Manuel Gómez Senovilla
296c82f996 *** empty log message *** 2005-04-24 21:30:37 +00:00
Ralf Becker
1b53dc172b if no left or right header is specified, disable the cell to not create an empty (1 row, 1colum) table 2005-04-24 17:14:41 +00:00
Ralf Becker
756062a477 disable_cells: new param $disable=true to also (re-)enable a cell 2005-04-24 17:13:44 +00:00
Ralf Becker
40526f9b2b - read use now only the unique keys, if no primary key specified
- search: allow to specify the number of rows to return (only the offset was possible before)
- improved hadling of table.*
2005-04-24 17:11:34 +00:00