Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Child curations - backend. #321

Open
wants to merge 84 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
f292444
chore: add nano swapfiles to gitignore.
LindirQuenya Mar 16, 2022
ec8bc92
First try, broken.
LindirQuenya Mar 20, 2022
65cce7c
Fix silly database mistake.
LindirQuenya Mar 21, 2022
5c0256b
Searching and launching broken, but browsing works now.
LindirQuenya Mar 25, 2022
019ea4e
Fix the extensions API.
LindirQuenya Mar 29, 2022
63b08b9
Update deps, add migration.
LindirQuenya Mar 30, 2022
03e069a
Add migration at database init.
LindirQuenya Mar 30, 2022
87c445a
Fix child-loading, make children[] nullable, add option not to fetch …
LindirQuenya Mar 31, 2022
2f10d62
perf: don't fetch the game twice.
LindirQuenya Mar 31, 2022
c64d1f7
build: switch to better-sqlite3
LindirQuenya Mar 31, 2022
3a01d1d
Fix comment for removeGameAndChildren()
LindirQuenya Apr 1, 2022
bba3e86
Fix extras.
LindirQuenya Apr 1, 2022
1ad82e7
Make the linter happy, also fix curation.
LindirQuenya Apr 2, 2022
4214be3
fix: child launching - children inherit on empty platform.
LindirQuenya Apr 2, 2022
cc824b1
Update the download button on child launch.
LindirQuenya Apr 2, 2022
8db0b55
Add option in findPlatforms to exclude children.
LindirQuenya Apr 2, 2022
b49d9c1
Make the nullable properties actually nullable.
LindirQuenya Apr 2, 2022
a88c90e
Make the linter happy about b49d9c1.
LindirQuenya Apr 2, 2022
6999c0c
Add new lang strings for English.
LindirQuenya Apr 3, 2022
bf035a0
Give extras launch button its own section in sidebar.
LindirQuenya Apr 3, 2022
2467415
Fix game count update on delete, remove TODOs.
LindirQuenya Apr 3, 2022
8778191
Fix game data browser for single-pack games.
LindirQuenya Apr 3, 2022
8dda528
Fix getRootPath()
LindirQuenya Apr 4, 2022
cffe768
Revert "build: switch to better-sqlite3"
LindirQuenya Apr 7, 2022
fe7a8f9
fix: load tags for children. Also: slight cleanup.
LindirQuenya Apr 18, 2022
c189246
test: GameManager: findGame() and countGames().
LindirQuenya Apr 18, 2022
756e158
fix: make orderBy required in findGameRow()
LindirQuenya Apr 19, 2022
579459f
fix: findGameRow() keyset pagination directions
LindirQuenya Apr 19, 2022
3114494
test: GameManager.findGameRow()
LindirQuenya Apr 19, 2022
a5a45af
style: make the linter happy
LindirQuenya Apr 19, 2022
919a11f
test: allow connection to be managed outside
LindirQuenya Apr 19, 2022
6e39590
fix: sorting for findGamePageKeyset()
LindirQuenya Apr 27, 2022
eb639c4
test: GameManager.findGamePageKeyset()
LindirQuenya Apr 27, 2022
fe192a4
feat: restore DUPLICATE_GAME.
LindirQuenya Apr 27, 2022
c973440
make the linter happy
LindirQuenya Apr 27, 2022
882e825
fix: implement child editing, fix default date.
LindirQuenya Apr 27, 2022
883c514
fix: check that extras exist before importing
LindirQuenya Apr 27, 2022
caae801
style: make the linter happy
LindirQuenya Apr 27, 2022
c593468
style: remove a bunch of irrelevant todos
LindirQuenya Apr 27, 2022
90f5728
chore: add nano swapfiles to gitignore.
LindirQuenya Mar 16, 2022
21e24cb
First try, broken.
LindirQuenya Mar 20, 2022
96d7327
Fix silly database mistake.
LindirQuenya Mar 21, 2022
a7856f9
Searching and launching broken, but browsing works now.
LindirQuenya Mar 25, 2022
0937ac8
Fix the extensions API.
LindirQuenya Mar 29, 2022
3f6edb9
Update deps, add migration.
LindirQuenya Mar 30, 2022
ea091b7
Add migration at database init.
LindirQuenya Mar 30, 2022
72dfdc7
Fix child-loading, make children[] nullable, add option not to fetch …
LindirQuenya Mar 31, 2022
63ffaba
perf: don't fetch the game twice.
LindirQuenya Mar 31, 2022
a26b06f
build: switch to better-sqlite3
LindirQuenya Mar 31, 2022
a831a3d
Fix comment for removeGameAndChildren()
LindirQuenya Apr 1, 2022
b9ba193
Fix extras.
LindirQuenya Apr 1, 2022
2d8ffb7
Make the linter happy, also fix curation.
LindirQuenya Apr 2, 2022
8cb9bb8
fix: child launching - children inherit on empty platform.
LindirQuenya Apr 2, 2022
4f51950
Update the download button on child launch.
LindirQuenya Apr 2, 2022
3eaf63a
Add option in findPlatforms to exclude children.
LindirQuenya Apr 2, 2022
9c96d2f
Make the nullable properties actually nullable.
LindirQuenya Apr 2, 2022
0f78d9f
Make the linter happy about b49d9c1.
LindirQuenya Apr 2, 2022
5c4f3b9
Add new lang strings for English.
LindirQuenya Apr 3, 2022
a636b11
Give extras launch button its own section in sidebar.
LindirQuenya Apr 3, 2022
4e1dffc
Fix game count update on delete, remove TODOs.
LindirQuenya Apr 3, 2022
e881b5b
Fix game data browser for single-pack games.
LindirQuenya Apr 3, 2022
f769588
Fix getRootPath()
LindirQuenya Apr 4, 2022
db0bbc7
Revert "build: switch to better-sqlite3"
LindirQuenya Apr 7, 2022
6bf3138
fix: load tags for children. Also: slight cleanup.
LindirQuenya Apr 18, 2022
5b0a8fa
test: GameManager: findGame() and countGames().
LindirQuenya Apr 18, 2022
2614e61
fix: make orderBy required in findGameRow()
LindirQuenya Apr 19, 2022
0cf811f
fix: findGameRow() keyset pagination directions
LindirQuenya Apr 19, 2022
d6ab6aa
test: GameManager.findGameRow()
LindirQuenya Apr 19, 2022
ee5878e
style: make the linter happy
LindirQuenya Apr 19, 2022
0bd6f4b
test: allow connection to be managed outside
LindirQuenya Apr 19, 2022
1d05994
fix: sorting for findGamePageKeyset()
LindirQuenya Apr 27, 2022
3d629f2
test: GameManager.findGamePageKeyset()
LindirQuenya Apr 27, 2022
87efa4a
feat: restore DUPLICATE_GAME.
LindirQuenya Apr 27, 2022
46fa961
make the linter happy
LindirQuenya Apr 27, 2022
9af7406
fix: implement child editing, fix default date.
LindirQuenya Apr 27, 2022
5aec01e
fix: check that extras exist before importing
LindirQuenya Apr 27, 2022
deb8a5a
style: make the linter happy
LindirQuenya Apr 27, 2022
9d73b79
style: remove a bunch of irrelevant todos
LindirQuenya Apr 27, 2022
f62ec64
fix: explictly cast an error to a string, so that it will compile
LindirQuenya May 26, 2022
55d8bbc
Supress the undefined and null errors.
LindirQuenya May 27, 2022
e3bcdb9
Merge branch 'FlashpointProject-develop' into feature/child-curations…
LindirQuenya May 27, 2022
8ccc0f3
Move the GameManager tests to the right place
LindirQuenya May 27, 2022
d4d2e47
Make db-creation code shared.
LindirQuenya May 27, 2022
f1e5078
Organize imports
LindirQuenya May 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ Data/flashpoint.sqlite
/.coveralls.yml
/coverage
/tests/result

