Changelog 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. 2015-08-02 Helmut Pozimski <helmut@pozimski.eu>
  2. changed the init script to create a separate directory for the PID file
  3. create the PID file in the separate directory and rename it to stdd.pid
  4. changed the main configuration file to json format
  5. adjusted the whole codebase and style according to PEP8 and suggestions from pylint
  6. 2014-07-12 Helmut Pozimski <helmut@pozimski.eu>
  7. converted tabs to spaces, pulled in changes to the daemon class from jwmud, fixed some errors reported by pycharm
  8. 2014-02-27 Helmut Pozimski <helmut@pozimski.eu>
  9. Fix unneeded space in process name, only write time to display when the minute changes and not every second
  10. 2013-08-01 Helmut Pozimski <helmut@pozimski.eu>
  11. performed some coding style adjustments
  12. 2013-08-01 Helmut Pozimski <helmut@pozimski.eu>
  13. corrected duplicate misc-depends and added python-depends instead
  14. 2013-08-01 Helmut Pozimski <helmut@pozimski.eu>
  15. changed debian/rules to remove the .egg-info file before building the package
  16. 2013-08-01 Helmut Pozimski <helmut@pozimski.eu>
  17. properly read the default file to set the user argument in the init script
  18. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  19. am I drunk? Corrected path from stov to stdd in debian/rules
  20. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  21. this time really corrected python-pcrtl (with r) dependency
  22. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  23. corrected python-pctl dependency
  24. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  25. corrected the debian build scripts to be more lintian clean
  26. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  27. further improved the debian package build scripts
  28. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  29. corrected debian build scripts, added Manifest.in
  30. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  31. changed build scripts to create an unprivileged user and install the init script
  32. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  33. added minimal debian build scripts
  34. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  35. added version option to the man page
  36. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  37. add version option to the option parser
  38. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  39. updated README and INSTALL
  40. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  41. finished the man page
  42. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  43. added a minimal man page, content still missing
  44. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  45. updated TODO
  46. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  47. added a setup.py to install stdd with the distutils method and renamed the sample.conf to the final name
  48. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  49. updated TODO and Changelog
  50. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  51. converted datetime object to string
  52. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  53. added some more logging output
  54. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  55. tried to throw an exception if the display is not available
  56. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  57. changed the code to also terminate the process if it is not run as daemon
  58. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  59. changed formatter to include the PID
  60. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  61. added some more info messages, imporved logging
  62. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  63. corrected the format string for logger
  64. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  65. explicitly import logging.handlers to be able to use SysLogHandler
  66. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  67. corrected a small typo calling the logger object
  68. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  69. implemented minimal logging to syslog and console
  70. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  71. correctly import os, I really should have done that in the first place
  72. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  73. implemented signal handling
  74. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  75. updated TODO and generated Changelog from bzr
  76. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  77. yet another round of cosmetical changes to the init script
  78. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  79. another round of cosmetical changes to the init script
  80. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  81. corrected the start method in the init script
  82. 2013-07-28 Helmut Pozimski <helmut@pozimski.eu>
  83. added a simple init script for sysvinit
  84. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  85. corrected two small typos
  86. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  87. set high or low brightness when the configured minute is reached
  88. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  89. only call datetime.now once per cycle to safe some processing time
  90. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  91. and corrected the reversed order for the values
  92. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  93. change blink_colon to bolean value as it was intended
  94. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  95. added configurable blinking of the middle colon
  96. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  97. comparing time doesn't work between 2 days so just check if the conditions for high state are met and fall back to log otherwise
  98. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  99. added rules for setting both high and low states
  100. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  101. correctly create time object in the configuration
  102. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  103. changed the time comparison so it hopefully makes sense now
  104. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  105. fixed a line break
  106. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  107. added code to change the brightness according to time of day
  108. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  109. corrected a comment in the configuration
  110. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  111. only got int with base 16 without hex conversion, seems to work
  112. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  113. also didn't work, another try, first go int with base16, then go to hex
  114. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  115. the change intended with the last commit didn't work out, try hex, it might work better
  116. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  117. also cast an integer for the hardware address
  118. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  119. corrected yet another variable name (I really need to remember them
  120. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  121. again explicitly cast integers for time values
  122. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  123. explicitly cast integers for time values
  124. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  125. corrected another type
  126. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  127. fixed a variable name
  128. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  129. prepared further configuration changes
  130. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  131. correctly use the stripped variable
  132. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  133. changed configuration to filter empty lines to avoid IndexErrors
  134. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  135. correct function call, configuration file path is given to the Read function, not the constructor
  136. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  137. corrected the function name when calling Conf in configuration.py
  138. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  139. corrected another small typo when calling the configuration module
  140. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  141. corrected a typo when calling the main loop
  142. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  143. added example configuration file
  144. 2013-07-04 Helmut Pozimski <helmut@pozimski.eu>
  145. added configuration module for reading the configuration
  146. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  147. small error, big impact, finally use the group name to determine the group id and not the user name
  148. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  149. explicitely casted integers for uid and gid
  150. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  151. fixed determination of user and group id
  152. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  153. corrected a name error, Node vs. None ;)
  154. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  155. corrected OptionParser import
  156. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  157. implemented option parsing and differentiate between daemon and script mode, drop privileges if requested
  158. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  159. added spaces into cmdline, removed debug code
  160. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  161. added temporary debug code for the cmdline parameter§
  162. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  163. added code to determine the cmdline to set it properly
  164. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  165. add second parameter for the SetName function
  166. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  167. corrected yet another stupid name error
  168. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  169. corrected another stupid name error
  170. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  171. also corrected the call to the daemon class
  172. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  173. corrected the stddlib import
  174. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  175. imported the daemon class and used it to start stdd as a daemon
  176. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  177. corrected the previous commit
  178. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  179. added a wrapper function for setBrightness to the SevenSegment class so it can be directly called from the display object
  180. 2013-06-30 Helmut Pozimski <helmut@pozimski.eu>
  181. filled the README file with some content
  182. 2013-06-29 Helmut Pozimski <helmut@pozimski.eu>
  183. updated TODO
  184. 2013-06-29 Helmut Pozimski <helmut@pozimski.eu>
  185. reduced the sleep to half a second to get a faster response on the display
  186. 2013-06-29 Helmut Pozimski <helmut@pozimski.eu>
  187. reverted the digits back to integers before writing them to the display
  188. 2013-06-29 Helmut Pozimski <helmut@pozimski.eu>
  189. corrected a typo when calling the writeDigit function
  190. 2013-06-29 Helmut Pozimski <helmut@pozimski.eu>
  191. corrected the code to handle hours and minutes below 10 (hopefully) properly
  192. 2013-06-29 Helmut Pozimski <helmut@pozimski.eu>
  193. corrected an import error in main script and an error in Adadfruit_I2C.py
  194. 2013-06-29 Helmut Pozimski <helmut@pozimski.eu>
  195. added stdd as main script with a bit of test code
  196. 2013-06-29 Helmut Pozimski <helmut@pozimski.eu>
  197. adjusted coding style for the adafruit libraries
  198. 2013-06-29 Helmut Pozimski <helmut@pozimski.eu>
  199. added licensing information to files originating from Adafruit, removed shebang lines
  200. 2013-06-29 Helmut Pozimski <helmut@pozimski.eu>
  201. pulled in the necessary python code from adafruit and my own daemon module
  202. 2013-06-29 Helmut Pozimski <helmut@pozimski.eu>
  203. initial commit