Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix an issue with tag saving #2

Open
wants to merge 81 commits into
base: tags
Choose a base branch
from
Open

Conversation

tanius
Copy link

@tanius tanius commented Jan 5, 2015

A small "reverse pull request" to keep you updated :) Fixes that tags did not save except if they did not yet exist and were consequentially created on the fly. The relevant update is only commit af3e777 (the other commits do not hurt but are there just b/c Github seemingly does not allow pull requests made with git cherry-picking …).

tanius and others added 30 commits December 17, 2014 18:41
Track v1.2.x of annotatorjs
Merges branch 'node_based_annotations' of git://github.com/danohuiginn/openethnographer
…' of git://github.com/danohuiginn/openethnographer
…location)

Conflicts:
	drupal_annotation/annotation.install
…tent display". Merges branch 'danohuiginn-node_based_annotations'.

Conflicts:
	drupal_annotation/annotation.install
Fixes #4

I've also done some (manual) testing of things like commas, other punctuation,
cyrillic and chinese characters.

It would be good (but low-priority) to write a few proper tests for awkward tag contents.
tanius and others added 30 commits January 26, 2015 22:09
…butes to #12

Note that you have to re-install the Drupal annotation module to get the software to work after this change. Like: drush dis annotation && drush pm-uninstall annotation && drush en annotation
For this to work, you need to:

 - install and enable the taxonomy_display plugin
 - turn on taxonomy_display for the openethnographer vocabulary (/#overlay=admin/structure/taxonomy/openethnographer/edit)
 - set 'term display' to 'openethnographer term display' at admin/structure/taxonomy/openethnographer/display/full
 - on the same page, set 'associated content display' to 'hidden'

Fixes #22
Conflicts:
	drupal_annotator/annotator.module
Fixes #10

This just writes the links straight into the annotatorjs tags plugin.
There's possibly a better place to put this, but laziness.
To see the changes (e.g. in the taxonomy term pages / quotation manager), re-enable the annotato module.
All very hacky, needing to be torn down and replaced

Conflicts:
	drupal_annotation/annotation.store.inc
	drupal_annotator/annotator_view/categories.js
	drupal_annotator/annotator_view/css/style.css
	drupal_annotator/annotator_view/img/Compartido.png
	drupal_annotator/annotator_view/img/edit-icon.png
	drupal_annotator/annotator_view/img/icono_eliminar.png
	drupal_annotator/annotator_view/img/papelera_over.png
	drupal_annotator/annotator_view/img/shared-icon.png
	drupal_annotator/annotator_view/lib/jquery-i18n-master/.gitignore
	drupal_annotator/annotator_view/lib/jquery-i18n-master/Gruntfile.js
	drupal_annotator/annotator_view/lib/jquery-i18n-master/LICENSE
	drupal_annotator/annotator_view/lib/jquery-i18n-master/README.md
	drupal_annotator/annotator_view/lib/jquery-i18n-master/SpecRunner.html
	drupal_annotator/annotator_view/lib/jquery-i18n-master/bower.json
	drupal_annotator/annotator_view/lib/jquery-i18n-master/examples/index.html
	drupal_annotator/annotator_view/lib/jquery-i18n-master/examples/jquery-1.4.2.js
	drupal_annotator/annotator_view/lib/jquery-i18n-master/jquery.i18n.js
	drupal_annotator/annotator_view/lib/jquery-i18n-master/jquery.i18n.min.js
	drupal_annotator/annotator_view/lib/jquery-i18n-master/lib/jasmine-1.2.0/MIT.LICENSE
	drupal_annotator/annotator_view/lib/jquery-i18n-master/lib/jasmine-1.2.0/jasmine-html.js
	drupal_annotator/annotator_view/lib/jquery-i18n-master/lib/jasmine-1.2.0/jasmine.css
	drupal_annotator/annotator_view/lib/jquery-i18n-master/lib/jasmine-1.2.0/jasmine.js
	drupal_annotator/annotator_view/lib/jquery-i18n-master/package.json
	drupal_annotator/annotator_view/lib/jquery-i18n-master/specs/jquery.i18n.spec.js
	drupal_annotator/annotator_view/lib/jquery-i18n-master/src/jquery.i18n.js
	drupal_annotator/annotator_view/lib/jquery.dateFormat.js
	drupal_annotator/annotator_view/lib/jquery.slimscroll.js
	drupal_annotator/annotator_view/view_annotator.js
Just keep the code for adding in a sidebar
Based on that of Annotator: GNU GPL 3.0  or MIT.
Autocomplete shows all codes, regardless of author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants