mirror of https://github.com/CIRCL/AIL-framework
				
				
				
			fix: [paste submit] update broken endpoint + get item date
							parent
							
								
									3207949c5f
								
							
						
					
					
						commit
						3e6fbc8f79
					
				|  | @ -96,6 +96,10 @@ def remove_submit_uuid(uuid): | |||
|     r_serv_db.srem('submitted:uuid', uuid) | ||||
|     print('{} all file submitted'.format(uuid)) | ||||
| 
 | ||||
| def get_item_date(item_filename): | ||||
|     l_directory = item_filename.split('/') | ||||
|     return '{}{}{}'.format(l_directory[-4], l_directory[-3], l_directory[-2]) | ||||
| 
 | ||||
| def add_item_tag(tag, item_path): | ||||
|     item_date = int(get_item_date(item_path)) | ||||
| 
 | ||||
|  |  | |||
|  | @ -188,7 +188,7 @@ | |||
| 							<span class="label-icon">ERROR </span> | ||||
| 							<i class="fa fa-times"></i> | ||||
| 						</button> | ||||
| 						<a class="btn btn-tags pull-left hidden" href="{{ url_for('Tags.get_tagged_paste') }}?ltags=infoleak:submission="manual"" target="_blank" id="submit_result"> | ||||
| 						<a class="btn btn-tags pull-left hidden" href="{{ url_for('Tags.Tags_page') }}?ltags=infoleak:submission="manual"" target="_blank" id="submit_result"> | ||||
| 								<span class="label-icon">Submitted Pastes </span> | ||||
| 								<i class="fa fa-paper-plane fa-2x"></i> | ||||
| 						</a> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Terrtia
						Terrtia