Commit Graph

340 Commits

Author SHA1 Message Date
Ralf Becker
cedb9b553f - added add function: link to add an already linked new entry (supported only by InfoLog atm.)
- caching the app-register in the session (performance)
- new param for app_list to specify a capability which the returned app have to support, eg. add
2005-04-12 16:39:59 +00:00
Ralf Becker
fff09dbfd3 added function to update the remark 2005-04-12 16:37:04 +00:00
Ralf Becker
389596faa8 added call to bolink::notify_update($app,$id,$data=null) method on updated of infolog entries 2005-04-08 18:51:59 +00:00
Ralf Becker
47326b007e 1) apps can register a callback to receive notifications of new or deleted links to their application or updates in the content of the linked entries (requires to linked app to call the new bolink::notify_update($app,$id,$data=null) method)
2) documentation update in solink
2005-04-08 18:50:51 +00:00
Ralf Becker
0bd9ff209d an other documentation update 2005-04-07 09:26:49 +00:00
Ralf Becker
3b32bccc49 documentation update and the usual code modernization (phpgw-->egw, ...) 2005-04-06 11:05:57 +00:00
Ralf Becker
eeb73369b1 removed never used uilink class 2005-04-06 11:04:43 +00:00
Lars Kneschke
f6c2029094 changes to keep track of changed content 2005-02-27 23:33:14 +00:00
Ralf Becker
15c225d84b fixed bug: not all custom fields are shown readonly if only editing the status is allowed (thought they will not be saved anyway) 2005-02-24 14:08:27 +00:00
Ralf Becker
b6cc2d6d7b fixed bug reported by Reinhard Gustavik on the german list: custom status get's not saved and not used 2005-02-14 10:39:10 +00:00
Ralf Becker
c427c5d8af fixed bug [ 1051483 ] deleting an infolog entry not delete it's attachments.
I also delete empty dirs (after last attachment was deleted).
2005-02-09 16:24:17 +00:00
Ralf Becker
311af5f7b8 fixed not working attachments after first file-attachment on new created infolog-entries, eg. [ 1052140 ] 2005-02-09 14:59:38 +00:00
Ralf Becker
8518892d9a fix for bug [ 1049574 ] Windows does not support dates prior 1970-01-01
using adodb's datelibary instead of the regular php-functions: date, mktime, ...
2005-02-09 10:13:24 +00:00
Ralf Becker
c659d9e785 using clone() to create copies of the db-object for php5 compatibility 2005-02-08 17:58:25 +00:00
Ralf Becker
7fe8459ced using clone() to create copies of the db-object for php5 compatibility 2005-02-08 17:53:03 +00:00
Ralf Becker
a45cf2cd0a boinfolog::write: allow to (un)set touch_modified and set_default parameters via the values array (eg. for xmlrpc) 2005-02-07 07:09:33 +00:00
Ralf Becker
80bcfc782a change to reflect change in name of etemplate var 2005-02-05 14:18:18 +00:00
Ralf Becker
aeae312bc9 change to reflect change in name of etemplate var 2005-02-05 10:23:19 +00:00
Ralf Becker
0274dd12be fixed creation of infolog without any link (contained link with id=1 on HEAD) 2005-02-05 10:22:25 +00:00
Ralf Becker
d6f9fd8a99 fix for bug [ 1059619 ] SQL Error: cannot be null 2004-11-04 21:39:23 +00:00
Ralf Becker
7cc7965eea reworked infolog so-layer to use new db-functions to allow updates under MaxDB 2004-09-19 16:26:08 +00:00
Ralf Becker
bd15c88efb reworked infolog so-layer to use new db-functions to allow updates under MaxDB 2004-09-19 16:15:53 +00:00
Ralf Becker
69ba028568 fix for bug [ 1023559 ] Infolog does not search all entries while linking 2004-09-08 16:04:37 +00:00
Ralf Becker
62172c7202 fix for bug [ 994760 ] Linking sub-project (job) to an infolog entry 2004-08-28 19:33:10 +00:00
Ralf Becker
955eeca795 killed debug message 2004-08-28 19:02:26 +00:00
Ralf Becker
9e50e0f07d fix for bug [ 1007297 ] Time offsets incorrect
==> all tz-conversation is done now in the bo-class, as I handle it in the new calendar too
2004-08-28 18:02:16 +00:00
Ralf Becker
b7940f1f53 not longer needed 2004-08-28 14:59:56 +00:00
Ralf Becker
735f8e4036 fixed ACL for status offer, it respects now the regular read-access restrictions 2004-08-22 19:22:53 +00:00
reinerj
5587b0ba11 replace the crap 2004-08-09 11:43:57 +00:00
Ralf Becker
9a58928b81 fix for bug [ 1000255 ] Todo with progress screw formating in calender:
- partialy caused by a <div ... /> with no closing </div>
- a table around the icons and title, puts them in one line now
2004-08-07 18:32:03 +00:00
Ralf Becker
25ba714000 not using distinct on MaxDB too 2004-08-07 12:10:12 +00:00
Ralf Becker
a4ad3b46c0 killed htmlentities warning 2004-08-01 19:28:03 +00:00
Ralf Becker
c591c2c221 fixed / added mssql support for egw and fixed some other Windows probs on the way ;-)
- knowledgebase is not working: select distinct is not possible with text-columns
- fudforum is not working: is does not use ADOdb and has no own db-layer for mssql
- other apps seem to work, everthing needs through testing - incl. our "old" db's
2004-07-25 01:41:37 +00:00
Ralf Becker
517865a274 fix for bug reported by Patrick Fraley: status changes of responsible user do not get save, if that user has no write grant 2004-07-08 13:26:06 +00:00
Lars Kneschke
b30b9bd9c0 fix typo 2004-05-24 04:56:21 +00:00
Ralf Becker
a88c3fb9fd fix for bug [ 955489 ] CustomFields fails: for new entries the info_id was unset 2004-05-19 07:16:11 +00:00
Ralf Becker
25a30c53c6 fix for mbstring.overload=7, ereg('.*(x|y|z).*') never ends, preg_match('/(x|y|z)') works without problem :-) 2004-05-08 22:42:38 +00:00
Ralf Becker
4789f96793 setting some manual-page-names 2004-04-13 15:54:16 +00:00
Ralf Becker
4b7ced6e84 fix for search to return also the entries from sub-categoris, as sugested by Stephan Hilchenbach from the german list 2004-04-04 22:23:47 +00:00
Lars Kneschke
38fb73e9b0 fic for Call-time pass-by-reference 2004-03-24 15:13:48 +00:00
Ralf Becker
b43b27f6fa fixed (after xmlrpc changes) not working search 2004-03-23 08:22:46 +00:00
Ralf Becker
d8c602e654 fixed the categories xmlrpc signature 2004-03-15 21:38:09 +00:00
Ralf Becker
62a060d028 some changes for xmlrpc:
- removed the info_ prefix from all value-names
- ...
2004-03-13 17:58:37 +00:00
Ralf Becker
02c1c5a545 fixed bug in link-delete, missing this 2004-03-11 17:23:37 +00:00
Ralf Becker
c5dd013f18 first version of xmlrpc support for infolog 2004-03-10 00:58:18 +00:00
Ralf Becker
917c0aada9 fixed Call-time pass-by-reference 2004-03-09 21:46:25 +00:00
Ralf Becker
b1168f7b02 1) fixed bug #905779: main links title in contact field (blur text) got lost on changeing info-type
2) implemented separate sessions for infolog called via a hook and normal call, feature-request #903578
2004-02-28 14:58:44 +00:00
Ralf Becker
348770c1cd useing the updated vfs_sql class from the API now 2004-02-08 22:31:31 +00:00
Ralf Becker
1dee60f3d6 1) fix for new boprojects::list_projects syntax (Thanks to kernelconsult/sebb)
2) re-enabled infolog in projects-view
2004-02-06 10:36:43 +00:00
Ralf Becker
32a2083cbb 1) responsible user can change status now, even if he has no write-grant
2) removed not yet used confirm-field in the delegation-tab
3) fixed counting of subs (did not take acl into account)
2004-02-05 13:37:29 +00:00
Ralf Becker
9d0940e494 not used anymore 2004-02-05 13:24:39 +00:00
Ralf Becker
d4952f1a2b infolog now explicitly asks to deleted sub-entries and allows not to delete them 2003-12-19 02:26:17 +00:00
Ralf Becker
b05fc623e2 some fixes for the improved nextmatch 2003-12-10 01:21:31 +00:00
Ralf Becker
173eb70fea sort- and filter-headers for infolog's index page 2003-12-09 00:08:31 +00:00
Ralf Becker
c823ffc3a6 fix to generate link-title from description for an empty subject 2003-11-23 13:33:21 +00:00
shrykedude
86b812ed2c - Added small view for main screen display of infolog entries.
- Added pref setting for choosing and using small view.
- Updated calendar method to support display limit.
- Added/updated English translations.
2003-11-20 06:40:29 +00:00
Pim Snel
ecd459de8f add infolog index link in sidebox menu for better navigation 2003-11-17 16:51:38 +00:00
Ralf Becker
8b6206c225 added an implicite read-right for the responsible user 2003-11-14 12:05:47 +00:00
Ralf Becker
3a2d147bb0 register globals fix: List no sub-entrys from the prefs is working again 2003-11-05 16:44:56 +00:00
Ralf Becker
420cf9ad1d moved admin, preferences hook to one class, added a sidebox-menu 2003-10-16 09:36:46 +00:00
Ralf Becker
6596f08060 updated cvs-import with charset-conversation and automatialy run some string to id conversations 2003-10-07 23:58:48 +00:00
Ralf Becker
e6f7d30693 killed the debug-message 2003-09-16 12:52:51 +00:00
Ralf Becker
17b1361c59 fix to show delete button for edit only for existing entries on which the user has delete-rights 2003-09-16 09:06:10 +00:00
Ralf Becker
3f6c7c0ec1 fixed bug which deletes all existing links 2003-09-16 08:44:54 +00:00
Ralf Becker
ee7ec2bcd3 moved the html-class to the API 2003-09-14 10:25:05 +00:00
Ralf Becker
88d2c07fe8 corrected a typo, thanks to sdietzel@northcc.net 2003-09-10 16:41:18 +00:00
Ralf Becker
8f355ef32c fixed tz_offset and creating new entries with time 0:0 2003-09-08 00:40:42 +00:00
Ralf Becker
3de5eed23a fixed sql-error on deleting an infolog entry with custom-fields 2003-09-07 18:37:22 +00:00
Ralf Becker
65d4d6b484 small fix 2003-09-07 17:56:05 +00:00
Ralf Becker
3a5d9ed79f included other timed events (eg. phonecalls) and (untimed) todo's into the calendar dayview 2003-09-07 16:55:36 +00:00
Lars Kneschke
ec432051ff removed little typo 2003-08-31 21:24:51 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
Ralf Becker
006f912052 fixed calendar-title, & and " have been displayed as &amp; or &quot;
(cal is transmitting its data with entities and they get coded twice)
2003-08-19 10:29:52 +00:00
Ralf Becker
d2f6dbb043 manual contact was deleted when entering edit 2003-07-31 09:21:47 +00:00
Ralf Becker
db4fc5004b default Filter (for entering InfoLog) was not used 2003-07-31 09:20:36 +00:00
Ralf Becker
4e0a483462 filter-names where not translated 2003-07-31 09:18:27 +00:00
Ralf Becker
bfc88e430d fix for pgsql 7.3 2003-07-08 23:19:18 +00:00
Ralf Becker
70a6356dd8 a bit nicer fromat for the calendar_title 2003-07-06 23:40:53 +00:00
Ralf Becker
336c0d0cdf fix to get hook_home working for .14 and HEAD 2003-07-06 20:12:27 +00:00
Ralf Becker
b938d8aaa2 not longer needed, implemented now via methode in uiinfolog 2003-07-06 09:02:35 +00:00
Ralf Becker
6a8f193c24 set info_link_title with info_from if no info_link_id 2003-07-06 09:01:13 +00:00
Ralf Becker
26dff7a46d fixed add-icons in nextmatch header 2003-07-06 08:56:21 +00:00
Ralf Becker
c32a7e5d94 write: setting info_from, everytime info_link_id > 0 and info_from is set and == '' 2003-07-06 08:54:13 +00:00
Ralf Becker
8cb7c8bb47 changed db2data to copy only the numerical values 2003-07-06 08:52:35 +00:00
Ralf Becker
7381cb74d0 improved version of in_docroot, allows for pathnames starting like the docroot 2003-07-03 17:11:23 +00:00
Ralf Becker
62a6e8fd34 test against files-dir within the document-root of the webserver
(this would allow uploads of scripts via vfs, and then execute them via the webserver)
2003-07-03 00:33:26 +00:00
Ralf Becker
cb9f3526c9 make boinfolog::write return the id 2003-06-29 23:03:07 +00:00
Ralf Becker
594ed5bd57 app-header for delete 2003-06-29 23:02:34 +00:00
Ralf Becker
0c4a8b5323 removed old call to delete_attachted 2003-06-29 20:23:37 +00:00
Ralf Becker
213b3b5aad .16 conform app-headers
added display of all links to the list-page (configurable in the preferences)
2003-06-29 17:03:47 +00:00
Ralf Becker
5e8a496cc7 killed a debug-message 2003-06-27 11:34:21 +00:00
Ralf Becker
cf90e2d5f6 removed phpgw::strip_html, which is basicly htmlentities, from the calendar- and addressbook title function, as this is handled by eTemplate 2003-06-27 11:15:33 +00:00
Ralf Becker
3c028f82ab removed debug-messages 2003-06-27 11:01:35 +00:00
Ralf Becker
afc7dc8bb7 fixed typo in get_links 2003-06-27 11:00:16 +00:00
Ralf Becker
315f5c74ed existing links are not copied to new sub-projects, fixed now 2003-06-27 10:24:34 +00:00
Ralf Becker
893ed57127 nl2br now done in etemplate 2003-06-26 19:17:12 +00:00
Ralf Becker
78d0caebdd fixed a type in the sql of delete 2003-06-15 22:21:52 +00:00
Ralf Becker
1095c64709 1) so-layers now run every parameter through either addslashes of intval, to prevent query-insertion and for pgSql 7.3 compatibility
2) corrected the escapeing of " and '
3) added some inline-docs
2003-06-14 13:51:53 +00:00
Ralf Becker
32c627f7fa removed debug-msg 2003-04-28 07:15:04 +00:00
Ralf Becker
037eb08667 changes for new hooks 2003-04-27 22:35:39 +00:00
Ralf Becker
eadf885246 fix for not exisiting common::display_mainscreen in .14/6 (til the feature-freeze) 2003-04-26 08:39:59 +00:00
ceb
fb2360c3d5 update hook_admin 2003-04-23 01:51:27 +00:00
gugux
10bb2ab177 Changed some x's into %'s 2003-04-22 20:30:22 +00:00
Ralf Becker
24ccade46f link_id2title --> link_id2from 2003-04-02 10:13:19 +00:00
Ralf Becker
3969f5e153 update preferences: added helptexts 2003-03-31 18:49:13 +00:00
Ralf Becker
6406bfcd0d link_id2from renamed to link_id2title 2003-03-28 18:12:13 +00:00
Ralf Becker
dc1a031c50 new preferences to use the user/default/forced tabs 2003-03-28 02:30:19 +00:00
Ralf Becker
13c0080781 new preferences to use the user/default/forced tabs 2003-03-28 02:26:04 +00:00
Ralf Becker
d7db5b4903 fixed writeing of temp. alphanumerical info_link_id to the db, as pgSql complains about the wrong type 2003-03-20 17:31:01 +00:00
Ralf Becker
74fc92f617 fixed writeing of temp. alphanumerical info_link_id to the db, as pgSql complains about the wrong type 2003-03-20 17:22:53 +00:00
Ralf Becker
9669f27a8c fix for gnu-bug #1963: Saveing does not work in InfoLog, happens only if a webserver_url in the configuration includes a host (eg. http://server/phpgroupware) 2003-03-04 17:13:19 +00:00
Ralf Becker
17bf2d3139 1) changed pseudo-appname of attached files from 'vfs' to 'file' and made it a class-var
2) renamed vfs_view into get_file
3) changed behavior on deleting links for an not yet existing entry: was just unset before and is now set to False to be not overwriten by eTemplate's reload-circles
2003-02-22 12:23:54 +00:00
Ralf Becker
e3dfaa3ccd update 2003-02-22 12:04:12 +00:00
Ralf Becker
447038c587 small fix, need to be ported 2002-11-24 20:30:55 +00:00
Ralf Becker
cfe09c3489 fixes to get the hooks working again 2002-11-23 20:45:07 +00:00
Ralf Becker
d53632ec09 use the new format for prefs 2002-11-23 20:44:05 +00:00
Ralf Becker
839e094117 added a hook_deleteaccount 2002-11-20 19:58:15 +00:00
Ralf Becker
f1367446d0 different calls to display_section to work in HEAD and 0.9.14 2002-11-17 01:34:36 +00:00
Ralf Becker
db368a186d fixed not working infolog-global configuration:
no more serialize/unserialize of arrays needed
2002-11-05 16:00:01 +00:00
ceb
6f6e06b39f removed var from hook_admin 2002-11-03 01:03:07 +00:00
Ralf Becker
4ef9cd9399 ubdate to new about-system (all infos are in setup.inc.php, no more hook_about) 2002-10-27 18:09:12 +00:00
ceb
b4e4be334b update xslt 2002-10-26 00:33:22 +00:00
Ralf Becker
466c33e3b0 Got fileattachments working as links:
- link-widget and infolog/link-class can attach files now
- changed the value of the file-widget (it's an array now)
2002-10-20 15:06:52 +00:00
Ralf Becker
cb2503a55b modified writeLangFile to be called via [write Langfile] in the eTemplate editor 2002-10-19 11:17:24 +00:00
Ralf Becker
6e17b96dd9 some fixes to get the links working in case the entry is not yet created 2002-10-18 20:20:35 +00:00
Ralf Becker
d63e2607f8 some fixed to enable infolog with etemplates to run in 0.9.14 2002-10-17 23:34:28 +00:00
Ralf Becker
2004bf5c58 update with new table-structure for infolog 2002-10-17 22:02:44 +00:00
Ralf Becker
01e13c81ea - no empty data-line shown, if no data
- added option to disable nextmatch, if total entries <= nextmatch-max and no search, filter or cat set
2002-10-16 14:11:36 +00:00
Ralf Becker
0df9d71782 got infolog working:
- referers are handled now correct
- hooks are working again (only addressbook::view ported so far)
2002-10-16 00:23:39 +00:00
Ralf Becker
d1b7fc8035 get_links returns for a given $only_app only an array of ids not the whole links 2002-10-16 00:22:04 +00:00
Ralf Becker
4fe754d9a9 changed categories::formated_list to formatted_list 2002-10-15 13:32:32 +00:00
Ralf Becker
3693a818bd fix to allow '&' in attached files (needs to be quoted ('%26') in the download-link)
and preserving Linebreaks in InfoLog entries
2002-10-15 13:30:23 +00:00
Ralf Becker
e7048b5fb5 lots of fixes and additions:
- load_via works now in boetemplate::read
- included templates are relative to the includeing tpl, if they contain no '.'
- xul_io is alway writing the comple/absolute name
- HBox gets width=100% if alignment other then left set (new!)
- added links as 2. option to label
- added header function to uietemplate
2002-10-14 00:39:47 +00:00
Ralf Becker
83b0d0cd36 finished infolog.edit port 2002-10-09 11:48:20 +00:00
Ralf Becker
bafaceec62 moved to etemplate.link_widget (with sub-widgets) 2002-10-09 00:40:01 +00:00
Ralf Becker
4870c4a3d7 nearly finished port of infolog.edit
improved handling of linkage with not yet written entries
2002-10-09 00:37:00 +00:00
Ralf Becker
eea5281759 first steps on infolog port to etemplates 2002-10-08 00:10:18 +00:00
ceb
f684ccd732 update to use xslt 2002-10-03 21:38:11 +00:00
Ralf Becker
759a9f8e1a using include_once now to include the class we extend and exclusivly the etemplate.html class 2002-09-29 08:43:37 +00:00
Ralf Becker
973165d38d using include_once now to include the class we extend 2002-09-29 08:06:00 +00:00
Ralf Becker
4f491de35d changed interface for extensions to:
pre_process(&$cell,&$value,&$extension_data,&$readonlys)
post_process(&$cell,&$value,&$extension_data,&$loop)
2002-09-24 22:02:20 +00:00
Ralf Becker
d89bce6364 link functionality is now working, the UI is not very pretty 2002-09-03 23:09:21 +00:00
Ralf Becker
bf1aeeb114 basic support for link-selection, mainly for testing uilink.getEntry 2002-09-02 21:50:29 +00:00
Ralf Becker
e5f2cb6e77 added linkto_widget extenstion for eTemplates: select on side of a Link 2002-09-02 21:49:22 +00:00
Ralf Becker
911987d967 synced with the class in etemplates app 2002-09-02 21:47:04 +00:00
Ralf Becker
98e2b34f2f small addition for the inline-docu 2002-09-02 21:46:11 +00:00
Ralf Becker
69dde3bbd7 getEntry implemented via eTemplates, some typos corrected 2002-09-02 21:44:24 +00:00
Ralf Becker
3c97390d77 added app_list and debuged the other functions 2002-09-02 21:43:10 +00:00
Ralf Becker
014df2eabf corrected some typos in the link-support-functions 2002-09-02 21:40:44 +00:00
Ralf Becker
569a3672b0 some corrections for the inline-doc-parser 2002-09-02 11:14:30 +00:00