Archived
1
0
Fork 0
Commit graph

26 commits

Author SHA1 Message Date
76982af72d tests/Feature/ProfessionImport/BasicTest.php: Fixing an test error that compared reagents in wrong order. 2022-11-17 22:43:53 +01:00
3692fcc485 Adding Profession Import (without specified character) 2021-09-01 15:17:00 +02:00
aa2b27bc50 tests/Feature/ProfessionImport/BasicTest.php: Add missing test data. 2021-08-29 18:31:58 +02:00
8eda7a315c app/Jobs/ImportProfession.php: make $character variable optional and require $user. 2021-08-28 17:42:29 +02:00
6f7c65fab3 app/Models/Item.php: add reagent_for relationship. 2021-07-23 17:08:49 +02:00
d3eccc596f app/Models/Item.php: change recipe relationship from belongsTo to hasMany. 2021-07-23 13:33:10 +02:00
23b5103b12 tests/Feature/CharacterDestroyTest.php: test that deleting a main character sets character_id to null on the user object. 2021-07-22 18:55:40 +02:00
099115d613 tests/Feature/ProfileTest.php: test that user can not set an empty password hash. 2021-07-22 18:53:31 +02:00
2f215d0b82 Add user page. 2021-07-21 18:57:10 +02:00
b76a997948 Refactor UserController to ProfileController. 2021-07-20 15:38:57 +02:00
bd21a64191 Adding user handling pages for admins. 2021-07-15 15:39:25 +02:00
de19260f35 tests/Feature/CharacterDestroyTest.php: fix test to account for softdeletes. 2021-07-13 18:37:26 +02:00
d25a0aa94f tests/Feature/ProfessionImport/BasicTest.php: Test exceptions. 2021-07-11 16:38:26 +02:00
88995dab35 test: refactor profession import tests into multiple classes. 2021-07-11 16:27:45 +02:00
89d88110f5 app/Jobs/ImportProfession.php: add support for specialization. 2021-07-11 15:32:35 +02:00
f105890494 app/Jobs/ImportProfession.php: fix a bug resulting in duplicate records instead of update existing.
We search for recipes by spell, but if a record existed before spell relationship was added. it's null and we wont find it, so we create a duplicated one.

This patch will also search for craft->name and update existing records.
2021-07-09 18:17:16 +02:00
cc3e0584b5 tests/Feature/ProfessionImportTest.php: test recipe without item. 2021-07-08 20:30:52 +02:00
f50227ec19 tests/Feature/ProfessionImportTest.php: assert craft->external_id and spell relationship. 2021-07-08 20:30:52 +02:00
86a0474a89 app/Models/Recipe.php: add spell relationship. 2021-07-08 20:30:52 +02:00
78d5d8d50e Adding Spell Model 2021-07-08 20:30:52 +02:00
c27a595408 User edit: add username to the form. 2021-07-06 12:51:07 +02:00
83f00ddebd database seeders: cleaning up some names. 2021-07-06 12:51:07 +02:00
a1f4ffd664 app/Http/Livewire/Form/CreateCharacterForm.php: Rename to CharacterForm. 2021-07-03 14:20:44 +02:00
b6f1f8b887 Character: add ability to edit a character. 2021-07-03 14:15:21 +02:00
fecf3a1f00 TEST: Adding profession import test. 2021-07-01 15:24:39 +02:00
1e1aa7d461 initial commit 2021-06-28 17:33:29 +01:00