- 20 Nov, 2020 9 commits
-
-
Ryan Herbert authored
Pass a helper instance to SampleSetList instead of a set type
-
Ryan Herbert authored
-
Ryan Herbert authored
-
Ryan Herbert authored
-
Ryan Herbert authored
use auth.vidjil_accessible_query to include permissions
-
Ryan Herbert authored
the on query for anon permissions was causing a cross join with the auth_membership table, which made the file_count and file_size fields incorrect
-
Ryan Herbert authored
-
Ryan Herbert authored
-
Ryan Herbert authored
-
- 07 Apr, 2020 2 commits
-
-
Mikaël Salson authored
-
Mikaël Salson authored
Follows 8db87b52 to fix #4232. In sample_set_list_ we're dealing with sample sets, sets, and runs that may have different IDs than sample sets
-
- 12 Dec, 2019 1 commit
-
-
marc authored
can_modify_sampleset need to make a db request to find the subset type, we should use can_modify_subset if we already know the sampleset type to avoid that
-
- 05 Apr, 2018 1 commit
-
-
Mikaël Salson authored
It appeared that between the sample_set/all and sample_set/index controller there was a difference in how the permissions were checked. In the sample_set/index we used `auth.can_modify_sample_set` while in the sample_set/all controller we used `auth.can_modify`. This is probably due to how permissions are handled now (see #3077). Therefore I used the `can_modify_sample_set` function instead. Fixes #3138
-
- 21 Mar, 2018 1 commit
-
-
Ryan Herbert authored
There were some places where the patient/run/generic id was used (such as for permissions) but we want to migrate to full-on sample_set management, so we can display the sample_set id to users.
-
- 05 Oct, 2017 5 commits
-
-
Ryan Herbert authored
In order to keep things simple for the time being, searching and saving tags is now case insensitive. Example: registering #Tag when #tag already exists will will simply link the element to the existing #tag. Searching for #Tag will also return #tag. The downside to this is that auto_completion will always suggest what the first user registered as opposed to that which the user is trying to type. See #2671
-
Ryan Herbert authored
This feels pretty dirty, but it achieves a usage of tags which if coherent with the usage of the such bar, which is to search for elements containing all parts of the search. See #2620
-
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
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
-
- 01 Dec, 2016 1 commit
-
-
HERBERT Ryan authored
Due to a length check in the wrong place, the button for incrementing the page number was not appearing
-
- 29 Nov, 2016 5 commits
-
-
HERBERT Ryan authored
In order to be able to indicate whether another page is available, we query one more item than we would like to display. Therefore we need to filter out this last element.
-
HERBERT Ryan authored
-
HERBERT Ryan authored
Previously patient and run lists has filtering. Generic sample_sets now have filtering too.
-
HERBERT Ryan authored
Due to the amount of data being applied there was a considerable amount of overhead involved in creating an object for each row in the query. In order to attempt to preserve some of the generic code, the models have been converted to helper classes.
-
HERBERT Ryan authored
The sample_set/all route contained mainy queries which not only gave it a large amount of lines of code, but also made it difficult to test. These changes place the queries in a class which represents a list of sample sets. Each querie has been isolated in its own method and can therefore be called individually. This will open the path for more thorough testing of our controllers and also make them more maintainable and easier to understand.
-