Commit Graph

32 Commits

Author SHA1 Message Date
Abhay Rana
9a6d60be90 Implements network error checking in. 2014-09-24 12:23:54 +05:30
Abhay Rana
6b52720efd Handles manual refresh for chrome 2014-06-07 14:56:16 +05:30
Abhay Rana
83b5c48bd2 chrome_data_directory was being ignored on next auto refresh 2014-06-07 14:06:55 +05:30
Abhay Rana
ce4ceec31f Integrates --chrome option into hackertray main module
- Specify a chrome profile path via --chrome and it takes care of the rest
- The native json db implementation is still used as backup
- Chrome module now uses absolute path of History file
2014-06-07 12:24:37 +05:30
Abhay Rana
0b4d6b4424 Catches distribution errors for travis 2014-06-07 11:05:42 +05:30
Abhay Rana
da7998462f Don't try to import Appindicator on TRAVIS. 2014-06-07 10:57:48 +05:30
Abhay Rana
b1bcdf1024 Detects travis and ignores pygtk 2014-06-07 10:48:04 +05:30
Abhay Rana
578830a2e6 Allow missing pygtk, gtk, webbrowser modules 2014-06-07 03:08:31 +05:30
Abhay Rana
9dbc5d5ef8 Gets Chrome module to a working state
- Shifts to using /tmp/hackertray.chrome for no conflicts
2014-06-07 02:51:34 +05:30
Abhay Rana
0586db9d72 Adds chrome module for searching history.
- Restructures unit tests
- Shifts to nose for unit testing
- Adds a sample history file with 6 entries to search against as well
2014-06-07 02:42:59 +05:30
Abhay Rana
64d500c328 Limit the image size. 2014-06-06 20:39:01 +05:30
Abhay Rana
0b1353131d Adds -c argument for showing comments
- Adds support for short args (-v,-c)
- Removes crate.io links
- Bumps version to 2.0.0
2014-01-29 20:04:10 +05:30
Alex Butum
1e83a78129 Be more Pythonic and Python 3.x compatible 2013-12-12 23:38:31 +02:00
Abhay Rana
2b4dd31a65 Stop using text label as icon 2013-12-09 18:48:20 +05:30
Aaron Hill
50b1e7748a Actually use icon 2013-12-09 06:59:25 -05:00
Abhay Rana
c5bdb2a362 Adds comments support via a toggle switch. 2013-12-06 11:22:34 +05:30
Abhay Rana
389da396f4 Fixes icon issues completely.
-Refers #11
- No longer searches in different places for the icon
- Sets title of GtkStatusIcon for accessibility
- Uses hackertray.data to package the image file
- Bumps version to 1.9

Signed-off-by: Abhay Rana <capt.n3m0@gmail.com>
2013-12-04 17:28:35 +05:30
Abhay Rana
4a604c1527 Handles Ctrl+C and sigint to close data file before quitting 2013-12-01 17:52:59 +05:30
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