1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-22 22:12:45 +01:00
Commit Graph

121 Commits

Author SHA1 Message Date
Reece Dunham
60e7648a60
Fix some strange imports
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-01-23 13:33:45 -05:00
Reece Dunham
ea4322f951
Bump version to v6.0.0-alpha.1
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-01-21 17:17:36 -05:00
Reece Dunham
341517f8a6
Update some dependencies
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-01-21 17:17:26 -05:00
Alexandre Sanchez
873df1de89
fix(contracts): difficulty not set to normal on first contract load 2023-01-21 23:09:24 +01:00
moonysolari
d6cae91a0f
Fix completion data generation function (#85)
Added override for HideProgression
Added hidden mastery levels for FACILITY
Fixed Mastery-tab from showing when there aren't any drops

Co-authored-by: Lennard Fonteijn <lennard@lennardf1989.com>
2023-01-21 10:53:14 +01:00
Lennard Fonteijn
85a55d4b48
Added service for mastery data (#30)
Added simplified mastery data for all locations
Added runtime generation of the full mastery data
Added initial support for profile progression
Reworked code around loading of resources to be more generic
2023-01-20 22:00:20 +01:00
Reece Dunham
e238ecf720
Revert "Fixed issue where restarting Peacock would require to first go offline again"
This reverts commit 2cc63c9ec3.
2023-01-19 15:56:30 -05:00
Lennard Fonteijn
2cc63c9ec3 Fixed issue where restarting Peacock would require to first go offline again 2023-01-19 21:39:51 +01:00
moonysolari
39b659d733
Improve getting challenges for contracts (#83) 2023-01-17 20:40:59 -05:00
Reece Dunham
c7f7cafbb8
Remove todos for soon to be retired game versions
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-01-17 16:45:40 -05:00
Reece Dunham
145641429b
Update jwt lib to v9
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-01-16 15:09:20 -05:00
moonysolari
d78d5bf3ea
Fix all broken challenges in #22 (#82)
* Using state machine parser 5.2.0

* Correctly store and load challenge contexts

* Update THIRDPARTYNOTICES
2023-01-16 13:30:06 -05:00
moonysolari
bfe82fe1e2
Implement the Challenges tab on the Career page (#80)
* Renders Career->Challenges page

* Support sniper levels on Career->Challenges page

* Refactor the code to get challenges for locations

* Support clicking tiles on Career->Challenges page

* Add elusives part (currently unsupported)

* Add gameVersion check to avoid issues on old games
2023-01-14 02:12:08 -05:00
moonysolari
1cb640992f
Update season 1 challenges and add challenges for the rest of the locations (#77)
* Update season 1 challenges

* Add ICA Facility challenges

* Add season 2 challenges

* Add season 2 dlc challenges

* Add season 3 challenges

* Add sniper challenges
2023-01-13 22:04:58 -05:00
moonysolari
b1dfdb8066
Add Challenge completion and level completion percentage display (#79)
* Add challenges completion progress to responses

* Update components/scoreHandler.ts

Co-authored-by: Reece Dunham <me@rdil.rocks>
Signed-off-by: moonysolari <118079569+moonysolari@users.noreply.github.com>

Signed-off-by: moonysolari <118079569+moonysolari@users.noreply.github.com>
Co-authored-by: Reece Dunham <me@rdil.rocks>
2023-01-12 10:35:27 -05:00
moonysolari
95b71b79e7
Fix a nullibility issue in previous pr (#76) 2023-01-11 16:22:17 -05:00
moonysolari
3adb4b1f67
Fix a number of bugs on progression, entitlements, and warning logs (#75)
* Fix "Contract undefined not found!" warnings

* Implement support for /GetContractOpportunities

* Add OpportunityData to MissionManifestMetadata

* Resolved a ts-expect-error by providing types

* Fix requiem unlockables pistol

* Adjust max player level
2023-01-10 17:29:54 -05:00
moonysolari
e548325955
New saving/loading behaviors to fix bugs related to saving (#73)
Signed-off-by: moonysolari <118079569+moonysolari@users.noreply.github.com>
2023-01-09 14:49:04 -05:00
moonysolari
d95553bd33
Fix image and text details on challenges page (#71)
* Remove getChallengePlanningDataForContract
Use getChallengeTreeForContract in instead.

* Separate out the better function for switched data

* reduce calls of generateCompletionData

* Use new switch data batcher for destination part

* Move Contract Not Found warning to resolveContract
2023-01-08 09:28:00 -05:00
moonysolari
fdfe8ff779
Fix default starting suits across different locations (#69) 2023-01-07 16:29:02 -05:00
Reece Dunham
2f01422057
Update Node to v18.13.0
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-01-06 21:16:47 -05:00
moonysolari
f3803be4ef
Added Mission Story Progression (#68) 2023-01-06 21:15:14 -05:00
moonysolari
2ed110a703
Added challenges page for mission debriefing (#67)
* add debriefing challenges page
2023-01-04 11:36:22 -05:00
Reece Dunham
f04a9f749b
Move the code of conduct to the docs folder [skip ci]
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-01-04 11:33:58 -05:00
Reece Dunham
fa2be4118c
Add security policy
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-01-04 11:33:30 -05:00
dependabot[bot]
2fc20247e5
Bump json5 from 2.2.1 to 2.2.2 (#65)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 11:28:05 -05:00
Reece Dunham
ba751852f1 Fix challenges being able to cause a recursion deadlock
Happens rarely, see https://discord.com/channels/826809653181808651/1058021993661861938 for an explanation.
2022-12-30 21:14:55 -05:00
Reece Dunham
a71bfff890 Use the new axios across all workspaces 2022-12-30 21:08:15 -05:00
Reece Dunham
c5488541e4 Merge branch 'v6' of https://github.com/thepeacockproject/Peacock into v6 2022-12-30 21:06:16 -05:00
Reece Dunham
79a32df1dd unlockorderComparer -> unlockOrderComparer 2022-12-30 21:06:09 -05:00
Govert de Gans
645d014dde Update axios to v1.2.2, fixing an 'unexpected end of file' error
This error popped up when trying to download a contract via tools.cmd
2022-12-30 15:47:28 +01:00
Reece Dunham
46c0537256 Add missing locale strings 2022-12-28 15:53:22 -05:00
Reece Dunham
114a72038e Add a few more event-specific type definitions. 2022-12-28 15:25:32 -05:00
Reece Dunham
c35f9a463d Fix a bug causing an infinite loop when certain challenges are completed 2022-12-28 15:25:12 -05:00
Reece Dunham
3f52d87bc8 Merge branch 'v6' of https://github.com/thepeacockproject/Peacock into v6 2022-12-25 15:01:39 -05:00
Reece Dunham
4b6e2e9a3c Bump version to v5.6.0 2022-12-24 16:40:15 -05:00
Reece Dunham
7379688a91 The Christmas Calamity 2022-12-24 12:35:37 -05:00
Reece Dunham
03ac9a8eda Additional dynres fixes (h3 this time) 2022-12-22 17:44:45 -05:00
Reece Dunham
e512edac42 Rebuild h2 dynres 2022-12-22 16:11:13 -05:00
Reece Dunham
193df194c5 Fix paginating of fake contracts 2022-12-22 14:49:04 -05:00
Reece Dunham
79558dd4a6
Clarify that push messages should not be pre-encoded.
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-12-20 16:03:08 -05:00
Reece Dunham
9e6e5dd4ed
Fixes to the express patch
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-12-15 20:40:49 -05:00
Reece Dunham
6520433705
Merge branch 'v6' of https://github.com/thepeacockproject/Peacock into v6 2022-12-15 11:12:21 -05:00
Reece Dunham
819ee16876
Disable Yarn global cache
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-12-15 11:12:05 -05:00
Reece Dunham
05730a084f
Fix the build
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-12-15 10:31:50 -05:00
Reece Dunham
e947ad3d71
Fix the build
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-12-15 10:31:37 -05:00
Reece Dunham
5f7a4bb458
Optimize built-in contracts
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-12-15 10:26:41 -05:00
Reece Dunham
e34d1d0234
Fix SMF integration crash, dependency updates
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-12-15 10:04:56 -05:00
moonysolari
e7fb1c9211
Escalation picker fixes and improvements (#61) 2022-12-14 15:21:44 -05:00
moonysolari
3801d41048
disable saving on somve escalations (#60) 2022-12-13 18:12:07 -05:00