3356 Commits

Author SHA1 Message Date
Florian Schlichting
fc18d43fd4 document that YAML hates tabs (fixes #70) 2015-12-14 10:59:20 +01:00
Jim Fenton
32f4e2924f Merge branch 'itemfix' into 'master'
Fixed grouped Properties naming (e.g. Addresses: item1.ADR instead of just ADR) …

…that caused item1.ADR to be written to DB(address_address_adr) because it doesn't match ADR, fix works ofr every grouped Property (yet there is only ADR...)
Added VCard Property ORG as nondefault (because it takes more then one Value)
Fixed false handling of Properties that can have more than one value (e.g. ORG) where values are seperated by semicolons

See merge request !19
2015-12-11 01:27:48 +00:00
Jim Fenton
b95eade0b9 Update required version of AWL to 0.56 2015-12-10 14:04:01 -08:00
Paul Kallnbach
71a2d247e1 Merge branch 'fix_issue_53' into 'master'
Removed favicon.ico work around (fix #53, Debian bug #703294)

This relates to debian bug report #703294 <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703294>; of Chris Mitterer. He makes the case to delete a block at the very beginning of the file caldav.php.

Andrew authored that code block once (6 years ago?) with the following commit message:

> Provide passthru on icons, images, css and js files.
> In Chrome it requests the favicon (for example) very frequently
> which was causing a prompt for authentication where there was a
> poorly considered regex in the rewrite rules.  I think this is
> a good backup to the rewrite rules to pass through on such files.

As far as i unterstand the code it does in fact passthrough requests for favicon.ico. But these should not happen at all anyway (but seem to have happened with a specific browser and a malformed rewrite rule). And I agree with Chris: most of the code does not work as intended and is potentially introducing security holes.
 
So after having a closer look on this I vote to follow the recommendation of Chris to DELETE this block and close the bug.

See merge request !20
2015-12-10 20:22:31 +00:00
Florian
d79f6b8d40 remove reference to sourceforge pages from README, add info on IRC channel and davical-general mailing list 2015-12-10 11:24:12 +00:00
Frank O. Martin
ce379d3cf7 Removed favicon.ico work around 2015-11-19 19:41:16 +01:00
ClemensN
5fd88ce1cb Fixed grouped Properties naming (e.g. Addresses: item1.ADR instead of just ADR) that caused item1.ADR to be written to DB(address_address_adr) because it doesn't match ADR, fix works ofr every grouped Property (yet there is only ADR...)
Added VCard Property ORG as nondefault (because it takes more then one Value)
Fixed false handling of Properties that can have more than one value (e.g. ORG) where values are seperated by semicolons
2015-11-13 21:52:22 +01:00
Cyril Giraud
2eb0566621 Fix in ar.values. 2015-11-05 20:56:05 +01:00
Cyril Giraud
afc852188e Add Arabic to language list.
Z
2015-11-05 20:34:08 +01:00
Cyril Giraud
f7a72543ea Add Slovak (Slovakia) language to language list. 2015-11-05 20:13:33 +01:00
Cyril Giraud
3b597a5068 Add Finnish language and update for Korean. 2015-11-05 19:58:51 +01:00
Cyril Giraud
7f29218e5f Add language selection for Korean. 2015-11-05 19:06:47 +01:00
Louis Duruflé
00eb3c8e49 HttpDateFormat is actually in AwlDBDialect 2015-10-03 00:11:41 +02:00
Florian Schlichting
e3789ba10e set dav_name of imported address books to .vcf instead of .ics (fixes #39)
and correct a number of typos and documentation inaccuracies on the way
2015-10-02 23:58:33 +02:00
Florian Schlichting
d7b063a249 fix default value for old events, and actually bail out if "old" is less than six days ago (fixes #49) 2015-10-02 22:44:51 +02:00
Florian Schlichting
8895aac2bf replace a few remaining instances of the old name "rscds" 2015-10-02 22:22:10 +02:00
Florian Schlichting
0cdcce0a6c Do not throw postgres errors when views/types/functions to be dropped do not exist (yet). Fixes #43 2015-10-02 22:09:34 +02:00
Florian Schlichting
a64b43b006 Debian: build and ship all the docs, including the translation guide 2015-10-02 01:34:54 +02:00
Florian Schlichting
6bfc8b75c3 dont call make in Debian package builds (fixes #40) 2015-10-02 01:17:16 +02:00
Paul Kallnbach
0b40989b4c Merge branch 'fix-propertyupdate' into 'master'
Fix positive PROPPATCH response message body.

The response values must be inside a DAV:response element, which was missing before.

See merge request !18
2015-10-01 20:27:08 +00:00
Florian Schlichting
3a9d8db575 rebuild-translations.sh: do not create incorrect SQL in supported_locales.sql when $lang.values file is missing (fixing Issue #40 part a) 2015-10-01 21:43:35 +02:00
Florian Schlichting
a4896b085a Merge branch 'petr.jurasek/davical-master' 2015-09-15 23:26:00 +02:00
Marten Gajda
ba13b8db46 Fix positive PROPPATCH response message body.
The response values must be inside a DAV:response element, which was missing before.
2015-07-24 14:39:05 +02:00
Petr Jurášek
f03c0ecc3b Windows phone 8.1 sends ETag=*, see https://www.ietf.org/rfc/rfc2068.txt, chapter 14.25 2015-07-09 08:41:48 +02:00
Andrew Ruthven
3ca7960746 Merge branch 'fix-add-member' into 'master'
Fix add-member support for calendars

Change the add-member parameter to add_member to match the name of the global variable name. Otherwise the global variable was always unset and the generic POST handler handled the request instead of the PUT handler for vcalendars.
Make sure to return a Location header when adding a vcalendar using add-member POST.

See merge request !14
2015-05-28 10:26:18 +00:00
Andrew Ruthven
017fb7731b Merge branch 'content-type-component' into 'master'
Add component parameter to content-types headers and getcontenttype properties

This allows clients using sync-collection requests to filter the results quickly by just looking at the content-type without having to parse the calendar data.

See merge request !15
2015-05-28 10:24:57 +00:00
Marten Gajda
f5dc6c669f Add component parameter to content-types headers and getcontenttype properties
This allows clients to filter the results quickly by just looking at the content-type without having to parse the calendar data.
2015-05-27 19:49:27 +02:00
Marten Gajda
d99a082c24 Change the add-member parameter to add_member to match the name of the global variable name. Otherwise the global variable was always unset and the generic POST handler handled the request instead of the PUT handler for vcalendars.
Make sure to return a Location header when adding a vcalendar using add-member POST.
2015-05-27 14:32:32 +02:00
Andrew Ruthven
71db9008af Merge branch 'master' into 'master'
Basic Auth Bugfix

Bugfix on Basic Auth username/password split.

Basic Auth uses a colon (":") to separate the username and password values. Using the php 'explode' function on this string without limiting the number of substrings returned can truncate the users password if it contains a colon.

By limiting the explode to 2, we get back the username and whatever else is left as the password (hence not truncated).

See merge request !12
2015-05-18 23:07:52 +00:00
Andrew Ruthven
331e4dcccd Merge branch 'import-fix' into 'master'
Fixed broken import function (fixes #38)

Removes a doubled code block introduced in commit 8e60bb3124e2cc4ff09f388e520f3b6935ffc733 causing imports to fail after the first one.

See merge request !13
2015-05-18 23:05:41 +00:00
Andrew Ruthven
a7b316a004 Allow external BIND URL to be file:///
This allows us to load in external files that are copied onto the
Davical server via other means.
2015-05-14 11:17:18 +12:00
Matthias
da750a8092 Fixed broken import function (fixes #38) 2015-04-22 13:31:10 +02:00
Cyril Giraud
642524d391 Extract translatable strings in upgrade.php + update according to Transifex translations. 2015-03-06 23:41:08 +01:00
Cyril Giraud
f8796e58c7 Translation update for es_VE and ko_KR, thanks to Transifex contributors. 2014-12-29 22:46:52 +01:00
Cyril Giraud
4a4b8f22da Forum link update without making translators to re-translate the whole help string (preg_replace). 2014-12-29 22:40:14 +01:00
Timothy Brown
356c995aa3 Bugfix on Basic Auth username/password split.
Basic Auth uses a colon (":") to separate the username and
password values. Using the php 'explode' function on this
string without limiting the number of substrings returned
can truncate the users password if it contains a colon.
By limiting the explode to 2, we get back the username and
whatever else is left as the password (hence not truncated).
2014-12-29 13:04:17 -07:00
Florian Schlichting
39f1d04abe Debian: Ship all config examples and user documentation
but remove website references since it was moved to its own git
repository
2014-12-16 23:02:16 +01:00
Florian Schlichting
4ee8c6d663 test for basic syntax errors in php files
This would have prevented the need for 1.1.3.1
2014-12-16 21:53:49 +01:00
Florian Schlichting
269a24dbb5 fix scripts/build-always.sh: AWL_VERSION is always without quotes 2014-12-16 21:53:28 +01:00
Mark Davies
0cc7b944b4 Add config value "support_obsolete_free_busy_property"
to control whether the obsolete Scheduling property
"calendar-free-busy-set" is populated during a PROPFIND. For Issue #31,
Database Performance Improvements.
2014-12-16 21:30:14 +01:00
Mark Davies
0797e8233e First batch of database indexes
Added in support of Issue #31, Database Performance Improvements. Note
creation of 1.2.12 db patch script - may need renaming or other special
treatment when merging this branch.
2014-12-16 21:29:26 +01:00
Mark Davies
1fe5d24d9f Fix up Windows create-database.bat - see Issue #32. 2014-12-16 21:07:38 +01:00
Florian
289f75def4 Merge branch 'master' into 'master'
Fix current-user-principal

The RFC 5397 (http://tools.ietf.org/html/rfc5397) states that current-user-principal should return the principal URL for the current user, the one who is currently authenticated.

DAViCal answers with the principal URL for the owner of the resource right now, so this is a simple patch to fix this behaviour.

See merge request !9
2014-12-15 22:22:01 +00:00
Florian
508837ed21 Merge branch 'master' into 'master'
Loop Over AWL Directory Candidates

Using this method we're able to loop over the candidate directories
until we find what should be suitable AWL location. Further, adding
additional locations is as simple as adding a new line to ${awldirs}.

It does have the limitation that if the path has a new line in it
(/some/ridic
ulous/path), it'll treat it as two different paths. However, if
somebody seriously has that, they deserve the pain.

See merge request !10
2014-12-15 22:07:08 +00:00
Jim Fenton
a877ef47c5 Correct links to mailing list archives and bug report location 2014-11-22 22:10:40 -08:00
Jim Fenton
58a573d698 Merge branch 'issue_20_localization' 2014-11-20 22:38:52 -08:00
Jim Fenton
2029e24f1a Merge branch issue_20_localization into master 2014-11-20 22:33:08 -08:00
Jim Fenton
70265e7539 Remove extraneous line space 2014-11-20 22:19:36 -08:00
Cyril Giraud
1cdb8adf5c Typo fixes, thanks to Jim. 2014-11-18 22:41:56 +01:00
Aaron W. Swenson
cfd5fd7555 Loop Over AWL Directory Candidates
Using this method we're able to loop over the candidate directories
until we find what should be suitable AWL location. Further, adding
additional locations is as simple as adding a new line to ${awldirs}.

It does have the limitation that if the path has a new line in it
(/some/ridic
ulous/path), it'll treat it as two different paths. However, if
somebody seriously has that, they deserve the pain.
2014-11-14 13:44:39 -05:00