Commit Graph
258 Commits
Author SHA1 Message Date
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 1cf247cf39 Rename caldav-PUT.php to reflect it's calendaring association. 2011-09-08 13:45:15 +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 b4dfa9c1bf Rewriting some TODO comments as @todo 2011-08-26 01:03:13 +12:00
Andrew McMillan 310933231a Setup test should recognise "Off" as well as "0" 2011-05-22 18:04:51 +12:00
Andrew McMillan d83d7a0ef2 Fix raw_post handling for other front-ends.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-03 21:34:59 +12:00
Andrew McMillan 1816d313bd Move header logging from CalDAVRequest to caldav.php
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-03 20:38:23 +12:00
Felix Möller dd44b3a3a7 Add explaination for translators.
We are hit by a Transifex issue here:
http://getsatisfaction.com/indifex/topics/number_of_arguments_check_must_be_forcable
2011-03-02 23:15:24 +01:00
Andrew McMillan 7515f607c6 Check for LDAP module, but only if LDAP is configured.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-22 11:00:43 +13:00
Andrew McMillan 5debe92237 Move from extract.pl to standard xgettext
So far we have used extract.pl which originated in Horde to generate the
PO files. This process took a long time to run.

But xgettext is able to handle PHP by itself.

In the source translate() and i18n() are used instead of _() therefore
we have to pass a keyword parameter.

From now on Translators: is the keyword to provide content to the
translators on Transifex.

Conflicts:

	scripts/po/extract.pl
2011-02-21 22:39:40 +13:00
Felix Möller 0ce2dfa421 Checking for the DateTime class, for extended date support.
Correcting a spelling mistake in the class name to check for the correct one.
2011-02-21 22:30:17 +13: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 f59e109ace Correct references to rscds & other old URLs.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-20 23:33:50 +13:00
Andrew McMillan 422144b68a Fix that last fix... :-)
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-15 17:02:50 +13:00
Andrew McMillan 8f25a8a393 Block invalid tickets from having access.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-15 16:42:59 +13:00
Andrew McMillan 5e5fa2d44e Display status of DateTime support.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-08 13:29:36 +13:00
Andrew McMillan cc941a500e Fix broken last commit.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 22:07:32 +13:00
Andrew McMillan f30c0b84c9 Remove attempts to translate early error messages.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 21:42:49 +13:00
Andrew McMillan b2afb747da Add early check for iconv
Also, we're doing this before we load translation code so
we really can't translate it...

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 21:21:55 +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 fe095d009d Refactored to provide clearer display of issues. 2011-01-01 21:23:25 +13:00
Andrew McMillan fbd28407ea Fix cache storing. 2011-01-01 21:22:42 +13:00
Andrew McMillan 5ff2f052c6 Add support for caching of feed, and uncaching on collection change.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-31 20:29:30 +13:00
Andrew McMillan b2f35df817 Just use the fields straight from the database.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 21:30:34 +13:00
Andrew McMillan c3fab4dcd0 Correct feed modification time using collection modified property.
Also switch to using the caldav_data (modified/created) fields from
the database.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 18:54:31 +13:00
Andrew McMillan 5ad371a910 Don't allow feed access unless user has at least freebusy privileges.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 17:13:43 +13:00
Andrew McMillan 520077a9a5 Add categories to the Atom content.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 13:03:26 +13:00
Andrew McMillan 18e58fa796 Reinstate the summary field in the Atom.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 13:03:03 +13:00
Leho Kraav 6e1a6f3381 feed.php: add support for displaying event categories 2010-12-27 12:37:34 +13:00
Leho Kraav 2b19868bf3 feed.php: migrate from no-locale-supporting DateTime->format() -> strftime() 2010-12-27 12:37:23 +13:00
Leho Kraav 338cb7f35d feed.php: hyperlink urls in description and remove an erroneous setDescription 2010-12-27 12:37:03 +13:00
Leho Kraav 4b4b21ee45 feed.php: fix adding $p_time to itself one too many times in our funky ? : 2010-12-27 12:36:43 +13:00
Leho Kraav 81eba961c8 feed.php: let's dbg_error_log peculiar VCALENDAR component instead of echo 2010-12-27 12:36:15 +13:00
Leho Kraav 37cf2f618d feed.php: make sure we do htmlspecialchars on most to-be-xml content 2010-12-27 12:35:52 +13:00
Leho Kraav 2ebaecd3e3 feed.php: remove hardcoded LIMIT ALL 2010-12-27 12:35:35 +13:00
Leho Kraav c3828f491c feed.php: make a string translatable 2010-12-27 12:35:28 +13:00
Leho Kraav 0ac934268f since we're implementing Atom, refactoring all rss -> feed seems appropriate.
this seems better than going for only atom.php, since we can add more
feed formats in the future under the same infrastructure i.e.
feed.php/user1/home/?format=json.
2010-12-27 12:35:12 +13:00
Andrew McMillan afa74df5c5 Fix corner case of event with no summary.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-26 23:57:26 +13:00
Andrew McMillan f2486296a7 A new AtomFeed class for building an Atom feed.
Plus the change in rss.php to use it.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-26 23:31:47 +13:00
Andrew McMillan 0ed9b058c3 Switch to creating an atom feed, which is a better feed standard.
Along with many other small changes and enhancements that ensued
as I ran my eyes over the code.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-26 17:38:10 +13:00
Leho Kraav 5ece951362 A new URL to provide an RSS feed of a calendar's changes. 2010-12-26 09:50:40 +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 1cbaa5b530 Basic robots.txt that does nothing except stop error log messages. 2010-12-25 14:25:58 +13:00
Andrew McMillan 9bb339e291 Cut access with invalid/expired tickets out immediately.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-08 12:57:12 +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 d347c5c0e9 The redirect on /.well-known/ URLs should be a 301 really. 2010-11-27 19:19:08 +13:00
Andrew McMillan 58eb6fa7c0 Fix the logging so that we get the raw_post logged for !GET 2010-11-17 13:15:33 +13:00
Andrew McMillan 20514c05e6 Turn on calendar-auto-schedule header if $c->enable_auto_schedule 2010-10-14 21:20:02 -04:00
Andrew McMillan 2033afcf97 Check for some more things, including that we have the right AWL version. 2010-10-14 21:17:24 -04:00