Commit Graph

99 Commits

Author SHA256 Message Date
Dominique Leuenberger
d158499f7d Accepting request 1059502 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1059502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=23
2023-01-19 15:44:11 +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
Dominique Leuenberger
5b99aeb4e1 Accepting request 1056161 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1056161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=22
2023-01-05 14:01:37 +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
Dominique Leuenberger
5f5c18b4f3 Accepting request 1037833 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1037833
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=21
2022-11-24 11:25:37 +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
Dominique Leuenberger
320e98258f Accepting request 1033079 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1033079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=20
2022-11-03 18:15:09 +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
Richard Brown
308dbcb064 Accepting request 1008401 from openSUSE:infrastructure:MirrorCache
Update to version 1.042

OBS-URL: https://build.opensuse.org/request/show/1008401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=19
2022-10-07 23:23:49 +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
Dominique Leuenberger
f8cf95db8d Accepting request 1002168 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1002168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=18
2022-09-09 16:27:42 +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
Dominique Leuenberger
ce56a94e73 Accepting request 998020 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/998020
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=17
2022-08-19 15:56:13 +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
Dominique Leuenberger
4deba2e745 Accepting request 985974 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/985974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=16
2022-06-30 11:18:31 +00:00
Andrii Nikitin
5b41eed05f - Update to version 1.035:
* Add project checkboxes to mirror report (#280)
  * Collect report from subsidiaries (#282)
  * Fix incorrect path in metalink for origin file (#281)
  * Add config CUSTOM_FOOTER_MESSAGE (#283)
  * CircleCI: ignore gh-pages branch (#279)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=58
2022-06-23 05:00:10 +00:00
Dominique Leuenberger
766d53255a Accepting request 982588 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/982588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=15
2022-06-14 22:33:09 +00:00
Andrii Nikitin
42fa8b9b1f - Update to version 1.034:
* Provide torrent (#278)
  * Add report for projects on mirrors (#276)
  * Fix render when metalink is optional (#277)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=57
2022-06-07 09:09:07 +00:00
Dominique Leuenberger
144ab2e055 Accepting request 979295 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/979295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=14
2022-05-26 16:44:03 +00:00
Andrii Nikitin
cb2eabf31f - Update to version 1.033:
* Add various patterns for files for which mirrors shouldnt be used (#275)
  * Fix regexp in latest_misses sql so *-primary.xml wasnt requesting scans (#275)
  * Add MyMirrors menu to openSUSE branding (#275)
  * Introduce MIRRORCACHE_VPN variable which has higher priority thant MIRRORCACHE_VPN_PREFIX (#275)
  * Allow regular users add and manage own mirrors (#274)
  * Add parameter MIRRORCACHE_MAX_PATH (#274)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=56
2022-05-19 07:18:25 +00:00
Dominique Leuenberger
99fcb70fec Accepting request 976498 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/976498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=13
2022-05-12 21:00:40 +00:00
Andrii Nikitin
b3e0bceb50 - Update to version 1.032:
* Set MIME type when rendering files (#273)
  * Optimize main sql query so it doesnt create tmp disk tables in mariadb (#272)
  * Force sql plan in job mirror_check_from_stat for mariadb (#272)
  * Add shared guard to schedule jobs to avoid deadlocks in DB (#272)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=55
2022-05-12 07:33:36 +00:00
Andrii Nikitin
63c68bc0d7 - Update to version 1.031:
* Do not search mirrors for small files with local root (#271)
  * Improve detection of https behind proxy (#271)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=54
2022-05-05 02:00:13 +00:00
Andrii Nikitin
bcf25a21a8 - Update to version 1.030:
* Local publisher origin in metalink (#267)
  * Ignore work requested by rclone (#268)
  * Use random mirror for unknown countries (#269)
  * Collect statistics for bot activity (#270)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=53
2022-04-28 04:56:09 +00:00
Andrii Nikitin
6ce3695411 Add missing dependency on perl-DateTime-HiRes
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=52
2022-04-21 02:09:32 +00:00
Andrii Nikitin
e79c1b3ff6 - Update to version 1.029:
* Add support for MariaDB (#265)
  * Fix occasional SQL error when mirrorlist for unknown country (#264)
  * Fix scheduling folder scan if were not accessed for more than month (#263)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=51
2022-04-21 01:44:36 +00:00
Dominique Leuenberger
37af2b8e44 Accepting request 967358 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/967358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=12
2022-04-06 19:52:19 +00:00
Andrii Nikitin
855d54f6bc - Update to version 1.028:
* Introduce in-application load balancing read queries to DB replica (#262)
  * Fix bigint DB error when inserting hash for big files (#262)
  * Move initialization code from before_server_start to execute earlier (#262)
  * t: Fix unstable test 03-headquarter-subsidiaries-weight1 by correcting expected values (#262)
  * spec: Fix renamed README in the spec file (#262)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=50
2022-03-30 15:16:47 +00:00
Dominique Leuenberger
4b5a67d168 Accepting request 964343 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/964343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=11
2022-03-23 19:19:25 +00:00
Dominique Leuenberger
d3f4e78010 Accepting request 962181 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/962181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=10
2022-03-16 19:21:33 +00:00
Andrii Nikitin
159079aaeb - Update to version 1.027:
* Fix auto-disabled mirrors may be still used for redirection (#261)
  * Increase logging level for timeouts in PEDANTIC mode (#261)
  * Serve CentOS repodata from root only (#261)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=49
2022-03-16 16:44:42 +00:00
Andrii Nikitin
929dc64401 - Update to version 1.026:
* Fix message for unknown folder render timeout (#260)
  * Support single-country subsidiaries (#259)
  * Add table server_stability (#258)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=48
2022-03-09 12:44:57 +00:00
Dominique Leuenberger
a65596e329 Accepting request 955618 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/955618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=9
2022-02-17 22:40:24 +00:00