Changelog 11 KB

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