Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
d70943c
Removing trailing whitespaces
Feb 22, 2012
2ccdd45
Fix: Wrong number of paramente
Feb 23, 2012
3819239
Fix type
Feb 23, 2012
54ec9f3
Adding tags from ctags
Feb 23, 2012
4435ec8
Add .gitignore
Feb 23, 2012
49a96f5
Make msg more understandable
Feb 23, 2012
6708643
Check the owner just once
Feb 23, 2012
9adc6a0
Add new command !help
Feb 23, 2012
ae3fca7
Network as a parameter
Feb 23, 2012
265acd8
Fix: wrong number of parameters
Feb 23, 2012
3e5b3b0
Help doesnt need space
Feb 23, 2012
940d8a2
Add topic change support
Mar 1, 2012
af58b6e
Add sqlite3 support
Mar 1, 2012
0f917cd
Change examplebot to pomobot
Mar 1, 2012
da8fc56
This options does not exist on this network
Mar 1, 2012
2ac9cae
New rank and pomo+ option
Mar 1, 2012
ce16d69
Ordering functions
Mar 1, 2012
c823acd
Always close a connection
Mar 1, 2012
5ddc88d
- Add more options to !help
Mar 2, 2012
aa909d2
Fix: chanName needs to be passed
Mar 5, 2012
12344f9
Add delrank command
Mar 5, 2012
82dd47d
Implement pomo- to decrease pomodoro
Mar 6, 2012
37dd5bf
New method to check if user is already in
Mar 7, 2012
1dc9cb4
Change which msg is going to topic after clear rank
Mar 7, 2012
c258c49
Stop bodering users
Mar 9, 2012
0342658
Delete user from the list if they got no pomodoro
Apr 5, 2012
2bb7fd9
Remove from ranking if has 0
edusf May 14, 2012
18551cd
Better topic layout
edusf May 14, 2012
0f5f929
Feature: !lastrank
edusf May 14, 2012
53a6446
Update !help
edusf May 14, 2012
b37bd61
Fix: should delete the rank after save it
edusf May 21, 2012
443fcae
Respond lastrank in private
May 23, 2012
c2c091b
New feature pomocall
edusf Jun 26, 2012
f813feb
Commit for each query
Jun 26, 2012
b20bcde
Merge branch 'pomobot' of /home/camponez/git/./pomobot into pomobot
Jun 26, 2012
3438158
update help
Jun 28, 2012
653e2e9
Saving some space
Jun 28, 2012
91a0dd1
Fix help
Jun 28, 2012
a900097
Show only the first 6
Jun 29, 2012
f19fb51
Show rank with call too
Jun 29, 2012
8c52d4e
Make rank be sent to the pvt
Jun 29, 2012
1b3a923
Forget to delete the calls
Jul 2, 2012
17e44e2
New help option: !git
Jul 6, 2012
348ba55
Feature say !git
Jul 6, 2012
b453925
Fix: pass highest position to be shown
edusf Jul 19, 2012
402f9d5
Last rank keep history
edusf Jul 23, 2012
ab4259a
Fix date to str
edusf Jul 23, 2012
d6d8aaf
New parameter for lastrank
edusf Jul 23, 2012
3cc1891
Should show most recent first
edusf Jul 23, 2012
a8ded9a
Fix if
edusf Aug 2, 2012
859e728
Change bot to use class
edusf Aug 2, 2012
05f1fbf
Changes to enable testing
edusf Aug 3, 2012
850bd21
New test cases (need much more)
edusf Aug 3, 2012
e3ae882
Fix: typo
camponez Aug 6, 2012
951aa15
Add new test
camponez Aug 6, 2012
59f4fc0
Better forbiden message feedback
camponez Aug 6, 2012
c3e0c93
Update ctags
camponez Aug 6, 2012
737da75
Botnick by console
camponez Aug 10, 2012
4c1f624
Fix: wrong call method
Aug 15, 2012
8150cce
Fix: more wrong call method
Sep 3, 2012
da11a99
Now bot nick is a paramater
camponez Oct 9, 2012
11032b4
No need to use pytest
camponez Oct 9, 2012
1e460db
Fix: wrong method call
camponez Oct 19, 2012
cc8aee4
Only needs to check if owner for restricted commands
camponez Oct 22, 2012
bc8382a
Dont need to see pomodoro.db
camponez Oct 22, 2012
d17d090
pomodoro.db from test/ does not need to be tracked
camponez Oct 22, 2012
a834881
Merge branch 'hotfix/ignore-pomodoro' into develop
camponez Oct 22, 2012
22f1326
Add feature to generate charts
camponez Oct 26, 2012
de0ad3f
Enable Generate chart after saving ranking
camponez Oct 29, 2012
2e2c511
New option on !help
camponez Oct 29, 2012
e8f0e1e
Merge branch 'feature/pomochart' into develop
camponez Oct 31, 2012
68cf3cb
Release 1.0
camponez Oct 31, 2012
2a0215c
Merge branch 'release/1.0'
camponez Oct 31, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.*.swp
*.pyc
test/pomodoro.db
1 change: 1 addition & 0 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__='1.0'
78 changes: 0 additions & 78 deletions examplebot.py

This file was deleted.

