Commit Graph

668 Commits

Author SHA1 Message Date
Ralf Becker
7e577e22c4 fixed not working type specific customfields in infolog 2007-07-12 07:30:20 +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
2224267a7e "fixed infinit loop in the select-number widget, if start and end value are identical, also fixing the code with should protect from showing more then 100 items in the selectbox" 2007-07-05 07:48:56 +00:00
Ralf Becker
548858e074 "some bugfixes:
- two etemplate on one page (eg. infolog under the addressbook view) is working halfway again
- fixed not working vars in onclick on grid-cells
- disabled cells keep there css-class now
Also calling some of the static methods now static, while trying to make process_exec static (which it is not at the moment)"
2007-07-05 04:57:31 +00:00
Ralf Becker
d255c15248 "new so_sql2 class: adding magic __get() and __set() methods, to be able to work more object oriented with so_sql (just a first step)
you can now use $so_sql_obj->my_col = 15 instead of $so_sql_obj->data['my_col']=15; (be aware, that does NOT work with var-parameters of functions and probably references)
$so_sql_obj->id alwas references the auto-id, independent of it's name (id is a bad choice of a column-name, because it's a reserved word in some dbms)"
2007-07-05 04:50:53 +00:00
Ralf Becker
c5ac764580 "- bugfix: data_merge was not merging null values (isset instead of array_key_exists)
- new update function, which write just the given cols and not the whole row"
2007-07-05 04:46:49 +00:00
Ralf Becker
c28a1babff "fixed some bugs, wrong function or method names (it was'nt used so far)" 2007-07-05 04:44:18 +00:00
Ralf Becker
dcb8c7c80c "removed wrong/old constructor " 2007-07-05 04:42:20 +00:00
Ralf Becker
5d9ff65391 - fixed not being able to switch off notification for responsible
- new preference for htmlmail with larger fontsize
- new preference for notification of responsible: only when I get assigned or removed
- notifications are now suppressed, if no changes made (according to save_history)
2007-06-21 16:25:08 +00:00
Ralf Becker
1735a53f85 "fixed bug #946: Nextmatch last ( >| ) button goes to start
also fixed number-of-rows selection, which worked only on the 2. go
--> both problems were introduced by the memory saving fix applied after the last RC"
2007-06-21 09:59:53 +00:00
Ralf Becker
e8b71231f3 "fix for problem discovered by José Luis Gordo Romero <jgordor-AT-gmail.com>" 2007-06-20 20:53:54 +00:00
Ralf Becker
9e49e8c50d History for InfoLog (incl. the ability to disable real deletes) and delete notifications 2007-06-13 21:37:05 +00:00
Ralf Becker
39dd374379 "notifications were not send to assigned users" 2007-06-11 13:43:12 +00:00
Ralf Becker
fc3c7a40ad bugfixes and some enhancements to support async notifications (infolog) 2007-06-10 08:50:03 +00:00
Ralf Becker
af5804129f "two fixes for the num_rows in the next-match widget:
- use a default of 15 rows, if user&group has no pref set
- use what's stored in the extension data, if value not set (nm-header not shown)"
2007-06-08 08:51:05 +00:00
Ralf Becker
e5dd7f8122 email for the contactform 2007-06-06 08:22:39 +00:00
Ralf Becker
381d421466 email for the contactform 2007-06-06 08:18:45 +00:00
Ralf Becker
86870ce4d7 "modified to use the non-prefered sender-address if the prefered one is not set/existing" 2007-06-03 11:31:01 +00:00
Cornelius Weiß
8afb0cf003 adopt to static function 2007-06-01 11:53:49 +00:00
Ralf Becker
f2fb5fad4b 2007-05-28 21:17:15 +00:00
Ralf Becker
915e5f74f2 "fixed now working saving of column-selection after the memory-saving-fix" 2007-05-26 07:51:17 +00:00
Ralf Becker
77a318ae69 newest ajax-select-widget from Nathan Gray 2007-05-25 22:13:26 +00:00
Ralf Becker
75c797d0f2 fixed exec to save the include_xajax flag too (looping) 2007-05-25 18:13:13 +00:00
Ralf Becker
1e9b08d510 fixed problems pointed out by Janosch Machowinski <scotch-AT-tzi.de> 2007-05-25 12:18:00 +00:00
Ralf Becker
196046f66c "fix to drastically reduce the memmory used by eTemplate sessions (accidently the whole eTemplate object was stored incl. db-object with all table definitions and the returned rows)" 2007-05-23 18:06:21 +00:00
Ralf Becker
c2bb34cd4e fixed missing translation of monthnames after removing the asterisk prefix for untranslated phrases 2007-05-22 18:02:41 +00:00
Ralf Becker
94dced8024 "fix for bug #747: Postgres SQL error searching tracker items" 2007-05-21 04:49:57 +00:00
Cornelius Weiß
116f97e59c fix: remove forgotten debug message 2007-05-19 15:59:58 +00:00
Ralf Becker
cb7eb66434 "fixed php5 only foreach syntax, as we still support php4" 2007-05-18 13:49:46 +00:00
Ralf Becker
c60811c353 missing date/time customfield type 2007-05-17 06:04:24 +00:00
Ralf Becker
314beb70b2 "bugfix: for date/time storage formats without separators, eg. Ymd" 2007-05-16 13:02:31 +00:00
Lars Kneschke
f6b3216085 use egw_openWindowCentered2 instead of plain windows.open to open popup windows centered to the screen 2007-05-15 06:44:09 +00:00
Ralf Becker
4921902293 "fix for bug #514: \"needed\" not working with \"select entry\" widget" 2007-05-14 14:51:32 +00:00
Ralf Becker
aa1a87f328 "fix for bug #622: 'XML Import' doesn't work right" 2007-05-14 10:41:11 +00:00
Ralf Becker
9b61188549 "fix for bug #727: can not edit widgets below an embeded template" 2007-05-13 11:24:12 +00:00
Ralf Becker
b07f9f9704 "fix for bug #478: Invalid argument supplied for foreach() when no nexmatch *headers in rows" 2007-05-13 06:19:11 +00:00
Ralf Becker
32864e955a "calling the static method static seems to work more relyable in php5.2" 2007-05-12 10:12:41 +00:00
Ralf Becker
e41602efa2 "fixed typo, used german \"Mai\" instead of english \"May\"" 2007-05-11 15:56:33 +00:00
Ralf Becker
f40e6d5b5d fix for bug #275: tree of projects is only one line high in IE, plus removing the margin arround the mainDiv and saving some space around the navbar 2007-05-08 16:54:07 +00:00
Ralf Becker
f0c9a45803 patch #25: AJAX Select widget from Nathan Gray 2007-05-08 12:20:38 +00:00
Ralf Becker
3630f964fb "fix for bug: can not unselect users from a multiple user selection (eg. InfoLog delegates), if the original value is in $preserv array" 2007-05-08 09:00:22 +00:00
Ralf Becker
9748cf96be fix for bug #700: Date format d-M-Y not working in Infolog list display 2007-05-08 07:38:36 +00:00
Ralf Becker
2ed91ce075 fix for bug #674: no more simple multiple participant selection 2007-05-07 19:03:33 +00:00
Ralf Becker
b67a8934e3 "an other fix for bug #645: Error with apostrophes in organisation's fields" 2007-05-04 13:29:50 +00:00
Ralf Becker
ec4db98936 sitemgr module was not loading eTemplates javascript file 2007-05-03 19:16:32 +00:00
Ralf Becker
a119c5301e "fix for bug #645: Error with apostrophes in organisation's fields
--> changed the regular expr for egw::link() in js_pseudo_funcs
--> dont add submitit() call to image buttons with onclick action"
2007-05-03 06:38:36 +00:00
Ralf Becker
f386d0480d reverted 2007-04-29 20:30:15 +00:00
Ralf Becker
c81097ab13 worked around stupid php5.2 empty haystack warnings 2007-04-29 14:26:28 +00:00
Ralf Becker
e11b8e5e32 worked around stupid php5.2 empty haystack warnings 2007-04-29 14:25:19 +00:00
Ralf Becker
d1d4e02aad "fix: suppresed php5.2's stupid emty haystack warning" 2007-04-29 14:18:08 +00:00
Ralf Becker
8ab5ef92a2 bugfix: new 'buttononly' widget was registered to be processed 2007-04-18 10:34:26 +00:00
Ralf Becker
cb45908892 Class to repressent etemplate requests. It will be used in etemplate in the future and it can be used already to register further form-variables or their options via AJAX. 2007-04-16 20:46:55 +00:00
Ralf Becker
2abd66293e "docu update for fck" 2007-04-14 16:48:05 +00:00
Ralf Becker
edd2585f78 "docu update for fck" 2007-04-14 16:44:37 +00:00
Ralf Becker
a95813bd5d "fix for bug #385: Problem with HTML specialchars in addressbook" 2007-04-06 12:11:21 +00:00
Ralf Becker
82258373e2 "fixed problem reported in the users list/forum: viewing an addressbook entry gives a second navbar and other errors" 2007-04-05 07:27:41 +00:00
Ralf Becker
0eac6dd897 "killed a warning" 2007-03-16 12:20:19 +00:00
Ralf Becker
b7645ea2da "- improved handling of multiple etemplates on one page (eg. home)
- fixed not working validation error for selectboxes"
2007-03-13 13:46:50 +00:00
Ralf Becker
3a8cf8dba3 moved styles of nextmatch- & tab-widget into etemplate's app.css file, which gets now loaded by every eT app. Allows template designers to modify the look of theses widgets too 2007-03-09 11:25:08 +00:00
Ralf Becker
41a7e43d1b date widget can now prefix (readonly) dates with the week-number 2007-03-09 11:23:26 +00:00
Ralf Becker
dcc669af74 "link-string can now display links to a given app/id/only_app" 2007-03-09 11:21:56 +00:00
Ralf Becker
6bd5ac2da8 users can now switch every single column on or off in all nextmatch lists, admins can configure defaults (plus some bugfixes and other improvments) 2007-03-07 12:30:17 +00:00
Ralf Becker
389b6d0a7c "small fix to display eg. 0h32 correct" 2007-03-06 15:33:46 +00:00
Ralf Becker
4646fed791 an other small fix for the readonly time 2007-02-19 06:06:08 +00:00
Ralf Becker
928ddd4912 "Fixed not working ignoring of validation errors via regular expressions (eg. forced fields in the etemplate editor)" 2007-02-19 05:29:17 +00:00
Ralf Becker
4e49113cc1 "removed debug-message" 2007-02-14 07:22:15 +00:00
Ralf Becker
e844de99cd "fixed previous php5.2 fix, which caused readonlys set in the get_rows function not to work" 2007-02-14 07:11:42 +00:00
Ralf Becker
41f10cd5cc "fixed previous commit: day&month are displayed again with leading 0 plus some other fixes" 2007-02-14 07:09:17 +00:00
Ralf Becker
6ffdbb01a1 "read: prefix column with table-name, if used in join, to prevent ambigous col-name" 2007-02-14 07:07:58 +00:00
Ralf Becker
147240aa07 "treat $ignoare_validation param of validation_errors() only as regular expression, if it starts with a slash" 2007-01-27 04:02:21 +00:00
Lars Kneschke
3d259ec31a patch from sebastian to removed some forgotten debug output 2007-01-25 14:48:54 +00:00
Ralf Becker
f53c68f94d php5.2 fix and ability to return something from the get_rows function 2007-01-22 07:06:15 +00:00
Cornelius Weiß
d32b3ef8e8 patch #203 from sebastian ebling:
extendet submit_button() to also display <input type=button
 new type buttononly for eTemplate
applied this type for addressbook.index.right_add buttons
 applied this type for tracker.index.right button
2007-01-20 08:55:26 +00:00
Cornelius Weiß
7478fa159f complete transition to fck
changed etemplate apps: resources, wiki, projectmanager, infolog, news_admin
infolog now has a fck w.o. toolbar by defaut. This helps for mails from mail2infolog
compability function htmlarea in class.html now points to fck
deactivated old tiny code in class.html
2007-01-18 19:19:01 +00:00
Ralf Becker
b3640356f3 "fix for bug #282, hour and minute < 10 were not selected" 2007-01-14 03:14:11 +00:00
Ralf Becker
0315d30672 revert last commit, as it gives a fatal error with php5.0 2007-01-08 21:23:02 +00:00
Ralf Becker
08aadb56cf quitened a warning 2007-01-08 15:58:32 +00:00
Ralf Becker
e64e3e06b1 so_sql::init() returns now $this->data as eg. so_sql::read() 2007-01-08 15:57:58 +00:00
Ralf Becker
6387f19cae fixed isset_array using array_key_exists, to return also null values:
eg. $arr = array('x' => null); boetemplate::isset_array($arr,'x') returned false, as isset($arr['x']) === false, now it returns true like array_key_exists('x',$arr)
2007-01-08 15:57:09 +00:00
Ralf Becker
0aa9dffc1d - optional sprintf format for float and int widget
- grid rows can have further classes then row (has to be the first!)
2007-01-08 15:53:27 +00:00
Ralf Becker
4c1b672b72 fix for bug #41: etemplate generates empty images <img src=""> 2006-12-29 06:50:49 +00:00
Ralf Becker
e06b0462c1 render readonly textareas without size as div with the content run through nl2br, former <pre> did NOT wrap lines 2006-12-26 07:21:54 +00:00
Ralf Becker
a999bb4ef4 render only text-widgets with size < 0 as readonly input 2006-12-25 17:43:59 +00:00
Ralf Becker
5bc9ca3a7d use js_pseudo_func also for onclick 2006-12-19 13:36:54 +00:00
Ralf Becker
7e9852a028 some more stupid php5.2 fixes 2006-12-19 13:36:14 +00:00
Cornelius Weiß
21ae4691b0 fix: strange behaviour on traditional posts in etemplate apps, caused by my ajax feature:"only process what is given". This freature allowes more flexibility in custom templates, but is now only applayed to xajax requests 2006-12-17 14:15:10 +00:00
Ralf Becker
f4238614f3 new egw_db::capabilities['case_insensitive_like']=='LIKE' ('ILIKE' for Postgres) used for all so_sql search and the lettersearch in addressbook 2006-12-17 08:44:05 +00:00
Ralf Becker
be12e577e9 use now capabilities 'query' and 'add_app' instead of '' and 'add', to be more specific about what's needed 2006-12-12 14:38:52 +00:00
Ralf Becker
806cc84b1e - changed name of app in link-add widget to add_app, to be able to set it idependent of the other link-widgets
- added the ability to specify a default app for link-add
2006-12-11 07:53:16 +00:00
Ralf Becker
297690b22c added php4.3 compatibility function stripos, to get back php4.3 compatibility after the recent replacement of stristr with stripos 2006-12-09 14:20:10 +00:00
Ralf Becker
9e5ba08ecb fixed warning introduced by strstr --> strpos conversation 2006-12-07 19:05:40 +00:00
Ralf Becker
21f473137e killed a warning 2006-12-07 19:00:16 +00:00
Ralf Becker
9a96320225 display readonly text widgets with a given length as readonly input and not just as text 2006-12-07 18:59:53 +00:00
Cornelius Weiß
4338f6726b strstr -> strpos fix by thomas koch 2006-12-07 12:46:46 +00:00
Cornelius Weiß
be0bce8b40 add types passwd and select-lang 2006-12-06 20:09:22 +00:00
Ralf Becker
8c6cb48d85 fix for bug #87: Infolog - Addressbook categories mixed in 1.2.x
The select_widget allways used the cats of the current application. That's still the default, but it can be overwritten now via an option. The nextmatch_widget has now and optional parameter 'cat_app', which defaults to the app of the get_rows method.
2006-12-04 14:39:22 +00:00
Cornelius Weiß
8e647edc80 kill php5.2 warnings 2006-12-02 11:03:54 +00:00
Ralf Becker
efb218c924 we can have multiple comma-separated types now 2006-11-23 13:52:56 +00:00
Ralf Becker
2151ad6579 ability to limit the app selectbox to certain apps 2006-11-07 18:04:33 +00:00
Ralf Becker
76ac8d4381 php5.2 fix: Catchable fatal error: Object of class etemplate could not be converted to string 2006-11-07 14:22:49 +00:00