Commit Graph

68 Commits

Author SHA1 Message Date
drigato 9cfdb04c89 Logging statements 2014-05-08 10:57:35 -04:00
drigato 8ea8226299 Removed some logging statements 2014-05-08 10:55:47 -04:00
drigato f5e7c7e796 Logging statements 2014-05-08 10:51:55 -04:00
drigato 4c0d3a9d04 More logging statements for debugging 2014-05-08 10:50:49 -04:00
drigato 82ef08ad1e Logging statements 2014-05-08 10:45:22 -04:00
drigato 83d9ec413d Commenting out where we delete empty sub folders inside organize folder 2014-05-07 13:58:39 -04:00
Albert Santoni 250d5d083e Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-05-02 16:06:15 -04:00
drigato 721e4e1a4a CC-5806: Airtime Analyzer: Please implement "remove all files" 2014-05-01 10:58:51 -04:00
drigato cb20c30723 CC-5806: Airtime Analyzer: Please implement "remove all files"
saas-specific changes for updating disk_usage
2014-04-29 16:08:03 -04:00
drigato b0a711d918 Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-29 16:06:43 -04:00
drigato a5eb5e9901 CC-5806: Airtime Analyzer: Please implement "remove all files" 2014-04-29 16:06:25 -04:00
drigato 88b6b28c62 Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-29 11:09:55 -04:00
drigato 04da9b3d61 CC-5821: Airtime Analyzer: Ftp-uploaded folder doesn't get removed from organize
Imported file path had album name twice - fixed
2014-04-29 11:09:31 -04:00
drigato f0fdf85524 Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-29 10:35:58 -04:00
drigato 94375ee441 CC-5821: Airtime Analyzer: Ftp-uploaded folder doesn't get removed from organize
Cleaner way of removing empty sub folders after ftp uploads
2014-04-29 10:35:39 -04:00
drigato 6adb7c53ae Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-29 10:05:35 -04:00
drigato 6f1dd7987f CC-5821: Airtime Analyzer: Ftp-uploaded folder doesn't get removed from organize 2014-04-29 10:05:17 -04:00
drigato c3c5720dac Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-28 16:25:13 -04:00
drigato 79687499aa Logging statement. To remove later. 2014-04-28 16:24:59 -04:00
drigato 48742abd6b Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-28 16:20:44 -04:00
drigato f428a2d960 CC-5821: Airtime Analyzer: Ftp-uploaded folder doesn't get removed from organize
Delete the empty folder after files have been copied into imported
2014-04-28 16:20:26 -04:00
drigato 9a0abb29b3 Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-28 15:52:49 -04:00
drigato c586e3e2b8 CC-5821: Airtime Analyzer: Ftp-uploaded folder doesn't get removed from organize
Was using wrong position when using substr()
2014-04-28 15:52:08 -04:00
drigato 0c0c65f69b Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas
Conflicts:
	airtime_mvc/application/modules/rest/controllers/MediaController.php
