summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
James French [Thu, 16 Jul 2020 04:13:10 +0000 (12:13 +0800)]
Python 3 cleanup, updated Facebook Calendar URL
James French [Thu, 16 Jul 2020 04:01:55 +0000 (12:01 +0800)]
Updated for Python 3
James French [Wed, 6 Mar 2013 15:38:08 +0000 (23:38 +0800)]
Minor code cleanup
- Corrected exitQuiet() & added missing call
- Disabled cgitb (left on by accident)
James French [Wed, 6 Mar 2013 14:12:14 +0000 (22:12 +0800)]
Whitespace corrections
James French [Mon, 4 Mar 2013 14:42:58 +0000 (22:42 +0800)]
Disable Outlook Rules for Facebook
- Bugfixes as a bonus
James French [Mon, 4 Mar 2013 14:31:57 +0000 (22:31 +0800)]
CGI/Local script merged
James French [Mon, 4 Mar 2013 14:20:51 +0000 (22:20 +0800)]
Revert "Removed functions to do with Outlook ICS Files"
This reverts commit
ae40266069204ee411350d5fd3d31f40d89187af.
These changes should be better enabled with a toggle
James French [Mon, 4 Mar 2013 14:10:04 +0000 (22:10 +0800)]
Code Restructure, Merging CGI
- Script should be callable from CGI or from local script
- Detects CGI and calls appropriately
- CGI code dummy for now
James French [Mon, 4 Mar 2013 12:49:49 +0000 (20:49 +0800)]
Merge CGI code into main branch, this is more what I wanted to script for
James French [Mon, 4 Mar 2013 12:39:44 +0000 (20:39 +0800)]
Left debug enabled
James French [Mon, 4 Mar 2013 11:56:12 +0000 (19:56 +0800)]
Corrected incorrect mime type
James French [Mon, 4 Mar 2013 11:52:43 +0000 (19:52 +0800)]
Removed functions to do with Outlook ICS Files
- Facebook ICS processing doesn't need these rules.
James French [Mon, 4 Mar 2013 11:50:45 +0000 (19:50 +0800)]
Removed Duplicated function block
- exDate listed twice after earlier merge hell
James French [Mon, 4 Mar 2013 11:50:45 +0000 (19:50 +0800)]
Removed Duplicated function block
- exDate listed twice after earlier merge hell
James French [Mon, 4 Mar 2013 11:49:42 +0000 (19:49 +0800)]
Add timezone support to the CGI script
- new tz parameter, set it to a valid database entry (eg Australia/Melbourne) to assume the calendar is in that timezone if not specified.
- Facebook seem to have gotten better with this, but why trust them.
James French [Mon, 4 Mar 2013 11:31:27 +0000 (19:31 +0800)]
Merge branch 'master' into cgi
James French [Mon, 4 Mar 2013 11:23:03 +0000 (19:23 +0800)]
Add timezone configuration
- Change the way calendars with no timezone information are processed
- By default process calendars as if they're Australia/Perth. This differs from the config in the rules file.
- Can now specify other timezones on the command line.
James French [Mon, 4 Mar 2013 10:24:24 +0000 (18:24 +0800)]
Add ability to set custom timezones.
- The rules files defaults to UTC so any scripts should change this accordingly.
James French [Mon, 4 Mar 2013 09:07:12 +0000 (17:07 +0800)]
Apparently the facebook key can have non alphanumeric stuff in it. Who knew?
James French [Mon, 4 Mar 2013 08:46:27 +0000 (16:46 +0800)]
Merge branch 'master' into cgi
James French [Tue, 14 Jun 2011 10:51:40 +0000 (18:51 +0800)]
Facebook Organiser Fix & iCal Workaround
- iCal/iPhone don't like multiple EXDATES on one line, break them out into
seperate entries
- Changed where the organiser sits for facebook events that are group organised
- Todo: specify rule lists
- Ignored some files
James French [Mon, 4 Mar 2013 07:51:58 +0000 (15:51 +0800)]
Input sanitisation
- UID must be numeric
- Key must be alphanumeric & 16 chars long
- Fixed missing vobject import
James French [Mon, 4 Mar 2013 07:30:52 +0000 (15:30 +0800)]
New CGI Script
- Script is for parse of facebook calendars only due to input sanitisation
- May or may not contain dragons
James French [Mon, 4 Mar 2013 07:16:12 +0000 (15:16 +0800)]
ignoring a couple more files
James French [Wed, 15 Jun 2011 15:53:58 +0000 (23:53 +0800)]
Left in some erroneous Print Statements
James French [Wed, 15 Jun 2011 15:50:41 +0000 (23:50 +0800)]
Outlook improvements
James French [Tue, 14 Jun 2011 16:07:27 +0000 (00:07 +0800)]
Parser rules update.
- Extended Content Rules made a little less zealous
- Facebook organiser included in the description (Google Calendar hides it)
- Multiple EXDATE entries broken out from single lines to multiple.
James French [Mon, 13 Jun 2011 15:39:53 +0000 (23:39 +0800)]
re-added license (whoops). Copyright this year
James French [Mon, 13 Jun 2011 15:28:56 +0000 (23:28 +0800)]
Vobject implementation
James French [Mon, 13 Jun 2011 14:31:22 +0000 (22:31 +0800)]
Beginning of a series of changes to use vobject
It makes more sense to use a maintained library. What was an exercise in
unicode and ical RFCs is easier done by other people
James French [Thu, 5 Aug 2010 06:36:34 +0000 (14:36 +0800)]
Much more robust about handling Content-Type
Can handle multiple content-type lines which is a _good_ thing.
Will correctly identify the charset parameter (if supplied) and go with that.
Content sniffing is not specified by the RFC so it won't be implemented.
James French [Thu, 5 Aug 2010 05:56:01 +0000 (13:56 +0800)]
Handles MIME encodings from FTP now too
* Provided the remote end specifies what it is.
* Default behaviour is to follow the RFC ie use remote if given or assume UTF-8
James French [Tue, 3 Aug 2010 08:22:05 +0000 (16:22 +0800)]
Unicode support for urllib2/http
James French [Tue, 3 Aug 2010 08:03:24 +0000 (16:03 +0800)]
Much better unicode support
James French [Tue, 3 Aug 2010 05:02:37 +0000 (13:02 +0800)]
Removed erroneous comments
James French [Tue, 3 Aug 2010 05:00:16 +0000 (13:00 +0800)]
httplib2 passes remote encoding (if any) through
Minor code refactor to allow for the change.
James French [Mon, 2 Aug 2010 16:34:00 +0000 (00:34 +0800)]
Fixed missing length parameter
James French [Mon, 2 Aug 2010 16:18:48 +0000 (00:18 +0800)]
A step closer to real unicode support
Doesn't glob multi-byte characters at line folds
James French [Mon, 2 Aug 2010 08:29:31 +0000 (16:29 +0800)]
Better unicode support as per the RFC(s)
Will unfold lines and then treat them as UTF-8.
Before folding lines, they're converted to 8-bit strings and split at 75 octets.
James French [Mon, 2 Aug 2010 08:12:30 +0000 (16:12 +0800)]
lost a line break in the license for parserrules.py
James French [Mon, 2 Aug 2010 08:08:15 +0000 (16:08 +0800)]
Some cleanup
Fixes broken comments
Makes the verbose option actually verbose
James French [Mon, 2 Aug 2010 07:03:48 +0000 (15:03 +0800)]
Write output, ready for primetime
James French [Mon, 2 Aug 2010 06:38:12 +0000 (14:38 +0800)]
Added License message to parserrules
James French [Mon, 2 Aug 2010 06:35:01 +0000 (14:35 +0800)]
More efficient lineFolder implementation
James French [Mon, 2 Aug 2010 06:30:33 +0000 (14:30 +0800)]
Rejoins fields into lines ready to be folded
James French [Mon, 2 Aug 2010 06:24:06 +0000 (14:24 +0800)]
Rules implemented
James French [Mon, 2 Aug 2010 05:54:34 +0000 (13:54 +0800)]
Loads rules from a source file
James French [Mon, 2 Aug 2010 05:49:27 +0000 (13:49 +0800)]
Splits in prep for running the rules
James French [Mon, 2 Aug 2010 05:47:52 +0000 (13:47 +0800)]
Added rules.py
Provides documentation of how the rules work
James French [Mon, 2 Aug 2010 05:13:45 +0000 (13:13 +0800)]
Added .gitignore
James French [Mon, 2 Aug 2010 05:12:33 +0000 (13:12 +0800)]
Catching some more exceptions
James French [Mon, 2 Aug 2010 05:05:47 +0000 (13:05 +0800)]
Fixed the unfold function
* Correctly identifies folds and removes them
* Checks for a complete ICS file before doing anything
James French [Mon, 2 Aug 2010 04:54:00 +0000 (12:54 +0800)]
Checks for the correct opening stanza
James French [Mon, 2 Aug 2010 04:25:26 +0000 (12:25 +0800)]
URLs open much more robustly now
James French [Sun, 1 Aug 2010 16:06:41 +0000 (00:06 +0800)]
Removed depricated regular expression
James French [Sun, 1 Aug 2010 16:04:49 +0000 (00:04 +0800)]
Comment cleaup, added function
James French [Sun, 1 Aug 2010 15:57:32 +0000 (23:57 +0800)]
Much simplified unfolding function
James French [Sun, 1 Aug 2010 08:18:57 +0000 (16:18 +0800)]
Bug fix: Properly reads from stdin
James French [Sun, 1 Aug 2010 07:18:39 +0000 (15:18 +0800)]
Now parses urls/files okay
James French [Sun, 1 Aug 2010 06:11:22 +0000 (14:11 +0800)]
Replaced getopt with optparse (which will need to be replaced again)
James French [Sun, 1 Aug 2010 05:44:48 +0000 (13:44 +0800)]
Initial Commit, includes folding and unfolding lines
UCC git Repository :: git.ucc.asn.au