Commit Graph

145 Commits

Author SHA1 Message Date
Ralf Becker
2baf654e14 move all tables to new api and update api to 16.1 2016-04-02 19:55:08 +00:00
Ralf Becker
adb748d6e7 move hooks class to api and only cache hooks in instance cache (instead of database: filesystem scan takes ~4ms, cache ~0.2ms) 2016-04-02 14:16:20 +00:00
Ralf Becker
5e347fb85b Change egw_sqlfs_props.prop_value back to utf-8/varchar, as it can contain user content eg. our comments, replace non-ascii chars in contact_pubkey, before converting to ascii 2015-11-10 11:17:21 +00:00
Ralf Becker
9ec5116d7e * API: fix SQL error in upgrade from 1.8/11.1: Incorrect string value *** for column async_data 2015-10-27 08:40:15 +00:00
Ralf Becker
a26e86ee1e Change egw_addressbook.contact_pubkey to 16k as an ascii-armored 4096 bit PGP key is ~12k 2015-09-01 13:44:21 +00:00
Ralf Becker
beb829c315 drop contenthistroy class and table (egw_api_content_history) formerly used by SyncML 2015-08-18 11:45:59 +00:00
Ralf Becker
5ef86e0b16 change history_status back to varchar, as it contains custom-field names, which can be non-ascii 2015-07-24 12:06:33 +00:00
Ralf Becker
a9c4060dd6 shorten index on egw_sqlfs.fs_name to improve performance 2015-07-19 09:12:47 +00:00
Ralf Becker
6cf9385c48 fix wrongly converted columns back to utf-8 and change message_id to ascii, if you already run update to 14.3, you need to set 14.2.025 in your db:
UPDATE egw_applications SET app_version='14.2.015' WHERE app_name='phpgwapi' AND app_version='14.3'
2015-07-16 08:27:00 +00:00
Ralf Becker
bba3fa804a some database optimizing: changing columns with no user-input to CHARACTER SET ascii (instead of utf8), shorten indexes and add additional autoincrement columns where primary key contained varchars 2015-07-11 13:56:50 +00:00
Ralf Becker
63cfd63c67 add group description for accounts in sql too 2015-02-18 17:37:07 +00:00
Ralf Becker
223455b7aa first step for new file-sharing feature 2014-11-13 17:31:36 +00:00
Ralf Becker
5ba884f4a6 * Admin/API: remove old database based error-log 2014-07-05 08:54:36 +00:00
Ralf Becker
d6ce36d735 bump versions to 14.1 2014-06-24 10:00:50 +00:00
Ralf Becker
ffae12e240 * all apps: custom-fields are now stored in own egw_customfields table (no more limit on number), site configurations get now JSON serialized 2014-06-23 14:35:22 +00:00
Ralf Becker
28673080f1 remove old API interserver class, drop its table and commented out functionality from admin 2014-01-19 09:54:14 +00:00
Ralf Becker
933be21758 link-table stores accounts for app="home-accounts" 2013-06-12 18:11:11 +00:00
Ralf Becker
066ffc2c25 refactored account_id change script to use information from app-specific tables_current.inc.php instead of a fixed list 2013-06-12 16:57:44 +00:00
Ralf Becker
410abc5fb7 * CalDAV/CardDAV/Calendar/InfoLog/Addressbook: changed database schema to allow for up to 200 char name-part in url to support eg. Bynari WebDAV Collaborator Outlook client 2013-05-13 09:35:51 +00:00
Ralf Becker
f87d202652 docu update 2012-09-21 11:59:44 +00:00
Ralf Becker
535051e77f Some index to speed up access/update of huge history-logs 2012-07-05 09:24:51 +00:00
Ralf Becker
5549c2d3b9 some index to speed up access/update of huge access-logs 2012-06-12 06:29:02 +00:00
Ralf Becker
0c6d80d778 * API/Admin: add user-agent to accesslog and sessions, add sessionid to history to better identify what was causing changes in history 2012-06-01 13:13:06 +00:00
Ralf Becker
eef250747f necessary update for distributions lists as groups in CardDAV, fixes SQL errors "unknows column list_...." 2012-02-10 10:09:18 +00:00
Ralf Becker
62a5869b7f * Addressbook/CardDAV: Add index for contact_modified to improve performance of ctag generation on big installtions 2012-01-04 21:55:06 +00:00
Ralf Becker
5ae8f52ad5 update to 1.9.010 and enabling password migration to sha512_crypt, if available 2011-06-06 06:52:45 +00:00
Ralf Becker
13b4bb3e75 * Switch on password migration to migrate to new default ssha, if installation uses the old default
- altering egw_categories.cat_owner to varchar(255) to prepare for multiple category owners/groups
2011-05-07 18:46:29 +00:00
Ralf Becker
5495491e78 * Admin: session-list is generated now from egw_access_log table independent of readablity of sessions files in filesystem
- session_(dla|action) is stored in egw_access_log table
- notifications refresh via ajax set notification_heartbeat timestamp in egw_access_log
- if notification_heartbeat is set (happens only for browser sessions with popup notification) sessions get removed from session list one minute after browser is closed
- new static method egw_session::notifications_active($account_id) to check if given user has an open browser with notifications popup checking, to ensure popup notifications can fall back to email
--> REQUIRES DATABASE UPDATE / SETUP
2011-04-13 14:11:09 +00:00
Ralf Becker
2c750ac774 fixed typo preventing new installs of trunk 2011-04-10 13:48:16 +00:00
Ralf Becker
87ee0f0088 * CardDAV: store name part of URL from client PUT request, to fully comply with CardDAV spec 2011-04-05 20:39:13 +00:00
Ralf Becker
9a9d087022 - add index to li (login time) column to speed up maintenance (periodic delete of old rows)
- delete some obsolete / since a long time not used tables:
 - egw_vfs (replaced by egw_sqlfs in 1.6)
 - egw_(app_)sessions (not used since 1.4)
