- 05 Oct, 2017 40 commits
-
-
Ryan Herbert authored
-
Ryan Herbert authored
see #2624
-
Ryan Herbert authored
See #2621
-
Ryan Herbert authored
This one is aimed at the tag auto-completion system. Retrieves all group memberships for this user as well as their parent groups
-
Ryan Herbert authored
instead of passing auth as a parameter, it can be retrieved using current
-
Ryan Herbert authored
tags can now be queried and auto-completed by multiple group_ids. This is in order to better manage tag auto-completion for samples added to multiple groups as well as auto-completion for search bars
-
Ryan Herbert authored
See #2622
-
Ryan Herbert authored
Tag searching is now managed in the search box entirely. The contents is filtered and separated into tags and search strings in order to provide an easier way for users to manipulate tags and filter results in a seamless manner.
-
Ryan Herbert authored
adds the target-param value to the url to specify that name of the parameter that should be used in the url
-
Ryan Herbert authored
the object is to filter the search bar and and extract tags from searches
-
Ryan Herbert authored
in order to pass special characters in the URI such as tag prefixes, we need to encore the characters correctly. Otherwise the parameter simply gets ignored.
-
Ryan Herbert authored
In an attempt to make to more apparent that sample_sets have been filtered by tag, we now display the tag in the filter search bar in a way that will not impede any further searches performed by the user. See #2619
-
Ryan Herbert authored
It would seem some systems have a limit to the size a unique varchar can be. This issue was preventing the use of the application due to the databse rejecting the creation of the table.
-
Ryan Herbert authored
-
Ryan Herbert authored
refactores the url sanitisation to the TagDecorator, since we had a little code duplication
-
Ryan Herbert authored
renaming decorate_text to decorate slighlty reduces the length of lines while remaining sufficiently clear as to the purpose of the function, I believe.
-
Ryan Herbert authored
This is to give access to web2py HTML helpers for some refactoring
-
Ryan Herbert authored
only get the group_id if the description has changed. The group_id is only used by the tag registration in the route, so it makes sense to save a query if no tags are going to be registered.
-
Ryan Herbert authored
The decorated sample tags were implemented to redirect to '/sample_set/custom' while passing the tag as a parameter, so now this parameter will be taken into account and only display samples that have said tag
-
Ryan Herbert authored
-
Ryan Herbert authored
-
Ryan Herbert authored
-
Ryan Herbert authored
-
Ryan Herbert authored
-
Ryan Herbert authored
Although the jquery plugin autocomplete.js was providing the basic functionnality we needed, it was not natively able to display the list of suggestions in the desired position for our textareas. At.js is capable through the use of Caret.js of displaying a suggestion box under the caret in a textarea. This javascript code is heavily inspired by the code present in the gitlab-ce project and allows us to have a nicely cached data-set to limit database queries.
-
Ryan Herbert authored
The group_id had previously been committed as a hard-coded value, thus locking the completion to a single group. Obviously we want completion to work for everyone, so this will achieve our goal.
-
Ryan Herbert authored
autocomplete.js contains a binding function to bind the autocomplete library to a DOM element. The views then call this function when they are focused
-
Ryan Herbert authored
This is the proper way of removing the tag prefix from the query
-
Ryan Herbert authored
-
Ryan Herbert authored
-
Ryan Herbert authored
-
Ryan Herbert authored
takes a tag name and a group id and returns a list of tags in json format
-
Ryan Herbert authored
-
Ryan Herbert authored
register the tags used by a group when registering tags to records
-
Ryan Herbert authored
Returns the group associated to the sample set (separate from the VidjilAuth method get_access_groups since this doesn't check membership)
-
Ryan Herbert authored
The object of the table is to track which tags have been used in association with a particular group.
-
Ryan Herbert authored
The tag filtering was defaulting to generic sample_sets due to the lack of sample type specification in the db.call
-
Ryan Herbert authored
-
Ryan Herbert authored
creates a link that actually functions within the vidjil app by creating a callback which is triggered when clicking on a tag url.
-
Ryan Herbert authored
-