Commit Graph

13060 Commits

Author SHA1 Message Date
Ralf Becker
68dfe96fed "new method download_url" 2008-03-14 15:00:06 +00:00
Ralf Becker
f57f6a805b "using global db object" 2008-03-13 20:18:52 +00:00
Ralf Becker
e79c4b3e6a removed left over line, causing name2id to fail and stopping all logins 2008-03-13 20:08:37 +00:00
Ralf Becker
37a12ac183 "using global db object" 2008-03-13 19:37:09 +00:00
Ralf Becker
04160dda86 dont search of titles if no ids given 2008-03-13 19:31:31 +00:00
Ralf Becker
c01818daa1 egw_db::expression searches for a table_def in all (loaded) apps, not just the current) 2008-03-13 19:30:01 +00:00
Ralf Becker
12cdb8820d remove empty or null values from the config-table 2008-03-13 19:28:44 +00:00
Ralf Becker
14bc5239b7 "fixed not found first entry of result-set" 2008-03-13 19:12:14 +00:00
Ralf Becker
1d5979bb1e xet of addressbook display block (sitemgr) 2008-03-13 16:24:50 +00:00
Klaus Leithoff
259f6d5cab fixed a problem in the old vfs_sql class in acl_check, a var group_ok is checked to verify permissions but never set. this did lead to empty
downloads in some cases. This was sponsored by PX2@Medien GmbH & Co. KG
2008-03-13 12:48:43 +00:00
Ralf Becker
237c28506d use global db object 2008-03-13 12:47:03 +00:00
Klaus Leithoff
f53a1cf01d fixed a problem in the old vfs_sql class in acl_check, a var group_ok is checked to verify permissions but never set. this did lead to empty
downloads in some cases. This was sponsored by PX2@Medien GmbH & Co. KG
2008-03-13 12:46:54 +00:00
Ralf Becker
ae1cabebf7 "new optional param to get_3links to return just the app_id's and not the full link-records" 2008-03-13 11:27:48 +00:00
Ralf Becker
ef43425f7f allow to use global db-object (and no clone&set_app), if told so via a separate parameter to the constructor (not by default as the app using so_sql might not be ready for it) 2008-03-13 11:08:54 +00:00
Ralf Becker
e7d9ca5532 "suppressed warning if ADORecordSet::fetchSingle() has nothing to fetch and docu" 2008-03-13 10:59:57 +00:00
Ralf Becker
3760ea8608 fixed not found tabledefinition if no app-name given and a search of the table was requested (type in var-name) 2008-03-10 21:32:13 +00:00
Ralf Becker
8b235d1e2c fixed not saving primary link (because link_id2from used incomplete array of existing links) 2008-03-10 21:04:51 +00:00
Ralf Becker
c51ea2a0f8 fetch assoc, to minimise memory usage 2008-03-10 21:03:15 +00:00
Ralf Becker
5ea6f9dc1f search every id only once 2008-03-10 21:02:11 +00:00
Ralf Becker
5042a302d6 fixed typo, preventing links with a certain app to be found 2008-03-10 21:01:28 +00:00
Stefan Becker
62ad7b05eb added new countrys like AALAND ISLANDS or SERBIA AND MONTENEGRO and
marked old contrys with 'former'
2008-03-10 16:41:55 +00:00
Stefan Becker
889960567e my first commit: add or delete an categorie to the addresbokk entry. In a popup window, you can select, the categories zu want to modify. You can select more than one addresses. 2008-03-10 16:33:17 +00:00
Ralf Becker
694dbc443b some more php5 and html static fixes 2008-03-10 15:54:21 +00:00
Ralf Becker
6e9829faf6 some more php5 and html static fixes 2008-03-10 15:49:46 +00:00
Ralf Becker
b0ce76ad83 "added some aliases for iso-8859-1 which seemed to be used in some mails" 2008-03-10 12:57:27 +00:00
Klaus Leithoff
d3165294c6 attempt to fix the problem with the stick org_view problem in addressbook. col_filter is not reseted if org_view criteria is set to all. 2008-03-10 12:34:57 +00:00
Klaus Leithoff
2ec1a77daf attempt to fix the problem with the stick org_view problem in addressbook. col_filter is not reseted if org_view criteria is set to all. 2008-03-10 12:15:47 +00:00
Klaus Leithoff
123777682e to be able to do the contains feature of adv-search we split the value and search for each part individually
we do that only if the advanced search is set to contains (wildcard is set)
2008-03-10 10:08:27 +00:00
Ralf Becker
2b2b88c35c Fix to never store private accounts, as they are always public (seems to be still the case for SyncML) 2008-03-10 07:05:41 +00:00
Ralf Becker
7e9c82ce64 "Fix to never store private accounts, as they are always public (seems to be still the case for SyncML) " 2008-03-10 07:00:32 +00:00
Ralf Becker
9993be3eed "make etemplate::_sel_options() public again, as it's used by other widgets (eg. tree_widget), thank to webmaster-at-kmu-tools.de " 2008-03-10 06:50:02 +00:00
Ralf Becker
d4a1075c68 "fixed bug reported on the german list by webmaster-at-kmu-tools.de" 2008-03-09 21:14:05 +00:00
Ralf Becker
e6d99f37e9 "but test_import and import_dump is ..." 2008-03-09 15:54:52 +00:00
Ralf Becker
4b60cbf95f "UPPS compress_array is NOT static" 2008-03-09 15:48:21 +00:00
Ralf Becker
10af150055 replaced with static egw_link unnecessary infolog_link_registry-class 2008-03-09 14:46:51 +00:00
Ralf Becker
7c64936239 made all methods from html class static and removed the unnecessary singleton 2008-03-09 14:46:02 +00:00
Ralf Becker
e90a3d3a83 reworked etemplate to have static methods and use the new features of egw_db- & html-class 2008-03-09 14:41:22 +00:00
Ralf Becker
b16e63fd6f reworked etemplate to have static methods and use the new features of egw_db- & html-class 2008-03-09 14:37:57 +00:00
Ralf Becker
0da675bf6e made all methods from html class static and removed the unnecessary singleton 2008-03-09 14:35:48 +00:00
Ralf Becker
97f63b43ff some compatibility stuff for ADOdb<->PDO 2008-03-09 14:22:02 +00:00
Ralf Becker
641475d08b using static methods of egw_link and config, implemented titles link 2008-03-09 07:33:42 +00:00
Ralf Becker
e96a4401f2 removed left over instanciation of bolink 2008-03-09 06:58:24 +00:00
Ralf Becker
0ac46f72c7 reworked to call egw_link (static) 2008-03-08 23:21:42 +00:00
Ralf Becker
6cfde1148b "added (depricated) $link_table var" 2008-03-08 23:17:10 +00:00
Ralf Becker
f9315dc39c reworked for new link-class and added titles method 2008-03-08 22:45:01 +00:00
Ralf Becker
e311150947 boinfolog::search(&$param) 2008-03-08 22:39:07 +00:00
Ralf Becker
b1c2d9ac47 titles was not caching the returned titles and new param for get_links_multiple() to cache the titles of all found links 2008-03-08 22:38:09 +00:00
Ralf Becker
15ca7e90ed eGW wide index over all applications (superindex)
This index allows a fulltext search over all applications (or of
cause also a single app).
Whenever an applications stores an entry it calls: 

             boolean egw_index::save($app,$id,$owner,array $fields,array $cat_id=null)

which calls, as the application do when is deletes an entry (!), 

             boolean egw_index::delete($app,$id)

and then splits all fields into keywords and add these to the index by 

             boolean private egw_index::add($app,$id,$keyword).

Applications can then use the index to search for a given keyword
(and optional application):

             array egw_index::search($keyword,$app=null) or

             foreach(new egw_index($keyword,$app=null) as $app_id => $title)

To also allow to search by a category or keyword part of it, the index
also tracks the categories of the entries. Applications can choose to
only use it for category storage, or cat do it redundant in there own
table too. To retrieve the categories of one or multiple entries: 

             array egw_index::cats($app,$ids)

Applications can use a sql (sub-)query to get the id's of there app
matching a certain keyword and include that in there own queries:

             string egw_index::sql_ids_by_keyword($app,$keyword)

Please note: the index knows nothing about ACL, so it's the task of
the application to ensure ACL rights.
2008-03-08 21:51:12 +00:00
Ralf Becker
50f5c1b116 using new egw_link class and reading all links of the whole index page in one go 2008-03-08 21:43:13 +00:00
Ralf Becker
37c3933e0b using new egw_link class with static methods 2008-03-08 21:41:59 +00:00