Commit Graph

1472 Commits

Author SHA1 Message Date
Tomas Dvorak 494b1a8a07 chore: Clean up workflows and trigger unified release
- Remove conflicting unified-build.yml workflow
- Disable desktop-ci.yml and component-tests.yml
- Keep only unified-release.yml active for all builds
- Test trigger commit to verify workflow execution

Now only unified-release.yml will run on push to main:
 Semantic versioning
 Cross-platform builds (Linux, Windows, macOS, Android, Backend)
 Unified GitHub release
 No workflow conflicts
2026-03-18 14:25:15 +01:00
Tomas Dvorak c5bb917ee6 test: trigger unified release workflow
This commit will test the new unified release system:
 Semantic versioning calculation
 Cross-platform builds (Linux, Windows, macOS, Android, Backend)
 Unified GitHub release creation
 All platforms on appropriate runners

Expected version: v1.0.0 (first release with features)
2026-03-18 14:24:47 +01:00
Tomas Dvorak 403bf01189 fix: Resolve macOS cross-compilation issues in unified release
- Disable old unified-build.yml workflow (was causing conflicts)
- Create new unified-release.yml with proper platform separation
- macOS builds now run on macOS runners (fixes cross-compilation)
- Linux and Windows builds use Ubuntu with cross-compilation
- Separate build jobs for each platform to prevent cancellation
- Rename workflow to indicate cross-platform support

Platform matrix:
 Linux x64: Ubuntu runner (native)
 Windows x64: Ubuntu runner (cross-compile)
 macOS x64/ARM64: macOS runners (native)
 Android: Ubuntu runner (native)
 Backend: Ubuntu runner (native)

Fixes macOS build failures and prevents other builds from being canceled!
2026-03-18 14:22:34 +01:00
Tomas Dvorak f0b5dae276 chore: Update submodules with improved gitignore files 2026-03-18 14:18:51 +01:00
Tomas Dvorak 6a45d1e1b2 chore: Update gitignore files for all components
- Add comprehensive .gitignore for main repo
- Update swingmusic-desktop .gitignore for Rust/Node/Tauri
- Update swingmusic-android .gitignore for Android/Gradle builds
- Update swingmusic-webclient .gitignore for Node.js/Nuxt
- Add src/swingmusic/.gitignore for Python backend

Now ignoring:
🚫 Build artifacts (target/, build/, dist/, node_modules/)
🚫 Generated packages (*.apk, *.exe, *.dmg, *.deb, *.rpm)
🚫 IDE files (.idea/, .vscode/, *.swp)
🚫 OS files (.DS_Store, Thumbs.db)
🚫 Logs and temporary files
🚫 Cache directories
🚫 Environment and config files with secrets

Keeps repo clean while preserving source code only!
2026-03-18 14:18:14 +01:00
Tomas Dvorak a22e462079 feat: Add unified release system for all components
- Create unified release workflow for entire mono repo
- Analyze commits across all submodules for semantic versioning
- Build and release desktop (4 platforms), android, and backend together
- Single version number for all components based on combined changes
- Comprehensive release notes from all component changes
- Support for selective component releases
- Professional installation instructions for all platforms

Components included:
 Desktop: Linux x64, Windows x64, macOS x64/ARM64
 Android: APK release builds
 Backend: Python wheel and source packages