2011-03-23 20:16:26 +00:00
Nathan Gray
6029b5043f Add two extra columns to store the ISO country code for contacts 2010-09-27 23:00:11 +00:00
Nathan Gray
1482dbc1be Add the ability to hide and hold deleted links, pending final deletion of linked record. This prevents links to deleted items showing when deleted items are held for purging. 2010-09-27 16:27:48 +00:00
Ralf Becker
8e55c897ab Add index to improve import of contacts using a custom field as primary key 2010-09-15 13:34:01 +00:00
Ralf Becker
96c5f58a49 extend fs_mime (mime type) to varchar(96) to fit application/vnd.openxmlformats-officedocument.wordprocessingml.document (msword xml format) 2009-08-03 11:42:24 +00:00
Ralf Becker
6617bec9ef Creating an own column (fs_link) for symlinks, as fs_content is a BLOB
and therefore not aware of charsets
2009-05-12 07:21:57 +00:00
Ralf Becker
19b7b62f8a "fix for bug reported on the German list by Laoyumi <tempreg(at)gmx.com>:
CreateIndexSql('egw_api_content_history_sync_guid','egw_api_content_history','sync_guid',False):
Key column 'sync_guid' doesn't exist in table"
2008-11-10 06:47:09 +00:00
Ralf Becker
71edd1c938 Big patch from Philip Herbert (Knauber) modifying the SyncML code to no
longer use GUIDs containing eGW's install_id, as the information is
irrellevant for SyncML and cause doublications of entries if the
install_id changes.
I plan to have a new rc4 Wednesday or Thursday containing these changes.
2008-11-03 07:44:02 +00:00
Ralf Becker
0a7d4f9782 Comment and custom fields for filemanager / sqlfs 2008-10-05 17:07:36 +00:00
Ralf Becker
1a9388cc89 missing api update for the sitemgr-link stuff 2008-08-18 10:05:58 +00:00
Ralf Becker
f6a883713f locking for eGW's WebDAV (and later on CalDAV).
no recursive (depth infinit) locks atm.
2008-05-01 11:44:55 +00:00
Ralf Becker
86368a1903 uid and etag (optimistic locking) for addressbook 2008-04-25 19:06:15 +00:00
Ralf Becker
523997b43e moved filescenter vfs2 tables and classes to filescenter and added index tables 2008-04-20 16:34:16 +00:00
Ralf Becker
e71608d8cc new sqlfs stream wrapper, as replacement for the old vfs class (it uses the PDO extension, as PDO allows to access BLOBs as streams), the update create a new egw_sqlfs table and fills it with the content of the old vfs (egw_vfs table), BOTH use the same files in the filesystem, so beware if you delete something in one or the other, this is definitly NOT for production systems 2008-02-18 06:52:07 +00:00
Klaus Leithoff
6ea71715f8 new egw_addressbook definition because of table alterations of that table 2008-01-31 12:37:16 +00:00
Ralf Becker
664f222868 "fixed to small column for timestamp in egw_links.link_lastmod" 2007-04-28 11:54:24 +00:00
Ralf Becker
5548c8b038 "birthday column with format YYYY-mm-dd was only varchar(10) instead of varchar(12)" 2007-04-26 06:28:36 +00:00
Ralf Becker
07c2be0891 "fixed typo ab_id instead of contact_id in the primary key" 2007-04-26 06:01:20 +00:00
Ralf Becker
62bd5fa81f distribution lists for the sql addressbook 2007-03-13 13:38:15 +00:00
Ralf Becker
4cc4052813 cat_id was just varchar(32), which is to small if you use lot's of categories, set it to varchar(255) now 2006-11-23 10:37:27 +00:00