Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
961 commits
Select commit Hold shift + click to select a range
46b5232
refactor(characters): remove unnecessary image processing variables
itinerare Dec 7, 2023
a736629
feat(galleries): add additional image processing options
itinerare Dec 7, 2023
57d2511
refactor: fix PHP styling
itinerare Dec 7, 2023
343035e
feat: resolve standing issues (#735)
ScuffedNewt Dec 10, 2023
ff75b08
chore(deps-dev): bump vue from 3.3.9 to 3.3.11
dependabot[bot] Dec 11, 2023
91a35d9
chore(deps-dev): bump mockery/mockery from 1.6.6 to 1.6.7
dependabot[bot] Dec 11, 2023
1552d29
chore(deps): bump intervention/image from 2.7.2 to 3.0.1
dependabot[bot] Dec 11, 2023
3c63210
Merge pull request #738 from corowne/dependabot/npm_and_yarn/develop/…
itinerare Dec 11, 2023
6b938f6
Merge pull request #739 from corowne/dependabot/composer/develop/mock…
itinerare Dec 11, 2023
cb69759
Merge pull request #740 from corowne/dependabot/composer/develop/inte…
itinerare Dec 11, 2023
55bf708
refactor: fix blade formatting
itinerare Dec 11, 2023
9aa31db
Merge branch 'develop'
itinerare Dec 11, 2023
f82a7f2
Merge pull request #737 from itinerare/feature/improved-image-processing
itinerare Dec 11, 2023
4e07b2e
feat(users): add two factor authentication (#80)
itinerare Dec 11, 2023
911862e
Merge branch 'develop'
itinerare Dec 14, 2023
8b22be4
feat(users): add message to honeypot error response
itinerare Dec 14, 2023
a3d145a
Merge pull request #744 from itinerare/main
itinerare Dec 14, 2023
dbf910e
feat!: update to Laravel 10
itinerare Dec 14, 2023
be15281
chore(deps): set minimum stability to stable
itinerare Dec 14, 2023
6961a82
refactor: move model dates to casts
itinerare Dec 14, 2023
11ead09
fix(characters): simplify character image feature ordering
itinerare Dec 14, 2023
e4976c0
refactor: fix PHP styling
itinerare Dec 14, 2023
0c14960
fix(characters): allow masterlist staff to see design update comments…
AW0005 Dec 14, 2023
ae89210
Merge pull request #746 from itinerare/feature/laravel-10
itinerare Dec 14, 2023
37ac912
refactor: fully qualify use statements for better static analysis
itinerare Dec 14, 2023
e008454
fix(characters): update design update feature ordering
itinerare Dec 14, 2023
418e120
Merge pull request #747 from corowne/itinerare-patch-1
itinerare Dec 14, 2023
3e0806c
refactor: update model relations to class references
itinerare Dec 14, 2023
ee5e5f2
refactor: use config() helper instead of Config::get()
itinerare Dec 14, 2023
d18e177
refactor: fix PHP styling
itinerare Dec 14, 2023
fad92c5
Merge branch 'develop'
itinerare Dec 14, 2023
8bef3c1
feat(comments): add wysiwyg editor option (#741)
ScuffedNewt Dec 14, 2023
8e67d4d
feat: add "no reward" to reward string utility (#743)
ScuffedNewt Dec 14, 2023
d1c892e
chore: remove unused import from UserAlias model
itinerare Dec 15, 2023
612449d
Merge branch 'develop' into feature/general-tidying
itinerare Dec 15, 2023
77e7b99
feat(images): add hash to images in data (#749)
AW0005 Dec 15, 2023
bdaf087
Merge branch 'develop' into feature/general-tidying
itinerare Dec 16, 2023
3a1d53b
Merge pull request #748 from itinerare/feature/general-tidying
itinerare Dec 16, 2023
0bacd53
refactor: fix PHP styling
itinerare Dec 16, 2023
b03c809
feat(sales): add comments anchor, tweak spacing for consistency (#750)
SpeedyD Dec 17, 2023
342ddf1
feat(users): add username change handling (#742)
ScuffedNewt Dec 17, 2023
8fdee82
feat(commands): add v3 update command
itinerare Dec 17, 2023
bb556e6
Merge branch 'feature/v3-update-command' into develop
itinerare Dec 17, 2023
9e1153a
fix(commands): add image hash command to v3 update, adjust messaging
itinerare Dec 17, 2023
61af82d
fix(characters): Hide slug copy from MYO slots
SpeedyD Dec 22, 2023
831e2c0
Merge pull request #756 from SpeedyD/bugfix/slugcopier_on_myo
itinerare Dec 23, 2023
8245515
fix(users): remove redundant sublist reference in user controller (#757)
SpeedyD Dec 24, 2023
a257d5c
fix(services): Minor comment errors
SpeedyD Dec 24, 2023
a2a96a2
Merge pull request #759 from SpeedyD/fix/minor-comment-errors
itinerare Dec 24, 2023
ed7c898
fix(commands): Extension Tracker not working on live due to backslash…
SpeedyD Dec 25, 2023
347030c
Merge pull request #761 from SpeedyD/fix/command-extension-tracker-ba…
itinerare Dec 25, 2023
dcace49
fix(users): active sidebar item fixes (#762)
SpeedyD Dec 25, 2023
1b95944
fix(commands): currency icon images not covered by image hash command…
AW0005 Dec 25, 2023
d215fea
fix(users): force lowercase on name change check (#763)
SpeedyD Dec 25, 2023
e4ea24a
fix(galleries): show subgalleries of parent, avunculi while in subgal…
SpeedyD Dec 26, 2023
2259da3
refactor: fix blade formatting
itinerare Dec 26, 2023
1c61070
fix: birthday input handling, orderBy fixes (#770)
ScuffedNewt Dec 31, 2023
cc5b3a2
fix(commands): make back-hashing images optional (#779)
AW0005 Jan 2, 2024
fbbf5b4
fix(users): make FTO badge larger (#780)
SpeedyD Jan 2, 2024
100abc0
fix(characters): make sale value always editable (#781)
SpeedyD Jan 3, 2024
9e6aac2
fix(characters): default to png for myo image if image format not set
itinerare Jan 3, 2024
5db813e
Merge pull request #782 from corowne/feature/fix-myo-format-default
itinerare Jan 4, 2024
90cb890
fix(characters): add checks for deleted user items on design update a…
itinerare Jan 9, 2024
7feafb9
Merge pull request #789 from itinerare/feature/design-update-addon-fix
itinerare Jan 9, 2024
d475b67
fix(ranks): allow for removal of last power (#790)
AW0005 Jan 10, 2024
82a7b90
fix(users): fix token error on password reset
itinerare Jan 11, 2024
97b9f5e
fix(users): add flashes to password reset flow
itinerare Jan 11, 2024
3f48a52
refactor: fix blade formatting
itinerare Jan 11, 2024
6c9eee5
fix(users): fix email autofill in password reset form
itinerare Jan 11, 2024
cb5180f
fix(features): only return info modal on clicking image in visual ind…
SpeedyD Jan 11, 2024
f965359
fix: make datetimepicker more consistent, better localized, move JS t…
SpeedyD Jan 11, 2024
4ae9c15
Merge pull request #792 from itinerare/feature/password-reset-fix
itinerare Jan 11, 2024
62fa477
fix(characters): add imagick for thumbnail processing (#793)
AW0005 Jan 14, 2024
588d56f
fix(characters): MYO image format, thumbnail webp support fixes
itinerare Jan 16, 2024
7a3146c
fix(characters): allow admins to recrop design update thumbnails (#804)
preimpression Jan 16, 2024
e6b744b
Merge pull request #803 from itinerare/feature/character-image-fixes
itinerare Jan 16, 2024
31d512c
fix(features): automatically restrict subtypes by species when creati…
SpeedyD Jan 22, 2024
118bcd9
fix: Only allow vertical flex in main container
spectrology Jan 24, 2024
e2fc7c5
fix: Break unbreakable words to prevent overflow
spectrology Jan 24, 2024
575bba5
Merge pull request #813 from spectrology/release/v3.0.0
itinerare Jan 24, 2024
d44bd55
fix(reports): allow report user to see comments on assigned reports (…
AW0005 Jan 31, 2024
ab96432
fix(comments): add back comment type field
itinerare Feb 1, 2024
4293207
Merge pull request #818 from itinerare/feature/fix-comment-type-setting
itinerare Feb 2, 2024
04d6af6
fix(items/features): Makes hidden traits and unreleased items visible…
SpeedyD Feb 5, 2024
addfac2
refactor: fix blade formatting
SpeedyD Feb 5, 2024
5d7ce3d
Merge pull request #822 from SpeedyD/fix/hidden-traits-unreleased-items
itinerare Feb 6, 2024
e597eed
refactor: fix PHP styling
itinerare Feb 6, 2024
1762a80
fix(prompts): save image hash (#823)
AW0005 Feb 6, 2024
e37a6ac
fix(features): properly hide hidden traits (#824)
AW0005 Feb 7, 2024
cb7afdc
fix(characters): use ID instead of number sorting for MYO masterlist,…
SpeedyD Feb 7, 2024
fb9f9b2
fix: add back has_image checks and also change honeypot to return for…
ScuffedNewt Feb 9, 2024
1072808
refactor: fix PHP styling
Feb 9, 2024
a2a64bc
Merge pull request #828 from Ne-wt/bugfixes
itinerare Feb 9, 2024
75bc208
hotfix(shops): round up shop purchase quantity (#829)
AW0005 Feb 11, 2024
f372435
Merge branch 'main' into release/v3.0.0
itinerare Feb 11, 2024
8bd438f
fix(shops): validate quantity against purchase limit
itinerare Feb 14, 2024
0c20728
fix(users): clean up UserService
itinerare Feb 15, 2024
cbe36ce
Merge pull request #834 from itinerare/main
itinerare Feb 15, 2024
a4ab8b7
Merge pull request #833 from itinerare/hotfix/purchase-limit-check
itinerare Feb 18, 2024
b1555df
Merge branch 'main' into release/v3.0.0
itinerare Feb 18, 2024
824bd29
refactor: fix PHP styling
itinerare Feb 18, 2024
fd8d61a
fix: convert remaining dates to casts
itinerare Feb 18, 2024
068b691
Merge pull request #836 from itinerare/main
itinerare Feb 18, 2024
64d4d17
fix(characters): add backwards compatibility for preexisting fullsize…
AW0005 Feb 18, 2024
82ec040
fix(users): update alias registration page birthday input (#843)
AW0005 Feb 20, 2024
5654862
chore(workflows): consolidate linting, use reusable workflows (#758)
itinerare Feb 20, 2024
720daa9
fix: several layout, especially title, fixes (#850)
SpeedyD Feb 22, 2024
d2b8bde
fix: use admin layout for admin submissions view, home layout for rep…
SpeedyD Feb 22, 2024
bbc3679
fix(ranks): check proper box when clicking power labels (#852)
SpeedyD Feb 22, 2024
8348ec3
fix(comments): append scripts to parent (#854)
SpeedyD Feb 26, 2024
185e239
fix(reports): put back missing comment types (#853)
SpeedyD Feb 27, 2024
07ac786
fix(reports): do not include scripts section if closed (#857)
SpeedyD Feb 27, 2024
ac6a32c
fix(world): Unhide hidden categories for appropriate staff on Species…
SpeedyD Mar 14, 2024
ab4d5a4
Merge pull request #873 from SpeedyD/fix/release/species-visual-admin…
itinerare Mar 14, 2024
1952ee9
fix(credits): Adding wiki links to core exts without
SpeedyD Mar 25, 2024
164317e
fix(credits): Remaining wiki page links added
SpeedyD Mar 28, 2024
8521f91
fix(credits): Awkwardly long names on my own core exts
SpeedyD Mar 28, 2024
760798b
Merge pull request #889 from SpeedyD/fix/credits
itinerare Mar 28, 2024
91bd116
Bug(Admin): New Powers didn't give sidebar access
AW0005 Mar 30, 2024
432863d
Merge pull request #891 from AW0005/patch-5
itinerare Mar 31, 2024
7e81c5d
fix(maintenance): Errored out on non-users during maintenance
SpeedyD Apr 1, 2024
d576e28
Merge pull request #897 from SpeedyD/fix/maintenance-guests-error
itinerare Apr 1, 2024
8dc56e4
fix(world): patch fix object duplication issue (#913)
SpeedyD Apr 18, 2024
8c9c987
fix(world): Staff without edit_data should not be able to see items
SpeedyD Apr 24, 2024
21613a5
fix(admin): Hide Gallery Queues for those who have no access
SpeedyD Apr 24, 2024
eaac871
Merge pull request #924 from SpeedyD/fix/items-wrong-staff-hiding
itinerare Apr 24, 2024
b0a6d10
Merge pull request #925 from SpeedyD/fix/hide-gallery-queues
itinerare Apr 24, 2024
3cbe3fe
chore(workflows): run lint on push
itinerare Apr 26, 2024
ebe6759
refactor: fix PHP styling
itinerare Apr 26, 2024
c9b1b19
refactor: fix blade formatting
itinerare Apr 26, 2024
252b8a2
chore: add credit for admin edit buttons extension (#934)
LostInProgres May 2, 2024
85b0db2
chore: re-organize credits page (#935)
SpeedyD May 2, 2024
083dcca
fix(reports): include parent scripts in scripts section
itinerare May 6, 2024
b6f27b8
refactor: fix blade formatting
itinerare May 6, 2024
92b4b5d
Merge pull request #944 from corowne/itinerare-patch-1
itinerare May 6, 2024
6753f2e
fix(galleries): fix gallery submission rejected notification URL (#946)
rattusquo May 7, 2024
ccba4c4
chore(workflows): run lint on push to any branch
itinerare May 8, 2024
18869d1
fix(characters): allow supplying user to character visibility scope (…
AW0005 May 13, 2024
8966c52
refactor: fix blade formatting
itinerare May 13, 2024
1bab8c7
fix(users): fix home sidebar liked comments link (#954)
rattusquo May 14, 2024
f0af321
fix: increase limits in DB for logs/log data (#956)
SpeedyD May 17, 2024
0ea2d96
refactor: fix PHP styling
itinerare May 17, 2024
1527a1c
fix(characters): remove duplicate JS for editing character image cred…
Cylunny May 19, 2024
ee6aa8c
fix: remove nonfunctional/hidden close button from character selects …
MarskyMessier Jun 4, 2024
1cc8357
fix(characters): wrong div class in extended mentions (#973)
SpeedyD Jun 10, 2024
f28beb4
hotfix(security|requests): add middleware that parses post fields (#974)
ScuffedNewt Jun 16, 2024
f490b48
Merge branch 'main' into release/v3.0.0
itinerare Jun 16, 2024
8e80ef7
refactor: fix PHP styling
itinerare Jun 16, 2024
426bbd1
chore(update): update version
itinerare Jun 16, 2024
f0aa1f8
fix: add numeric check to parse to prevent dropdowns from being parse…
ScuffedNewt Jun 16, 2024
e902a8a
Merge branch 'main' into release/v3.0.0
itinerare Jun 16, 2024
840a3d1
fix(users): minor mislabel in UserController (#981)
SpeedyD Jun 20, 2024
8da3a23
fix(shops): fix error adding uncategorized items as shop stock, stock…
LostInProgres Jun 27, 2024
2c51b60
fix(galleries): make index page queries more efficient (#1013)
AW0005 Aug 7, 2024
b7aa2c5
refactor: fix blade formatting
itinerare Aug 7, 2024
ad8bfb4
fix(submissions): better handle over-committed addon stacks (#1015)
AW0005 Aug 13, 2024
a95d10e
refactor: fix blade formatting
itinerare Aug 13, 2024
d319853
fix(comments): add missing break to permalink controller (#1014)
AW0005 Aug 13, 2024
ceaacd9
refactor: fix blade formatting
itinerare Aug 13, 2024
9c61f66
fix: resize visual trait index images better on certain size displays…
MarskyMessier Aug 15, 2024
d0b11b6
fix(comments): only get linked comment for permalink view (#1027)
AW0005 Aug 25, 2024
628dd60
refactor: fix blade formatting
itinerare Aug 25, 2024
74ed3bf
fix: convert additional admin area tables to bootstrap tables (#1026)
SpeedyD Aug 27, 2024
a5f4072
fix(characters): make character image size limit smaller, more consis…
ScuffedNewt Aug 28, 2024
46cafa3
fix(characters): temporary fix for image filesize validation issue (#…
SpeedyD Sep 1, 2024
03e12fe
fix: fix admin raffle table (#1059)
SpeedyD Sep 14, 2024
a30ec54
fix(credits): Update all references to ne-wt to ScuffedNewt
SpeedyD Sep 16, 2024
653ad66
Merge pull request #1060 from SpeedyD/fix/credits-newt
itinerare Sep 16, 2024
1a70130
fix(characters): compare slugs when logging character stat changes (#…
rattusquo Sep 24, 2024
75861a9
fix(trades): fix missing closing tag when crediting currency (#1070)
MarskyMessier Sep 24, 2024
1274c9f
fix(galleries): fix gallery submission visibility scope handling (#1082)
preimpression Oct 27, 2024
d5d4c2d
Merge branch 'main' into release/v3.0.0
itinerare Oct 27, 2024
eb63b11
refactor: fix PHP styling
itinerare Oct 27, 2024
79397de
fix: improve user profile, character page row styling on smaller view…
liwoyadan Oct 29, 2024
9675699
fix(galleries): make some queries more efficient (#1098)
AW0005 Oct 29, 2024
2ac86c2
fix: add criteria to fields excluded from parsing (#1105)
notecardPasta Nov 4, 2024
ee23508
fix(users): check that previousUsername isn't identical to the curren…
SpeedyD Nov 10, 2024
f0fde31
fix: remove extra $ from _profile_content.blade.php
SpeedyD Nov 11, 2024
48c919b
Merge pull request #1122 from SpeedyD/fix/release-extra-$
itinerare Nov 11, 2024
11b2b23
fix: make file inputs more mobile-friendly (#1126)
liwoyadan Nov 15, 2024
419d315
fix(reports): fix setting report list tabs as active (#1133)
AW0005 Nov 23, 2024
3f8c605
refactor: fix blade formatting
itinerare Nov 23, 2024
6c4fb2c
fix(character): clarify "no description" text (#1136)
SpeedyD Nov 24, 2024
6066403
feat: update robots.txt
itinerare Nov 29, 2024
bce4dc9
Merge pull request #1142 from corowne/itinerare-patch-1
itinerare Nov 29, 2024
4b1015e
fix: decode HTML special chars after parsing
itinerare Dec 27, 2024
4025a35
fix: news, sales admin edit powers
itinerare Jun 11, 2024
6e1460f
fix(comments): disable WYSIWYG properly
itinerare Jun 27, 2024
5264da1
fix(comments): check if comment type is set
itinerare Jun 11, 2024
39c33fd
fix(comments): hide markdown cheatsheat link, markdown mention info i…
itinerare Jun 11, 2024
127fa3c
fix(characters): improve fullsize image format handling around design…
itinerare Aug 17, 2024
63a4ed0
Merge pull request #1162 from itinerare/push-srpnznxmlnno
itinerare Dec 27, 2024
71d0ffc
Merge pull request #1164 from itinerare/push-zkkttrslvyru
itinerare Dec 27, 2024
0e95082
Merge pull request #1163 from itinerare/push-vmuymntukqkt
itinerare Dec 27, 2024
b0e11e2
Merge pull request #1165 from itinerare/push-suoktqorymvo
itinerare Dec 27, 2024
74e7379
fix(galleries): check for currency form setting existence when displa…
itinerare Dec 27, 2024
b59f152
fix(galleries): finesse log comment form, column sizes
itinerare Jun 11, 2024
4b9cb1e
fix: only decode parsed HTML special chars if not null (#1170)
itinerare Dec 31, 2024
133c7e0
fix(characters): get format from file if storing design update fullsi…
itinerare Jan 1, 2025
8b6233a
Merge pull request #1166 from itinerare/push-utwxzxpxmkyr
itinerare Jan 1, 2025
b068532
fix(users): eager load rank with users (#1174)
itinerare Jan 3, 2025
17a26b9
fix(prompts): adding ID Url attribute to prompts (#1167)
SpeedyD Jan 5, 2025
b1a146b
fix(world): implement eager loading, refactor queries (#1180)
itinerare Jan 6, 2025
62840cd
fix(galleries): ignore protocol when finding prompt submissions using…
itinerare Jan 8, 2025
f352944
fix(galleries): prevent editing rejected submissions (#1176)
itinerare Jan 8, 2025
9dc295e
fix(characters): improve design update thumb filename masterlist imag…
itinerare Jan 8, 2025
d4ca0b1
fix(characters): correct use of masterlist image dimension target set…
itinerare Jan 8, 2025
812a4c6
fix(browse): add additional eager loading (#1183)
itinerare Jan 8, 2025
e54b742
fix(prompts): remove extraneous $ before idUrl property (#1185)
itinerare Jan 9, 2025
8b12dff
fix(galleries): implement eager loading, refactor queries (#1175)
itinerare Jan 12, 2025
7255b00
fix(galleries): fix collaborator approval scope (#1193)
itinerare Jan 13, 2025
9d89a57
chore(deps): update laravel/fortify (#1206)
itinerare Jan 24, 2025
83f4f9f
fix: allow use of tinymce modals in modals (#1216)
SpeedyD Feb 13, 2025
b4a2260
fix: clean up breadcrumbs on admin user editing pages (#1233)
preimpression Feb 17, 2025
295aa35
fix(browse): show 24 MYO slots per page instead of 30 (#1238)
SpeedyD Mar 3, 2025
c7970ac
fix(notifications): differentiate between MYO and character URLs in a…
itinerare Mar 18, 2025
ff98f4b
fix: update footer github repo link (#1255)
SpeedyD Mar 31, 2025
83d0dba
fix(world): move rarity entry admin edit component (#1257)
SpeedyD Apr 5, 2025
d6fc235
fix(galleries): add missing argument to create submission "can submit…
itinerare Apr 27, 2025
9a6fa52
fix(rarities): add entry edit information in create/edit view (#1269)
SpeedyD May 10, 2025
b0fd238
fix(auth): check for provider in alias login; closes #1248
itinerare May 12, 2025
d2e54bd
fix(shops): validate name uniqueness against shops table on creation …
Draconizations May 20, 2025
5268dec
fix(ranks): set parsed description on initial setup (#1280)
liwoyadan May 24, 2025
24eb86c
fix(galleries): fix check for character owner when sending gallery su…
liwoyadan May 24, 2025
09e8dce
fix: use own filemtime for custom.css (#1287)
SpeedyD Jun 2, 2025
30ef9a9
fix: expand site settings admin panel description column (#1290)
liwoyadan Jun 5, 2025
7998f4b
fix: add visual trait indexes trait modals to credits (#1299)
SpeedyD Jun 27, 2025
ee086f0
chore: fix minor config file typo (#1306)
SpeedyD Jul 9, 2025
96557ba
docs: update contributing (#1303)
itinerare Jul 9, 2025
faee184
fix(users): add fallback display text text if no primary alias set (#…
MarskyMessier Jul 26, 2025
54b8671
fix(characters): add checks for species, rarity to image features edi…
MarskyMessier Jul 28, 2025
966fca6
refactor: fix PHP styling
itinerare Jul 28, 2025
20ed6cf
fix(users): add recaptcha to alias register view (#1317)
perappu Aug 9, 2025
e3c5659
fix(submissions): add eager loading for submission characters (#1319)
itinerare Aug 9, 2025
2e27044
fix(characters): refactor stack name retrieval in character inventory…
itinerare Aug 12, 2025
d1bafd1
fix(ranks): clear parsed_description if description is not set (#1323)
SpeedyD Aug 15, 2025
52d73c2
fix(users): hide rank info display on profile if unset (#1322)
SpeedyD Aug 15, 2025
18a7b19
fix: remove extra whitespace from view titles, meta tags (#1324)
liwoyadan Aug 19, 2025
8e21c0b
Merge remote-tracking branch 'lorekeeper/release/v3.0.0' into extensi…
liwoyadan Aug 27, 2025
ca4b528
refactor: fix php styling
liwoyadan Aug 27, 2025
6bd1ccf
fix(raffles): default 1 winner so it won't error
liwoyadan Aug 27, 2025
d5c63b0
fix(raffles): reroll function, tables, and missing closing divs
liwoyadan Aug 27, 2025
6325c14
fix(raffles): hide rewards alert if there are no rewards
liwoyadan Aug 27, 2025
de716fe
feat(raffles): admin ticket index link separated for clarity
liwoyadan Aug 27, 2025
10dc195
style: updating tables on user view
liwoyadan Aug 27, 2025
4015606
refactor: fix blade formatting
liwoyadan Aug 27, 2025
f95b21d
fix(raffles): hidden groups will hide raffles within
liwoyadan Aug 27, 2025
b08775d
Merge remote-tracking branch 'origin/extension/raffle-options-v3' int…
liwoyadan Aug 27, 2025
01111ac
refactor: fix blade formatting
liwoyadan Aug 27, 2025
723c3be
refactor: fix blade formatting
liwoyadan Aug 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 27 additions & 0 deletions .github/workflows/Lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Lint

on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
types:
- opened
- edited
- synchronize
- reopened

jobs:
pint:
uses: itinerare/github-actions/.github/workflows/pint.yml@main
with:
php-version: '8.1'
concurrency:
group: ci-${{ github.head_ref || github.ref_name }}

blade-formatter:
uses: itinerare/github-actions/.github/workflows/blade_formatter.yml@main
concurrency:
group: ci-${{ github.head_ref || github.ref_name }}
32 changes: 0 additions & 32 deletions .github/workflows/format_blade.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/format_php.yml

This file was deleted.

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ For support and general questions and discussions, please visit the [support Dis

The following are accepted uses for the [issue tracker](https://github.com/corowne/Lorekeeper/issues):
- Bug reports
- Feature or enhancement requests (within reason)-- note that these may be denied if they are deemed out of scope of the project and/or are not feasible to implement for any reason.
- Feature or enhancement requests *or* discussion of potential new features (within reason)-- note that these may be denied if they are deemed out of scope of the project and/or are not feasible to implement for any reason.

## Opening an Issue
### Reporting a bug
Expand All @@ -24,7 +24,7 @@ Avoid listing multiple requests in one issue. One issue per request makes it eas

## Contributing Code

Please see the full [Contribution Guide](http://wiki.lorekeeper.me/index.php?title=Contributing_to_Lorekeeper) for more information!
Please see the full [Contribution Guide](https://lk-arpg.github.io/lk-docs/prerelease/contributing/) for more information!

### About abandoned pull requests

Expand Down
45 changes: 45 additions & 0 deletions app/Actions/Fortify/CreateNewUser.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php

namespace App\Actions\Fortify;

use App\Models\Invitation;
use App\Models\User\User;
use App\Services\InvitationService;
use App\Services\UserService;
use Illuminate\Support\Facades\Hash;
use Laravel\Fortify\Contracts\CreatesNewUsers;

class CreateNewUser implements CreatesNewUsers {
use PasswordValidationRules;

/**
* Validate and create a newly registered user.
*
* @return \App\Models\User
*/
public function create(array $input) {
(new UserService)->validator($input)->validate();

$user = User::create([
'name' => $input['name'],
'email' => $input['email'],
'password' => Hash::make($input['password']),
'rank_id' => 2,
'birthday' => $input['dob'],
]);
$user->settings()->create([
'user_id' => $user->id,
]);
$user->profile()->create([
'user_id' => $user->id,
]);

if (isset($input['code'])) {
if (!(new InvitationService)->useInvitation(Invitation::where('code', $input['code'])->whereNull('recipient_id')->first(), $user)) {
throw new \Exception('An error occurred while using the invitation code.');
}
}

return $user;
}
}
16 changes: 16 additions & 0 deletions app/Actions/Fortify/PasswordValidationRules.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

namespace App\Actions\Fortify;

use Laravel\Fortify\Rules\Password;

trait PasswordValidationRules {
/**
* Get the validation rules used to validate passwords.
*
* @return array
*/
protected function passwordRules() {
return ['required', 'string', new Password, 'confirmed'];
}
}
26 changes: 26 additions & 0 deletions app/Actions/Fortify/ResetUserPassword.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

namespace App\Actions\Fortify;

use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Laravel\Fortify\Contracts\ResetsUserPasswords;

class ResetUserPassword implements ResetsUserPasswords {
use PasswordValidationRules;

/**
* Validate and reset the user's forgotten password.
*
* @param mixed $user
*/
public function reset($user, array $input) {
Validator::make($input, [
'password' => $this->passwordRules(),
])->validate();

$user->forceFill([
'password' => Hash::make($input['password']),
])->save();
}
}
31 changes: 31 additions & 0 deletions app/Actions/Fortify/UpdateUserPassword.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

namespace App\Actions\Fortify;

use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Laravel\Fortify\Contracts\UpdatesUserPasswords;

class UpdateUserPassword implements UpdatesUserPasswords {
use PasswordValidationRules;

/**
* Validate and update the user's password.
*
* @param mixed $user
*/
public function update($user, array $input) {
Validator::make($input, [
'current_password' => ['required', 'string'],
'password' => $this->passwordRules(),
])->after(function ($validator) use ($user, $input) {
if (!isset($input['current_password']) || !Hash::check($input['current_password'], $user->password)) {
$validator->errors()->add('current_password', __('The provided password does not match your current password.'));
}
})->validateWithBag('updatePassword');

$user->forceFill([
'password' => Hash::make($input['password']),
])->save();
}
}
54 changes: 54 additions & 0 deletions app/Actions/Fortify/UpdateUserProfileInformation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?php

namespace App\Actions\Fortify;

use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Support\Facades\Validator;
use Illuminate\Validation\Rule;
use Laravel\Fortify\Contracts\UpdatesUserProfileInformation;

class UpdateUserProfileInformation implements UpdatesUserProfileInformation {
/**
* Validate and update the given user's profile information.
*
* @param mixed $user
*/
public function update($user, array $input) {
Validator::make($input, [
'name' => ['required', 'string', 'max:255'],

'email' => [
'required',
'string',
'email',
'max:255',
Rule::unique('users')->ignore($user->id),
],
])->validateWithBag('updateProfileInformation');

if ($input['email'] !== $user->email &&
$user instanceof MustVerifyEmail) {
$this->updateVerifiedUser($user, $input);
} else {
$user->forceFill([
'name' => $input['name'],
'email' => $input['email'],
])->save();
}
}

/**
* Update the given verified user's profile information.
*
* @param mixed $user
*/
protected function updateVerifiedUser($user, array $input) {
$user->forceFill([
'name' => $input['name'],
'email' => $input['email'],
'email_verified_at' => null,
])->save();

$user->sendEmailVerificationNotification();
}
}
105 changes: 105 additions & 0 deletions app/Console/Commands/AddImageHashes.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
<?php

namespace App\Console\Commands;

use App\Models\Character\CharacterCategory;
use App\Models\Currency\Currency;
use App\Models\Feature\Feature;
use App\Models\Feature\FeatureCategory;
use App\Models\Item\Item;
use App\Models\Item\ItemCategory;
use App\Models\Prompt\Prompt;
use App\Models\Prompt\PromptCategory;
use App\Models\Rarity;
use App\Models\Shop\Shop;
use App\Models\Species\Species;
use App\Models\Species\Subtype;
use App\Services\FeatureService;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\File;

class AddImageHashes extends Command {
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'add-image-hashes';

/**
* The console command description.
*
* @var string
*/
protected $description = 'Adds hashes to any existing images that don\'t already have them.';

/**
* Create a new command instance.
*/
public function __construct() {
parent::__construct();
}

/**
* Execute the console command.
*
* @return mixed
*/
public function handle() {
$images = CharacterCategory::where('has_image', 1)->whereNull('hash')->get();
$images = $images->concat(Currency::where('has_image', 1)->whereNull('hash')->orWhere('has_icon', 1)->whereNull('hash')->get());
$images = $images->concat(Feature::where('has_image', 1)->whereNull('hash')->get());
$images = $images->concat(FeatureCategory::where('has_image', 1)->whereNull('hash')->get());
$images = $images->concat(Item::where('has_image', 1)->whereNull('hash')->get());
$images = $images->concat(ItemCategory::where('has_image', 1)->whereNull('hash')->get());
$images = $images->concat(Prompt::where('has_image', 1)->whereNull('hash')->get());
$images = $images->concat(PromptCategory::where('has_image', 1)->whereNull('hash')->get());
$images = $images->concat(Rarity::where('has_image', 1)->whereNull('hash')->get());
$images = $images->concat(Shop::where('has_image', 1)->whereNull('hash')->get());
$images = $images->concat(Species::where('has_image', 1)->whereNull('hash')->get());
$images = $images->concat(Subtype::where('has_image', 1)->whereNull('hash')->get());

if ($images->count()) {
$this->line('Updating images...');
foreach ($images as $image) {
$oldName = $image->id.'-image.png';
$image->hash = randomString(10);
// Any service works, I can't use the abstract one
if (
File::exists(public_path($image->imageDirectory).'/'.$oldName) &&
(new FeatureService)->handleImage(
null,
public_path($image->imageDirectory),
$image->hash.$image->id.'-image.png',
$oldName
)
) {
$image->save();
} else {
$this->info('Didn\'t add hash to '.get_class($image).', this could be expected or an error, id '.$image->id);
}

// Just for currency icons
if ($image instanceof Currency) {
$oldName = $image->id.'-icon.png';
if (
File::exists(public_path($image->imageDirectory).'/'.$oldName) &&
(new FeatureService)->handleImage(
null,
public_path($image->imageDirectory),
$image->hash.$image->id.'-icon.png',
$oldName
)
) {
$image->save();
} else {
$this->info('Didn\'t add hash to currency icon image, this could be expected or an error, id '.$image->id);
}
}
}
$this->info('Updated images.');
} else {
$this->line('No images need updating!');
}
}
}
Loading
Loading