aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* search: Discard comments when filtering via 'kind'Miquel Sabaté Solà2025-09-101-0/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* search: Only show the 'Save' link upon changeMiquel Sabaté Solà2025-09-101-0/+3
| | | | | | | | The previous behavior of just toggling between 'hidden' classes was just too naive, we need to check that the value has changed from the initial one in order to show that to the user. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* search: Add a 'kind' parameterMiquel Sabaté Solà2025-09-101-0/+14
| | | | | | | This way you can also filter by the kind of resource you want to be given on the searches page. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Re-order the top bar layoutMiquel Sabaté Solà2025-08-082-6/+2
| | | | | | | Move actions in a way that make more sense after some usage of this application. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Force english locale for testsMiquel Sabaté Solà2025-07-013-8/+8
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Show all searches at the top bar alwaysMiquel Sabaté Solà2025-07-011-0/+11
| | | | | | | | | | Since 8d954606eaf3 ("Do not allow to show non-shared searches"), we were only showing saved searches, but that collided with the @searches on the top bar. This went unnoticed until now, in which the top bar will always display all searches, while the shared searches content will only display the shared ones. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* lib: Introduce the PlainExporterMiquel Sabaté Solà2025-07-012-0/+19
| | | | | | | This class exports things into plain text. It follows a close format to that of the one for UOC, but without any formatting. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Allow searching from a given tagMiquel Sabaté Solà2024-11-111-3/+10
| | | | | | | This feature is useful if you want to have a quick search on how many resources apply for a single tag. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Upgraded to rails 7.2Miquel Sabaté Solà2024-08-101-1/+10
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Fix rubocop complainMiquel Sabaté Solà2024-07-221-2/+4
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Do not allow to show non-shared searchesMiquel Sabaté Solà2024-07-221-0/+16
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Upgraded to ruby 3.2.2 and updated gemsMiquel Sabaté Solà2024-06-061-0/+1
| | | | | | | Gem updates correspond to a rails patch-level upgrade to fix a vulnerability issue. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* tags: attempt to modify searches on tag renameMiquel Sabaté Solà2024-03-203-2/+24
| | | | | | | | | | | We don't want to break existing searches upon renaming a tag, since most of searches will be based on tag names. NOTE: if the UI of searches is improved, maybe the `tags:""` clause can contain tag ids instead of names, and hence we won't need all this dance afterwards. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* tags: added a way to update tagsMiquel Sabaté Solà2024-03-201-1/+28
| | | | | | | It's useful to just rename tags which have quite some references that you don't want to nuke. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Handle special characters in "target" completionMiquel Sabaté Solà2024-03-201-3/+25
| | | | | | | Hyphens should be suppressed and underscores are to be taken as pairs which contain the real value to be picked. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* csv: don't export underscores on "authors"Miquel Sabaté Solà2024-03-201-0/+3
| | | | | | It does not make sense on this context. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Support underscore in the exporters on titlesMiquel Sabaté Solà2024-03-202-0/+27
| | | | | | | Underscores on titles are meant to be replaced by something else on each exporter (e.g. removed on CSV, or surrounded by \emph on UOC). Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* things: added missing tests for the js controllerMiquel Sabaté Solà2024-03-191-0/+46
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* thing: removed unique index on titleMiquel Sabaté Solà2024-03-182-13/+7
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Ensure that the last search is honoredMiquel Sabaté Solà2024-03-151-0/+13
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Fixed search for tags with spacesMiquel Sabaté Solà2024-03-152-3/+3
| | | | | | | | | | We should not split the body mindlessly, but we have to be more careful about it. Moreover, this commit also polishes the order for tags inside of comments. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Dropped redundant 'location' columnMiquel Sabaté Solà2024-03-141-2/+0
| | | | | | | Looks like I messed up later on and kept two columns which were basically referring to the same thing. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Added rubocop-minitestMiquel Sabaté Solà2024-03-1412-84/+103
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Initial commitMiquel Sabaté Solà2024-03-1324-0/+864
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>