1
0
Fork 0
Commit Graph

213 Commits

Author SHA1 Message Date
nemunaire 84fef789b5 Ignore decoding error when charset is erroneous
continuous-integration/drone/push Build is passing Details
2023-05-23 09:20:21 +02:00
nemunaire 861ca0afdd Try to connect multiple times (with different servers if any)
continuous-integration/drone/push Build encountered an error Details
2023-01-17 21:55:25 +01:00
nemunaire 8dd6b9d471 Fix a strange problem with saved PID file between runs
continuous-integration/drone/push Build is passing Details
2020-12-01 00:47:14 +01:00
nemunaire aee2da4122 Don't silent Exception in line_treat. Skip the treatment, but log. 2019-09-21 02:01:29 +02:00
nemunaire 85c418bd06 feed: fix RSS link handling 2019-02-03 12:59:17 +01:00
nemunaire b349d22370 events: ModuleEvent don't store function argument anymore 2018-12-30 00:42:21 +01:00
nemunaire 445a66ea90 hooks: keywords can have optional values: place a question mark before =
{
	    "keyword?=X": "help about keyword (precise the default value if needed)"
	}
2018-09-25 21:25:02 +02:00
nemunaire f1da640a5b tools/web: fix isURL function 2018-09-25 20:42:51 +02:00
nemunaire 31abcc97cf event: extract dict before call without init data 2018-09-09 19:17:56 +02:00
nemunaire 53fe00ed58 tools/web: new function to retrieve only headers 2018-08-30 12:59:55 +02:00
nemunaire 4a636b2b11 tools/web: follow redirection in URLConn 2018-08-30 12:59:28 +02:00
nemunaire 72bc8d3839 feed: accept RSS that begins with <rss> tag 2018-08-30 12:54:06 +02:00
nemunaire 5578e8b86e tools/web: split getURLContent function 2018-08-30 11:32:59 +02:00
nemunaire 125ae6ad0b feed: fix RSS parsing 2018-06-06 14:50:45 +02:00
nemunaire 8a25ebb45b xmlparser: fix parsing of subchild 2018-06-06 14:50:45 +02:00
nemunaire 342bb9acdc Refactor in treatment analysis 2018-06-06 14:50:44 +02:00
nemunaire 4275009dea events: now support timedelta instead of int/float 2018-01-14 19:19:02 +01:00
nemunaire f520c67c89 context: new function to define default data, instead of None 2018-01-14 19:19:02 +01:00
nemunaire c3c7484792 In debug mode, display the last stack element to be able to trace 2018-01-14 19:19:02 +01:00
nemunaire 4cd099e087 xmlparser: make DictNode more usable 2018-01-14 19:19:02 +01:00
nemunaire d528746cb5 datastore: support custom knodes instead of nemubotstate 2018-01-14 19:19:01 +01:00
Max e0d7ef1314 Fix https links when available, everywhere 2018-01-14 19:19:01 +01:00
nemunaire b15d18b3a5 events: fix event removal 2018-01-14 19:19:00 +01:00
nemunaire 5646850df1 Don't launch timer thread before bot launch 2018-01-14 19:19:00 +01:00
nemunaire 30ec912162 daemonize: fork client before loading context 2018-01-14 19:19:00 +01:00
nemunaire 28d4e507eb servers: call recv late 2018-01-14 19:18:59 +01:00
nemunaire 62cd92e1cb server: Rework factory tests 2018-01-14 19:18:59 +01:00
nemunaire 12ddf40ef4 servers: use proxy design pattern instead of inheritance, because Python ssl patch has benn refused 2018-01-14 19:18:59 +01:00
nemunaire 7a4b27510c Replace logger by _logger in servers 2018-01-14 19:18:59 +01:00
nemunaire f60de818f2 Virtualy move all nemubot modules into nemubot.module.* hierarchy, to avoid conflict with system/vendor modules 2018-01-14 19:18:58 +01:00
nemunaire 45fe5b2156 Refactor configuration loading 2017-09-19 07:25:34 +02:00
nemunaire a11ccb2e39 Remove legacy msg.cmds 2017-09-19 07:25:33 +02:00
nemunaire fde459c3ff Remove legacy msg.nick 2017-09-19 07:25:33 +02:00
nemunaire 1dae3c713a tools/web: new option to remove callback from JSON files 2017-09-19 07:25:33 +02:00
nemunaire dcb44ca3f2 tools/web: new parameter to choose max content size to retrieve 2017-09-19 07:25:33 +02:00
nemunaire b517cac4cf Fix module unloading 2017-09-19 07:25:32 +02:00
nemunaire f81349bbfd Store module into weakref 2017-09-19 07:25:32 +02:00
nemunaire ce012b7017 datastore/xml: handle entire file save and be closer with new nemubot XML API 2017-09-19 07:25:32 +02:00
nemunaire 39056cf358 tools/xmlparser: implement writer 2017-08-23 21:13:39 +02:00
nemunaire 171297b581 tools/web: new option decode_error to decode non-200 page content (useful on REST API) 2017-08-23 21:13:39 +02:00
nemunaire 3267c3e2e1 tools/web: display socket timeout 2017-08-23 21:13:39 +02:00
nemunaire f633a3effe socket: limit getaddrinfo to TCP connections 2017-07-19 10:36:28 +02:00
nemunaire 94ff951b2e run: recreate the sync_queue on run, it seems to have strange behaviour when created before the fork 2017-07-19 10:36:28 +02:00
nemunaire a5479d7b0d event: ensure that enough consumers are launched at the end of an event 2017-07-19 10:36:28 +02:00
nemunaire 67cb3caa95 main: new option -A to run as daemon 2017-07-19 10:36:27 +02:00
nemunaire 2265e1a096 Use getaddrinfo to create the right socket 2017-07-19 10:36:27 +02:00
nemunaire b6945cf81c Try to restaure frm_owner flag 2017-07-19 10:36:27 +02:00
nemunaire e8809b77d2 When launched in daemon mode, attach to the socket 2017-07-19 10:36:27 +02:00
nemunaire 9d446cbd14 Deamonize later 2017-07-19 10:36:27 +02:00
nemunaire cde4ee05f7 Local client now detects when server close the connection 2017-07-19 10:36:27 +02:00