1
0
Fork 0
Commit graph

15 commits

Author SHA1 Message Date
7ddb89069d Merge branch 'description' 2022-11-17 22:33:47 +01:00
389a22ff38 app/Jobs/ImportProfession.php: Import description. 2022-11-17 22:14:24 +01:00
08c60a6842 app/Jobs/ImportProfession.php: Fixing Exception class used incorrectly.
"Exception" class used without "use Exception;" results in php trying to find an "App\Jobs\Exception" class (which there is none of)
2021-08-28 17:47:05 +02:00
8eda7a315c app/Jobs/ImportProfession.php: make $character variable optional and require $user. 2021-08-28 17:42:29 +02:00
f82f7c3571 app/Jobs/ImportProfession.php: Typo fix. 2021-08-28 16:57:59 +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
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
21ff933939 app/Jobs/ImportProfession.php: Add support for recipe spell. 2021-07-08 20:30:52 +02:00
8e441ccc92 app/Jobs/ImportProfession.php: fix for broken format from exporter addon. 2021-07-01 15:24:39 +02:00
9da87b2b95 app/Jobs/ImportProfession.php: in getRecipe() sync the reagent's instead of only process them on recipe create. 2021-07-01 14:43:36 +02:00
16e84fd316 app/Jobs/ImportProfession.php: in processItems() don't check for external_id when upserting items (as that is not guaranteed to be unique) 2021-06-29 18:40:08 +02:00
8e887d1ebe app/Jobs/ImportProfession.php: should not use firstOrFail() when searching for items. as this will do an abort(404), that is very confusing. 2021-06-29 18:28:58 +02:00
e6ace7b61c app/Jobs/ImportProfession.php: in processItems() use sortBy() instead of sort(). 2021-06-29 15:54:03 +02:00
1e1aa7d461 initial commit 2021-06-28 17:33:29 +01:00