Commit Graph

17 Commits

Author SHA1 Message Date
Houmgaor
96d07f1c04 refactor(channelserver): extract GuildRepository for guild table access
Per anti-patterns.md item #9, guild-related SQL was scattered across
~15 handler files with no repository abstraction. Following the same
pattern established by CharacterRepository, this centralizes all
guilds, guild_characters, and guild_applications table access into a
single GuildRepository (~30 methods).

guild_model.go and handlers_guild_member.go are trimmed to types and
pure business logic only. All handler files (guild_*, festa, mail,
house, mercenary, rengoku) now call s.server.guildRepo methods
instead of direct DB queries or methods on domain objects.
2026-02-20 22:06:55 +01:00
Houmgaor
2bd5f98f32 docs: add doc.go files and godoc comments to all packages
Add package-level documentation (doc.go) to all 22 first-party
packages and godoc comments to ~150 previously undocumented
exported symbols across common/, network/, and server/.
2026-02-18 21:39:13 +01:00
Houmgaor
c64dabc3ba fix: check all Close() return values for errcheck lint
Add explicit error discards (_ =) for Close() calls on network
connections, SQL rows, and file handles across 28 files. Also add
.golangci.yml with standard linter defaults to match CI configuration.
2026-02-17 23:57:14 +01:00
Houmgaor
c55f23442b fix(lint): fixing go static check failing. 2025-10-19 22:52:58 +02:00
wish
ba04b79bd8 partially revert guildMembers query 2025-02-23 19:29:02 +11:00
wish
f5c772413e rename instances of HRP to HR 2024-02-25 22:20:12 +11:00
wish
5bcfe25ede implement Festa Bonus Categories & Guild Character optimisations 2024-02-20 04:18:16 +11:00
wish
6fecfdd63f rewrite EnumerateGuildMember 2023-04-23 21:48:13 +10:00
wish
ee4d2ab705 prevent rp logs being nil 2023-03-09 17:34:42 +11:00
wish
91d9540021 add event rp donation tracking 2023-02-12 00:55:37 +11:00
wish
dc838adbcf CanRecruit function in guild 2022-08-26 20:01:10 +10:00
wish
62dacd3a78 guild improvements 2022-08-21 18:44:28 +10:00
wish
d58f765898 prevent null souls on applicant members 2022-08-12 16:36:22 +10:00
wish
712b3a732a Merge branch 'feature/festa' into merge/feature/festa 2022-08-12 00:41:32 +10:00
wish
dcd6b35478 implement guild recruiters 2022-08-04 09:06:21 +10:00
wish
8350273ab1 merge changes 2022-08-03 17:14:46 +10:00
wish
2c0e7a5267 repository cleanup 2022-07-29 03:25:23 +10:00