Commit Graph

94 Commits

Author SHA1 Message Date
Athozus
8a992b7a29
Bump version to 1.5.0-dev in about.lua 2024-09-01 16:41:39 +02:00
Maksym H.
1bffd98132 Localize get_translator call 2024-09-01 16:36:55 +02:00
Athozus
09b233b039
Update credits and bump to version 1.4.1
Some checks are pending
luacheck / luacheck (push) Waiting to run
test / build (5.8.0) (push) Waiting to run
test / build (latest) (push) Waiting to run
test / build (5.0.1) (push) Waiting to run
test / build (5.1.1) (push) Waiting to run
test / build (5.2.0) (push) Waiting to run
test / build (5.3.0) (push) Waiting to run
test / build (5.4.1) (push) Waiting to run
test / build (5.5.1) (push) Waiting to run
test / build (5.6.1) (push) Waiting to run
test / build (5.7.0) (push) Waiting to run
2024-08-09 00:35:42 +02:00
Athozus
4f15c2fe65
Update version to 1.4.1-dev in about.lua 2024-08-06 02:26:10 +02:00
1F616EMO
4cd06c5f5f Optimize performance of the inbox
Moves the `mail.get_setting(name, "mute_list")` call out of the message loop. Previously, this is called repeated, causing disastrous lag when using mail with beerchat.
2024-08-06 02:21:20 +02:00
Athozus
036d37695a
Update files to 1.4 (#149)
* Update README and screenshots

* Update version number in about.lua
2024-08-05 17:23:01 +02:00
Athozus
1dab26f0bf Add timezone offset setting
Clarify timezone offset tooltip

Co-authored-by: y5nw <37980625+y5nw@users.noreply.github.com>
2024-04-20 17:41:59 +02:00
Athozus
9a52c1c181 Add support for number type settings
Fix reset issue
2024-04-20 17:41:59 +02:00
Athozus
dc9c4f86b7 Add support for tree-hierarchized settings groups
Compute once the ordered settings groups list
2024-04-20 17:30:42 +02:00
Athozus
fc7b438de3
Harmonize options widgets 2024-04-06 18:10:41 +02:00
Athozus
c6d8543c85
Move contributor_grouping to selected_idxs 2024-04-06 12:00:30 +02:00
Athozus
f57473abd0
Adjusted options UI (#141)
* Optimize settings layout

* Optimize about layout

* Use codes for contributors list instead of overflowing texts

* Integrate version id in its translation string

Using @1 within the string

Co-authored-by: y5nw <37980625+y5nw@users.noreply.github.com>

* Use contributions labels instead of code

* Fix formspec syntax error

Missing ]

* Implement grouping by contribution type (#142)

* Implement grouping by contribution type

* minor

---------

Co-authored-by: y5nw <37980625+y5nw@users.noreply.github.com>
2024-03-30 23:21:18 +01:00
Athozus
e516fe04c4
Use main menu search icon
Instead of a subject to confusion Q
2024-03-24 17:42:51 +01:00
Athozus
1c5e4b6cd6
Harmonize function names with snake case 2024-03-22 22:43:26 +01:00
Athozus
1eb3b7668d
Correct dev version 2024-02-03 16:13:54 +01:00
Athozus
ea7773730e
Minor improvements and fixes to message view layout 2024-02-03 01:07:25 +01:00
Singularis
fcca0b7511
fix for bugs #135 and #136 (#137)
* fix for bugs #135 and #136

* Fix indentation in ui/compose.lua

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>

---------

Co-authored-by: Athozus <athozus@gmail.com>
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2024-02-01 14:33:33 +01:00
Athozus
103c4ae441 Add mute list setting
Add sharing between mute_list and beerchat

Add check for mute list
2024-02-01 14:23:03 +01:00
Athozus
e45d56439f Add list setting type 2024-02-01 14:23:03 +01:00
Athozus
cd9e9ec8e1 Add (Un)mark spam buttons
Resize boxes view, and modify the layout of message view
2024-02-01 14:23:03 +01:00
Athozus
bfe0ef2711 Initial implementation of spam check
It checks during the sends if there are spam warnings then give to the message an attribute spam=true (only for receivers)
2024-02-01 14:23:03 +01:00
Athozus
3eafeb4cf8
Remove selected_idxs for settings after saving 2024-01-01 19:19:51 +01:00
Athozus
77de24e467
Use interleaved style (#124)
* Generate interleaved style when replying/forwarding a message (#120)

* Simplify interleaving function

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>

---------

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2023-12-09 00:01:21 +01:00
Athozus
3bad371353
Add colors utilities (#121)
* Add colors utilities

Local function get_base_color(), conversions hex <=> rgb, rgb color mixer, and global function get_color()

* Round numbers to avoid eventual float in string.format

* Simplify inbox/outbox mixing of color

Use a single if statement for each property and concatenate to displayed_color then execute mail.get_color(displayed_color) instead of making many combined if statements

* Convert 3-chars hex colors to 6-chars hex colors

Could break the code, the hex convert to rgb always run on 6-chars

* Rework color utility using tables

Instead of one-letter symbols, it now supports tables of identifiers or single strings
2023-12-06 10:11:12 +01:00
Athozus
802f9f727b
Add labels for index-type settings 2023-12-05 22:46:52 +01:00
Muhammad Rifqi Priyo Susanto
bebb7a8702
Add Indonesian translations (#123)
* Add Indonesian translations

* Fix few strings for all translation files

* Update credits

---------

Co-authored-by: Athozus <athozus@gmail.com>
2023-12-05 22:31:40 +01:00
BuckarooBanzay
2111db2ff9 check if message is found in mail.show_message 2023-10-24 00:34:12 +02:00
Athozus
f8f500ed76
Do not call show_message() if selected message is empty (fix #115) 2023-10-24 00:33:14 +02:00
Athozus
7754e7e361
Add check for mailing list nil description (fix #112) 2023-10-16 20:36:05 +02:00
Athozus
80ae9c3342
Add message id in player selections storage (fix #110, fix #114) 2023-10-16 20:32:06 +02:00
Athozus
e5996469fb
Reworked settings (#111)
* Store globally settings (type and default value)

* Add settings groups

* Generate settings pages with global storage

Add saving, generate selection idxs from settings list, order settings via index value in each group of settings

* Rewrite setting store

No code change, only format

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>

* Remove tabs from settings groups

Use spaces instead

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>

* Use table.copy() minetest api function

* Better formatting for setting tooltip

Using inline instead of multiples lines to add tooltip attached to setting into formspec

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>

---------

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2023-09-14 20:35:30 +02:00
savilli
fe533eeb4d
Fix crash if non-existent mail was selected (#109)
* Fix crash if non-existent mail was selected

* Fix outbox too
2023-08-06 13:12:46 +02:00
Athozus
7ae5bda5ab
Quick restructuration of files (create sub-init.lua) 2023-07-20 00:50:10 +02:00
Athozus
a9a4c8c4dc
Redesign settings and about layout 2023-07-20 00:50:09 +02:00
Athozus
9c041f5905
Release 1.3.0 2023-07-18 23:11:26 +02:00
Athozus
67108c6771
Update credits 2023-07-17 22:20:58 +02:00
Athozus
be8f0e590f
Add a setting to choose date format 2023-07-17 16:45:57 +02:00
Athozus
0248b051ef
Add a setting for automatic marking read
When a message is opened
2023-07-16 22:59:56 +02:00
Athozus
e038993f27
Add tooltips for detailling actions
Reply / Reply all / Forward buttons and Notifications settings
2023-07-16 20:05:23 +02:00
Athozus
37fad48ec8
Add a tooltip for elapsed time since the delivery
It adds the file util/time_ago.lua in order to re-use the function further
2023-07-16 19:42:08 +02:00
Athozus
fbdaaeec11
Move the selection list-check loop (fix #108) 2023-07-10 19:01:15 +02:00
Niklp09
c98cb401d8 update german translation (+templates) 2023-06-25 21:27:59 +02:00
Athozus
d09fafc563
Release 1.2.0 2023-06-25 20:10:07 +02:00
Athozus
67cbef88f7
Add a window to show long receivers list 2023-06-25 19:59:38 +02:00
Athozus
95475c7c59
Store colors and use a lighter selection color 2023-06-25 19:12:20 +02:00
Athozus
f5198b9187
Add empty trash button 2023-06-20 16:04:18 +02:00
Athozus
984d8c34d9
Fix unselect all (9679251) 2023-06-18 19:40:11 +02:00
Athozus
968f402566
Fix trash restore crash
No message selected, makes an attempt to index nil value
2023-06-18 19:06:12 +02:00
Athozus
d53b07451c
Fix events while reading message in trash 2023-06-17 16:49:12 +02:00
Athozus
65764ee318
Rework message.lua events 2023-06-17 16:24:21 +02:00