This is the home of the Firefox OS calendar app.
A note about js/ext
The external libraries versioned in js/ext are populated by volo which saves their url, version, git tag, etc in
package.json. Check out the documentation here for help adding, updating, and removing dependencies.
We have a test suite that checks whether or not we're interoperable with a particular calendar server. In order to run the test suite against your favorite server:
- Add a file named
apps/calendar/test/interop/<provider>/config.json. The json configuration file needs to have
- user (username)
- password (user password)
- fullUrl (url for caldav server)
- calendars (array of caldav calendar display names)
- Make sure that your provider is in the list of providers located at
- Unit tests: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Testing/Gaia_unit_tests
- Integration tests: https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/Gaia_integration_tests
- Calendaring: http://calconnect.org/
- CalDAV spec: http://tools.ietf.org/html/rfc4791
- CalDAV library: https://github.com/mozilla-b2g/caldav
- iCalendar spec: http://tools.ietf.org/html/rfc5545
- iCalendar library: https://github.com/mozilla-comm/ical.js
- Helpful command line utilities: https://npmjs.org/package/b2g-scripts
Distribution and Customization
A calendar.json file may be specified inside of distribution/calendar.json. This will override the generated presets.js file during the build. At a minimum Google Oauth credentials should be provided for production releases. Failure to do so may result in broken calendars at some point.
You can signup for Google credentials here: https://code.google.com/apis/console/b/0/?pli=1#access