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

445 Commits

Author SHA1 Message Date
AnthonyFuller
69a0e425f2 Fix granting of XP on challenge completion 2023-08-04 07:11:12 +01:00
Reece Dunham
af0252026b
Node 18.17.0
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-08-02 13:38:34 -04:00
PeacockBot
fdee2131ec [skip ci] Update locale packages 2023-08-02 17:24:37 +00:00
Reece Dunham
55ba36bbb6
Allow manual trigger or locale workflow
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-08-02 13:22:28 -04:00
Reece Dunham
88cb708b66
add funding yml
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-07-25 00:26:09 -04:00
AnthonyFuller
deae351ea0 Fix JSDoc for filterUnlockedContent 2023-07-25 00:03:25 +01:00
AnthonyFuller
4d6e4c1085 Add sniper unlockables to H2/3 maps 2023-07-25 00:02:54 +01:00
Anthony Fuller
46052c7b0e
Multi-Version Mastery and Sniper Scoring (#270)
* Add multi-version mastery files

* Add pro1 unlocks to legacy allunlockables

* Add 47's suit to scpc all unlockables

* Add and remove various configs

* Remove some useless promises

* Fix scpc hub

* Fix issue with user profile saving

* Fix scpc issues for hub

* Add singleplayer/multiplayer sniper

* A great many things

- Add multi-version mastery
- Improve sniper mastery support
- Improve general H2016 support

* Fix some warnings

* Fix pro1 mastery on destination screens

* Remove entP from createInventory, lock/unlock pro1 accordingly

* Remove JSDoc entP parameter from createInventory

* Remove difficultyunlocks from safehouse pages

* Add versioned user profiles

* Prettier run

* Remove false point from user profiles docs

* Add comment about profile versioning to types

* Fix default profile links

* Remove remaining lowercase

* Fix sniper showing XP as XP

* Add game versions to the unlockable map

* Update getMasteryForUnlockable call in planning

* Fix missing locations when updating profiles

* Update versions to v7

* Fix ICA Facility destination mastery

* Fix sniper challenge unlockables showing in inventory

* Sniper Scoring (#273)

* Initial sniper scoring

* Fix linting errors

* Update require table

* Calculate and display final sniper score on end screen

* Bump SMP version to v5.7.0

* Update since version for scoring

* Fix create inventory call for sniper scoring

* Support sniper unlockables in the inventory

* Update versions to v7

* Reflect changes to createInventory in scoreHandler

* Get unlockable name in completion data

* It was not okay.

* Thanks webstorm

* Add support for /profiles/page/GetMasteryCompletionDataForUnlockable

* Support sniper play next

* Remove sniper gamemodes template from overrides

* Remove debug prints from scoring event handler

* Fix challenge multiplier

* Exclude sniper unlockables from stashpoint

* Start fixing up the missionEnd response for sniper

* Update misleading comment

* Use existing global challenge to check for SA on sniper contracts

* Re-add removed global challenges

* Proper support for the mission end screen on sniper contracts

* Remove redundant label

---------

Signed-off-by: Anthony Fuller <24512050+AnthonyFuller@users.noreply.github.com>
Co-authored-by: Govert de Gans <grappigegovert@hotmail.com>

* Add co-op sniper scoring defs

* Update MasteryUnlockable template

* Bump SMP version to v5.9.3

* Re-add deepmerge

* Fix SMP checksum

* Fix linting errors caused by merge

* Fix score handler imports

* Move load flags

* Remove unnecessary game version arg

* Whoopsies

Co-authored-by: Reece Dunham <me@rdil.rocks>
Signed-off-by: Anthony Fuller <24512050+AnthonyFuller@users.noreply.github.com>

---------

Signed-off-by: Anthony Fuller <24512050+AnthonyFuller@users.noreply.github.com>
Co-authored-by: Govert de Gans <grappigegovert@hotmail.com>
Co-authored-by: Reece Dunham <me@rdil.rocks>
2023-07-24 23:47:28 +01:00
Cookie303728
2361bf3d8e
Added Dashes in between every Escalation with "Name/Noun-Noun" do be on par with the official ioi names (#307)
Co-authored-by: Anthony Fuller <24512050+AnthonyFuller@users.noreply.github.com>
2023-07-24 17:33:32 +01:00
Jorys Paulin
65dca71414
Feature/escalations (#306)
* fix: wrong target name in DEZ escalation level 3

* fix: wrong HUD in Sleazeball escalation level 1

* feat: objective icons for Jeffrey escalation
2023-07-22 10:18:05 -04:00
Jorys Paulin
b5f621ab65
feat: added french translations (#302) 2023-07-20 20:04:29 +01:00
Reece Dunham
4e70d55dee
Feat request issue template
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-07-15 15:10:45 -04:00
Reece Dunham
ba49356d6c
Add issue template config
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-07-15 15:04:59 -04:00
Jorys Paulin
c3ba4244b5
hotfix: fix call to getUnlockableById in planning (#299)
* hotfix: fix call to getUnlockableById in planning

* hotfix: reformatted using prettier
2023-07-15 16:06:16 +01:00
Reece Dunham
b20ce67c34
Fix the build
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-07-06 10:50:43 -04:00
Reece Dunham
91eac94fd0
Update deps
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-07-06 10:48:55 -04:00
dependabot[bot]
b940009716
Bump semver from 7.5.0 to 7.5.3 (#297)
Bumps [semver](https://github.com/npm/node-semver) from 7.5.0 to 7.5.3.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.5.0...v7.5.3)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 10:44:07 -04:00
Reece Dunham
01039463d6
Missed these files, oops
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-06-14 11:45:33 -04:00
Reece Dunham
29c519848c
Update a bunch of stuff (fix the vite sec warning)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-06-14 11:45:10 -04:00
Reece Dunham
580caeab3b
[perf] Inventory rework (part 1) (#291)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-06-14 11:36:07 -04:00
Anthony Fuller
c3b765c9c2
Add SMF contract support (#293) (#294)
* Amogus sus

* Deez

Co-authored-by: atampy25 <24306974+atampy25@users.noreply.github.com>
2023-06-14 11:59:48 +01:00
moonysolari
8de9a1f82d
Fix Miami escalations not counting (#288) 2023-06-10 18:59:49 -04:00
PeacockBot
b6cc5d915f [skip ci] Update locale packages 2023-05-16 15:39:01 +00:00
Pgeorge
bc25aa68f9
Update locale.json (#279)
Renamed an escalation to not repeat the joke twice.

Signed-off-by: Pgeorge <38467521+Wuzmart@users.noreply.github.com>
2023-05-16 11:34:49 -04:00
PeacockBot
871d278de0 [skip ci] Update locale packages 2023-05-16 13:56:08 +00:00
Pgeorge
3311774373
Update locale.json (#278)
Added Russian locale to new strings

Signed-off-by: Pgeorge <38467521+Wuzmart@users.noreply.github.com>
2023-05-16 09:54:42 -04:00
Reece Dunham
4524ae3f27
Update GitHub actions with Dependabot
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-05-12 10:11:01 -04:00
PeacockBot
17be88dbd3 [skip ci] Update locale packages 2023-05-11 16:46:02 +00:00
suanjiansalt
b0418364a1
Update Traditional Chinese strings (#277)
Update (change) Tchinese texts, for some of them couldn't show properly.

Signed-off-by: suanjiansalt <127009844+suanjiansalt@users.noreply.github.com>
2023-05-11 17:41:10 +01:00
AnthonyFuller
68ead874d9 Bump version to v6.4.0 2023-05-11 15:44:10 +01:00
AnthonyFuller
28bb331477 Remove prestige from global challenge 2023-05-11 15:22:41 +01:00
AnthonyFuller
53a04f6f6f Retrieve C47 suit image from the servers 2023-05-11 15:09:27 +01:00
AnthonyFuller
6d1890a1fe Update Sapienza challenges 2023-05-11 14:53:02 +01:00
AnthonyFuller
2c46c58d9d Update Snug challenges 2023-05-11 14:44:57 +01:00
AnthonyFuller
c849bec0cf Update Evergreen contracts and gamechangers 2023-05-11 14:37:48 +01:00
AnthonyFuller
f70879632c Update evergreen global challenges 2023-05-11 13:30:04 +01:00
AnthonyFuller
e0fb488191 Update mastery unlockables template 2023-05-11 12:49:45 +01:00
AnthonyFuller
0d268596ee Add freeform contract creation 2023-05-11 12:33:50 +01:00
AnthonyFuller
5338d9bf7e Update allunlockables 2023-05-11 12:21:39 +01:00
AnthonyFuller
0702975c3e Bump H3 server version to 8.12.0 2023-05-11 11:59:22 +01:00
AnthonyFuller
78f51fd619 Bump SMP version to v5.9.2 2023-05-11 11:04:08 +01:00
PeacockBot
6687971d41 [skip ci] Update locale packages 2023-05-11 01:32:12 +00:00
suanjiansalt
3fc9090090
Update locale.json (#276)
* Update locale.json

Update Traditional Chinese texts.

Signed-off-by: suanjiansalt <127009844+suanjiansalt@users.noreply.github.com>

* Update locale.json

Signed-off-by: suanjiansalt <127009844+suanjiansalt@users.noreply.github.com>

---------

Signed-off-by: suanjiansalt <127009844+suanjiansalt@users.noreply.github.com>
2023-05-10 21:29:51 -04:00
PeacockBot
7897ac262a [skip ci] Update locale packages 2023-05-10 17:17:41 +00:00
suanjiansalt
cba63a8d32
Update locale.json (#274)
Signed-off-by: suanjiansalt <127009844+suanjiansalt@users.noreply.github.com>
2023-05-10 13:03:25 -04:00
Cookie303728
e653c8498c
Translated the new New York Challenge (#275) 2023-05-10 13:02:24 -04:00
moonysolari
00ebefa009
Redo contract retrieval from official (#187)
* fix confusing comments

* new behavior to fetch contracts from official

* Reorder and organize flags with tags

* Fix contract filter being undefined

* Put mission manifest in memory instead of disk

* return undefined when not finding a contract
2023-05-09 21:30:18 -04:00
AnthonyFuller
d35a15f653 Bump SMP version to v5.9.1 2023-05-09 01:46:44 +01:00
AnthonyFuller
093de15e41 Bump SMP version to v5.8.0 2023-05-08 22:36:30 +01:00
PeacockBot
e2c68e4a71 [skip ci] Update locale packages 2023-05-08 19:36:50 +00:00