f11b996ebf
app/View/Components/Notifications.php: minor fix. don't need $cssClasses array.
...
e
2021-08-11 19:50:24 +02:00
c14166f682
app/Models/User.php: Add character_id to $fillable
2021-08-10 13:01:16 +02:00
fe7d275caf
app/Http/Livewire/Recipes.php: translate the placeholder value in the profession option array.
2021-07-31 14:15:35 +02:00
4b56c803a5
Adding app/Http/Controllers/LocaleSessionController.php
2021-07-30 13:32:36 +02:00
7a06097ae7
Adding app/Http/Middleware/Locale.php
2021-07-30 13:32:36 +02:00
ac7e64c75c
Adding Item Page
2021-07-30 12:31:31 +02:00
6f7c65fab3
app/Models/Item.php: add reagent_for relationship.
2021-07-23 17:08:49 +02:00
f9d44de6cb
Form: adding checkbox component.
2021-07-23 17:00:07 +02:00
d3eccc596f
app/Models/Item.php: change recipe relationship from belongsTo to hasMany.
2021-07-23 13:33:10 +02:00
7df1e8345d
app/Models/Item.php: add getRouteKeyName()
2021-07-23 13:27:18 +02:00
4628ce85ac
app/Models/Character.php: Clear main character relationship if a main character is deleted.
2021-07-22 18:56:16 +02:00
f3314d106a
app/Http/Controllers/ProfileController.php: in update() do not create hash for empty password.
2021-07-22 18:54:39 +02:00
52f565f04b
app/Http/Controllers/ProfileController.php: in update() use Model::fill()
...
This is more generic as one only needs to add validated fields to Request object. and they will be saved automatically.
2021-07-22 18:50:13 +02:00
0fef5c77d0
app/Http/Controllers/ProfileController.php: Save character_id on update.
2021-07-22 18:27:20 +02:00
15808597c2
app/Http/Requests/UserRequest.php: Add character_id
2021-07-22 18:26:51 +02:00
2f215d0b82
Add user page.
2021-07-21 18:57:10 +02:00
52bd1012a5
app/Models/Character.php: Add isMain()
2021-07-21 18:15:44 +02:00
b73a8438d4
app/Models/User.php: Adding main_character relationship
2021-07-21 17:52:30 +02:00
b76a997948
Refactor UserController to ProfileController.
2021-07-20 15:38:57 +02:00
5117907a4d
app/View/Components/Icon.php: rename view script
2021-07-20 15:24:42 +02:00
e4363c078a
app/View/Components: minor fixes.
2021-07-20 15:21:40 +02:00
c662816c33
Adding app/View/Components/RaceIcon.php
2021-07-18 17:47:36 +02:00
bd21a64191
Adding user handling pages for admins.
2021-07-15 15:39:25 +02:00
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
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
0edb50c2ad
app/Jobs/ImportProfession.php: Add concrete exception classes.
2021-07-11 16:37:29 +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
87d1d6fd58
app/Models/Spell.php: add id to fillable array.
2021-07-11 15:29:32 +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
61a6d366fd
Adding Wowhead link component with WowheadPower Tooltip library.
2021-07-09 11:28:20 +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
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
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
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
f2fcae83cc
app/Models/Character.php: make sure name is lowercase with first letter upper case.
2021-07-03 13:24:13 +02:00
06ab6e12c5
app/View/Components/Form.php: Add "PATCH" to spoofMethod.
2021-07-02 16:17:39 +02:00
8e441ccc92
app/Jobs/ImportProfession.php: fix for broken format from exporter addon.
2021-07-01 15:24:39 +02:00