Commit Graph

407 Commits

Author SHA1 Message Date
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
Ralf Becker
c698632d44 corrected some typos in the link-class support functions 2002-09-02 09:21:35 +00:00
Ralf Becker
4a25ce8bc0 inital import of UI and BO-layer of new link-class and the functions in boinfolog to make infolog a fully supported app 2002-09-02 08:57:35 +00:00
Ralf Becker
78320c0525 moved infolog links to addressbook,projects and calendar to new link-class and its table phpgw_links 2002-09-01 20:41:36 +00:00
Ralf Becker
b9f7c66d71 initial import of link class 2002-09-01 18:59:01 +00:00
Ralf Becker
66cfae907f get infolog to work with (new 3-tier) projects
an other typo
2002-09-01 18:57:24 +00:00
Ralf Becker
f27c38c42c get infolog to work with (new 3-tier) projects 2002-09-01 18:11:57 +00:00
Ralf Becker
b846881759 corrected bug from savanah patch #419
infolog could not add new entries, that was caused by a halfway change to a new edit-form-template
2002-08-06 07:42:57 +00:00
Ralf Becker
b520fa4655 add global categories link to infolog-section in admin 2002-06-01 14:45:21 +00:00
Ralf Becker
91271e3afe some more changes to be compatible with seek3r new template-system
output is not longer print, but $GLOBALS['phpgw']->template->set_var('phpgw_body',$content);
2002-06-01 13:19:48 +00:00
Ralf Becker
100f5bc159 some changes to be compatible with seek3r new template-system 2002-06-01 10:10:14 +00:00
Ralf Becker
e1e147b1e3 small fix with default param of get_list
(nothing showed up in the hook_XYZ_view)
2002-05-14 13:19:53 +00:00
Ralf Becker
6dd371ca18 adapted hook_home to new portalbox design 2002-05-14 12:04:15 +00:00
Ralf Becker
26cc517d8a enable infolog to associate entries to calendar-events 2002-05-12 07:14:01 +00:00
Ralf Becker
3a8ab14e49 added/changed the way parameters are passed to uiinfolog.get_list and soinfolog.readIdArray 2002-05-01 17:19:07 +00:00
Ralf Becker
b6d1e36b3d added/changed the way parameters are passed to uiinfolog.get_list and soinfolog.readIdArray 2002-05-01 17:16:27 +00:00
skeeter
8bbcd143f1 Converting to get_var() for all HTTP_*_VARS. 2002-04-30 17:26:40 +00:00
skeeter
bbbb67a74e GNU Patch #108. 2002-04-08 14:23:27 +00:00
Ralf Becker
975adf9028 should be only in Version-0_9_14-branch 2002-02-24 21:28:57 +00:00
Ralf Becker
a850a50c3a inital import of local copy of sbox2-api-class with a fix for the changed name of the projects-class 2002-02-24 20:57:51 +00:00
Ralf Becker
5cd22d9a37 using boproject- insted of (no longer existing) project-class 2002-02-14 20:14:15 +00:00
Miles Lott
8144150f2d Get_rid of that get_referer message 2002-01-20 21:41:38 +00:00
Miles Lott
acdd4ea960 Using ntier acl_prefs 2002-01-12 15:46:47 +00:00
ceb
2fa6576cb9 update hook_prefs 2002-01-12 04:55:35 +00:00
Ralf Becker
89bf32bb59 remove if from symlink (seems to be leftover), if destination does not exist if causes symlink not to be created 2001-12-06 00:28:54 +00:00
Miles Lott
54013f4a19 GLOBALS 2001-11-23 20:05:08 +00:00
Miles Lott
fb0f64e6d0 php3 fix and format cleanup in get_referer() 2001-11-12 14:26:16 +00:00
Ralf Becker
98074dfce5 edit: removed form within form for cancel- and delete-buttons 2001-10-09 10:46:16 +00:00
Ralf Becker
79996d44dd if symlink to an existing file, that needs to be removed before, done automaticaly now in sysmlink function 2001-10-08 14:53:48 +00:00
Ralf Becker
dc20d2a54f need to override vfs-acl-check, as vfs is not using acl, and infolog assumes attached files have the same premissions as the infolog entry they are attached 2001-10-08 13:37:41 +00:00
Ralf Becker
4fc032aec1 missing ip in attach_file caused, no symlinks 2001-10-08 11:39:20 +00:00
Ralf Becker
b9802c348d get rid of some warnings if vfs-symlink stuff is not configured 2001-10-08 08:45:08 +00:00
Ralf Becker
d925b4f11b was caused by on other error, dont need 2001-10-07 21:08:49 +00:00
Ralf Becker
3c96729750 config is in bo 2001-10-07 21:05:12 +00:00
Ralf Becker
57ce821f0e vfs_sql-class from phpgwapi/inc extended with symlink & readlink, should go back into api 2001-10-07 20:12:55 +00:00
Ralf Becker
0146ff46df attachments now via symlinks if configured and retrieval to local clients via file:/path 2001-10-07 20:11:32 +00:00
Ralf Becker
3f71a7727d deleting of attached files 2001-10-04 23:34:30 +00:00
Ralf Becker
118c9a80dd the filter own now shows not assigned tasks (offers) from other owners, if they are not private (and you dont have private grant for the owner) 2001-10-04 19:04:58 +00:00
Ralf Becker
7173930c1a rewrote the get_referer function, added a cancel button to edit 2001-10-04 17:43:43 +00:00
Ralf Becker
285b98a9b8 finer control of not-to-show hidden-input-fields and link-args 2001-10-04 17:42:55 +00:00
Ralf Becker
f9107de6ac Attachment of Uploaded files (stored under /infolog via VFS) based on the patch of juergen@henge-ernst.de 2001-10-04 00:46:06 +00:00
Ralf Becker
e005b1ba36 set $this->data['info_id'] on write 2001-10-04 00:35:37 +00:00
Ralf Becker
20864d98eb some extra param (with defaults) for submit_button and file 2001-10-04 00:34:33 +00:00
Ralf Becker
14bfb1423e $GLOBALS['phpgw*'] and applied a patch from juergen@henge-ernst.de to close a security-hole (faked POST-request for edit-form) 2001-10-03 21:29:32 +00:00
Ralf Becker
7a151f621c removed a bug caused by previos comit (does not read account_data) 2001-10-03 19:37:26 +00:00
Ralf Becker
11891bb25a removed readAddr & readProj which are in bo 2001-10-03 19:21:50 +00:00
Ralf Becker
bbb3385ee1 $GLOBALS and using $GLOBALS['phpgw']['accounts'] 2001-10-03 19:21:08 +00:00
Ralf Becker
98f82ed2e0 $GLOBALS and setting $this->data['info_id'] for newly written entries via $db->get_last_insert_id 2001-10-03 18:56:42 +00:00
Ralf Becker
cb316d7cde $GLOBALS, title for alt in img-tag for konqueror, file and option for a_href 2001-10-03 18:34:47 +00:00
Ralf Becker
a47f9bbbb8 fixed some bugs in nextmatch-sort-colums and filters 2001-09-26 22:13:32 +00:00
Ralf Becker
5a799d8801 fixed some bugs in nextmatch-sort-colums and filters 2001-09-26 20:52:57 +00:00
Ralf Becker
2874ce3a5c some changes for php3-compatibility (removed references and ',' after last array-element) 2001-09-26 17:10:03 +00:00
Ralf Becker
d005b1048b Linked Addresses with Addressbook.view and not longer with AddressView from InfoLog 2001-09-26 16:08:08 +00:00
Ralf Becker
fc6aeb0368 change for cat-selection in nextmatch 2001-09-26 13:08:11 +00:00
Miles Lott
5ffe6cd3b3 globals 2001-09-25 22:45:05 +00:00
Miles Lott
41c87c6cff using GLOBALS, also helps php3 compat 2001-09-03 03:20:48 +00:00
Ralf Becker
a95b0a191c typo in fieldname caused infolog not to display 'show parent'-icon 2001-07-25 22:02:46 +00:00
Ralf Becker
1db9edc55e omitting 'INSERT INTO table col=val' for pgsql-compatibility 2001-07-19 23:00:51 +00:00
Ralf Becker
324b3921d7 only offer status-items appropriate for the selected type 2001-07-19 01:28:16 +00:00
Ralf Becker
ae7482c952 show linestructur (newlines) in the infolog-list 2001-07-19 01:03:36 +00:00
Ralf Becker
f05dc3d53d missing stripslashed added to read, common array $maybe_slashes with fields that may contain slashes for read+write 2001-07-18 23:54:43 +00:00
Ralf Becker
797ad8d151 parent_id got lost if addressbook/project-selection was called during creation of a sub 2001-07-18 23:09:11 +00:00
Ralf Becker
13debcb486 more english translations plus more consistent naming 2001-07-16 18:11:27 +00:00
Ralf Becker
58783d5464 hook_home, plus some filters and preferences added 2001-07-15 21:42:17 +00:00
Ralf Becker
e0e2bfd88e db-field datecreated is now a modification-date
maybe i change the fieldname later
2001-07-14 23:51:51 +00:00
Ralf Becker
354bcdf90f db-field datecreated is now a modification-date
maybe i change the fieldname later
lot of formating
2001-07-14 22:16:16 +00:00
Ralf Becker
36bb7573ae moved froming of the get_list() query from ui to so
lot of formating
2001-07-14 21:44:01 +00:00
Ralf Becker
c43aa22e21 not longer needed 2001-07-14 21:39:05 +00:00
Ralf Becker
2a3e445fac added preferences page to infolog 2001-07-14 15:49:04 +00:00
Ralf Becker
eb8b31b9c4 $phpgw->common->phpgw_footer() only in app/index.php and /index.php not in the class.uiapp.inc.php 2001-07-14 13:08:47 +00:00
Ralf Becker
297ad28d4e changes name from hook_infolog_about to hook_about 2001-07-14 09:37:52 +00:00
Ralf Becker
9ab0cfa5d5 not (longer) needed 2001-07-14 09:16:57 +00:00
Ralf Becker
7f4ab3a98e made get_referer work with $phpgw_info['server']['webserver_url'] like 'http:/domain/path'
(still works with '/path' too)
2001-07-14 09:14:28 +00:00
Ralf Becker
55a4e2d73b initial comit 2001-07-14 00:55:12 +00:00
Ralf Becker
b7c7f69351 nextmatch used again for included get_list(1) / hooks if #matchs > maxmatchs 2001-07-14 00:24:02 +00:00
Ralf Becker
76ba59071a icons to add entry, especialy for hook_addressbook_view, which is no longer showing the Add-Button at the end 2001-07-13 22:23:33 +00:00
Ralf Becker
9c1f5e1b6b infolog now uses $HTTP_REFERER,$referer for edit/add/delete to come back to the caling page, even when not called from infolog itselft 2001-07-13 11:10:19 +00:00
Ralf Becker
1317104aa9 show infolog via hook in addressbook/view 2001-07-12 23:39:02 +00:00
Ralf Becker
aec53a16b4 new 3-tier design: fix for no addr-view-links 2001-07-11 23:46:17 +00:00
Ralf Becker
437440d48f new 3-tier design 2001-07-11 23:17:32 +00:00
Miles Lott
aac982ef9e Sample hook being called by addressbook_view page 2001-07-08 16:03:15 +00:00
Ralf Becker
f4809414d1 a lot new function which saves writing html in php-files:
tables,forms,...
2001-07-01 21:32:12 +00:00
Ralf Becker
fcb828bc8d using new html-class 2001-06-04 18:26:46 +00:00
skeeter
22e3591f14 Cleanup for php3 support. 2001-06-01 03:48:54 +00:00
Ralf Becker
950809de72 changed db-name to phpgw_infolog, setup-files 2001-05-30 22:00:51 +00:00
Ralf Becker
6b6556b628 extracted address- and some other selection-boxes into class phpgwapi.sbox2 2001-05-28 20:20:38 +00:00
Ralf Becker
e7184a2422 cleared a reference to the old table-name info 2001-05-24 18:16:50 +00:00
Ralf Becker
936d6dd022 using display_section for hook_admin+hook_preferences 2001-05-24 15:06:42 +00:00
Ralf Becker
03a7ff211e renaming info in infolog 2001-05-24 13:40:40 +00:00
Ralf Becker
2cd598fb29 add more verbose description 2001-05-24 13:31:12 +00:00
seek3r
f184b96979 Initial revision 2001-05-23 19:07:45 +00:00