P0nk
adbdb89917
Add maker_recipe table and data (formerly "makercreatedata")
2023-03-01 20:34:48 +01:00
P0nk
b7c79800eb
Fix note not showing if case mismatch in name
...
This wouldn't be a problem in the first case,
if there was a foreign key connection between
note and character tables.
Can't add that quite yet though.
2023-02-28 21:30:20 +01:00
P0nk
55e1f65bbd
Fix server not able to use note sequence
2023-02-27 19:55:01 +01:00
P0nk
d018b0f5e5
Add note receiver index
...
Only makes a difference if there is
a large amount of notes in the database.
Better be safe than sorry.
2023-02-27 18:16:23 +01:00
P0nk
12745c207d
Move notes to the Postgres database
2023-02-25 00:40:36 +01:00
P0nk
f6f3c9c3e3
Initiate Postgres connection pool on startup
2023-02-25 00:11:33 +01:00
P0nk
8bb825ef02
Add Docker compose support for Postgres
2023-02-24 23:42:13 +01:00
P0nk
f1192279bf
Add Flyway, run db migration in local PostgreSQL db
...
First step in my plan to switch away from MySQL.
2023-02-24 21:49:00 +01:00
Ponk
ab25f698da
Merge pull request #160 from P0nk/bug/110/zenumist-portal #patch
...
Fix top portal in Zenumist Society (261000010) not working for GM
v0.3.2
2023-02-17 00:48:33 +01:00
P0nk
b30e03ffb3
Fix portal in Zenumist society not working for GM chr
2023-02-17 00:42:33 +01:00
P0nk
82157c7bd1
Flatten ChangeMapHandler
2023-02-16 23:46:13 +01:00
Ponk
eb10f02ac3
Merge pull request #159 from P0nk/bug/158/id-command #patch
...
Fix !id command not working for certain types
v0.3.1
2023-02-04 20:02:33 +01:00
P0nk
b1ef94ef60
Fix handbook file encoding
...
All handbook files are now UTF-8
2023-02-04 19:49:54 +01:00
P0nk
f89392b476
Refactor IdCommand
2023-02-04 19:46:09 +01:00
Ponk
32c4f2239d
Merge pull request #155 from P0nk/feat/note-dao #minor
...
Refactor notes - add service and database layer
v0.3.0
2022-12-27 16:49:55 +01:00
P0nk
404c00c2bf
Merge branch 'master' into feat/note-dao
2022-12-27 15:09:38 +01:00
Ponk
9def444442
Fix version bump not obeying merge commit message ( #157 ) #patch
...
* Fix version bump not obeying merge commit message
* Test the fix to bump-version
* Fix reference to specific tag of github-tag-action
* Dummy patch commit #patch
* Clean up testing of bump-version
v0.2.3
2022-12-27 15:07:12 +01:00
P0nk
771b69d151
Merge branch 'master' into feat/note-dao
2022-12-27 14:21:43 +01:00
Ponk
cae6aa2305
Merge pull request #156 from P0nk/fix/saving-gm-report #patch
...
Fix saving in-game report
v0.2.2
2022-12-27 14:12:47 +01:00
P0nk
14d80dc2f3
Fix saving "Illegal program claim" report
...
No chatlog is provided in the packet for this type
2022-12-27 14:08:20 +01:00
P0nk
cb38bcd270
Fix wrong timestamp format when saving report
2022-12-27 14:08:20 +01:00
P0nk
37a9a4121f
Show confirmation after note is sent
2022-12-27 12:31:47 +01:00
P0nk
4731c0c60d
Add tests for NoteService
2022-12-27 12:18:58 +01:00
P0nk
65111ae209
Create packet class for PacketCreator::showNotes
2022-12-27 12:18:36 +01:00
P0nk
2a460de911
Disable logging in tests
2022-12-27 12:05:51 +01:00
P0nk
cee82a08ba
Remove ItemInformationProvider field in Character
...
This field prevented creation of Character mock in tests
2022-12-27 11:59:14 +01:00
P0nk
387437cada
Workaround for Guild dependence on NoteDao
2022-12-27 11:05:00 +01:00
P0nk
af14da987e
Replace FredrickProcessor dependence on NoteDao
2022-12-27 11:04:11 +01:00
P0nk
389b3ad2a4
Add NoteService to handle note operations
...
NoteService should be the only class with access to NoteDao;
nowhere else should NoteDao be accessed directly.
Channel dependencies are static in PacketProcessor, for now.
Ideally they would be injected in the constructor,
but since the constructor is private and I don't want to open
up that can of worms, I'll leave it like this.
At the very least, now we have a way of injecting services into
the handlers. This will make further restructuring way easier.
2022-12-27 10:34:55 +01:00
P0nk
5f1f5b7dcd
Fix saving note
2022-12-27 10:24:47 +01:00
P0nk
7e3be4c45d
Update README - explain hide
2022-12-26 18:09:09 +01:00
P0nk
c82881e6f2
Get rid of Character#sendNote, refactor usages of it
2022-12-26 18:09:09 +01:00
P0nk
6be1fabc55
Send wedding invitation note directly via dao
2022-12-26 18:07:41 +01:00
P0nk
4d480660b5
Rework sending notes to chr, get rid of the first method
...
Sending notes should not be the handled by Character
2022-12-26 18:07:41 +01:00
P0nk
1f4ce98998
Show notes using NoteDao
2022-12-26 18:07:41 +01:00
P0nk
605f2e212e
Add NoteDao, used by NoteActionHandler to delete note when read
2022-12-26 18:07:41 +01:00
P0nk
188eb74a70
Add Note model object
2022-12-26 18:07:41 +01:00
P0nk
2d7d113458
Initial jdbi setup
2022-12-26 18:07:41 +01:00
Ponk
176ce6a3bd
Merge pull request #150 from P0nk/bug-147/cwkpq-summons #patch
...
Fix error summoning master guardians on CWKPQ last stage
v0.2.1
2022-10-16 12:32:51 +02:00
P0nk
f267b1fc0b
Fix error summoning master guardians on CWKPQ last stage
2022-10-16 12:30:01 +02:00
Ponk
ea0bdb55af
Merge pull request #149 from P0nk/tag-merge-commit
...
Tag the merge commit instead of last commit in the PR #patch
v0.2.0
2022-10-16 11:56:24 +02:00
P0nk
4004b36bfa
Tag the merge commit instead of last commit in the PR
...
The merge commit is more suitable since it provides some context
and groups up all the commits.
2022-10-16 11:53:29 +02:00
Ponk
d0a4c416e4
Merge pull request #148 from P0nk/versioning
...
Define versioning scheme
2022-10-16 10:06:55 +02:00
P0nk
584fccec92
Activate bump-version action
v0.1.0
2022-10-16 10:04:35 +02:00
P0nk
41cf8b4485
Update README - add "Working with GitHub", "Versioning"
2022-10-16 10:02:03 +02:00
P0nk
e12d853499
Update build workflow - new name and updated dependencies
2022-10-16 08:48:32 +02:00
P0nk
5c7fcdae06
Add action to automatically tag commits
...
Using this action: https://github.com/marketplace/actions/github-tag-bump
The idea is that the repo will be versioned in SemVer format, such as "v0.5.3".
When a PR is merged, a new version will automatically be added.
The new version is generated based on the latest tag, and the part that is bumped
is dictated by the merge commit message, either #major, #minor (default) or #patch.
This way I (the repo owner) has control over versioning, and other contributors
don't have to bother with anything.
2022-10-16 08:34:45 +02:00
Ponk
70b82e0b66
Merge pull request #146 from MatthewHinds/feature/toggle_nx_gain_message
...
Feature/toggle NX gain message
2022-10-15 08:42:25 +02:00
Matthew Hinds
32f6194a75
Adjusting name
...
Adjusting name and added it to the config
2022-10-13 21:27:57 +13:00
Matthew Hinds
dd260e7b2a
Toggle the NX coupon loot notice
...
Added a toggle to the showHint that announces the NX gain on a NX coupon loot
2022-10-13 21:23:49 +13:00