Commit Graph

103 Commits

Author SHA256 Message Date
Andrii Nikitin
2050dbe48f - Update to version 1.077:
* UI fix db sync timezone (#487)
  * tmpfiles: Let working and run directories be always created (#488)
  * Switch CI to 15.6 (#489)
  * Fix doubleslash in mirrors report (#490)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=108
2024-06-20 05:48:45 +00:00
Andrii Nikitin
aba21ae7d8 Remove exclamation mark from MirrorCache-tmpfilesd.conf
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=107
2024-05-21 15:26:22 +00:00
Andrii Nikitin
7452443d34 - Update to version 1.076:
* Fix duplicate values in x-media-version response header
  * ci: Temporarily disable systemd tests

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=106
2024-05-21 14:21:11 +00:00
Andrii Nikitin
9c79f06b0e - Update to version 1.075:
* Add url parameters for report/download
  * ui: User friendly status of DB sync for a directory
  * Add Etag and X-MEDIA-VERSION for folders
  * Add response header X-MEDIA-VERSION
  * Add Etag when rendering files
  * Prioritize scanning of projects
  * Make VPN_PREFIX a list
  * Add WorkingDir to the subtree.service
  * Add config for mojo tmpfiles
  * fix redirect for mirrorlist parameter for zsync files

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=105
2024-05-21 11:04:30 +00:00
Andrii Nikitin
748f0bc1fb - Update to version 1.074:
* Rework mirrors report generation
  * fix files mtime descrepancy when syncing over http
  * Fix metalink for small files
  * fix serving linked folders when dest changes

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=104
2024-04-04 10:35:40 +00:00
Andrii Nikitin
d044e19590 - Update to version 1.073:
* Track mirror propagation using time of job
  * Add project propagation details /app/server_rollout/:version
  * Do not show projects with negative priority
  * Show only relevant mirrors in /report/mirrors/:proj
  * fix .mirrorlist doesnt always work for repomd.xml
  * ui: add prio column to /app/project

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=103
2024-03-07 15:23:27 +00:00
Andrii Nikitin
dbaf6f6c38 - Update to version 1.072:
* ui: add /app/project/:id with propagation
  * Rework rollout to include subfolders in repo projects

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=102
2024-02-29 11:36:54 +00:00
Andrii Nikitin
9b317d6e9b - Update to version 1.071:
* Add rollout tracking for iso and repo projects (#451)
  * Allow redirects in MirrorFileCheck task (#450)
  * Add timeout for hashes import job (#449)
  * Adjust regex for folder mirrorlist (#449)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=101
2024-02-08 10:09:58 +00:00
Andrii Nikitin
af910c5fbd - Update to version 1.070:
* ui: Show health on mirror card (#439)
  * fix capabilities sometimes not shown in /report/mirrors (#438)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=100
2023-12-07 09:02:42 +00:00
Andrii Nikitin
f329540c83 - Update to version 1.069:
* t: Adjust location of environ/mc/db links (#437)
  * t: Make 09-stability-02 more robust (#437)
  * t: Bump MariaDB experimental version (#437)
  * t: Switch environ to package from github repo (#437)
  * Add generation time to /report/mirrors (#436)
  * Remove postgres replication support (#435)
  * fix: mirrors with capability declaraion might disappear in /rest/server (#434)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=99
2023-11-30 09:49:10 +00:00
Andrii Nikitin
b82584c6e7 - Update to version 1.068:
* Add diagnostic job for checking presence of a file on mirrors
  * Adjust switch Digest::Zsync to separate package
  * Update regexps to handle zchunk, zstd and sha512
  * Improve link detection in the same folder
  * Add a Vary Fastly-SSL

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=98
2023-11-16 16:57:49 +00:00
Andrii Nikitin
e414728667 - Update to version 1.067:
* fix handling combinations of metalink / zsync / mirrorlist / symlinks (#421)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=97
2023-10-26 07:58:17 +00:00
Andrii Nikitin
172a11b584 - Update to version 1.066:
* Centalized mirror management (#417)
  * Fix surepfluous .zsync in symlink redirect (#419)
  * t: Move container tests to from leap 15.4 to 15.5

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=96
2023-10-19 11:39:18 +00:00
Andrii Nikitin
e84e4462af - Update to version 1.065:
* ui: Use https when applicable on mirrors report (#411)
  * ui: Show country flag in mirror report (#411)
  * ui: Tweak mirrors report (#411)
  * ui: Remove tidy warnings from openSUSE branding (#411)
  * ui: Add mirror details page (#411)
  * Remove dark theme css code for Mirrors page (#408)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=95
2023-09-28 10:15:48 +00:00
Andrii Nikitin
6daf7439b5 - Update to version 1.064:
* Remove must-revalidate from cache-control (#407)
  * Add handling x-metalink-limit request header (#407)
  * Add handling x-country-code request header (#407)
  * Fix escaping in regexps (#406)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=94
2023-09-14 06:52:03 +00:00
Andrii Nikitin
be989f4476 - Update to version 1.063:
* Add cache-control options (#404)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=93
2023-08-31 07:38:01 +00:00
Andrii Nikitin
e5c20b9847 - Update to version 1.062:
* Add GEOIP config (#399)
  * Add url parameter LIMIT fir number of mirrors in metalink (#399)
  * Improve download report for multigroups (#398)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=92
2023-08-03 08:45:21 +00:00
Andrii Nikitin
f9cc0ee59c - Update to version 1.061:
* Add support of some parameters in ini file (#397)
  * Fix html mirror report (#394)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=91
2023-07-20 07:11:30 +00:00
Andrii Nikitin
b10906fdab - Update to version 1.060:
* Tolerate DB downtime (#392)
  * Cache mirror report in case if DB or subsidiary is down (#393)
  * Fix value of METALINK_GREEDY in meta4 (#389)
  * Honor links for MIRRORCACHE_REDIRECT (#390)
  * Rework and fix /rest/stat (#387)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=90
2023-06-15 06:48:41 +00:00
Andrii Nikitin
af7b5bf8e4 - Update to version 1.059:
* Consider links when redirecting to the root (#374)
  * Add backend for mirror-counries relation (#375)
  * Use optinally default conf file in subtree service (#379)
  * rework salt test to use formula (#378)
  * ci: Switch systemd tests to github actions (#379)
  * Switch to podman from docker in systemd tests (#379)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=89
2023-05-08 13:53:12 +00:00
Andrii Nikitin
81683b9d26 - Update to version 1.058:
* Add Vary header into http responses (#373)
  * Add experimental feature mirrorlist for folder (#372)
  * Fix redirect on remote MirrorCache (#372)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=88
2023-04-13 10:37:58 +00:00
Andrii Nikitin
c0e4e4b944 - Update to version 1.057:
* sql: Optimize lookup for server_project (#369)
  * Avoid deadlock in minion pubsub code (#371)
  * Avoid deadlock in cleanup job deleting from folder_diff (#371)
  * ci: Switch ci container from 15.3 to 15.4 (#370)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=87
2023-04-06 06:32:41 +00:00
Andrii Nikitin
ccfc0bb7d2 - Update to version 1.056:
* Improve symlink handling when remote root references another remote root (#353)
  * ui: add content-disposition inline to render_file (#355)
  * Don't send users to Bugzilla by @AdamMajer (#357)
  * Add leap 15.5 to project list (#358)
  * Add GNOME iso to Current pattern (#356)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=86
2023-02-09 09:46:38 +00:00
Andrii Nikitin
5993446f2f - Update to version 1.055:
* Handle redirects with RootRemote (#351)
  * Add sha512 to hash (#352)
  * Do not urlencode plus character (#352)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=85
2023-02-02 12:05:21 +00:00
Andrii Nikitin
f42dc62d81 - Update to version 1.054:
* Optimise sql for erasing folder_diff_server (#347)
  * Fix huge files rendered from REDIRECT_HUGE only for metalink (#348)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=84
2023-01-27 13:17:56 +00:00
Andrii Nikitin
4406b99e9b - Update to version 1.053:
* Add MIRROR_PROVIDER to share mirror list (#343)
  * Fix REDIRECT_HUGE with local files (#345)
  * ui: Dont encode colon character in file names (#346)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=83
2023-01-26 07:27:10 +00:00
Andrii Nikitin
81b821cf57 - Update to version 1.052:
* Detect redirects with remote root (#336)
  * Add json parsing to FolderSync task (#337)
  * Redirect Current.iso when no nfs mount (#339)
  * Improve sorting of files in JavaScript (#340)
  * Redirect huge files (#342)
  * Secure last_id for jobs monitoring stat (#341)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=82
2023-01-12 08:46:54 +00:00
Andrii Nikitin
d8e29cbcf4 - Update to version 1.051:
* Add P/GLOB and REGEX parameters to file listing  (#334)
  * ui: Move mirrorlist url to size/mtime column (#335)
  * Improve url escaping in ui and redirects (#335)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=81
2022-12-29 09:24:13 +00:00
Andrii Nikitin
6617741569 - Update to version 1.050:
* Show description of top level folders for openSUSE (#333)
  * Do not access DB in local render for / (#333)
  * Improve layout for small screen size (#333)
  * Implement realpath for remote root with nfs (#331)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=80
2022-12-22 10:17:30 +00:00
Andrii Nikitin
ce7dfbc06f - Update to version 1.049:
* Unify display of current path in /browse /download and .mirrorlist (#327)
  * Show only hostname in mirrorlist url (#329)
  * Set content-type for zsync (#328)
  * Discover folders using realpath (#330)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=79
2022-12-15 12:29:24 +00:00
Andrii Nikitin
4bbadae4f3 OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=78 2022-11-24 14:11:26 +00:00
Andrii Nikitin
d7bb82c30b Add temporary patch 0001-browse-metalink.patch
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=77
2022-11-24 13:58:03 +00:00
Andrii Nikitin
dfcd809ce2 - Update to version 1.048:
* Fix sorting by size in /report/download (#324)
  * Change page size in /report/download (#324)
  * Improve sorting in /browse (#324)
  * Fix map icon not shown properly in .mirrorlist (#324)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=76
2022-11-24 13:09:14 +00:00
Andrii Nikitin
c467f6b4d3 - Update to version 1.047:
* Add /browse route to navigate folders with ajax (#322)
  * Render TOP_FOLDER with /browse if browser (#322)
  * Add ajax table for the one dimension download reports (#318)
  * Cleanup stat older than STAT_KEEP_DAYS (8) (#319)
  * Fix db password from ini file wasnt taken in all places (#323)
  * Add option for enabling Mojo Status Plugin (#318)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=75
2022-11-24 10:24:51 +00:00
Andrii Nikitin
143e3f947a - Update to version 1.046:
* Correctly render mirrorlist in browser when file is unknown
  * Allow rendering .zsync files
  * Render selected mirrors with osm in .mirrorlist

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=74
2022-11-17 06:26:18 +00:00
Andrii Nikitin
7df6ec6f4f - Add temporary patch for default database name
* 0001-Default-db-name.patch

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=73
2022-11-11 10:54:30 +00:00
Andrii Nikitin
e309fc0538 - Update to version 1.045:
* Add basic support for config from ini file (#314)
  * Drop support for rsync in MIRRORCACHE_ROOT (#314)
  * Allow html tags in CUSTOM_FOOTER_MESSAGE (#314)
  * Fix os version in report generation on mariadb (#314)
  * Fix zsync file generation missing empty line after header (#314)
  * Fix download report including stats only from begin of hour (#315)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=72
2022-11-11 09:58:01 +00:00
Andrii Nikitin
2ece8c20bf - Update to version 1.044:
* Move minion stats to unauthenticated route (#313)
  * Fix occasional duplicate error in agg_download (#313)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=71
2022-10-27 13:19:56 +00:00
Andrii Nikitin
d2eae4b8e1 - Update to version 1.043:
* Add backend for download size reports (#309)
  * Add mirrors to zsync response (#312)
  * Prefer zsync over metalink responses (#312)
  * Avoid race condition when new files are discovered while mirrors are scanned (#311)
  * Fix generation of zsync hashes for big files (#310)
  * t: add manual test for local folder (#308)
  * Retry hashes import if a new file hasnt got any (#307)
  * Add trailing slash for top folders (#306) - bmwiedermann

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=70
2022-10-27 09:38:58 +00:00
1d127b6967 Mention removing patch in changelog
0001-Avoid-by-and-ru-mrrors-for-ua-requests.patch

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=69
2022-10-06 13:09:58 +00:00
Andrii Nikitin
d4b1171146 - Update to version 1.042:
* Add support for metalink4 format (#303)
  * Add url parameter IP to simulate geo experience (#304)
  * t: Fix CI after changes in async rendering in Mojo (#303)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=68
2022-09-29 09:48:37 +00:00
Andrii Nikitin
106649f62a - Update to version 1.041:
* Fix metalink missing 'verification' tag (#302)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=67
2022-09-27 11:45:59 +00:00
Andrii Nikitin
fb78b5d534 - Update to version 1.040:
* Add parameter METALINK_GREEDY (#300)
  * Optimization: assume package managers never want to render dir (#300)
  * Fix mirror picked despite disabled in server_project table (#301)
  * Avoid by and ru mirrors for ua requests (#298)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=66
2022-09-22 14:45:32 +00:00
d7730bd67a Revert autosetup change
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=65
2022-09-01 15:48:16 +00:00
5c3cdecea6 Update assets cache
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=64
2022-09-01 14:29:36 +00:00
5a19e0e52a Add temporary patch to avoid by and ru mirrors for ua requests
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=63
2022-09-01 14:12:03 +00:00
Andrii Nikitin
c58dc80107 - Update to version 1.039:
* Fix editing columns with underscore in /app (#297)
  * Fix mirror report links in header (#297)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=62
2022-08-26 13:21:03 +00:00
Andrii Nikitin
0693e331f6 - Update to version 1.038:
* Control order of projects in mirrors report (#294)
  * Include subsidiary url into region in /report/mirrors (#295)
  * Add mirror report links to header in openSUSE template (#296)
  * Add operator to mirrors report (#296)
  * Add column sponsor to server table (#296)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=61
2022-08-24 08:19:08 +00:00
Andrii Nikitin
f8c8f4090d - Update to version 1.037:
* Add configuration for redirect for projects (#293)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=60
2022-08-11 15:11:25 +00:00
Andrii Nikitin
9e9160797d - Update to version 1.036:
* Fix mirrors report when missing folders (#288)
 * Tweak systemd files (#291)
 * Rework mirrors report (#290)
 * Rescan if no country hit (#292)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=59
2022-08-05 12:17:04 +00:00