2014-04-28 14:46:03 -04:00
drigato fae5b15a9f CC-5821: Airtime Analyzer: Ftp-uploaded folder doesn't get removed from organize
$_FILES does not store the original file path so we were losing the folder name.
Fixed by explicitly passing the full filepath in via the ftp-upload-hook.sh script
2014-04-28 14:44:52 -04:00
drigato 5045d3ab7c Remove logging statements 2014-04-16 12:11:46 -04:00
drigato 51af3ba36e Undo-ing imported filepath change 2014-04-16 11:56:14 -04:00
drigato 368be9002e Changing imported path for ftp script 2014-04-16 11:54:20 -04:00
drigato a4b1db91b1 Logging for ftp 2014-04-16 11:41:29 -04:00
drigato 9cea1f079b Logging for ftp script 2014-04-16 11:31:42 -04:00
drigato 0c2092b33f Logging for ftp script 2014-04-16 11:04:46 -04:00
drigato cf13952b45 Logging messages for debugging the ftp script 2014-04-16 11:01:02 -04:00
drigato acf91bc627 CC-5786: Quota Enforcement in the File Upload API
Small refactor
2014-04-14 12:13:48 -04:00
drigato 63e2eda64b CC-5786: Quota Enforcement in the File Upload API
Tweaked this so it will work on self-hosted instances
2014-04-14 12:09:15 -04:00
drigato 4add0f0b7b CC-5786: Quota Enforcement in the File Upload API 2014-04-14 11:24:39 -04:00
Albert Santoni 1e62908e66 CC-5709: Airtime Analyzer
* Bounce files with file extensions we don't support in MediaController
* Added translation stuff for Recent Uploads
2014-04-09 11:28:41 -04:00
Albert Santoni cf492045cc CC-5709: Airtime Analyzer
* A bunch of cleanup and fix for metadata extraction on files mutagen can't read
2014-04-04 12:35:50 -04:00
Albert Santoni 95b369c54d CC-5709: Airtime Analyzer
* Remove awful StoredFile::uploadFile() function
* Massive airtime_analyzer commenting and cleanup
* Cleaned up the upload code
* Temporarily disabled the liquidsoap playability test.
2014-04-03 16:13:26 -04:00
drigato 2ca911616f Setting hidden flag to true on post request 2014-04-03 10:12:20 -04:00
drigato 3c5b7b5853 CC-5733: RESTful API data sanitization and validation
small fix - was setting the hidden flag twice
2014-04-02 11:33:47 -04:00
drigato 5ddbb4ddd1 CC-5733: RESTful API data sanitization and validation
Validate field types on post/put requests using the EditAudioMD form
2014-04-02 11:22:56 -04:00
drigato 9eda78f8f9 CC-5733: RESTful API data sanitization and validation
Added more fields to the black list
Using the "Edit Metadata" form for field validation on put requests
2014-03-31 17:57:32 -04:00
Albert Santoni db2b52a1bf CC-5709: Airtime Analyzer
* Some cleanup and refactoring for file deletion in the Media REST API
* Fix the refresh timer on the Add Media page when there's pending
  imports.
2014-03-24 17:14:04 -04:00
Albert Santoni 6952902b22 CC-5709: Airtime Analyzer
* Unbreak stuff
2014-03-24 16:05:53 -04:00
Albert Santoni 61c2c90b7e CC-5709: Airtime Analyzer
* Remove the "hidden" field from the REST blacklist, the analyzer needs to set it.
* Added import_status column messages in the recent uploads table
* Auto-refresh the recent uploads table while imports are pending
* Moved the file moving stuff to its own analyzer in airtime_analyzer
* Basic error reporting to the REST API in airtime_analyzer, needs
  hardeneing though
* Fixed a bug with the number of recent uploads
* Prevent airtime_analyzer from running if media_monitor is running
2014-03-22 02:12:03 -04:00
Albert Santoni 8f7ecafcf6 CC-5709: Airtime Analyzer
* A bunch of changes that somehow didn't make it into my last commit...
* confused
2014-03-21 14:03:17 -04:00
Albert Santoni f120caa093 Merge branch 'cc-5709-airtime-analyzer' of github.com:sourcefabric/Airtime into cc-5709-airtime-analyzer 2014-03-21 13:26:47 -04:00
Albert Santoni 878dd11ccc CC-5709: Airtime Analyzer
* Overhauled Add Media screen, now shows state of recent uploads
* Dropped old unused "state" column, added new file_import column to cc_files
* New PluploadController methods
* Save the filename as the track title for unprocessed uploads
* Hide pending files from the library until they've been processed.
* Don't overwrite files with duplicate names, we rename them instead.
2014-03-21 13:22:00 -04:00
drigato 7800cb1e15 SAAS-382: Reimplement Storage Quota
Storing disk usage in cc_pref
Add/subtract filesize to/from disk usage total when a file is uploaded or deleted
TODO: Hook this into the ftp server
2014-03-21 09:50:03 -04:00
drigato 2b696dbee5 CC-5741: Create a download action for the File API 2014-03-18 13:04:06 -04:00