Now every push to main creates a unified release with proper semantic versioning!
2026-03-18 14:15:13 +01:00
Tomas Dvorak e3e90f7a48 chore: Update desktop submodule with semantic versioning 2026-03-18 14:11:54 +01:00
Tomas Dvorak 838276be2b chore: Update desktop submodule with automatic releases 2026-03-18 14:09:53 +01:00
Tomas Dvorak 64e2401bfa chore: Update desktop submodule with cross-platform builds 2026-03-18 14:08:26 +01:00
Tomas Dvorak cd252c2aa2 ci/cd 2026-03-18 13:25:52 +01:00
Tomas Dvorak c202f6b219 ci/cd 2026-03-18 13:25:38 +01:00
Tomas Dvorak 6ff864cb9e update 2026-03-18 12:22:46 +01:00
Tomas Dvorak f3cc6ff1f3 update 2026-03-18 12:22:30 +01:00
Tomas Dvorak 5dded7d327 ci/cd 2026-03-18 11:47:52 +01:00
Tomas Dvorak 521f3791a5 update ci/cd 2026-03-18 09:46:37 +01:00
Tomas Dvorak cefc56c41d update ci/cd 2026-03-18 09:46:16 +01:00
Tomas Dvorak 2f0c0882fc Update README with stylized format and improved styling 2026-03-17 22:40:08 +01:00
Tomas Dvorak 38f1981283 Move backend files to root level for cleaner GitHub display
- Move all backend files from swingmusic/ to root level
- Backend files now display directly on GitHub repository page
- Keep client applications as submodules (swingmusic-android, swingmusic-desktop, swingmusic-webclient)
- Update README to reflect new structure (no cd swingmusic needed)
- Cleaner, more professional GitHub repository layout

Files moved to root:
- src/ (main source code)
- pyproject.toml, requirements.txt, run.py
- swingmusic.spec, uv.lock, version.txt
- services/

Result: GitHub shows backend files directly while maintaining organized structure
2026-03-17 22:37:49 +01:00
Tomas Dvorak 297315f5ba Configure submodules to track master branch
- Update .gitmodules to explicitly track master branch for all submodules
- Ensures submodules always point to latest master commits
- Removes specific commit hashes in favor of branch tracking
2026-03-17 22:37:11 +01:00
Tomas Dvorak 15aaeb3f6e Clean up repository - remove unnecessary files and folders
Removed:
- TODO.md (old todo list, can use GitHub Issues instead)
- tests/ (minimal test coverage, not actively maintained)
- docs/ (mostly empty documentation files)
- contributing/ (redundant with .github/contributing.md)
- appimage/ (AppImage-specific files, only needed for AppImage builds)

Kept essential files:
- .gitignore (required for Git)
- .gitmodules (required for submodules)
- LICENSE (legal requirement)
- README.md (project documentation)
- .github/ (workflows, templates, community files)
- Dockerfile (Docker support)