# nano's swap/lock files.
*.swp
1 change: 1 addition & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const config: Config.InitialOptions = {
'^@main(.*)$': '<rootDir>/src/main/$1',
'^@renderer(.*)$': '<rootDir>/src/renderer/$1',
'^@back(.*)$': '<rootDir>/src/back/$1',
'^@database(.*)$': '<rootDir>/src/database/$1',
'^@tests(.*)$': '<rootDir>/tests/$1'
},
testPathIgnorePatterns: [
Expand Down
13 changes: 11 additions & 2 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,13 @@
"noGameMatchedSearch": "Try searching for something less restrictive.",
"mountParameters": "Mount Parameters",
"noMountParameters": "No Mount Parameters",
"showExtremeScreenshot": "Show Extreme Screenshot"
"showExtremeScreenshot": "Show Extreme Screenshot",
"extras": "Extras",
"noExtras": "No Extras",
"message": "Launch Message",
"noMessage": "No Message",
"extrasName": "Extras Name",
"noExtrasName": "No Extras Name"
},
"tags": {
"name": "Name",
Expand Down Expand Up @@ -390,7 +396,10 @@
"noScreenshot": "There is no screenshot on this curation.",
"ilc_notHttp": "Use HTTP.",
"ilc_nonExistant": "Point to an existing file in your curation's 'content' folder.",
"sort": "Sort Curations (A-Z)"
"sort": "Sort Curations (A-Z)",
"parentGameId": "Parent Game ID",
"noParentGameId": "No Parent Game ID",
"invalidParentGameId": "Invalid Parent Game ID!"
},
"playlist": {
"enterDescriptionHere": "Enter a description here...",
Expand Down
Loading