index
:
~steering
/
bitbot.git
this commit
master
Unnamed repository; edit this file 'description' to name the repository.
steering7253
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
utils
/
__init__.py
Commit message (
Collapse
)
Author
Age
Files
Lines
*
handle git being in a detached head state when getting current commit
jesopo
2020-02-08
1
-9
/
+12
|
*
store timestamp and current git commit when loading a module
jesopo
2020-02-03
1
-2
/
+17
|
*
change command specs to be compiled at runtime by a decorator
jesopo
2020-01-25
1
-1
/
+1
|
*
`import` missing comma, 'Events'->'Event'
jesopo
2019-11-18
1
-2
/
+2
|
*
remove unused imports in src/utils/__init__.py
jesopo
2019-11-18
1
-2
/
+2
|
*
"EventsResultsError"->"EventResultsError", move errors to utils.error
jesopo
2019-11-18
1
-12
/
+2
|
*
move all datetime-related code from utils/__init__ to utils.datetime
jesopo
2019-11-15
1
-125
/
+2
|
*
dont expose has_magic/get_magic in utils/__init__.py, ref directly
jesopo
2019-11-15
1
-2
/
+2
|
*
split some stuff out of utils/__init__.py
jesopo
2019-11-15
1
-180
/
+4
|
*
show first-words datestamp on !words output
jesopo
2019-11-15
1
-0
/
+3
|
*
`' '` -> `" "`
jesopo
2019-10-31
1
-4
/
+4
|
*
Fix type errors detected by 'mypy --ignore-missing-imports src'.
Valentin Lorentz
2019-10-30
1
-11
/
+17
|
*
add utils.date_human() - use it in badges.py
jesopo
2019-10-30
1
-0
/
+3
|
*
'from src.utils import' -> 'from . import'
jesopo
2019-10-29
1
-1
/
+1
|
*
add a fairly basic file locking mechanism with src/LockFile.py
jesopo
2019-10-10
1
-2
/
+4
|
|
|
|
closes #96
*
commit FunctionSetting changes i forgot to commit yesterday
jesopo
2019-10-08
1
-2
/
+7
|
*
Allow utils.Setting_ parse functions to throw detailed errors
jesopo
2019-10-04
1
-0
/
+3
|
*
move q.close() to where it will be called even if deadline is hit
jesopo
2019-09-18
1
-1
/
+2
|
*
move _raise_deadline() out of except block to clean up printed stacktrace
jesopo
2019-09-18
1
-0
/
+4
|
*
add .get() to CaseInsensitiveDict
jesopo
2019-09-17
1
-0
/
+2
|
*
use Queue.get() with timeout, not Process.join() for timeout
jesopo
2019-09-17
1
-7
/
+7
|
|
|
|
|
this was because the threads spawned by multiprocessing.Queue seemed to be making Process.join() believe the subprocess had not exited.
*
first draft of multiprocess.Process deadline system
jesopo
2019-09-17
1
-0
/
+23
|
*
support '0' as an IntSetting value
jesopo
2019-09-15
1
-3
/
+6
|
*
add utils.SensitiveSetting, to .format() hide value
jesopo
2019-09-12
1
-0
/
+4
|
*
add utils.Setting.format() so subtypes can format differently
jesopo
2019-09-12
1
-0
/
+3
|
*
make utils.from_pretty_time() format much stricter
jesopo
2019-09-04
1
-12
/
+11
|
*
move deadline alarm time check inside try/finally
jesopo
2019-09-02
1
-5
/
+5
|
*
add per-user fediverse setting
jesopo
2019-09-02
1
-0
/
+9
|
*
switch to using signal.setitimer so we can restore previous timer
jesopo
2019-08-30
1
-1
/
+7
|
*
switch utils.deadline to a context manager
jesopo
2019-08-30
1
-5
/
+8
|
*
add utils.deadline(func, seconds) to put hard limits on code exec time
jesopo
2019-08-30
1
-1
/
+15
|
*
Add IntRangeSetting, reorder OptionsSetting arg order
jesopo
2019-08-30
1
-1
/
+18
|
*
round microseconds up to a whole number and zero-pad to 3 chars
jesopo
2019-08-30
1
-1
/
+2
|
*
Don't use 'Z' for "utc timezone" - actually parse timezone out of datetimes
jesopo
2019-08-30
1
-7
/
+14
|
*
switch to function/module magic being a single object
jesopo
2019-07-26
1
-9
/
+34
|
*
Implemnt _options_factory for OptionsSetting to have dynamic options
jesopo
2019-06-29
1
-5
/
+14
|
*
Automatically format `example` text for OptionsSetting (showing options)
jesopo
2019-06-29
1
-1
/
+15
|
*
Setting.__init__ call in OptionsSetting ctor needs `self` param
jesopo
2019-06-28
1
-1
/
+1
|
*
Implement utils.OptionsSetting
jesopo
2019-06-28
1
-0
/
+12
|
*
Refactor set/channelset/serverset/botset in to 'utils.Setting' objects
jesopo
2019-06-28
1
-15
/
+29
|
*
add CaseInsensitiveDict.__contains__
jesopo
2019-06-26
1
-0
/
+2
|
*
implement @utils.kwarg() magic, use it for command.regex hooks
jesopo
2019-06-26
1
-0
/
+5
|
*
Allow channel-access and channel-mode check for channels people are not in
jesopo
2019-06-16
1
-0
/
+2
|
*
Change from `yield` checks to a func in `events` that pass up EventErrors
jesopo
2019-06-15
1
-1
/
+5
|
*
Fix utils.Check `args` type hinting
jesopo
2019-06-14
1
-2
/
+2
|
*
Add a way to __or__ `utils.Check`s, as a "if one of these passes" thing
jesopo
2019-06-14
1
-0
/
+9
|
*
Catch `yield`s in command callbacks for e.g. permission checks
jesopo
2019-06-14
1
-0
/
+5
|
*
Support parsing iso8601 with microseconds
jesopo
2019-04-28
1
-2
/
+4
|
*
Record and show when a !to was created
jesopo
2019-04-24
1
-0
/
+4
|
*
change utils.iso8601_format to default to no milliseconds, switch to using
jesopo
2019-04-23
1
-2
/
+10
|
|
|
|
utils.iso8601 functions in badges.py
[next]