Commit Graph

9488 Commits

Author SHA1 Message Date
Ralf Becker
ef7fa4813c re-enabled the 1.0.0 compatibility of the HEAD version of eTemplate: allows to use HEAD eTemplate in an 1.0.0 install, eg. to use the improved tab-widget (no reload anymore) 2005-05-21 07:56:02 +00:00
Ralf Becker
7cc61c1ba4 for embeded templates propagate the CSS class to the template, helps the extension a lot, as one can specify a class for the extension and the extension automatic use it in the template used to render the extension 2005-05-21 07:41:09 +00:00
Ralf Becker
8f2420541a fixed generation of options in select-boxes: now 0 == '0' != '' when marking options as selected 2005-05-20 17:00:12 +00:00
Ralf Becker
0793450251 own template to edit grids: has now separate fields and helptexts for the diverse values comulated in size/options 2005-05-20 16:56:16 +00:00
Ralf Becker
c59b7c4aca - using the styles for htmlarea for the readonly version (div) too
- autom. adding px to numerical width and height values for the table
2005-05-20 16:49:54 +00:00
Miles Lott
5b1996b1f1 Fixed incorrect phrase header 0assword 2005-05-20 13:02:14 +00:00
Ralf Becker
db148b55bc - fix_set_onclick was not called, if one navigated to a widget with the arrows
- onclick of a button was not reset, when a button was converted to a box
2005-05-20 12:01:15 +00:00
Ralf Becker
5d763bd11e corrected a "funny" php5 behavior 2005-05-20 11:24:54 +00:00
Ralf Becker
f34b93e6ae implemented the possebility to specify the HTMLarea width and height via it's config (default is via the dimensions of the textarea). Needed if the HTMLarea is in a not displayed tab (style="display: none"). 2005-05-19 13:22:44 +00:00
Ralf Becker
e66fc40408 tab-widget can change now between the tabs without a reload 2005-05-19 13:16:52 +00:00
Ralf Becker
3c8f31fcf7 some bug-fixes plus using the new mysql >= 4.0 feature to count the total number of rows in a limited query 2005-05-19 13:15:19 +00:00
Ralf Becker
e38b703f77 fixed: saving of imported templates was not working 2005-05-19 06:56:04 +00:00
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