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
Athozus
0ce6a2d099
Fix migrate.lua non-declared variable
2023-03-29 14:48:58 +02:00
Athozus
b8533f14ff
Add 10 seconds security to mtt.lua
2023-03-29 14:48:58 +02:00
Athozus
c7692b1ff1
Fix mtt.lua
...
Due to old function getMessages(), replaced by getPlayerInboxMessages()
2023-03-29 14:48:57 +02:00
Athozus
0333ba7fe7
Set up database version v3 and its migration from v2
...
+ Check versions to choose v1->v2 or v2->v3
2023-03-29 14:48:57 +02:00
Athozus
41aa75d8fe
Fix many issues related to maillists
...
Notably : edit, delete, selection, creation, registration of players
2023-03-29 14:48:57 +02:00
Athozus
7247e6bb5c
Fix selected indexes for inbox/sent
...
Now separated, fixed show_message() func selection of id from table dcl/read btn
2023-03-29 14:48:57 +02:00
Athozus
1412f0e3e0
Avoid multiples occurences of the same messages due to player both in maillist and receivers
2023-03-29 14:48:56 +02:00
Athozus
c9635d7190
Fix repetition of code causing a crash
2023-03-29 14:48:56 +02:00
Athozus
2443cc5dec
Add ability to use maillist in messages and receive messages from them
2023-03-29 14:48:56 +02:00
Athozus
85a5e525be
Add ability to add multiples players and choose their default status (to/cc/bcc)
2023-03-29 14:48:55 +02:00
Athozus
698e8617c7
Add ability to choose default status (to/cc/bcc)
...
Signed-off-by: Athozus <athozus@gmail.com>
2023-03-29 14:48:55 +02:00
Athozus
2656936a6f
Add at symbol as prefix on maillists view
2023-03-29 14:48:55 +02:00
Athozus
6453c56def
Rework on editing/deletion of contacts/maillists
2023-03-29 14:48:54 +02:00
Athozus
770b7b69cb
Fix inability to edit contact
2023-03-29 14:48:54 +02:00
Athozus
09a156cfe8
Add ability to create mail lists
2023-03-29 14:48:54 +02:00
Athozus
fd9b579c5f
Add deleting contact
2023-03-29 14:48:53 +02:00
Athozus
178a101618
Create mail lists formspec based on contacts
2023-03-29 14:48:53 +02:00
Athozus
addc9eb9bc
Use global contacts functions and reconfigure add/remove functions
2023-03-29 14:48:53 +02:00
Athozus
b5285fbff1
Show every message received/sent via specific functions
2023-03-29 14:48:52 +02:00
Athozus
3dd820a16b
Fix messages loading
2023-03-29 14:48:52 +02:00
Athozus
1441c28ccf
Mark read/unread/delete a message
2023-03-29 14:48:52 +02:00
Athozus
7ede5864be
Add automatic generation of status for a new message (unread)
2023-03-29 14:48:52 +02:00
Athozus
128b209067
Receive player messages from global storage
2023-03-29 14:48:51 +02:00
Athozus
0d69f0242b
Add insertion of messages into global storage mail.messages.json
2023-03-29 14:48:51 +02:00
Athozus
17b5f94fed
Show date time ( #27 )
...
* Show date in message reading
* Fix wrong registered dates
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
* Rework header layout to add better space for date
---------
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2023-03-29 14:48:38 +02:00
Athozus
e73d11b8bd
Resize messages table to be aligned with close button at the bottom
2023-03-29 14:47:04 +02:00
Athozus
dd145e621a
Remove index variable verification on mark read/unread buttons since they are necessarily clicked on inbox view
2023-03-29 14:46:59 +02:00
Athozus
61d70e427e
Add variable to keep the previous tab instead of going back to the first one
2023-03-29 14:46:26 +02:00
Athozus
92a7c71d7f
Remove comment on selected_idxs test (show_sent)
2023-03-29 14:40:21 +02:00
Athozus
f58af625c5
Add show_sent function and show sent messages
2023-03-29 14:40:05 +02:00
Athozus
2d10355a20
Add tabheader & sent formspec
2023-03-29 14:39:45 +02:00
BuckarooBanzay
140608f1ca
add canonical_name
to luacheck config
2023-02-23 23:32:57 +01:00
BuckarooBanzay
f53221e742
fix smoke test
2023-02-23 23:31:01 +01:00
flux
f7a7ef361a
use canonical_name if it is available; report error when trying to send mail to non-existent players
2023-02-23 13:41:41 -08:00
fluxionary
43bf5b9a6f
don't forget which message was selected ( #25 )
2022-11-21 18:30:52 +01:00
fluxionary
8062173a5a
fix unified inventory integration ( #23 )
2022-09-23 21:26:36 -04:00
BuckarooBanzay
d1254a7c5b
check messages for missing time field
2022-08-06 20:23:35 +02:00
BuckarooBanzay
bbd6e9123f
update ci status badges
2022-08-02 15:06:42 +02:00
BuckarooBanzay
abe3c29e6d
strip down to bare mail mod
2022-08-02 15:03:31 +02:00
BuckarooBanzay
3327be9bf4
consistent function syntax
2022-08-02 14:58:42 +02:00
BuckarooBanzay
5642f139df
use mtt
for integration tests
2022-08-02 14:56:32 +02:00
BuckarooBanzay
4b496a1e61
order received mails by date descending
...
fixes #21
2022-08-02 14:49:22 +02:00
Dennis Jenkins
d9771ded2a
Fixes https://github.com/EdenLostMinetest/edenlost/issues/8
2022-01-20 12:48:25 +01:00
BuckarooBanzay
390c431b96
readonly received msg view
...
fixes #15
2022-01-07 13:19:05 +01:00