Skip to content

Commit

Permalink
Merge pull request #1568 from rfcx/feature/2021-disable-web-uploader
Browse files Browse the repository at this point in the history
#2021 Remove web uploader page
  • Loading branch information
RatreeOchn authored Jun 24, 2024
2 parents 581379b + 7e81572 commit bd8162c
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 928 deletions.
1 change: 0 additions & 1 deletion app/model/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ exports.news = require('./news');
exports.playlists = require('./playlists');
exports.templates = require('./templates');
exports.soundscapes = require('./soundscapes');
exports.uploads = require('./uploads');
exports.orders = require('./orders');
exports.settings = require('./system-settings');
exports.classifications = require('./classifications');
Expand Down
1 change: 0 additions & 1 deletion app/routes/data-api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ var routes = [
'/orders',
'/jobs',
'/app-listings',
'/uploads'
];


Expand Down
1 change: 0 additions & 1 deletion app/routes/data-api/project/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,5 @@ router.use('/:projectUrl/tags', tagRoutes);
router.use('/:projectUrl/audio-event-detections', require('./audio-event-detections'));
router.use('/:projectUrl/soundscape-composition', require('./soundscape-composition'));
router.use('/:projectUrl/citizen-scientist', require('./citizen-scientist'));
router.use('/:projectUrl/uploads', require('./uploads'));

module.exports = router;
50 changes: 0 additions & 50 deletions app/routes/data-api/project/uploads.js

This file was deleted.

202 changes: 0 additions & 202 deletions app/routes/data-api/uploads.js

This file was deleted.

4 changes: 4 additions & 0 deletions app/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ router.get(['/project/:projectUrl', '/project/:projectUrl/dashboard'], function(
res.redirect(`/p/${req.params.projectUrl}`);
});

router.get(['/project/:projectUrl/audiodata/uploads'], function(req, res) {
res.redirect(`/p/${req.params.projectUrl}/import-recordings`);
});

router.get('/projects/:externalId', async (req, res) => {
try {
const project = await model.projects.find({external_id: req.params.externalId}).get(0);
Expand Down
74 changes: 0 additions & 74 deletions app/utils/upload-queue.js

This file was deleted.

1 change: 0 additions & 1 deletion assets/app/app/audiodata/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ angular.module('a2.audiodata', [
'a2.directive.audio-bar',
'a2.audiodata.sites',
'a2.audiodata.species',
'a2.audiodata.uploads',
'a2.audiodata.recordings',
'a2.audiodata.training-sets',
'a2.audiodata.playlists',
Expand Down
13 changes: 0 additions & 13 deletions assets/app/app/audiodata/uploads/index.js

This file was deleted.

Loading

0 comments on commit bd8162c

Please sign in to comment.