Skip to main content

Timer plugin for KSS

Project description

Introduction

This package provides a timer plugin for KSS. The plugin will manage starting, stopping and displaying a timer through KSS actions, with parameters for formatting the time display.

Changelog for kss.plugin.timer

1.0 (2010-09-23)

  • Nothing changed yet.

0.2 (2009-01-07)

  • Made slightly nicer README.txt file, and added README.txt and HISTORY.txt to package information, as ‘long_description’. [simon]

  • Copied format parameters to the update event, so that timers that weren’t started on this page can still be formatted. [simon]

  • Fixed nasty problem where the timer got restarted after performing a server action. [maurits]

  • Added support for preventdefault on the timer events ‘start’, ‘stop’ and ‘reset’ - a bit awkward since preventing the defaults on those events actually means preventing the click defaults on the nodes for which the events are registered, but that’s a consequence of the strange event implementation in timer. [guido_w]

  • Fixed problem that made that only one timer could run at the same time, added an option to automatically start a timer, optionally with a start time (severely abusing kssattr for this… it seems like it makes sense though). [guido_w]

  • Added ‘reset’ event, fixed problem with clicking the start button multiple times, added rudimentary unit tests (using jsbase’s py.test support, hacked to work with ‘plain’ unittest). [guido_w]

  • Added support for two seperate ‘displayformat’ config vars: one for when the time hasn’t passed an hour, and one for when it has. Also fixed a set of bugs in padding (pad when X < 9 instead of 10?!?) and second display (was showing the total number of seconds for %S instead of the number of seconds in the current minute). [guido_w]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kss.plugin.timer-1.0.zip (567.9 kB view details)

Uploaded Source

File details

Details for the file kss.plugin.timer-1.0.zip.

File metadata

  • Download URL: kss.plugin.timer-1.0.zip
  • Upload date:
  • Size: 567.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kss.plugin.timer-1.0.zip
Algorithm Hash digest
SHA256 5c17067dd668089befa9464d4aee93dcce0038c1b4e9b4e524cfcc465fb4d929
MD5 e7243f974614c1ee720cfd1a65318b63
BLAKE2b-256 3894159c1dfa8990e068c84150c9830856c73036b263b634fe9d1dc691a5df65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page