Multi-platform: support multiple files per version #201

Merged
Oleg-Komarov merged 43 commits from multi-os into main 2024-07-09 16:27:46 +02:00

43 Commits

Author SHA1 Message Date
0a90c3dcdb rename single_file -> has_single_file 2024-07-09 15:33:21 +02:00
ba8998f9e3 Merge branch 'main' into multi-os 2024-07-09 15:15:57 +02:00
31b330ace7 clenaup: forgotten if-else branch that never happens 2024-07-09 14:04:31 +02:00
a3fa031d85 Merge branch 'main' into multi-os 2024-07-09 13:53:23 +02:00
50a9ec7be5 Feat: Add support for multiple install-with-drag-and-drop buttons
Add drag and drop install buttons support for extensions with multiple
explicit platform versions.
Part of #194, #201
2024-07-09 13:13:24 +02:00
0d9fea120c UI: Improve style btn-install-action-item display for multiple platforms
Improve how install action item buttons are display when extension variants
are available for multiple platforms.
Part of #194, #201
2024-07-09 12:36:53 +02:00
f0837804d3 UI: Improve template detail sizes display for multiple platforms
Part of #194, #201
2024-07-09 12:15:09 +02:00
2d11c02c3a UI: Improve template component platforms support display
Part of #194, #201
2024-07-08 19:28:24 +02:00
d55c3c9115 new pattern for download url: include file hash 2024-07-08 18:40:17 +02:00
49b763d0b8 add a test for archive_url uniqueness 2024-07-08 17:15:25 +02:00
67c3565d3a Merge branch 'main' into multi-os 2024-07-08 16:15:16 +02:00
a1ebb51a2a cleanup 2024-07-08 16:06:20 +02:00
84fc9b30a4 API: return multiple files per Version if no platform filter is specified 2024-07-08 14:43:53 +02:00
666e2b0fb8 more tests for version platforms validation 2024-07-08 14:16:51 +02:00
1684ca01f4 handle additional file uploads in NewVersionView
remove a separate view for uploading a file for an existing version
2024-07-08 13:42:31 +02:00
c336009d5b fix typo 2024-07-08 13:41:01 +02:00
ab6e7eedb7 Merge branch 'main' into multi-os 2024-07-08 12:23:05 +02:00
050ba772d7 use file's platform values for the download url 2024-07-05 18:53:55 +02:00
49e0cb0fe5 a stricter add_file check 2024-07-05 18:41:37 +02:00
b922118d93 forgotten get_platforms rename in templates 2024-07-05 18:37:20 +02:00
8af96c48c0 Version.get_file_for_platform 2024-07-05 17:40:02 +02:00
77dc2096de file.platforms() renamed to file.get_platforms() 2024-07-05 15:55:02 +02:00
3440c21548 fix matching logic in api 2024-07-05 15:46:43 +02:00
8b376825c8 refactor download name 2024-07-05 15:27:59 +02:00
3144d0c594 rename get_available_platforms to get_remaining_platforms 2024-07-05 15:18:52 +02:00
66387f9af0 Merge branch 'main' into multi-os 2024-07-05 11:28:46 +02:00
19e7e11347 get_build_list for author and reviewers 2024-07-05 11:20:54 +02:00
a3bcd42114 previous commit was a bad idea: keep urls at version level for now 2024-07-05 10:43:48 +02:00
d5ac9826b6 download info for files, not versions 2024-07-04 21:42:47 +02:00
a0f0c61825 url for version-platform-download 2024-07-04 19:26:30 +02:00
9f8a984bc1 collect permissions from all files, just in case 2024-07-04 18:54:04 +02:00
acca5d5404 a temporary solution for file size display 2024-07-04 18:32:15 +02:00
d88f0422ea fix prefetches 2024-07-04 18:07:20 +02:00
486336c960 a hacky fix of deleting a version with multiple files 2024-07-04 17:30:57 +02:00
d5866620df test for multi-platform upload via website 2024-07-04 17:10:20 +02:00
06c939defb upload multi-os files via api 2024-07-04 16:00:06 +02:00
ef122d6427 version.add_file and update_platforms 2024-07-04 15:03:06 +02:00
addb5c2127 cleanup version.file property 2024-07-04 12:32:46 +02:00
3dd57566ff fix multi-file version deletion 2024-07-02 17:28:56 +02:00
c948ca1e20 better error handling 2024-07-02 16:19:18 +02:00
e680ac610f update api endpoint 2024-07-02 15:59:52 +02:00
3bf3d9678b UploadVersionFileView to upload more files per version 2024-07-02 14:20:06 +02:00
e791dfb61d can_upload_more_files property 2024-07-01 18:40:10 +02:00