Jonatan Pålsson
529bcbb003
Add commands support
2017-06-12 21:47:14 +02:00
Jonatan Pålsson
bf661d9577
Fix nick treates as channel issue
...
Since nickname changes apply server-wide, they were incorrectly treated
as their own channels (this was a bug) - fixed this, and nickname
changes are now logged in all channels the bot has joined.
2017-06-10 12:23:07 +02:00
Viktor Sjölind
96e6da2752
Refactor to run in both Python 2.7 and Python 3.6
...
Refactor to run in both Python 2.7 and Python 3.6. This is important as
python 2.7 is end of life.
I tried to edit as few things as possible in this commit to minimize
conflicts which means the code could be prettier.
Signed-off-by: Viktor Sjölind <viktor@sjolind.se>
2017-06-10 11:59:11 +02:00
Jonatan Pålsson
2125b2d739
Make flask thread a daemon
...
This means the flask thread will also exit when the main thread receives
a KeyboardInterrupt. This closes #12 .
2017-06-10 11:24:21 +02:00
Jonatan Pålsson
924fad4320
Use ',' rather than 'and' in .select() queries
...
This closes #11
2017-06-10 11:22:54 +02:00
Jonatan Pålsson
6292af08e6
Add environment variables for config
2017-06-10 10:57:41 +02:00
Richard Pannek
0a6a0c4e6f
Add db and seen_prs to gitignore
2017-06-09 16:06:55 +02:00
Richard Pannek
233519ac3a
Merge pull request #9 from rpannek/readme
...
Change project name in README
2017-06-09 12:58:15 +02:00
Richard Pannek
63a2a7af31
Change project name in README
2017-06-09 12:56:48 +02:00
Jonatan Pålsson
a4a872cf3d
Calculate colors for all nicks in pubmsgs
2017-06-04 19:18:31 +02:00
Jonatan Pålsson
10d43cc2a9
Add URL for viewing logs to README
2017-06-04 18:45:14 +02:00
Jonatan Pålsson
2f8c49f94c
Add requirements to README
2017-06-04 18:44:21 +02:00
Jonatan Pålsson
608e3dda02
Include quit messages
2017-06-04 18:32:22 +02:00
Jonatan Pålsson
3f627b7d83
Fix bug which causes crash on quitting users
2017-06-04 18:23:45 +02:00
Jonatan Pålsson
a80a37545a
Allow external connections to web interface
2017-06-04 18:10:59 +02:00
Jonatan Pålsson
0b0ff1b8c8
Rewrite to use flask and peewee
2017-06-04 17:54:02 +02:00
Jonatan Pålsson
7d4cfd702e
Only show new PRs, and include issue URL
2017-06-01 15:39:08 +02:00
Jonatan Pålsson
301ec5c8f7
Add support for GH pull requests
2017-06-01 12:17:15 +02:00
Jonatan Pålsson
e4f5c141ae
Add support for toggling joins/parts
...
This wraps all messages in <p> tags, which each have a class depending
on the message type, and also adds a button for filtering out the hide &
join classes specifically
2017-05-31 15:01:44 +02:00
Richard Pannek
ec84b9165f
Highlight targeted time in red
...
Linking to a time within one day didn't highlight it in any way, this patch colors the targeted time (from the hash in the URL) red.
2017-05-31 11:46:37 +00:00
Jonatan Pålsson
69a5cccbf6
Configure for pelux channel
2017-05-31 11:46:08 +00:00
Chris Oliver
db892646b7
Merge pull request #20 from jaraco/master
...
Fixed two errors in HTML color handling code
2012-10-10 06:35:59 -07:00
Jason R. Coombs
1f4a5bd42c
Fix possible KeyError if code is not a color code
2012-10-09 17:41:17 -04:00
Jason R. Coombs
438a0785fb
Fix IndexError due to unintentionally moving call out of try block
2012-10-09 17:39:50 -04:00
Chris Oliver
11610b1e43
Merge pull request #19 from jaraco/master
...
HTML Colors from ANSI codes
2012-10-09 07:50:35 -07:00
Jason R. Coombs
69bdad2ec5
Added support for converting the ANSI color codes to HTML styles
2012-10-09 04:48:17 -04:00
Chris Oliver
db3f3ea308
Strip ASCII color codes from messages. Fixes #18
2012-09-17 14:23:18 -05:00
Chris Oliver
a8b5642c12
Update master
2012-06-11 19:17:48 -05:00
Chris Oliver
94fd3ad9a4
Merge pull request #17 from FiXato/master
...
Added support for per-channel timezone offsets.
2012-06-11 17:16:06 -07:00
Filip H.F. "FiXato" Slagter
04aa153b0b
Bugfix: forgot to strip the newlines from channellocations
2012-06-12 02:07:07 +02:00
Filip H.F. "FiXato" Slagter
7af5c60e2a
Force lowercase channel keys
...
Force the channel keys of the CHANNEL_LOCATIONS_FILE config to
lowercase.
2012-06-12 01:53:04 +02:00
Filip H.F. "FiXato" Slagter
48048ea28f
Added documentation for localised channels.
...
Includes an example of what to put in the CHANNEL_LOCATIONS_FILE config
file.
2012-06-12 01:37:44 +02:00
Filip H.F. "FiXato" Slagter
d1051e5304
Add support for timezone offsets on a per channel basis.
...
You can now create a file at CHANNEL_LOCATIONS_FILE that contains a
list of channels and (pytz) timezone location names.
All log files for specified channels from that point on will have their
timestamps adjusted to the given timezone.
If a channel is not specified in the config file, it will default to
the timezone specified by DEFAULT_TIMEZONE (which defaults to UTC).
I've started storing this info in a separate config file as I plan to
move all the other settings into a config file as well so people don't
need to edit the script (allowing the script to be re-used more easily).
2012-06-11 23:05:00 +02:00
Chris Oliver
82814fa304
Merge pull request #15 from FiXato/master
...
Prevent nick and quit messages from showing up in channels the user wasn't in
2012-06-08 17:12:36 -07:00
Filip H.F. "FiXato" Slagter
9b30109af8
Use the channel_title in one more position
...
Update for the lowercase channelname fix.
2012-06-09 01:37:15 +02:00
Filip H.F. "FiXato" Slagter
930cd6bc11
Force channel log filenames to be lowercase when appending to logs
...
In some rare cases a logfile with a different capitalisation was still
being created.
2012-06-09 01:29:07 +02:00
Filip H.F. "FiXato" Slagter
3b878cc2cc
Only write quit events on channels that actually had the user in it
...
Should prevent the quit messages from showing up in all channel logs.
2012-06-09 00:16:24 +02:00
Filip H.F. "FiXato" Slagter
5cdb575085
Only write the nick change event on channels that actually have the nick on the channel
...
This should prevent nick changes appearing in logs that don't have the
user on the channel.
2012-06-08 23:44:16 +02:00
Chris Oliver
0be9eac469
Added regex to parse urls. Closes #14
2012-02-09 22:32:52 -06:00
Chris Oliver
ccbdcd6d35
Updated readme
2012-01-21 09:47:11 -06:00
Chris Oliver
846df91396
Catch all FTP errors
2012-01-19 20:11:13 -06:00
Chris Oliver
67bc9c2691
Markdown readme update
2012-01-19 19:42:10 -06:00
Chris Oliver
21929c84b7
Release 0.4.2
2012-01-19 19:41:20 -06:00
Chris Oliver
978d22c7b7
Clean up upload error handling, fixes #11
2012-01-19 19:38:31 -06:00
Chris Oliver
8e0362d4bf
Clarify configuration settings. Fixes #12
2012-01-19 19:33:50 -06:00
Chris Oliver
b526393da8
Configurable log folder locally
2012-01-19 19:30:06 -06:00
Chris Oliver
673c93d500
Try reconnect if other type of error
2012-01-19 19:14:37 -06:00
Chris Oliver
829de89d1f
Split filenames on windows
2012-01-19 13:22:38 -06:00
Chris Oliver
a7f48ea6cc
Use python path splitting to allow windows filename parsing
2012-01-19 13:18:10 -06:00
Chris Oliver
1700265b18
Skip if empty remote filename
2012-01-19 12:43:37 -06:00