Browse Source

Show 2 security versions in api v2

merge-requests/18/merge
Matthieu Marcillaud 6 months ago
parent
commit
c77651a78e
  1. 1
      CHANGELOG
  2. 2
      modeles/supportedversions_spiploaderlist_2.html
  3. 2
      modeles/supportedversions_spiploaderlist_2_complement.html

1
CHANGELOG

@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- show 2 security versions in api v2
- 2 stable versions in API
## [0.7.0] - 2022-01-08

2
modeles/supportedversions_spiploaderlist_2.html

@ -13,7 +13,7 @@
#SET{list, #GET{list}|array_merge{#ARRAY{#VERSION, #GET{file}}}}
</BOUCLE_release_stable>
</BOUCLE_stable>
<BOUCLE_security(DATA){source table, #VAL{security}|SupportedVersions::getBranchesFromState}{par last_date_release}{inverse}{0,1}>
<BOUCLE_security(DATA){source table, #VAL{security}|SupportedVersions::getBranchesFromState}{par last_date_release}{inverse}{0,2}>
<BOUCLE_release_security(DATA){source table, #RELEASES}{version=#LAST_VERSION_RELEASE}>
<BOUCLE_download_security(DATA){source table, #DOWNLOAD}>
#SET{file, #URL|replace{https://files.spip.net/}}

2
modeles/supportedversions_spiploaderlist_2_complement.html

@ -12,7 +12,7 @@
#SET{php, #GET{php}|array_merge{#ARRAY{#VERSION|substr{0, 3}, #VERSION|SupportedVersions::getBranchValues|table_valeur{technologies/require/php}|array_shift|concat{.0}}}}
</BOUCLE_release_stable>
</BOUCLE_stable>
<BOUCLE_security(DATA){source table, #VAL{security}|SupportedVersions::getBranchesFromState}{par last_date_release}{inverse}{0,1}>
<BOUCLE_security(DATA){source table, #VAL{security}|SupportedVersions::getBranchesFromState}{par last_date_release}{inverse}{0,2}>
<BOUCLE_release_security(DATA){source table, #RELEASES}{version=#LAST_VERSION_RELEASE}>
#SET{php, #GET{php}|array_merge{#ARRAY{#VERSION|substr{0, 3}, #VERSION|SupportedVersions::getBranchValues|table_valeur{technologies/require/php}|array_shift|concat{.0}}}}
</BOUCLE_release_security>

Loading…
Cancel
Save