TagSpaces is an offline, open source, document manager with tagging support
Tagging files now possible with drag & drop
uggrockc85871074909
diff --git a/build.number b/build.numberindex b72e10a6c..5e5848874 100644--- a/build.number+++ b/build.number@@ -1,3 +1,3 @@#Build Number for ANT. Do not edit!-#Wed Feb 06 18:00:51 CET 2013-build.number=1225+#Wed Feb 13 02:31:08 CET 2013+build.number=1229diff --git a/data/css/tagspaces.less b/data/css/tagspaces.lessindex 46e3f1110..fca47620f 100644--- a/data/css/tagspaces.less+++ b/data/css/tagspaces.less@@ -155,6 +155,7 @@ li hr {color: white;margin: 1px;border-color: transparent;+ z-index: 9999;.arrowDownImage;.roundedTagCorners;}@@ -318,7 +319,7 @@ span.dynatree-icon {/*desaturate(@directoryColor, 30%) */.dirButtonActive {- background-color: red;+ background-color: #FFCC99;}#dirTree .dynatree-active {@@ -392,6 +393,8 @@ table.dataTable tr.odd {background-color: white;}+.activeRow { background: #FFCC99 !important; }+table.dataTable tr.ui-selecting { background: #FECA40 !important; }table.dataTable tr.ui-selected { background: #FECA40 !important; }diff --git a/data/js/tags.ui.js b/data/js/tags.ui.jsindex 49de0842b..e1cac90ca 100644--- a/data/js/tags.ui.js+++ b/data/js/tags.ui.js@@ -385,6 +385,12 @@ TagsUI.generateTagGroups = function() {title: "Opens context menu for "+TSSETTINGS.Settings["tagGroups"][i]["children"][j].title,text: TSSETTINGS.Settings["tagGroups"][i]["children"][j].title,})+ .draggable({+ cancel:false,+ appendTo: "body",+ helper: "clone",+ revert: true,+ }).click( function() {UIAPI.selectedTag = $(this).attr("tag");UIAPI.selectedTagData = TSSETTINGS.getTagData($(this).attr("tag"), $(this).attr("parentKey"));diff --git a/data/js/view.basic.js b/data/js/view.basic.jsindex 1d1f654e0..7e35051db 100644--- a/data/js/view.basic.js+++ b/data/js/view.basic.js@@ -211,7 +211,25 @@ exports.load = function load() {fileTable.fnSetColumnVis(3, true);fileTable.fnSetColumnVis(4, true);- fileTable.$('tr').dblclick( function() {+ fileTable.$('tr')+ .droppable({+ hoverClass: "activeRow",+ drop: function( event, ui ) {+ var tagName = ui.draggable.attr("tag");+ var targetFile = fileTable.fnGetData( this )[0];+ console.log("Tagging file: "+tagName+" to "+targetFile);++ exports.clearSelectedFiles();++ $(this).toggleClass("ui-selected");+ UIAPI.currentFilename = targetFile;+ UIAPI.selectedFiles.push(UIAPI.currentFilename);++ TSAPI.addTag(tagName);+ IOAPI.listDirectory(UIAPI.currentPath);+ }+ })+ .dblclick( function() {console.debug("Opening file...");var rowData = fileTable.fnGetData( this );@@ -224,10 +242,10 @@ exports.load = function load() {appendTo: "body",helper: "clone",revert: true,- start: function() {- selectFile(this, $(this).attr("title"));- }- })+ start: function() {+ selectFile(this, $(this).attr("title"));+ }+ }).click( function() {selectFile(this, $(this).attr("title"));} )diff --git a/data/manifest.json b/data/manifest.jsonindex 887854e60..1e231cd7b 100644--- a/data/manifest.json+++ b/data/manifest.json@@ -1,6 +1,6 @@{"name": "TagSpaces",- "version": "1.3.1223",+ "version": "1.3.1227","manifest_version": 2,"description": "TagSpaces Explorer","icons": {diff --git a/package.json b/package.jsonindex 71e56c28b..39af2c776 100644--- a/package.json+++ b/package.json@@ -2,7 +2,7 @@"name": "tagspaces","license": "AGPL 3.0","author": "Ugg Rock",- "version": "1.3.1223",+ "version": "1.3.1227","fullName": "TagSpaces","id": "jid1-FBaMKxTifTSahQ","description": "TagSpaces is a firefox addon, which allows you to browse your local file system and add tags to your files.",diff --git a/update.rdf b/update.rdfindex 9417e160c..c81590e9d 100644--- a/update.rdf+++ b/update.rdf@@ -7,13 +7,13 @@<r:Seq><r:li><r:Description>- <version>1.3.1223</version>+ <version>1.3.1227</version><targetApplication><r:Description><id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</id><minVersion>16.0</minVersion><maxVersion>*</maxVersion>- <updateLink>http://tagspaces.com/releases/1.3/tagspaces.1.3.1223.xpi</updateLink>+ <updateLink>http://tagspaces.com/releases/1.3/tagspaces.1.3.1227.xpi</updateLink><updateInfoURL>http://tagspaces.com/releases/1.3/updateInfo.xml</updateInfoURL></r:Description></targetApplication>