Commit graph

145 commits

Author SHA1 Message Date
BuckarooBanzay
9cbe7aa22b unified-inv fix 2023-03-29 17:23:35 +02:00
Athozus
2666e9e2a0
Show most recent messages at first (outbox) 2023-03-29 15:02:10 +02:00
Athozus
a061b7e847
Merge branch 'master' into feature/sent-messages 2023-03-29 14:53:48 +02:00
Athozus
9af7aa38f7
Ui improvements & fixes
Move events code (if fields.x then) to events.lua (instead of inbox.lua), fix tab selection when going backward
2023-03-29 14:54:06 +02:00
BuckarooBanzay
48fa4b04f8
add v1 and v2 player db examples and migration test 2023-03-29 14:54:05 +02:00
BuckarooBanzay
a5caecf96e
internalize old mail-paths to migration module 2023-03-29 14:54:05 +02:00
BuckarooBanzay
438cf79a30
prefix mail entries in the mod storage 2023-03-29 14:54:05 +02:00
BuckarooBanzay
48e6a966ee
contributors 2023-03-29 14:52:46 +02:00
BuckarooBanzay
50c1415d36
re-enable migrations 2023-03-29 14:49:10 +02:00
BuckarooBanzay
b1ccd494f7
fix some issues 2023-03-29 14:49:10 +02:00
BuckarooBanzay
e8c7fde4c3
tests 2023-03-29 14:49:09 +02:00
BuckarooBanzay
dff068d75b
docs 2023-03-29 14:49:09 +02:00
BuckarooBanzay
8ce3dc2ecf
maillist refactoring 2023-03-29 14:49:09 +02:00
BuckarooBanzay
a690fc721d
contacts refactoring 2023-03-29 14:49:09 +02:00
BuckarooBanzay
b414ace620
status refactoring 2023-03-29 14:49:08 +02:00
BuckarooBanzay
706b870b7d
error -> err 2023-03-29 14:49:08 +02:00
BuckarooBanzay
a4aebbd2dc
remove unused channel.lua 2023-03-29 14:49:08 +02:00
BuckarooBanzay
de7c64a181
show_compose cleanup 2023-03-29 14:49:07 +02:00
BuckarooBanzay
1a0f0d02ff
refactor ui components 2023-03-29 14:49:07 +02:00
BuckarooBanzay
9b2883030a
storage format docs 2023-03-29 14:49:07 +02:00
BuckarooBanzay
894e5df4b1
storage rewrite wip 2023-03-29 14:49:07 +02:00
Athozus
e08238f50e
Check maillists not added in contacts 2023-03-29 14:49:06 +02:00
Athozus
f93be5818a
Fix removing elements from tables 2023-03-29 14:49:06 +02:00
Athozus
4b2a943799
Do not add maillist as a new contact when sending a mail 2023-03-29 14:49:06 +02:00
Athozus
615a102d85
Use funcs 2023-03-29 14:49:05 +02:00
Athozus
b840f7bce8
Fix table insertions at first index when no needed 2023-03-29 14:49:05 +02:00
SX
af3208bad4
Fix luacheck 2023-03-29 14:49:05 +02:00
Athozus
c4dd235782
Significantly improve maillist behaviour
Replace maillist by its players when sending a message
List of players separated by ,
Avoid doublons when editing more than 2 times a maillist
2023-03-29 14:49:05 +02:00
Athozus
1e6e06e56f
Whitespace line (api.lua) 2023-03-29 14:49:04 +02:00
Athozus
cf4de2cffd
Whitespace line (init.lua) 2023-03-29 14:49:04 +02:00
Athozus
6b3a7c514b
Whitespace line in gui.lua 2023-03-29 14:49:04 +02:00
Athozus
0836429903
Unused loop values in migrate.lua 2023-03-29 14:49:03 +02:00
Athozus
75e547fc45
Fix luacheck (too long lines) in storage.lua 2023-03-29 14:49:03 +02:00
Athozus
c0c3692c2b
Fix luacheck warnings in gui.lua 2023-03-29 14:49:03 +02:00
Athozus
8d9c1aa43f
Fix luacheck warnings in migrate.lua 2023-03-29 14:49:03 +02:00
Athozus
6605b1db47
Fix luacheck on storage.lua 2023-03-29 14:49:02 +02:00
BuckarooBanzay
b95602a328
add check for an ancient issue with missing to field 2023-03-29 14:49:02 +02:00
BuckarooBanzay
d9fcd65066
luacheck on PR 2023-03-29 14:49:02 +02:00
BuckarooBanzay
09e2d0e661
re-add mtt if 2023-03-29 14:49:01 +02:00
Athozus
a2b74be394
Use builtin split func in storage.lua 2023-03-29 14:49:01 +02:00
Athozus
30a11784a9
Use builtin split func
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2023-03-29 14:49:01 +02:00
Athozus
03191fa406
Replace mail.split by builtin func
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2023-03-29 14:49:01 +02:00
Athozus
a2930517da
Better compatibility for messages storage
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2023-03-29 14:49:00 +02:00
Athozus
6858425bd9
Fix mtt issue 2023-03-29 14:49:00 +02:00
Athozus
c942dc1a84
Fix bcc forgotten in mail.send() 2023-03-29 14:49:00 +02:00
Athozus
425ad39547
Better syntax in storage.lua 2023-03-29 14:48:59 +02:00
Athozus
8a4290849f
Fix mtt crash 2023-03-29 14:48:59 +02:00
Athozus
40381c1175
Add message check 2023-03-29 14:48:59 +02:00
Athozus
88d8f8fe3e
Better log messages 2023-03-29 14:48:59 +02:00
Athozus
69bb0fb53e
Send msg table with string keys in mtt 2023-03-29 14:48:58 +02:00