* Check if candidate uuid does not already exist before returning it
* Use get_keys() to iterate through entries
Else it can't be ran with mtt
* Do not give an initial value to candidate_uuid
Triggers luacheck because the blank value is unused. Just give it nil value.
* Add repairing storage script in migrate.lua
* Remove goto statements
Due to uncompatibility with LuaJIT
* Optimize functions
* Merge duplicated functions between migrate.lua and util/uuid.lua
* Mark repair has been done by incremeting version to 3.1
* Remove checking all UUIDs for generating new one
The risk is ridiculous compared to the performance lost, even for several millions of messages.
* Revert util/uuid.lua changes to master
* Rename repair_box() to fix_duplicate_uuids()
* 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>
* Implement non-player recipients
* Add API callback specifically for players receiving mail
* Exclude sender from (mailing list) recipients
* Complement test
* Fixup typos in complemented test
* Expand aliases at toplevel if the current expansion is at toplevel
This should allow players to send mail to their own aliases
* Also test on_(player_)receive callbacks
* Fix oversight in test case
* Add support for shared settings
* Optimize stored setting value getting
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
* Avoid false for default transfer value
In set_setting, to eventually transfer to another mod. Suggested by S-S-X in #127
---------
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
* 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
* 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
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org