aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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>