Repository now has clean, minimal structure with only necessary files.
2026-03-17 22:35:28 +01:00
Tomas Dvorak 4c04287800 Reorganize repository structure for better organization
- Move backend code to swingmusic/ folder
- Move client applications to root level (swingmusic-android, swingmusic-desktop, swingmusic-webclient)
- Remove intermediate backend/ and clients/ folders
- Update README with new folder structure and setup instructions
- Clean and organized repository layout
2026-03-17 22:34:34 +01:00
Tomas Dvorak 17e859dd2f Add client applications as submodules to main repository
- Keep main swingmusic backend code (src/, pyproject.toml, etc.)
- Add swingmusic-android as submodule
- Add swingmusic-desktop as submodule
- Add swingmusic-webclient as submodule
- Update README to reflect main backend + client apps structure
- Repository now contains complete Swing Music ecosystem in one place
2026-03-17 22:33:08 +01:00
Tomas Dvorak aad2f2d421 Add Spotify downloader and enhanced API features
- Add spotify_downloader service for track/album/playlist downloads
- Update Spotify API endpoints with enhanced functionality
- Fix pydub utils import issues
- Update GitHub workflows for improved CI/CD
2026-03-17 22:12:41 +01:00
Tomas Dvorak 272caf6bfe 🔧 Update GitHub Actions to latest versions
- Update actions/setup-node@v3 to @v4
- Update actions/setup-python@v2 to @v5
- Update actions/checkout@v3 to @v4
- Replace deprecated create-release/upload-release-asset with action-gh-release
- Eliminate deprecation warnings and improve reliability
2026-03-17 18:18:59 +01:00
Tomas Dvorak af366e3899 Rewrite README with clean, professional documentation
- Updated with comprehensive feature descriptions
- Added modern installation and setup instructions
- Included detailed project structure and architecture
- Added troubleshooting and development guidelines
- Standardized format across all repositories
- Removed unnecessary content and outdated information
2026-03-17 18:05:53 +01:00
Tomas Dvorak 4338dd1d9c Add comprehensive backend services and API enhancements
- Complete Spotify integration with downloader and settings
- Advanced UX features and audio quality management
- Enhanced search capabilities and mobile offline support
- Music catalog browser and recap features
- Universal downloader and upload functionality
- Update tracking system with database models and migrations
- Comprehensive service layer architecture
- Enhanced lyrics API and streaming capabilities
- Extended application builder and startup configuration
- New logging infrastructure and services directory
2026-03-17 17:56:20 +01:00
Mungai Njoroge 65a1268dab Add 'Martha Reeves and the Vandellas' to default artist split ignore list 2026-01-19 16:09:43 +03:00
Mungai Njoroge 52ce88d58d update default artist split ignore list 2026-01-19 16:06:39 +03:00
Mungai Njoroge 59c03ac99d add "Sonny & Cher" to default artist ignore list 2026-01-19 15:57:53 +03:00
wanji f5fe25323f disable macos 13 builds 2026-01-18 15:48:29 +03:00
wanji 9a915ca62a fix: directory traversal as reported by @d-virtuosa 2026-01-18 09:36:52 +03:00
Tikhon Petrishchev ea76cf5dc2 Fix: All scrobbles were applied to the Last.fm account associated with user ID 1 (#434) 2026-01-18 09:34:57 +03:00
Tikhon Petrishchev 7eb5c6bbc6 Fix: AttributeError 'Paths' has no attribute 'get_plugins_path' in lastfm plugin (#431) 2026-01-18 09:31:37 +03:00
Tikhon Petrishchev 10f6edeb68 Fix: list index out of range when trying to unset admin role (#432) 2026-01-18 09:30:23 +03:00
sanekb 4fa5c031e3 fix #440: move freeze_support to top of run.py to fix Windows crash (#450)
fix: call freeze_support immediately to fix Windows EXE crash
2026-01-18 08:54:00 +03:00
wanji 0664bb1790 add Yusuf / Cat Stevens to split ignore list 2026-01-03 13:42:57 +03:00
wanji 5f863a45a8 classify albums ending with "the album" as soundtracks 2026-01-02 21:52:25 +03:00
wanji 27a572bc9a update artist split ignore list 2026-01-02 11:16:23 +03:00
Mungai Njoroge 3e3e88a521 Add new artists to the split ignore list 2026-01-02 10:43:59 +03:00
Tikhon Petrishchev e9a4c1e11a merge #427 - fix: albums from 1970 using last modified date instead of album release date 2025-12-10 11:45:31 +03:00
orhtej2 84af418d15 merge #426 - downgrade binary build environment for Linux. fixes #422
Update build.yml
2025-12-10 11:36:42 +03:00
wanji 9122244880 download latest web client as fallback 2025-12-08 10:38:02 +03:00
wanji 32420f8dfe fix: importlib import bugs :sigh! 2025-12-08 00:31:53 +03:00
wanji 506c45c4fa fix client: download fallback to github release client
+ add fallback release version data to version.txt
+ move classproperty class to utils
+ update Dockerfile to install from source using pip install
+ move version info to Metadata class in settings.py
2025-12-07 23:19:34 +03:00
wanji d2b2ba6e02 fix: docker builds versionining 2025-12-03 19:16:34 +03:00
wanji aff8184983 fix: dockerfile 2025-12-03 19:03:48 +03:00
wanji 08292c8fb3 update image url on readme 2025-12-01 11:24:05 +03:00
wanji c51eb925b9 update version number on readme 2025-12-01 10:58:42 +03:00
wanji d7e2710d4a security: fix fetching an arbirtrary file from the host server on stream endpoint
+ fix path traversal
+ check if requested file is outside root dirs
+ confirm resolved track hash matches the requested trackhash
2025-12-01 10:41:29 +03:00
cwilvx 5d200fff30 add publishing to pip 2025-08-31 15:36:54 +03:00