Commit Graph

213 Commits

Author SHA1 Message Date
mrjvs
00a5919e36 Update docker.yml 2024-07-28 22:46:56 +02:00
mrjvs
0378121795 Update docker.yml 2024-07-28 22:37:50 +02:00
Jonathan Barrow
60a6675c62 Merge pull request #25 from mrjvs/patch-1 2024-07-28 16:30:18 -04:00
mrjvs
87de44f30a Update docker.yml 2024-07-28 21:19:10 +02:00
Jonathan Barrow
5541ed09fb chore: bump module versions 2024-07-07 16:24:34 -04:00
Jonathan Barrow
8285002fd8 chore: bump nex-go version 2024-07-05 13:12:37 -04:00
Jonathan Barrow
b31ca89f9c chore: update modules 2024-07-02 13:02:29 -04:00
Jonathan Barrow
6644f994e4 Merge pull request #22 from wolfendale/fix-queries 2024-07-02 12:26:44 -04:00
Jonathan Barrow
a383676954 Merge pull request #23 from MatthewL246/docker-updates 2024-07-01 16:42:23 -04:00
Matthew Lopez
4f0c4e74c9 chore: mkdir and chown on one layer 2024-07-01 15:32:47 -04:00
Matthew Lopez
d5395eb9d1 chore: separate app_dir and build_string arguments for readability 2024-07-01 15:32:24 -04:00
Matthew Lopez
dd3c236880 feat: create Docker build and publish action 2024-06-27 11:00:49 -04:00
Matthew Lopez
531d9f8ed5 chore: update Docker setup 2024-06-24 21:39:34 -04:00
Michael Wolfendale
71f47f9ffc fix: remove n+1 queries 2024-06-24 18:30:25 +01:00
Jonathan Barrow
ee46ec47e5 Merge pull request #20 from DaniElectra/update-mii-fix 2024-05-21 11:34:20 -04:00
Daniel López Guimaraes
b77dd1b392 fix(database/3ds): Fix INSERT query for UpdateUserMii
Although the UPDATE section of the query was updated properly, the
INSERT ection was unmodified, which causes type conflicts when trying to
update the user's Mii. Update the INSERT query properly.
2024-05-21 15:44:35 +01:00
Jonathan Barrow
7b6224e80e fix: initialize ConnectedUser presence data 2024-05-20 17:16:12 -04:00
Jonathan Barrow
d5f7bb67b4 Merge pull request #19 from DaniElectra/mii-character-set 2024-05-20 17:12:39 -04:00
Jonathan Barrow
0b57926bba Merge pull request #18 from DaniElectra/friendship-3ds 2024-05-20 17:10:24 -04:00
Daniel López Guimaraes
f9071cbed3 feat: Update modules and new Mii database fields
Add Mii profanity flag and character set to the 3DS friends database.
This in theory allows better support of Mii names that use characters
exclusive to the following regions: CHN, KOR or TWN.

Also get the Mii changed timestamp from the database, and not use the
current time for it.

Update the go modules to get the latest stability updates and use the
new fields on the Mii structure.
2024-05-20 21:55:56 +01:00
Daniel López Guimaraes
ab80949173 fix(3ds): Send friendship notification to proper target
The sender PID of the notification was being set to the target PID,
instead of the sender PID. Use correct PID and remove redundant target
PID argument.

Also fix minor accuracy issues.
2024-05-20 21:48:10 +01:00
Jonathan Barrow
7bc3dbf4f1 fix: use Copy() on presence data to get around race condition 2024-05-16 07:43:26 -04:00
Jonathan Barrow
c1e06be4d5 Merge pull request #17 from DaniElectra/norows-fix 2024-05-15 18:42:29 -04:00
Daniel López Guimaraes
116b5c7df5 fix(database): Proper checks on QueryRow for sql.ErrNoRows 2024-05-15 23:02:28 +01:00
Jonathan Barrow
9855dea445 refactor(wiiu): dont track NNAInfo in user state, use the DB 2024-05-12 15:56:24 -04:00
Jonathan Barrow
915b52c88d chore: migrate to SQL manager 2024-04-27 16:22:30 -04:00
Jonathan Barrow
e54e6b92b1 Merge pull request #15 from DaniElectra/database-defaults 2024-04-22 16:38:44 -04:00
Daniel López Guimaraes
a662ca1961 database/3ds: Remove old comment 2024-04-20 13:51:00 +01:00
Daniel López Guimaraes
f4a4b2830b database: Update database defaults and add country
This prevents errors when scanning the fields on the database
2024-04-20 13:44:44 +01:00
Daniel López Guimaraes
7aef2f1750 notifications/3ds: Send events to the target user 2024-04-20 13:43:13 +01:00
Jonathan Barrow
e2a630d1a7 wiiu: add nil check in SendPresenceUpdate 2024-04-09 14:30:47 -04:00
Jonathan Barrow
af603f2295 fix: close rows when existing database functions 2024-04-09 14:28:04 -04:00
Jonathan Barrow
9e5a02d286 wiiu: fix nil connectedUser not being updated 2024-04-09 12:45:11 -04:00
Jonathan Barrow
f2cc882fb2 chore: update Go modules 2024-04-09 12:22:29 -04:00
Jonathan Barrow
18e1a0fefa chore: migrate ConnectedUser map to MutexMap 2024-04-09 12:21:50 -04:00
Jonathan Barrow
d6fdde6161 chore: add guest account 2024-04-08 16:23:06 -04:00
Jonathan Barrow
491b475a9c chore: remove debug logging 2024-04-08 16:09:43 -04:00
Jonathan Barrow
50325cf7c2 3ds: temp revert error check in GetFriendPersistentInfos 2024-04-08 15:55:00 -04:00
Jonathan Barrow
4d299a3612 rewrite: Migrate to v2 libraries and small bug fixes 2024-04-08 08:53:39 -04:00
Daniel López Guimaraes
b5d34d8db4 Update RMC method creation 2023-12-16 16:09:47 +00:00
Daniel López Guimaraes
e3da081f52 Update with latest changes 2023-12-14 23:25:28 +00:00
Daniel López Guimaraes
1a6b641543 Update with latest changes 2023-12-10 19:46:09 +00:00
Jonathan Barrow
1596eeea45 updated StationURL handling 2023-11-24 17:41:31 -05:00
Jonathan Barrow
90a71d2ca2 updated to new stream functions 2023-11-18 15:25:50 -05:00
Daniel López Guimaraes
7281dd5a52 Replace slices.Contains to Equals check
We can't use slices.Contains anymore since now we are comparing
pointers, and the check would always return false. Replace with using
the Equals function.
2023-11-17 19:22:08 +00:00
Jonathan Barrow
7acf46affe Merge pull request #11 from imora7024/nex-go-rewrite
fixed comment typo in set_user_blocked.go
2023-11-16 16:29:15 -05:00
Jonathan Barrow
abb19ddf43 make 3DS friends display as online again 2023-11-16 16:24:06 -05:00
Imora
f123393866 fixed comment typo in set_user_blocked.go 2023-11-16 15:19:27 -06:00
Jonathan Barrow
6916dbb1c1 fixed database usage of new DateTime API 2023-11-16 00:01:37 -05:00
Jonathan Barrow
de11455a1b use new PID, DateTime and method returns 2023-11-14 22:47:52 -05:00