1
0
Fork 0
Commit graph

81 commits

Author SHA1 Message Date
c53a4155f4 app/Providers/AuthServiceProvider.php: adding "administrate" gate. 2021-07-15 15:37:34 +02:00
d8917e118b app/Http/Controllers/Auth/OAuthController.php: check trashed records before trying to login via oauth. 2021-07-13 18:47:24 +02:00
de19260f35 tests/Feature/CharacterDestroyTest.php: fix test to account for softdeletes. 2021-07-13 18:37:26 +02:00
f09fea4f08 app/Models/User.php: Also delete characters when deleting the user. 2021-07-13 18:33:19 +02:00
866b374070 app/Http/Livewire/Form/CharacterForm.php: Do not include deleted rows in unique name validation. 2021-07-13 18:32:17 +02:00
c806f54ea2 app/Models/Character.php: Add soft deletes. 2021-07-13 18:25:31 +02:00
94a4d3994f app/Models/User.php: Add soft deletes. 2021-07-13 18:25:09 +02:00
52daa3b68f app/Models/User.php: adding getRoleAttribute() 2021-07-13 18:01:49 +02:00
d25a0aa94f tests/Feature/ProfessionImport/BasicTest.php: Test exceptions. 2021-07-11 16:38:26 +02:00
0edb50c2ad app/Jobs/ImportProfession.php: Add concrete exception classes. 2021-07-11 16:37:29 +02:00
88995dab35 test: refactor profession import tests into multiple classes. 2021-07-11 16:27:45 +02:00
ee6e2d8925 resources/views/character/profession/show.blade.php: show specialization. 2021-07-11 15:43:31 +02:00
89d88110f5 app/Jobs/ImportProfession.php: add support for specialization. 2021-07-11 15:32:35 +02:00
ad66ef86ab app/Models/CharacterProfession.php: Add specialization relationship 2021-07-11 15:31:34 +02:00
5314028388 Migration: 2021_07_11_152906_add_specialization_relationship_to_character_professions_table.php 2021-07-11 15:30:54 +02:00
87d1d6fd58 app/Models/Spell.php: add id to fillable array. 2021-07-11 15:29:32 +02:00
c8eab74420 database/seeders/DevelopmentSeeders/RecipeTableSeeder.php: Seed a bit more recipes. 2021-07-10 19:41:34 +02:00
e9bc456bde Migration: 2021_07_09_184132_fix_duplicate_recipies.php 2021-07-09 18:51:25 +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
3085de6334 resources/views/character/profession/show.blade.php: show links with wowhead power instead of external link icon. 2021-07-09 11:43:29 +02:00
d349023310 resources/views/recipe/show.blade.php: show links with wowhead power instead of external link icon. 2021-07-09 11:38:35 +02:00
81b930b3c3 resources/js/app.js: refresh wowhead power when livewire updates. 2021-07-09 11:28:52 +02:00
ed80e3c0d6 resources/views/layouts/default.blade.php: reorder javascripts. 2021-07-09 11:28:20 +02:00
2f689d0f38 resources/views/livewire/recipes.blade.php: show wowhead icon and tooltip. 2021-07-09 11:28:20 +02:00
ca1d3803d0 resources/views/layouts/default.blade.php: add wowhead script. 2021-07-09 11:28:20 +02:00
61a6d366fd Adding Wowhead link component with WowheadPower Tooltip library. 2021-07-09 11:28:20 +02:00
0db095fbdc resources/views/components/form/inputs/input.blade.php: change validation error colors from "red" to "danger". 2021-07-08 21:58:59 +02:00
644c3d14b2 tailwind: change "error" color to "danger". 2021-07-08 21:55:55 +02:00
103bdd43d1 app/Models/Recipe.php: Always load spell relationship. 2021-07-08 21:36:51 +02:00
645eaf676c app/Http/Livewire/Recipes.php: eager-load crafters relationship. 2021-07-08 21:36:29 +02:00
43a26681d9 resources/views/recipe/show.blade.php: use recipe name instead of crafted item in title. 2021-07-08 20:39:31 +02:00
eaa7167335 resources/views/character/profession/show.blade.php: try rendering wowhead link to recipe spell before crafted item. 2021-07-08 20:39:31 +02:00
162a4e8556 resources/views/components/wowhead.blade.php: Add type property. 2021-07-08 20:39:31 +02:00
5b684b08f2 resources/views/recipe/show.blade.php: translate some headings 2021-07-08 20:39:31 +02:00
f52dc72412 resources/views/recipe/show.blade.php: Adding "created item" section 2021-07-08 20:39:31 +02:00
3b7f5d1501 app/Http/Livewire/Recipes.php: add spell relationship. 2021-07-08 20:39:13 +02:00
ff4f6b0612 app/Models/Recipe.php: in resolveRouteBinding() find record by spell slug first, then crafted item. 2021-07-08 20:31:39 +02:00
8c3a5ddef1 app/Models/Recipe.php: Change getNameAttribute() and getSlugAttribute() to prioritize spell relationship before craft. 2021-07-08 20:30:52 +02:00
21ff933939 app/Jobs/ImportProfession.php: Add support for recipe spell. 2021-07-08 20:30:52 +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
b7ccc4a657 Migration: 2021_07_07_155535_allow_null_for_item_id_in_recipes_table.php 2021-07-08 20:30:52 +02:00
8038a538dc Migration: 2021_07_07_154816_add_spell_id_to_recipes.php 2021-07-08 20:30:52 +02:00
8eaf836d4a Migration: 2021_07_07_154223_add_spell_table.php 2021-07-07 16:16:53 +02:00
06f750bde3 resources/views/user/index.blade.php: add icon to edit button. 2021-07-06 12:51:07 +02:00
00ec5270a1 resources/views/user/index.blade.php: change edit button text from "edit password" to just "edit" 2021-07-06 12:51:07 +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