1 change: 1 addition & 0 deletions graphy/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__='1.0'
51 changes: 51 additions & 0 deletions graphy/all_tests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#!/usr/bin/python2.4
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Run all tests from *_test.py files."""

import os
import unittest


def ModuleName(filename, base_dir):
"""Given a filename, convert to the python module name."""
filename = filename.replace(base_dir, '')
filename = filename.lstrip(os.path.sep)
filename = filename.replace(os.path.sep, '.')
if filename.endswith('.py'):
filename = filename[:-3]
return filename


def FindTestModules():
"""Return names of any test modules (*_test.py)."""
tests = []
start_dir = os.path.dirname(os.path.abspath(__file__))
for dir, subdirs, files in os.walk(start_dir):
if dir.endswith('/.svn') or '/.svn/' in dir:
continue
tests.extend(ModuleName(os.path.join(dir, f), start_dir) for f
in files if f.endswith('_test.py'))
return tests


def AllTests():
suites = unittest.defaultTestLoader.loadTestsFromNames(FindTestModules())
return unittest.TestSuite(suites)


if __name__ == '__main__':
unittest.main(module=None, defaultTest='__main__.AllTests')
Empty file added graphy/backends/__init__.py
Empty file.
53 changes: 53 additions & 0 deletions graphy/backends/google_chart_api/.svn/all-wcprops
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
K 25
svn:wc:ra_dav:version-url
V 65
/svn/!svn/ver/75/tags/graphy_1.0/graphy/backends/google_chart_api
END
base_encoder_test.py
K 25
svn:wc:ra_dav:version-url
V 86
/svn/!svn/ver/75/tags/graphy_1.0/graphy/backends/google_chart_api/base_encoder_test.py
END
util_test.py
K 25
svn:wc:ra_dav:version-url
V 78
/svn/!svn/ver/75/tags/graphy_1.0/graphy/backends/google_chart_api/util_test.py
END
util.py
K 25
svn:wc:ra_dav:version-url
V 73
/svn/!svn/ver/75/tags/graphy_1.0/graphy/backends/google_chart_api/util.py
END
pie_chart_test.py
K 25
svn:wc:ra_dav:version-url
V 83
/svn/!svn/ver/75/tags/graphy_1.0/graphy/backends/google_chart_api/pie_chart_test.py
END
__init__.py
K 25
svn:wc:ra_dav:version-url
V 77
/svn/!svn/ver/75/tags/graphy_1.0/graphy/backends/google_chart_api/__init__.py
END
encoders.py
K 25
svn:wc:ra_dav:version-url
V 77
/svn/!svn/ver/75/tags/graphy_1.0/graphy/backends/google_chart_api/encoders.py
END
bar_chart_test.py
K 25
svn:wc:ra_dav:version-url
V 83
/svn/!svn/ver/75/tags/graphy_1.0/graphy/backends/google_chart_api/bar_chart_test.py
END
line_chart_test.py
K 25
svn:wc:ra_dav:version-url
V 84
/svn/!svn/ver/75/tags/graphy_1.0/graphy/backends/google_chart_api/line_chart_test.py
END
6 changes: 6 additions & 0 deletions graphy/backends/google_chart_api/.svn/dir-prop-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
K 10
svn:ignore
V 6
*.pyc

END
129 changes: 129 additions & 0 deletions graphy/backends/google_chart_api/.svn/entries
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
8

dir
75
https://graphy.googlecode.com/svn/tags/graphy_1.0/graphy/backends/google_chart_api
https://graphy.googlecode.com/svn



2009-01-13T03:40:07.182080Z
73
bugmaster
has-props

svn:special svn:externals svn:needs-lock











30582518-8026-11dd-8d1c-71c7e1663bfb

base_encoder_test.py
file




2009-05-14T23:29:14.000000Z
2257291b958ebb18f2f8879037e1ce95
2008-12-30T15:54:15.324132Z
68
zovirl@zovirl.com
has-props

util_test.py
file




2009-05-14T23:29:14.000000Z
d09705be8624c77a15180c3e15de1390
2008-11-19T02:16:36.610210Z
41
zovirl@zovirl.com
has-props

util.py
file




2009-05-14T23:29:14.000000Z
173e949a508d9c740d845c753f5ec6d8
2008-12-30T15:57:12.784546Z
69
zovirl@zovirl.com

pie_chart_test.py
file




2009-05-14T23:29:14.000000Z
438fc383e33c5d3420301cd7074fe21d
2009-01-09T00:58:34.094011Z
72
bugmaster
has-props

__init__.py
file




2009-05-14T23:29:14.000000Z
2e74e5afa52c2d367611c87935b5ed0d
2008-12-06T01:15:57.099252Z
45
zovirl@zovirl.com

encoders.py
file




2009-05-14T23:29:14.000000Z
010763cf83bdb874d9b88299ee550d3d
2009-01-13T03:40:07.182080Z
73
bugmaster

bar_chart_test.py
file




2009-05-14T23:29:14.000000Z
ffbbd2cca8df1273e08ce598cdddf103
2008-12-30T15:54:15.324132Z
68
zovirl@zovirl.com
has-props

line_chart_test.py
file




2009-05-14T23:29:14.000000Z
f5a276348bde69ebe52d00d8da35b606
2008-12-09T06:22:36.205817Z
48
zovirl@zovirl.com
has-props

1 change: 1 addition & 0 deletions graphy/backends/google_chart_api/.svn/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
K 14
svn:executable
V 1
*
END
Loading