Commit Graph
57 Commits
Author SHA1 Message Date
Florian Schlichting 93bd6073b1 creating a DAVResource from "/ " loops a lot 2017-01-11 00:10:33 +01:00
Florian Schlichting 2c0c65d08a add optional support for X-Forwarded-Proto etc (closes: #87)
Modify the relevant $_SERVER variables directly, as we're using them in
various places in davical and awl.
2017-01-06 16:06:11 +01:00
Florian Schlichting eb7f2edc0c eliminate trailing whitespace, expand tabs 2016-12-30 08:52:44 +01:00
Florian Schlichting 0901fd2756 Remove remaining references to $c->local_tzid (fixes #35) 2016-12-02 00:24:53 +01:00
Florian Schlichting 86447e31fe Set the same default timezone to Database and PHP 2016-12-01 19:17:22 +01:00
Andrew McMillan b85f8e79fe Fail better!
There's a long-standing annoyance about catching errors in the early
stages of startup - sometimes they seem to disappear nowhere and yet
nothing works.  This fixes at least part of that.
2016-06-22 23:26:24 +01:00
Florian Schlichting 0281a8d619 adapt to AWL function rename get_fields() -> awl_get_fields() 2016-06-13 22:02:47 +02:00
Florian Schlichting af1707ef1d prepare for 1.1.4 2016-01-03 19:09:56 +01:00
Jim Fenton b95eade0b9 Update required version of AWL to 0.56 2015-12-10 14:04:01 -08:00
Florian Schlichting cbe63d3182 release 1.1.3.1, fixing a critical typo in htdocs/always.php :-( 2014-10-07 08:48:19 +02:00
Florian Schlichting 37e814c647 release 1.1.3 2014-10-07 00:58:47 +02:00
Andrew McMillan d0fffe490a Set the default timezone to the database as well as for PHP. 2013-09-26 14:24:08 +02:00
Andrew McMillan cc8e6a0131 Release 1.1.2 2013-07-15 13:12:05 +12:00
Andrew McMillan 7e51fa8541 Release 1.1.1 2012-07-11 08:39:11 +12:00
Andrew McMillan 0d47b81e48 Remove bug trace. 2012-07-09 01:16:46 +12:00
Andrew McMillan 2f82e69cfb Correctly test for repeated caldav.php in URL. 2012-07-08 11:58:58 +12:00
Andrew McMillan 55aefbecce Try to trace how we get caldav.php/ doubled in a path. 2012-06-30 16:03:25 +12:00
Andrew McMillan 2538835a12 Seems that change to output buffer flushing is problematic with zlib. 2012-06-14 13:36:15 +12:00
Andrew McMillan 46addb00fd Fix some final niggles with setup.php and spurious logged errors. 2012-05-30 23:04:10 +12:00
Andrew McMillan cf934f8a90 Release 1.1.0 2012-05-28 21:27:15 +12:00
Andrew McMillan 724a549502 Fix thinko. 2012-05-14 22:26:17 +12:00
Andrew McMillan 47363b4f41 We should error 500 when we have an exception that isn't caught. 2012-05-14 20:54:43 +12:00
Andrew McMillan 7f60277b83 Always default the timezone to something, even if the user did not. 2012-05-03 15:42:28 +12:00
Andrew McMillan 9ee6f37d77 Make it possible to see output from /setup.php when DB is unavailable.
Also depends on some changes to AwlDbDialect/AwlQuery.
2012-04-22 10:01:40 +12:00
Andrew McMillan 3afa91be85 Don't try and initialize gettext unless it's installed. 2012-04-18 16:46:32 +12:00
Andrew McMillan f68823a5b2 Get rid of potential warning on early use of date() 2012-03-22 15:00:29 +13:00
Andrew McMillan 655f34aa27 Correct HTTP date formatting function. 2012-03-16 16:44:59 +13:00
Andrew McMillan 8d4dfb5d91 Handle HTTP date formatting for non-english locales (force English names). 2012-03-12 13:02:11 +13:00
Andrew McMillan 927a98482f Release 1.0.2 2012-01-14 10:46:56 +13:00
Andrew McMillan 067cbdc841 Release 1.0.1 2012-01-05 12:30:52 +13:00
Andrew McMillan 70f6587a18 Release 1.0.0 2012-01-04 16:48:45 +13:00
Andrew McMillan b50b2d82ea Force output buffers to be flushed, if they're turned on.
If output buffering is turned on, PHP can be a bit slack about sending
the data to the client before closing the connection with exit(). These
changes ensure we call ob_flush() before we leave.  We call @ob_flush()
so we don't get noisy warnings when output buffering is off...
2011-11-02 18:43:10 +13:00
Andrew McMillan bb8bf75e8f Release 0.9.9.7 2011-10-24 20:27:43 +13:00
Andrew McMillan 2127c294a3 Various small fixes preparing for release.
Correct logic for auto-creating addressbook for new user.
Fix non-creation of default addressbook.
Fix principal/collection edit to allow write of no privileges.
Fix collection edit timezone list to use new table.
Update davical & libawl version in always.php.
Regression test changes with update to davical.sql.
2011-09-25 22:29:31 +13:00
Andrew McMillan d4e29a91b6 $_SERVERS['SERVER_PORT'] might not be set in some circumstances. 2011-09-22 13:46:26 +12:00
Andrew McMillan 6ea5e782c7 Update the DAViCal version number. D'oh! 2011-09-12 14:54:49 +12:00
Andrew McMillan 9743c72c05 Fix DB version number and function mistakenly coded in always.php. 2011-09-12 14:36:56 +12:00
Andrew McMillan 13ce4c147a Add support for writing local scheduling requests on PUT.
In the new Scheduling Extensions for CalDAV the server is expected
to construct iCalendar METHOD:REQUEST invitations and put them into
the scheduling inbox for each (local) attendee.  This patch does
that, and hopefully breaks the back of implementing the full
scheduling extensions.
2011-09-07 23:40:28 +12:00
Andrew McMillan 0de150ed74 Build AWL desired version string as quoted value.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-21 22:07:31 +13:00
Andrew McMillan 20ee255898 Refactor fetching of Principal records from database.
This is a significant refactoring, replacing the old getUserBy*()
functions with a new Principal class, and replacing the old
CalDAVPrincipal class with a new DAVPrincipal class which extends
the Principal class.

At this point all regression tests pass (again) but there could
well be issues for people who use alternative authenticators
such as LDAP, although I have endeavoured to resolve those
potential issues.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-03 10:16:43 +13:00
Andrew McMillan 902bf2ad42 Prepare to release 0.9.9.4
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-25 16:15:58 +13:00
Andrew McMillan 04ecf36c88 Replace index.php with caldav.php when we find it in our path. 2010-11-30 09:52:33 +13:00
Andrew McMillan 487693ffee Add knowledge of desired parallel AWL version to setup.
Also add caching of getUserByEmail() since we'll be doing more of
that in the scheduling code.
2010-10-14 21:15:16 -04:00
Andrew McMillan 443aae2a52 Preparing to release 0.9.9.3. 2010-09-24 12:51:52 +12:00
Andrew McMillan e0b46d442d Preparing for release 0.9.9.2 2010-09-21 12:14:35 +12:00
Andrew McMillan e87ae9ac63 Release 0.9.9.1 for testing. 2010-09-14 13:50:27 +12:00
Andrew McMillan 3300404912 Add a getUserByEMail() function. 2010-08-30 16:59:08 +12:00
Andrew McMillan f816c6b56a Fix default locale. 2010-08-13 11:42:16 +12:00
Andrew McMillan 4065f26da2 Default type to 'resource' for privileges display. 2010-06-29 23:49:16 +12:00
Andrew McMillan f2ebbda855 Add parameter for masking privilege output to only applicable set. 2010-06-28 09:31:35 +12:00