36 Commits

Author SHA1 Message Date
Dan Poltawski
24a3115caf MDL-16660 calendar - remove cron strings
We don't translate cronjobs
2012-10-30 15:27:02 +08:00
Sam Hemelryk
e30390a0dd MDL-16660 calendar: Cleaned u several areas of the iCal patch in preparation of the next peer-review
* Added a bit of AMOS to copy existing strings and save a little translation effort
* Cleaned up fixed strings in several places
* Cleaned up some existing strings as required.
* Fixed install and upgrade code. Split upgrade into two parts (one for each table).
* Fixed fatal error caused by missing forms lib inclusion
* Added param types to forms.
* Converted file_get_content to use curl for URL's.
* Cleaned things up per coding style.
* Separated subscription management and form into separate files.
* Tidied up bennu inclusion to just where required.
* Lots of other small fixes as well.

AMOS BEGIN
  CPY [calendar,calendar],[colcalendar,calendar]
  CPY [actions,moodle],[actions,calendar]
  CPY [never,moodle],[never,calendar]
AMOS END
2012-10-30 17:33:49 +13:00
Jonathan Harker
4c349ad7ba MDL-16660: WIP - fixes as per review 2012-10-30 17:33:18 +13:00
Jonathan Harker
b5a52acd9d MDL-16660: Add calendar import.
Adds an extra import section alongside the existing export in the
calendar views. Allows the user to import from either a file or a
URL as a subscription, with an optional polling interval of hourly,
daily, weekly, monthly, or annually. This subscription may be added
to the user, group, global or course calendars. These subscriptions
are tracked in a separate database table, and an extra column added
to the events table to relate them to the subscription. The event
uuid field is also expanded to allow for the RFC-2445 UID property.
Subscriptions are listed on the calendar view page, and can be
added and removed, manually polled, and the polling interval
adjusted. Subscription events are updated on cron.
2012-10-30 17:33:18 +13:00
Dan Poltawski
a2c5f73194 Merge branch 'MDL-35224-master' of git://github.com/ankitagarwal/moodle 2012-09-18 14:50:06 +08:00
Ankit Agarwal
3fe4a2fa69 MDL-35224 calendar: Adding current time string to make page titles unique 2012-09-18 14:42:08 +08:00
Frederic Massart
ef21ad21cc MDL-32309 Accessibility: Improved accessibility of calendar filters 2012-09-17 09:47:01 +08:00
Ankit Agarwal
7582fd3a67 MDL-27786 calendar: Changing the eventname string for accessibility 2012-09-07 10:22:14 +08:00
Charles Fulton
eb5947bcca MDL-26243 calendar: display correct number of repeated events 2012-03-08 06:47:07 -08:00
Rossiani Wijaya
d52777b486 MDL-27542 calendar export: fixed the following:
1. changing auth token to use user id instead of username
2. add fall back checking for old url
3. remove yui functionality to generate calendar url
4. add missing variable
5. fixed usercontext instance
2011-11-07 17:07:00 +08:00
Helen Foster
e5a0920419 MDL-21250 capital letters removal 2010-12-08 14:34:03 +00:00
Sam Hemelryk
c96c3b7dbe calendar MDL-25302 Fixed typo in calendar language pack. Thanks Bente for spotting. 2010-11-22 05:41:23 +00:00
Helen Foster
cd16141e6d MDL-19742 casing fixes 2010-09-17 11:22:08 +00:00
Sam Hemelryk
36dc3b7104 calendar MDL-22887 Output is now through a renderer, all pages have navigation, and now uses true pretend blocks. 2010-06-22 04:03:44 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
moodler
cfa40737cf Removing all the language packs from HEAD!! 8-D 2006-02-06 09:22:14 +00:00
defacer
98cd789a4e Editing repeating events in one go works as well. Enjoy! 2005-04-21 14:33:30 +00:00
defacer
e6fbb4d11a You can now delete a repeating event series all at once. 2005-04-21 14:03:22 +00:00
defacer
9f3c3f1218 Removing obsolete strings that confuse translators (my fault, sorry). 2005-04-15 13:54:24 +00:00
defacer
b529815b9c Remove some useless strings. 2005-04-08 20:24:20 +00:00
defacer
1faca355ee More strings modified, still more to come. 2005-03-23 01:22:58 +00:00
defacer
d4f960e4f2 Removing strings that aren't used anymore.
TRANSLATORS: More changes to come, don't bother to translate yet.
2005-03-23 00:47:26 +00:00
defacer
8b81a21e80 Two new strings for the new calendar preference. 2005-01-12 12:10:17 +00:00
defacer
86f092d25e New "Calendar" section in Admin -> Configuration.
Includes preliminary support for DST!
Includes "admin sees all events or only own?" setting (bug 1972)

WARNING: Modified moodlelib.php to explicitly specify NOT-DST when
calling mktime() and gmmktime(). This is essential since we don't want
PHP to second-guess us for the DST matters, but... it may affect existing
code?
2004-12-15 07:14:41 +00:00
defacer
61ddaf3bce Removed useless stuff 2004-06-01 12:02:13 +00:00
defacer
515e49edfb Removed obsolete strings 2004-05-21 13:52:32 +00:00
defacer
f26c1535b6 One new string for the calendar, used in the latest changes. 2004-05-20 15:29:01 +00:00
defacer
a600911257 English: added CVS $Id$ and moved a semicolon to the event edit form
Greek: added $Id$, and some strings that were missing
2004-05-12 12:28:16 +00:00
defacer
acc61dc449 Added small links for the monthly calendar and adding a new event at the
bottom of the block, as discussed in the forums.
2004-05-10 16:29:20 +00:00
gustav_delius
f86aaab21c It is possible to create weekly repeating events but it is not yet possible to edit or delete them together. Also it is now possible to specify the duration in minutes as an alternative to specifying the end time and date. 2004-05-06 16:30:12 +00:00
moodler
fb9ec10f46 Some modifications to texts 2004-05-02 02:36:45 +00:00
defacer
1b0ebe79b1 Addressing bug 1257:
Changed the handling of time display format; now it's read from the language
file by default, and a new preference has been added to allow each user to
manually specify his preferred time format.
2004-04-22 09:02:23 +00:00
defacer
00e651d1c1 Added a new string for use in the upcoming events block. 2004-04-13 12:19:33 +00:00
defacer
efc81294eb Eloy's finding: Unset $string['default'] variable fixed. 2004-04-01 08:45:38 +00:00
moodler
3ab966a2c6 Adding calendar string files 2004-03-29 15:30:37 +00:00