Commit Graph

  • d9771ded2a Fixes https://github.com/EdenLostMinetest/edenlost/issues/8 master Dennis Jenkins 2022-01-19 16:12:32 -08:00
  • 390c431b96 readonly received msg view BuckarooBanzay 2022-01-07 13:19:05 +01:00
  • 461f57cde8 fix global var typo BuckarooBanzay 2021-03-21 10:45:38 +01:00
  • ef2a4d02e0 Optional QoS support SX 2021-03-19 15:39:46 +02:00
  • 0aaea28a2f Optional QoS support SX 2021-03-19 15:39:15 +02:00
  • dd429cbed4 Optional QoS support SX 2021-03-19 15:38:28 +02:00
  • 416d616a3c
    Merge pull request #11 from DiamondPlane/DiamondPlane-patch-1 Buckaroo Banzai 2021-03-16 20:12:37 +01:00
  • 47df85a16a
    Update onjoin.lua Toby1710 2021-03-16 18:13:43 +02:00
  • 0f1b3c6260
    check field arg for nil Buckaroo Banzai 2020-10-30 15:04:18 +01:00
  • 6537d205d4
    add some nil-checks to edit form callback Buckaroo Banzai 2020-10-23 12:54:29 +02:00
  • 51e80c6d9d satisfy luacheck BuckarooBanzay 2020-10-13 19:20:18 +02:00
  • 63521f5e85 check fields of forwarded mail BuckarooBanzay 2020-10-13 19:15:58 +02:00
  • 18592b0a35 more sanity checks and default values BuckarooBanzay 2020-09-20 20:18:34 +02:00
  • be51cff470 field fix BuckarooBanzay 2020-09-20 13:11:38 +02:00
  • 64262c95a6 map legacy "dst" field to "to" BuckarooBanzay 2020-09-19 13:22:33 +02:00
  • 35d29789ca
    Merge pull request #6 from PeterNerlich/contacts Buckaroo Banzai 2020-08-17 09:07:15 +02:00
  • f35b62649b recipient selection: indicate what is TO and what is CC Peter Nerlich 2020-08-15 14:53:59 +02:00
  • 0d937711aa fix mail.ensure_new_format() (had lead to wrong TO field when using Reply All), remove player from CC when using Reply All Peter Nerlich 2020-08-15 14:44:25 +02:00
  • 93d1af947c always sort contacts alphabetically - introduce pairsByKeys() (from http://www.lua.org/pil/19.3.html but adding current index and total length as iterator return values) - use pairsByKeys() everywhere, where contacts are iterated over (for now only when displaying in gui.lua) so the order stays the same although the structure is a hashmap - correctly update selected position when adding/removing contacts to TO/CC/BCC fields - remove print statements in storage.lua Peter Nerlich 2020-08-15 13:52:26 +02:00
  • 39f47437b6 migration fixes Peter Nerlich 2020-08-12 12:23:46 +02:00
  • 106e94eee7 Merge branch 'cc-bcc' into contacts Peter Nerlich 2020-08-12 12:23:12 +02:00
  • 8beec340d3 revert renaming "sender" to "from" to maintain backwards compatibility Peter Nerlich 2020-08-12 11:51:01 +02:00
  • 756b951d91 add working contact selection dialog Peter Nerlich 2020-08-12 11:20:48 +02:00
  • b60cd978b9 add GUI to manage contacts - show hint when trying to save an illegal contact (empty name or collision) - contacts list (selection logic is a bit less straight forward than with messages because contacts are not a list but have strings as keys to prevent duplicate entries) - contacts list: only show first line of notes - add direct recipients (in TO) to contacts when sending (in gui.lua, as it's a comfort feature) - set messages immediately when clicking read/unread, not *after* redrawing the inbox - set messages only when something changed to reduce disk writes - move marking mails read to the show message formspec (exept the direct button) - adjust "No Mail" label Peter Nerlich 2020-08-10 18:41:05 +02:00
  • f82c3d2b82 add contacts dir, leave mail files as is - restructured storage.lua so reading/writing json is not duplicated - when a player joins and has no contacts file yet, automatically add all players he wrote to Peter Nerlich 2020-08-10 18:29:11 +02:00
  • 498ef84026 Merge branch 'cc-bcc' into contacts adjusted GUI Peter Nerlich 2020-08-10 13:01:33 +02:00
  • 1f5a963d78 remove prints Peter Nerlich 2020-08-10 12:19:42 +02:00
  • ea0de708da fix some things, adjust GUI elements - messages are now actually sent (bug in parse player list) - no more crashes on sending mail (forgot to make variables local) - actually handle CC and BCC fields instead of leaving them empty, duh - make new functions be under the mail namespace - add util functions to ensure the new format, parse and player list as well as checking whether a player is in that list or not - rearrange some GUI elements (tighter spacing, grouping, increase window height to be consistent) - convert mails to new format only as needed (old mails stay intact in case someone reverts to old version) - mails are shaded differently in inbox, depending on whether the player is in the TO field - FROM, TO and CC fields are all displayed when reading a mail - add "Reply All" button (TO includes all original recipients plus the sender, but excluding the player himself, while adopting the CC field. To contrast: "Reply" just sets the original sender as TO and leaves the rest empty) - move reply, replyall and forward to their own functions in GUI (was duplicated for inbox and show mail) - don't needlessly set messages table when we do nothing but go back Peter Nerlich 2020-08-10 11:43:10 +02:00
  • f5f21feb49 fix rename thing leftover Peter Nerlich 2020-07-31 23:53:49 +02:00
  • 406613ad67 WIP: start to add contacts Peter Nerlich 2020-07-31 23:51:13 +02:00
  • f5387e2750 fix variable to be local Peter Nerlich 2020-07-31 19:08:31 +02:00
  • 522eb0a9ee rename api, add cc and bcc, handle multiple players rename: src -> from, dst -> to Peter Nerlich 2020-07-31 12:36:28 +02:00
  • 2d087eaa13 use proper handler BuckarooBanzay 2020-04-30 14:58:50 +02:00
  • cbceb94f22 fix stupid typo BuckarooBanzay 2020-04-28 07:54:43 +02:00
  • 48cb40b857 split webmail part in modules BuckarooBanzay 2020-04-23 10:00:28 +02:00
  • a0dd94d5c5 add integration test BuckarooBanzay 2020-04-23 09:46:30 +02:00
  • c8bf087480 use auth test files BuckarooBanzay 2020-04-23 09:06:29 +02:00
  • 5511cd99af add test players for login BuckarooBanzay 2020-04-23 08:11:49 +02:00
  • d2162db580 use mt 5.2.0 BuckarooBanzay 2020-04-23 07:54:35 +02:00
  • 1d167c2b30 create mail dir on start/migrate BuckarooBanzay 2020-03-26 10:51:08 +01:00
  • 68a5d61b5d persistent world BuckarooBanzay 2020-03-26 10:46:02 +01:00
  • 93690fdf6e cleanup / array rx support BuckarooBanzay 2020-01-27 13:00:03 +01:00
  • eea0736296 local test setup BuckarooBanzay 2020-01-09 09:53:07 +01:00
  • c094a4e1a2 fix permission issue in test deployment BuckarooBanzay 2020-01-09 09:40:01 +01:00
  • 15e5d91c30 stricter luacheck BuckarooBanzay 2020-01-06 12:58:26 +01:00
  • f84db59985 readme Thomas Rudin 2019-12-01 17:48:46 +01:00
  • c2b3fffa0e github actions Thomas Rudin 2019-12-01 17:43:53 +01:00
  • 6198823793 integration test NatureFreshMilk 2019-09-16 08:43:59 +02:00
  • 33bec6aa55 move to mod.conf NatureFreshMilk 2019-09-16 08:35:23 +02:00
  • 74b18f38eb updated files NatureFreshMilk 2019-09-16 08:15:43 +02:00
  • ca88374fbd separated from webmail mod NatureFreshMilk 2019-09-16 08:06:54 +02:00