Skip to content

Commit

Permalink
Update version to 2.28.0; replace @SInCE x.x.x with new version.
Browse files Browse the repository at this point in the history
  • Loading branch information
robyngit committed Apr 15, 2024
1 parent f80e819 commit f18f339
Show file tree
Hide file tree
Showing 28 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ MetacatUI is an open source, community project. We [welcome contributions](http

Cite this software as:

> Matthew B. Jones, Chris Jones, Lauren Walker, Robyn Thiessen-Bock, Ben Leinfelder, Peter Slaughter, Bryce Mecum, Rushiraj Nenuji, Hesham Elbashandy, Val Hendrix. 2024. MetacatUI: A client-side web interface for DataONE data repositories (version 2.27.1). Arctic Data Center. [doi:10.18739/A25M6282K](https://doi.org/10.18739/A25M6282K)
> Matthew B. Jones, Chris Jones, Lauren Walker, Robyn Thiessen-Bock, Ben Leinfelder, Peter Slaughter, Bryce Mecum, Rushiraj Nenuji, Hesham Elbashandy, Val Hendrix. 2024. MetacatUI: A client-side web interface for DataONE data repositories (version 2.28.0). Arctic Data Center. [doi:10.18739/A25M6282K](https://doi.org/10.18739/A25M6282K)
## Screenshots

Expand Down
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
url: "/metacatui"
highlighter: "rouge"
version: "2.27.1"
version: "2.28.0"
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ MetacatUI is an open source, community project. We [welcome contributions](http

Cite this software as:

> Matthew B. Jones, Chris Jones, Lauren Walker, Robyn Thiessen-Bock, Ben Leinfelder, Peter Slaughter, Bryce Mecum, Rushiraj Nenuji, Hesham Elbashandy, Val Hendrix. 2024. MetacatUI: A client-side web interface for DataONE data repositories (version 2.27.1). Arctic Data Center. [doi:10.18739/A25M6282K](https://doi.org/10.18739/A25M6282K)
> Matthew B. Jones, Chris Jones, Lauren Walker, Robyn Thiessen-Bock, Ben Leinfelder, Peter Slaughter, Bryce Mecum, Rushiraj Nenuji, Hesham Elbashandy, Val Hendrix. 2024. MetacatUI: A client-side web interface for DataONE data repositories (version 2.28.0). Arctic Data Center. [doi:10.18739/A25M6282K](https://doi.org/10.18739/A25M6282K)
## Related Projects

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "metacatui",
"version": "2.27.1",
"version": "2.28.0",
"description": "MetacatUI: A client-side web interface for DataONE data repositories",
"main": "server.js",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

//Create the MetacatUI object
var MetacatUI = {};
MetacatUI.metacatUIVersion = "2.27.1";
MetacatUI.metacatUIVersion = "2.28.0";

//Catch errors when the config or loader file fails to load.
// These are mainly helpful for developers/operators installing MetacatUI
Expand Down
4 changes: 2 additions & 2 deletions src/js/collections/DataPackage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4055,7 +4055,7 @@ define([
* Returns atLocation information found in this resourceMap
* for all the PIDs in this resourceMap
* @returns object with PIDs as key and atLocation paths as values
* @since x.x.x
* @since 2.28.0
*/
getAtLocation: function () {
return this.atLocationObject;
Expand All @@ -4067,7 +4067,7 @@ define([
* @param {string} relativePath - The relative path to be converted to an absolute path.
* @returns {string} - The absolute path after processing '~', '..', and '.'.
* If the result is empty, returns '/'.
* @since x.x.x
* @since 2.28.0
*/
getAbsolutePath(relativePath) {
// Replace ~ with an empty space
Expand Down
2 changes: 1 addition & 1 deletion src/js/collections/maps/AssetCategories.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ define([
* @classcategory Collections/Maps
* @class AssetCategories
* @extends Backbone.Collection
// * @since x.x.x
* @since 2.28.0
* @constructor
*/
const AssetCategories = Backbone.Collection.extend(
Expand Down
2 changes: 1 addition & 1 deletion src/js/common/IconUtilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ define([
* MetacatUI to perform useful functions related to icons, but not used to store or
* manipulate any state about the application.
* @type {object}
* @since x.x.x
* @since 2.28.0
*/
const IconUtilities = /** @lends IconUtilities.prototype */ {

Expand Down
4 changes: 2 additions & 2 deletions src/js/models/AppModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,14 @@ define(['jquery', 'underscore', 'backbone'],
/**
* Set this option to true to display the filtering button for data package table
* @type {boolean}
* @since x.x.x
* @since 2.28.0
*/
dataPackageFiltering: false,

/**
* Set this option to true to display the sorting button for data package table
* @type {boolean}
* @since x.x.x
* @since 2.28.0
*/
dataPackageSorting: false,

Expand Down
6 changes: 3 additions & 3 deletions src/js/models/DataONEObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ define(['jquery', 'underscore', 'backbone', 'uuid', 'he', 'collections/AccessPol
/**
* Create the URL string that is used to download this package
* @returns PackageURL string for this DataONE Object
* @since x.x.x
* @since 2.28.0
*/
getPackageURL: function(){
var url = null;
Expand Down Expand Up @@ -1223,7 +1223,7 @@ define(['jquery', 'underscore', 'backbone', 'uuid', 'he', 'collections/AccessPol
/**
* Looks up human readable format of the DataONE Object
* @returns format String
* @since x.x.x
* @since 2.28.0
*/
getFormat: function(){
var formatMap = {
Expand Down Expand Up @@ -1862,7 +1862,7 @@ define(['jquery', 'underscore', 'backbone', 'uuid', 'he', 'collections/AccessPol
* This method will download this object while
* sending the user's auth token in the request.
* @returns None
* @since: x.x.x
* @since: 2.28.0
*/
downloadWithCredentials: function(){
//if(this.get("isPublic")) return;
Expand Down
4 changes: 2 additions & 2 deletions src/js/models/LookupModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ define(["jquery", "jqueryui", "underscore", "backbone"], function (
* to 1.
* @returns {Promise} A promise that resolves to an array of awards in the
* format {id: string, title: string}
* @since x.x.x
* @since 2.28.0
*/
findGrants: function (term, offset = 1) {
let awards = [];
Expand Down Expand Up @@ -464,7 +464,7 @@ define(["jquery", "jqueryui", "underscore", "backbone"], function (
* {id: string, title: string}
* @returns {Array} An array of awards in the format
* {value: string, label: string}
* @since x.x.x
* @since 2.28.0
*/
formatFundingForAutocomplete: function (awards) {
if (!awards || !awards.length) return [];
Expand Down
2 changes: 1 addition & 1 deletion src/js/models/geocoder/GeocodedLocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ define(
* geocoded to provide latitude and longitude bounding coordinates for
* navigating to on a map.
* @classcategory Models/Geocoder
* @since x.x.x
* @since 2.28.0
*/
const GeocodedLocation = Backbone.Model.extend({
/**
Expand Down
2 changes: 1 addition & 1 deletion src/js/models/geocoder/GeocoderSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ define(
* GeocoderSearch interfaces with various geocoding and location
* searching services.
* @classcategory Models/Geocoder
* @since x.x.x
* @since 2.28.0
*/
class GeocoderSearch {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/js/models/geocoder/GoogleMapsAutocompleter.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ define(
* Integrate with the Google Maps Places Autocomplete API using the
* Google Maps AutocompleteService JS library.
* @classcategory Models/Geocoder
* @since x.x.x
* @since 2.28.0
*/
class GoogleMapsAutocompleter {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/js/models/geocoder/GoogleMapsGeocoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ define(
* Integrate with the Google Maps Geocoder API using the Google
* Maps Geocoder JS library.
* @classcategory Models/Geocoder
* @since x.x.x
* @since 2.28.0
*/
class GoogleMapsGeocoder {
/** Google Maps service for interacting with the Geocoder API. */
Expand Down
2 changes: 1 addition & 1 deletion src/js/models/geocoder/Prediction.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ define(['backbone'], (Backbone) => {
* @classdes Prediction represents a value returned from a location
* autocompletion search.
* @classcategory Models/Geocoder
* @since x.x.x
* @since 2.28.0
*/
const Prediction = Backbone.Model.extend({
/**
Expand Down
2 changes: 1 addition & 1 deletion src/js/models/maps/AssetCategory.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ define([
* @class AssetCategory
* @name AssetCategory
* @extends Backbone.Model
// * @since x.x.x
* @since 2.28.0
* @constructor
*/
const AssetCategory = Backbone.Model.extend(
Expand Down
2 changes: 1 addition & 1 deletion src/js/models/maps/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ define([
* Select features on the map. Updates the selectedFeatures attribute on
* the MapInteraction model.
* @param {Feature[]} features - An array of Feature models to select.
* since x.x.x
* since 2.28.0
*/
selectFeatures: function (features) {
this.get("interactions")?.selectFeatures(features);
Expand Down
14 changes: 7 additions & 7 deletions src/js/views/DataPackageView.js
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ define([
/**
* Expand function to show hidden rows when a user clicks on an expand control.
* @param {Event} e - The event object.
* @since x.x.x
* @since 2.28.0
*/
expand: function(e) {
// Don't do anything...
Expand Down Expand Up @@ -674,7 +674,7 @@ define([
* Collapse function to hide rows when a user clicks on a collapse control.
* @param {Event} e - The event object.
*
* @since x.x.x
* @since 2.28.0
*/
collapse: function(e) {
// Don't do anything...
Expand All @@ -698,7 +698,7 @@ define([
* Expand all function to show all child rows when a user clicks on an expand-all control.
* @param {Event} e - The event object.
*
* @since x.x.x
* @since 2.28.0
*/
expandAll: function(e) {
// Don't do anything...
Expand Down Expand Up @@ -727,7 +727,7 @@ define([
* Collapse all function to hide all child rows when a user clicks on a collapse-all control.
* @param {Event} e - The event object.
*
* @since x.x.x
* @since 2.28.0
*/
collapseAll: function(e) {
// Don't do anything...
Expand Down Expand Up @@ -757,7 +757,7 @@ define([
/**
* Check for private members and disable download buttons if necessary.
*
* @since x.x.x
* @since 2.28.0
*/
checkForPrivateMembers: function() {
try {
Expand Down Expand Up @@ -806,7 +806,7 @@ define([
/**
* Retrieves and processes nested packages for the current package.
*
* @since x.x.x
* @since 2.28.0
*/
getNestedPackages: function() {
var nestedPackages = new Array();
Expand Down Expand Up @@ -838,7 +838,7 @@ define([
* Adds a nested data package to the package table.
*
* @param {Object} dataPackage - The data package to be added.
* @since x.x.x
* @since 2.28.0
*/
addNestedPackages: function(dataPackage) {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/js/views/maps/LayerCategoryItemView.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ define(
* @name LayerCategoryItemView
* @extends Backbone.View
* @screenshot views/maps/LayerCategoryItemView.png
// * @since x.x.x
* @since 2.28.0
* @constructs
*/
const LayerCategoryItemView = Backbone.View.extend(
Expand Down
2 changes: 1 addition & 1 deletion src/js/views/maps/LayerCategoryListView.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ define(
* @name LayerCategoryListView
* @screenshot views/maps/LayerCategoryListView.png
* @extends Backbone.View
// * @since x.x.x
* @since 2.28.0
* @constructs
*/
const LayerCategoryListView = Backbone.View.extend(
Expand Down
2 changes: 1 addition & 1 deletion src/js/views/maps/LayersPanelView.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ define([
* @name LayersPanelView
* @extends Backbone.View
* @screenshot views/maps/LayersPanelView.png
* @since x.x.x
* @since 2.28.0
* @constructs LayersPanelView
*/
const LayersPanelView = Backbone.View.extend({
Expand Down
2 changes: 1 addition & 1 deletion src/js/views/maps/SearchInputView.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ define([
* @classcategory Views/Maps
* @name SearchInputView
* @extends Backbone.View
* @since x.x.x
* @since 2.28.0
* @constructs SearchInputView
*/
const SearchInputView = Backbone.View.extend({
Expand Down
2 changes: 1 addition & 1 deletion src/js/views/maps/viewfinder/PredictionView.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ define(
* @name PredictionView
* @extends Backbone.View
* @screenshot views/maps/viewfinder/PredictionView.png
* @since x.x.x
* @since 2.28.0
* @constructs PredictionView
*/
const PredictionView = Backbone.View.extend({
Expand Down
2 changes: 1 addition & 1 deletion src/js/views/maps/viewfinder/PredictionsListView.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ define(
* @name PredictionsListView
* @extends Backbone.View
* @screenshot views/maps/viewfinder/PredictionsListView.png
* @since x.x.x
* @since 2.28.0
* @constructs PredictionsListView
*/
var PredictionsListView = Backbone.View.extend({
Expand Down
2 changes: 1 addition & 1 deletion src/js/views/maps/viewfinder/ViewfinderView.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ define(
* @name ViewfinderView
* @extends Backbone.View
* @screenshot views/maps/viewfinder/ViewfinderView.png
* @since x.x.x
* @since 2.28.0
* @constructs ViewfinderView
*/
var ViewfinderView = Backbone.View.extend({
Expand Down
2 changes: 1 addition & 1 deletion src/js/views/search/SearchResultsPagerView.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ define(["backbone"], function (Backbone) {
/**
* Navigates to the given page in the search results
* @param {number} page - The page number to navigate to (0-based)
* @since x.x.x
* @since 2.28.0
*/
goToPage: function (page) {
if (this.searchResults) {
Expand Down

0 comments on commit f18f339

Please sign in to comment.