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

feat: migration to leveldb #1401

Merged
merged 88 commits into from
Feb 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
c9e99d3
feat: migrated to scss
bumyy32 Nov 7, 2024
4b59a00
feat: migration to scss
bumyy32 Nov 8, 2024
a292164
feat: adding demo theme composer
thegrannychaseroperation Nov 8, 2024
cedb61c
feat: removing insert custom styles
thegrannychaseroperation Dec 16, 2024
2c5fb8a
feat: adding initial leveldb configuration
thegrannychaseroperation Jan 15, 2025
08bcf09
feat: adding initial leveldb configuration
thegrannychaseroperation Jan 15, 2025
c59b039
fix: removing unused navigate
thegrannychaseroperation Jan 15, 2025
8b47082
fix: removing unused navigate
thegrannychaseroperation Jan 15, 2025
2c881a6
fix: fixing duplicate export
thegrannychaseroperation Jan 15, 2025
a23106b
feat: migrating achievements to level
thegrannychaseroperation Jan 16, 2025
c115040
fix: fixing sonar issues
thegrannychaseroperation Jan 16, 2025
ee4c564
Merge branch 'main' into feature/migration-to-scss
Hachi-R Jan 16, 2025
f6707a5
lint
Hachi-R Jan 16, 2025
395f77e
refactor: change notifications header to paragraph
Hachi-R Jan 16, 2025
b41e3de
revert: rollback to 395f77e17c3f186dc8bd5359240cf08019155bef
Hachi-R Jan 19, 2025
f74061a
refactor: migrate achievement panel styles from VE to SCSS + BEM
Hachi-R Jan 19, 2025
2d665b2
refactor: update achievement panel styles
Hachi-R Jan 19, 2025
86d7ced
refactor: migrate achievement list styles from VE to SCSS + BEM
Hachi-R Jan 19, 2025
b855abb
refactor: migrate filter item and section styles from VE to SCSS + BEM
Hachi-R Jan 19, 2025
2e38419
refactor: migrate pagination styles from VE to SCSS + BEM
Hachi-R Jan 19, 2025
1f0e195
feat: migrating games to leveldb
thegrannychaseroperation Jan 19, 2025
57a8368
refactor: migrate download page styles from VE to SCSS + BEM
Hachi-R Jan 19, 2025
d758f32
refactor: update download group styles
Hachi-R Jan 19, 2025
296524f
lint
Hachi-R Jan 19, 2025
a52979d
refactor: migrate game details styles from VE to SCSS + BEM
Hachi-R Jan 19, 2025
f037d3d
fix: border color
Hachi-R Jan 19, 2025
88fe3d8
fix: background color
Hachi-R Jan 19, 2025
cbe9466
fix
Hachi-R Jan 19, 2025
c44b5fa
refactor: migrate home page styles from VE to SCSS + BEM
Hachi-R Jan 19, 2025
d760d01
feat: migrating games to level
thegrannychaseroperation Jan 20, 2025
e457950
refactor: migrate profile page styles from VE to SCSS + BEM
Hachi-R Jan 20, 2025
f1e0ba4
feat: migrating user preferences
thegrannychaseroperation Jan 21, 2025
facca3e
chore: merge with main
thegrannychaseroperation Jan 21, 2025
eb11eb2
chore: merge with main
thegrannychaseroperation Jan 21, 2025
0f0a67b
chore: merge with main
thegrannychaseroperation Jan 21, 2025
8cb2313
refactor: enhance text field styles
Hachi-R Jan 21, 2025
eed28d7
feat: add disabled state styles for checkbox component
Hachi-R Jan 21, 2025
c51b615
refactor: migrate settings page styles from VE to SCSS + BEM
Hachi-R Jan 21, 2025
19976da
refactor: migrate shared modals styles from VE to SCSS + BEM
Hachi-R Jan 21, 2025
c7bc868
refactor: migrate playtime styles from VE to SCSS + BEM
Hachi-R Jan 21, 2025
28a2f1d
refactor: fix some styles in game details modals
Hachi-R Jan 21, 2025
52f7647
refactor: remove css-in-ts styles from all pages
Hachi-R Jan 21, 2025
71cb4cd
chore: level as external dep
thegrannychaseroperation Jan 22, 2025
2aff983
fix: fixing sonar issues
thegrannychaseroperation Jan 22, 2025
f387560
fix: migrating level to classic-level
thegrannychaseroperation Jan 22, 2025
549481f
chore: improving download queue
thegrannychaseroperation Jan 22, 2025
f5532fa
chore: encrypting real-debrid
thegrannychaseroperation Jan 22, 2025
4c5c602
fix: adding bit validation to is deleted
thegrannychaseroperation Jan 22, 2025
bfd54d5
fix: fixing sonar issues
thegrannychaseroperation Jan 22, 2025
dcd1634
fix: fixing sonar issues
thegrannychaseroperation Jan 22, 2025
93fc486
fix: fixing sonar issues
thegrannychaseroperation Jan 22, 2025
a839e51
chore: changing boolean strategy on migration
thegrannychaseroperation Jan 22, 2025
f81e4ac
fix: adding catch to tables
thegrannychaseroperation Jan 22, 2025
36bd588
Merge branch 'main' into feature/custom-themes
thegrannychaseroperation Jan 23, 2025
b867462
chore: refactoring toast
thegrannychaseroperation Jan 23, 2025
3335e98
Merge branch 'main' into feat/migration-to-leveldb
zamitto Jan 28, 2025
2a3c3eb
feat: changing permission verify strategy
thegrannychaseroperation Jan 2, 2025
ce76bc5
feat: updating title bar z-index
thegrannychaseroperation Jan 6, 2025
bf4c072
fix: ensure ipcHandles are loaded before create window
zamitto Jan 2, 2025
6a52cb3
feat: show featurebase dropdown changelog on bottom panel version
zamitto Jan 3, 2025
b8dcd66
feat: add optional game params back
zamitto Jan 5, 2025
52f8551
feat: handle open new browser window on link
zamitto Jan 5, 2025
3957270
feat: remove unnecessary userPreferences findOne
zamitto Jan 5, 2025
6d86002
feat: prefer to play achievement sound in browser window if available
zamitto Jan 5, 2025
901dcb6
feat: update user language
zamitto Jan 5, 2025
40f7178
feat: sonar suggestions
zamitto Jan 5, 2025
b494b28
feat: sonar suggestions
zamitto Jan 5, 2025
d016f5e
feat: add featureBaseJwt to type
zamitto Jan 5, 2025
0baaf84
fix: error handling
zamitto Jan 6, 2025
b48393c
feat: adjust python log file
zamitto Jan 7, 2025
5869057
feat: i18n
zamitto Jan 7, 2025
b1ff05c
feat: add network logger file
zamitto Jan 10, 2025
9c1b3e8
feat: refactor check for updates periodically
zamitto Jan 7, 2025
0ea2c46
feat: update hook dependency
zamitto Jan 11, 2025
b54167c
feat: remove unneeded async
zamitto Jan 11, 2025
04f5f26
Merge branch 'feat/migration-to-leveldb' into feature/check-directory…
zamitto Jan 29, 2025
94a1399
feat: add dependency array
zamitto Jan 29, 2025
f62c3f9
feat: ensure all events are loaded before create window
zamitto Jan 29, 2025
732a00c
Merge pull request #1374 from hydralauncher/feature/check-directory-p…
zamitto Feb 1, 2025
7c87e12
chore: merge with dev
thegrannychaseroperation Feb 1, 2025
d5a3e3f
fix: fixing css issues
thegrannychaseroperation Feb 1, 2025
24f5867
fix: fixing css issues
thegrannychaseroperation Feb 1, 2025
fcd8a4a
chore: merge with main
thegrannychaseroperation Feb 1, 2025
12eb76f
chore: adding dev tools to staging
thegrannychaseroperation Feb 1, 2025
0c8bccc
chore: merge with main
thegrannychaseroperation Feb 1, 2025
59a32c7
fix: open dev tools on right window
thegrannychaseroperation Feb 1, 2025
7fed104
Merge branch 'main' of github.com:hydralauncher/hydra into feat/migra…
thegrannychaseroperation Feb 1, 2025
7e54a6d
chore: adding download sorting
thegrannychaseroperation Feb 1, 2025
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ aria2/

