144 Commits

Author SHA1 Message Date
b2b1d62cc0 Merge branch 'multicast' into 'master'
Multicast

See merge request ynerant/squinnondation!10
v1.0
2021-01-09 22:30:00 +01:00
8a8a03e252 Replace RLock by Semaphore (in readme also) 2021-01-09 21:49:56 +01:00
414173c0eb Replace RLock by Semaphore 2021-01-09 21:45:50 +01:00
4b9d3501a1 Add timeout of 1 second for each acquire 2021-01-09 21:42:44 +01:00
6aa714ef4c Cleaning files. 2021-01-09 21:32:17 +01:00
83998e639b Merge remote-tracking branch 'origin/multicast' into multicast 2021-01-09 21:31:52 +01:00
7554bd0379 Documentation for the trailing zero in data 2021-01-09 21:31:47 +01:00
d23bb086dd Cleaned the repo 2021-01-09 21:26:29 +01:00
e3adc73d01 Copy recent messages before cleaning them 2021-01-09 21:07:08 +01:00
dbf3953ad4 Reduce length by 1 if there is a trailing zero at the end 2021-01-09 20:56:02 +01:00
d8cabcc6a3 DataTLV is not subscriptable 2021-01-09 20:52:17 +01:00
8f3b7cd9d2 Inundation is more thread-safe 2021-01-09 20:41:12 +01:00
4a79fcaabe Prevent curses errors 2021-01-09 20:38:13 +01:00
2797b9ddc5 Allow other clients to add a trailing zero at the end of a data 2021-01-09 20:36:32 +01:00
b6a27af219 Don't commit latex output 2021-01-09 20:33:15 +01:00
30cdd107f5 IPv4-mapping 2021-01-09 20:32:00 +01:00
047e031b25 Documentation 2021-01-09 20:20:25 +01:00
ed00fd73d1 Fix inundation concurrency issues 2021-01-09 20:13:02 +01:00
eb97a47a25 Warn other user is the data contains a zero 2021-01-09 20:09:53 +01:00
ff781981f9 Merge branch 'no-colors-on-tty' into 'master'
Fix colors when we can't change colors (eg. in a TTY)

See merge request ynerant/squinnondation!9
2021-01-09 18:19:41 +01:00
ea5da5656f Fix colors when we can't change colors (eg. in a TTY) 2021-01-09 18:14:48 +01:00
c136f34d9c Refresh screen when needed 2021-01-08 19:11:46 +01:00
bf130f1ede Remove debug code 2021-01-08 18:55:18 +01:00
369befcd79 💩 code 2021-01-08 18:50:10 +01:00
380f808e50 Merge hazelnuts that have the same id 2021-01-08 17:52:27 +01:00
57cdfebff4 ... 2021-01-07 18:32:25 +01:00
55b9eac037 prefer not multicast port addresses 2021-01-07 18:25:05 +01:00
a8d38faa62 better? 2021-01-07 18:13:20 +01:00
eae4f13066 Removes somr locks that were blocking the threads 2021-01-07 17:48:56 +01:00
7e1323dc74 Multicast mode can be turned off (it does not really work, so... 2021-01-07 17:12:33 +01:00
f8fa48f274 reapired multicast 2021-01-07 15:50:32 +01:00
850b4ed78b ... 2021-01-07 15:39:35 +01:00
5ada0920f0 for tests 2021-01-07 15:23:28 +01:00
1702d258bf multicast 2021-01-07 15:06:23 +01:00
df3298a39c suppress the superfluous hazel.py file. 2021-01-07 11:20:49 +01:00
25e502ab45 Merge branch 'commands' into 'master'
Commands

See merge request ynerant/squinnondation!8
2021-01-07 11:13:38 +01:00
15917bfb32 Added a fix to avoid becoming one's own neighbour. 2021-01-06 22:04:23 +01:00
ab554bb3fe Cleaned the names + put the lock back (I assure you it's necessary) 2021-01-06 21:47:07 +01:00
671c3ef978 Merge branch 'commands' into 'master'
Commands

See merge request ynerant/squinnondation!7
2021-01-06 17:04:07 +01:00
be6abe2557 Linting 2021-01-06 15:50:29 +01:00
40a22b20c8 Fix markdown command 2021-01-06 15:48:02 +01:00
fdc89bfe53 Remove debug code 2021-01-06 15:46:58 +01:00
bd024c3d31 Manage suppr key, fix backspace 2021-01-06 15:45:52 +01:00
89bb6ddc3a Manage commands 2021-01-05 23:59:35 +01:00
a92df73a55 Merge branch 'security' into 'master'
Security

See merge request ynerant/squinnondation!6
2021-01-05 22:40:54 +01:00
acd9b157b9 Add docstring for the update table function 2021-01-05 22:36:09 +01:00
084f512d34 Check that packet length is good 2021-01-05 22:01:49 +01:00
eb0098552a Banned clients are not potential clients 2021-01-05 21:50:29 +01:00
1db72e71dc Banned clients are not potential clients 2021-01-05 21:17:44 +01:00
edb738bffb Don't log banned users too much 2021-01-05 21:08:52 +01:00