3279 Commits

Author SHA1 Message Date
Paul Kallnbach
0bbf51f92d Merge branch 'remove_quoted_sql_identifiers' into 'master'
Remove quotes around sql language identifiers

As an reaction on Issue #26, removed quotes around language identifiers in SQL statements

See merge request !8
2014-09-16 16:11:06 +00:00
Florian Schlichting
ab2541e6c0 Declare compliance with Debian Policy 3.9.5 and update d/changelog 2014-09-14 21:40:52 +02:00
Florian Schlichting
1f8a4a93be Switch d/copyright to copyright-format 1.0, amend CREDITS from git log 2014-09-14 21:40:52 +02:00
Florian Schlichting
dfb10a7782 Add a debian/watch file 2014-09-14 20:09:04 +02:00
Florian Schlichting
4c8c48830a Bump dh compat to level 9 2014-09-14 20:09:04 +02:00
Florian Schlichting
f25f1fc818 Add doc-base registration for api doc and website in davical-doc 2014-09-14 20:09:04 +02:00
Florian Schlichting
c38809d5cf debian/control: update and sort dependencies, add php5, php5-cli (closes: #717043), php5-curl to Recommends (closes: #656390) 2014-09-14 20:09:04 +02:00
Florian Schlichting
f42a69bc6a Clean up duplicate files (symlink identical files in api documentation) 2014-09-14 20:07:40 +02:00
Florian Schlichting
469b578ebb Use short-form debian/rules and fix source format declaration (closes: #730941) 2014-09-14 17:00:17 +02:00
Florian Schlichting
e87a5abc26 Takeover for the Davical Development Team 2014-09-14 15:56:43 +02:00
“Paul
931651ca32 Remove quoted SQL language identifiers 2014-09-02 20:01:28 +02:00
Jim Fenton
29a0898a10 Update downloading information 2014-07-18 14:28:02 -07:00
Jim Fenton
ab046e5e21 Removed PayPal donation request and Flattr button 2014-07-02 17:11:59 -07:00
“Paul
96a5a31203 Fixed fetching new external resources on BIND 2014-06-23 21:55:11 +02:00
“Paul
e913676660 inc/drivers_ldap: fix 'Undefined variable' 2014-06-23 21:44:13 +02:00
“Paul
ba5c7e90e1 CardDAV Query Report 2014-06-23 21:35:47 +02:00
“Paul
9dc026eb28 Support multiple text-match elements within a filter query. 2014-06-23 21:03:01 +02:00
“Paul
c03b882728 Call log_caldav_action for VCARD PUT requests. 2014-06-23 20:37:32 +02:00
“Paul
096594fac3 Support uniqueMember with DN for user names. 2014-06-23 20:28:08 +02:00
“Paul
a391d4e2a5 Added check to ensure email field does not get a double extension. 2014-06-23 20:02:35 +02:00
Jim Fenton
5e76ca785f Merge branch 'master' of ssh://gitlab.com/davical-project/davical 2014-06-13 13:55:37 -07:00
Jim Fenton
6325bd3019 Adjust copyright; remove broken footer beacon 2014-06-13 13:54:24 -07:00
Ján Máté
f6c0eb3475 Merge branch 'master' of gitlab.com:davical-project/davical 2014-06-12 12:34:25 +02:00
Ján Máté
6b8193ad9a added network timeout option for LDAP (thanks Sebastian Kotthoff) 2014-06-12 12:34:05 +02:00
Cyril Giraud
fff9c684b7 Merge branch 'master' of https://gitlab.com/davical-project/davical 2014-06-11 22:53:59 +02:00
Cyril Giraud
a872cb8f68 Translation updates and new languages. 2014-06-11 22:39:08 +02:00
Jim Fenton
50f9490b01 Updated home page with updated information on support structure.
Eliminated blog, SourceForge -> GitLab on page header
2014-06-07 11:26:16 -07:00
Ján Máté
c32a288385 added $c->disable_caldav_proxy_propfind_collections option - it is very useful if your client not uses the "calendar-proxy-read" and "calendar-proxy-write" resources returned by PROPFIND for each principal (http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk/doc/Extensions/caldav-proxy.txt). The main reason to disable these resources is that it is EXTREMELY expensive to create them (especially on servers with lot of users who share their collections) and most clients will never use them (or use this functionality by explicitly asking for these resources using expand-property REPORT, which will work regardness the value of this option)
supported values:
false/unset => keep these resource active
true	=> never show these resources
array('User-Agent'=>'#regex1#', 'X-Client'=>'#regex2#') => if a client sends "User-Agent" header which matches the regex1 OR "X-Client" header which matches regex2 then do not show these resources
2014-05-14 13:58:10 +02:00
Ján Máté
6229409717 added $c->hide_bound configuration options - it is very useful if you use iOS (which not supports delegation) in combination with other software which supports degation ... simply use case is: bind all collections you want to see on iOS (emulation of delegation) and then hide these collections from other clients with real delegation support
supported values:
false/unset => always show bound collections
true	=> never show bound collections
array('User-Agent'=>'#regex1#', 'X-Client'=>'#regex2#') => if a client sends "User-Agent" header which matches the regex1 OR "X-Client" header which matches regex2 then all bound collections are hidden
2014-05-14 13:46:00 +02:00
Ján Máté
7be6aee280 added functions for regex comparison (see next commits) 2014-05-14 13:37:51 +02:00
Ján Máté
92f48f38cd various cheduling related fixes (there are still few remaining bugs) 2014-05-14 13:34:06 +02:00
Ján Máté
822e81644d expand-property repord - prevent infinite recursion and recursion to the object itself (non-recursive getting request URL properties) 2014-05-14 13:33:36 +02:00
Ján Máté
31af435cec various cheduling related fixes (there are still few remaining bugs) 2014-05-14 13:32:48 +02:00
Ján Máté
7a05f2b7d7 fixed uninitialized principal object for calendar-proxy-* queries 2014-04-27 17:26:35 +02:00
Ján Máté
08cc16074d Awl interface related changes 2014-04-07 12:28:19 +02:00
Ján Máté
9df80fbde1 comment out lines related to external invitation (the Email class is still undefined) 2014-04-07 12:27:58 +02:00
Ján Máté
b3c8a4ad0f awl interface related changes 2014-04-07 12:26:39 +02:00
Ján Máté
1330892852 fixed missing semicolons in drivers_ldap.php 2014-03-25 19:24:49 +01:00
Ján Máté
6b37b2b422 fixed masking of confidential event components 2014-03-24 01:52:52 +01:00
Andrew McMillan
cd343bd9f2 Merge branch 'master' of github.com:DAViCal/davical into github 2013-10-25 12:20:44 +13:00
Ján Máté
c2b6be3b65 fix for $c->hide_TODO processing and user-agent extension
new option: if set to PHP regex string then hide_TODO is enabled if the client
user-agent string matches the regex for example:
    $c->hide_TODO='#^iOS.*dataaccessd.*#';
will hide all todos from non-owner/non-admin users for iOS devices
2013-10-25 12:16:27 +13:00
Ján Máté
16f617b637 fix of major todo synchronization issue if $c->hide_older_than option is set
todo without start date was never synced
2013-10-25 12:16:27 +13:00
Ján Máté
b5e409f7da fix to rename/delete the collection properties during the collection renaming/deleting 2013-10-25 12:16:27 +13:00
Ján Máté
64372ba529 Extend $c->default_collections - adding 'calendar_components' and 'default_properties'
'calendar_components' sets the
'urn:ietf:params:xml:ns:caldav:supported-calendar-component-set' property for
the calendar collection (used to distinguish between different type of calendar
collections, for example: todo and event calendars) the value must be a
non-empty array; allowed values: 'VEVENT', 'VTODO', 'VJOURNAL', 'VTIMEZONE',
'VFREEBUSY', 'VPOLL', 'VAVAILABILITY'
for example:
  array('VEVENT')
  array('VTODO')
  array('VEVENT', 'VTODO')
  null or undefined => all default calendar components are supported - see
    $c->default_calendar_components
NOTE: if you want to change the value of this property later, you need to do
it directly in the database ("property" table) or in the client software!

'default_properties' sets custom properties for the collection in the
"property" table the value must be a non-empty associative array of
key => value pairs (key = property name, value = property value) for example
(set the calendar color property used by Apple and other clients):
  'default_properties' => array('http://apple.com/ns/ical/:calendar-color'=>'#ff0000'),
   null or undefined   => no property is stored in the database
NOTE: if you want to change the value of this property later, you need to do
it directly in the database ("property" table) or in the client software!
2013-10-25 12:16:27 +13:00
Ján Máté
fd6b10d3e2 Prevent processing of collections from inactive principals
e.g. inactive principal collections are not returned if you use clients with
"delegation" support.
2013-10-25 12:16:27 +13:00
Matthias Beyer
8ab19de1fe Added dbg_error_log() calls for error msgs
If the ldap driver is not valid, the error messages were not printed.
There was just "Couldn't contact LDAP server for authentication" - But
why?

This commit adds a print loop for all messages from the global
$c->messages message array.
2013-10-25 12:16:19 +13:00
Jason Alavaliant
495257bebb add fix for the OSX Contacts.app: 2013-10-25 12:16:08 +13:00
Matthias Beyer
b732dcaeb3 Only set the cached instance if driver is valid
As I could see at other locations in the code, the ldap driver instance
can be invalid. And if the instance is invalid, the getStaticLdap()
function gets called again. Caching would prevent the function from
retrying to initiate the ldapDrivers object.

This commit adds conditional caching: only if the ldap driver instance is
valid, the object gets cached. This ensures that a retry with this function
would really try to create a new ldapDrivers object and not simply
return the (invalid) cached one.
2013-10-24 17:04:36 +13:00
Matthias Beyer
40c87435c1 Instance caching added
There was already a variable to cache the ldap driver instance, and a
check if this variable was already set was there, too! But there was no
code to return the cached instance if the function gets called twice!

Maybe this was simply forgotten...
2013-10-24 17:04:23 +13:00
Andrew McMillan
f3b67a2c62 Improve result checking 2013-10-15 23:48:29 +13:00