# Sentry Config File
.env.sentry-build-plugin

*storybook.log
7 changes: 7 additions & 0 deletions electron.vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ export default defineConfig(({ mode }) => {
build: {
sourcemap: true,
},
css: {
preprocessorOptions: {
scss: {
api: "modern",
},
},
},
resolve: {
alias: {
"@renderer": resolve("src/renderer/src"),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"auto-launch": "^5.0.6",
"axios": "^1.7.9",
"better-sqlite3": "^11.7.0",
"classic-level": "^2.0.0",
"classnames": "^2.5.1",
"color": "^4.2.3",
"color.js": "^1.2.0",
Expand Down Expand Up @@ -74,7 +75,6 @@
"sound-play": "^1.1.0",
"sudo-prompt": "^9.2.1",
"tar": "^7.4.3",
"typeorm": "^0.3.20",
"user-agents": "^1.1.387",
"yaml": "^2.6.1",
"yup": "^1.5.0",
Expand Down
2 changes: 1 addition & 1 deletion python_rpc/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def seed_status():

@app.route("/healthcheck", methods=["GET"])
def healthcheck():
return "", 200
return "ok", 200

@app.route("/process-list", methods=["GET"])
def process_list():
Expand Down
6 changes: 5 additions & 1 deletion src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,11 @@
"reset_achievements_description": "This will reset all achievements for {{game}}",
"reset_achievements_title": "Are you sure?",
"reset_achievements_success": "Achievements successfully reset",
"reset_achievements_error": "Failed to reset achievements"
"reset_achievements_error": "Failed to reset achievements",
"download_error_gofile_quota_exceeded": "You have exceeded your Gofile monthly quota. Please await the quota to reset.",
"download_error_real_debrid_account_not_authorized": "Your Real-Debrid account is not authorized to make new downloads. Please check your account settings and try again.",
"download_error_not_cached_in_real_debrid": "This download is not available on Real-Debrid and polling download status from Real-Debrid is not yet available.",
"download_error_not_cached_in_torbox": "This download is not available on Torbox and polling download status from Torbox is not yet available."
},
"activation": {
"title": "Activate Hydra",
Expand Down
7 changes: 6 additions & 1 deletion src/locales/pt-BR/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,12 @@
"reset_achievements_description": "Isso irá resetar todas as conquistas de {{game}}",
"reset_achievements_title": "Tem certeza?",
"reset_achievements_success": "Conquistas resetadas com sucesso",
"reset_achievements_error": "Falha ao resetar conquistas"
"reset_achievements_error": "Falha ao resetar conquistas",
"no_write_permission": "Não é possível baixar nesse diretório. Clique aqui para saber mais.",
"download_error_gofile_quota_exceeded": "Você excedeu sua cota mensal do Gofile. Por favor, aguarde a cota resetar.",
"download_error_real_debrid_account_not_authorized": "Sua conta do Real-Debrid não está autorizada a fazer novos downloads. Por favor, verifique sua assinatura e tente novamente.",
"download_error_not_cached_in_real_debrid": "Este download não está disponível no Real-Debrid e a verificação do status do download não está disponível.",
"download_error_not_cached_in_torbox": "Este download não está disponível no Torbox e a verificação do status do download não está disponível."
},
"activation": {
"title": "Ativação",
Expand Down
7 changes: 6 additions & 1 deletion src/main/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@ export const defaultDownloadsPath = app.getPath("downloads");

export const isStaging = import.meta.env.MAIN_VITE_API_URL.includes("staging");

export const levelDatabasePath = path.join(
app.getPath("userData"),
`hydra-db${isStaging ? "-staging" : ""}`
);

export const databaseDirectory = path.join(app.getPath("appData"), "hydra");
export const databasePath = path.join(
databaseDirectory,
isStaging ? "hydra_test.db" : "hydra.db"
);

export const logsPath = path.join(app.getPath("appData"), "hydra", "logs");
export const logsPath = path.join(app.getPath("userData"), "logs");

export const seedsPath = app.isPackaged
? path.join(process.resourcesPath, "seeds")
Expand Down
27 changes: 0 additions & 27 deletions src/main/data-source.ts

This file was deleted.

25 changes: 0 additions & 25 deletions src/main/entity/download-queue.entity.ts

This file was deleted.

19 changes: 0 additions & 19 deletions src/main/entity/game-achievements.entity.ts

This file was deleted.

35 changes: 0 additions & 35 deletions src/main/entity/game-shop-cache.entity.ts

This file was deleted.

90 changes: 0 additions & 90 deletions src/main/entity/game.entity.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/main/entity/index.ts

This file was deleted.

45 changes: 0 additions & 45 deletions src/main/entity/user-auth.entity.ts

This file was deleted.

Loading
Loading