Commit Graph

14 Commits

Author SHA1 Message Date
Abhay Rana 0e2d49f811 Adds argument parsing for help and version 2013-12-01 16:45:36 +05:30
M.Yasoob Ullah Khalid ☺ d02e78f639 using with construct
using with construct so that the file closes smoothly
2013-12-01 00:40:10 +05:00
Abhay Rana ca0bd63dda Use only the main API server, as per @cheeaun's request 2013-11-30 17:40:49 +05:30
Abhay Rana 6ac71fe792 Bugfix for timeout to 10 minutes. Set it to 10s earlier 2013-11-30 17:23:03 +05:30
Abhay Rana 2401b73315 Changes the timeout to 10 minutes as per @cheeaun's suggestion 2013-11-30 14:15:58 +05:30
Abhay Rana 0530d51fc5 Fixes #8
Clicking on refresh no longer creates a new refresh queue.
2013-11-30 12:31:10 +05:30
Abhay Rana 8f0b08137b Implements a simple load balancer to divide API requests among 5 servers.
Made possible thanks to @cheeaun's work on hackerweb.
Moves hackernews to its own module.
Adds test for hackernews module.
2013-11-30 01:16:39 +05:30
Abhay Rana 26a163f9b7 Merge branch 'statusicon' 2013-11-28 20:40:12 +05:30
Bruno Cauet a11f7c4507 image: correct declaration + usage
- Declaration: setup.py declares the image a 'hackertray' data, gives
  its location and asks its inclusion
- appindicator looks for the picture in folders near itself, instead of
  /usr/bin (near the main executable) or the first entry of path.
2013-11-28 15:47:03 +01:00
Bruno Cauet 73aa49812e Clean setup file, create launch script
- Setup file: 'entry_point' is used in stead of non-existent
  'bin/hackertray' for scripts
- hackertray package init file
  - does not check if it is called as a script (which should not happen)
  - main() code is now replaced in HackerNewsApp.run()
  - main() instantiates the app and calls run() on it (previous roles
    grouped)
2013-11-28 15:42:29 +01:00
Abhay Rana aeeb9f370c Merge branch 'statusicon' 2013-11-28 19:15:43 +05:30
Abhay Rana 35b65928f8 Adds an about button. Fixes #3 2013-11-28 18:00:23 +05:30
Abhay Rana 7b3b06d7c2 Fixes #2 2013-11-28 15:59:14 +05:30
Abhay Rana 6ca735ea08 Converts app into a python module which is easily installable. 2013-11-28 14:03:25 +05:30