aboutsummaryrefslogtreecommitdiff
path: root/app/views
Commit message (Collapse)AuthorAgeFilesLines
* Update links to the source codeMiquel Sabaté Solà2026-07-212-3/+3
| | | | Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* exports: sort by :target instead of :authorsMiquel Sabaté Solà2026-06-261-1/+1
| | | | | | | Sorting by :authors did not make any sense. Let's go for :target as that's pretty visible to the UOC exporter. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* exports: fix crash on the UOC viewMiquel Sabaté Solà2026-06-261-1/+1
| | | | | | | Apparently @results is no longer an ActiveRecord::Relation, but a mere Array which doesn't have the #order method. Let's use Array#sort_by. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Update email on the copyright noticeMiquel Sabaté Solà2026-02-041-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Add missing translation for plain textMiquel Sabaté Solà2026-01-261-1/+1
| | | | | | The exporter view was missing the "Plain text" translation. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* shared_searches: Remove underscores on authorsMiquel Sabaté Solà2025-08-091-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Re-order the top bar layoutMiquel Sabaté Solà2025-08-081-6/+7
| | | | | | | Move actions in a way that make more sense after some usage of this application. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add a missing translation on search bodyMiquel Sabaté Solà2025-08-081-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add subtitles to pagesMiquel Sabaté Solà2025-07-011-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* searches: Add rich text descriptionMiquel Sabaté Solà2025-07-012-30/+47
| | | | | | | This allows for adding rich content to searches so it can be displayed in shared searches, for example. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Show all searches at the top bar alwaysMiquel Sabaté Solà2025-07-011-2/+2
| | | | | | | | | | 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>
* Use the plain exporter for thing titlesMiquel Sabaté Solà2025-07-011-1/+3
| | | | | | | | Set the title for each thing a plain text export of it, so the user can easily check what exactly that row stands for, which is useful for things with similar/identical titles. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* lib: Introduce the PlainExporterMiquel Sabaté Solà2025-07-011-0/+1
| | | | | | | 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>
* Replace underscores with the proper HTML tagsMiquel Sabaté Solà2025-01-272-2/+2
| | | | | | | This was already handled correctly in the case of TeX and CSV, but the HTML rendering was still to be handled. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Allow searching from a given tagMiquel Sabaté Solà2024-11-112-3/+3
| | | | | | | 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>
* tags: added a way to update tagsMiquel Sabaté Solà2024-03-203-1/+11
| | | | | | | 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>
* Added favicon imagesMiquel Sabaté Solà2024-03-191-0/+6
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* thing: improved the UX on the formMiquel Sabaté Solà2024-03-191-23/+25
| | | | | | | | | | | | The "target" field is not autocompleted unless users explicitely change its value themselves. The autocompletion is built from the authors last name combo plus the year (which is rather naive, but effective for most cases). Moreover, some fields have been moved and the "access" field will only appear if "url" is set. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Polish the UI on shared_searches#showMiquel Sabaté Solà2024-03-171-2/+4
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* shared_searches: added missing translationsMiquel Sabaté Solà2024-03-161-6/+6
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* tags: ensure the order by nameMiquel Sabaté Solà2024-03-161-1/+1
| | | | | | | | Apparently `#find_each` disregards the order, and so previously ordering and then calling this method was actually for nothing. Thus, let's stick to just `#each`. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* things: provide a simple way to follow linksMiquel Sabaté Solà2024-03-151-3/+6
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Fixed search for tags with spacesMiquel Sabaté Solà2024-03-151-1/+1
| | | | | | | | | | 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>
* Added the 'autocapitalize' attributeMiquel Sabaté Solà2024-03-152-9/+9
| | | | | | | I did not bother with this attribute before, but it makes a lot of sense in some inputs. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Dropped redundant 'location' columnMiquel Sabaté Solà2024-03-141-5/+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>
* Do not hint at creating things on search actionMiquel Sabaté Solà2024-03-141-1/+1
| | | | | | In this page is actually a bit weird to find this kind of answer. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Be more careful with the orderMiquel Sabaté Solà2024-03-141-1/+1
| | | | | | | We usually want to show stuff ordered by name. Only `things` are the exception for this. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Sorting out <meta> attributesMiquel Sabaté Solà2024-03-141-1/+15
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Make the UI a bit more consistentMiquel Sabaté Solà2024-03-145-26/+42
| | | | | | | | - Titles have been unified by using the same HTML tag. - Centered views have been improved for big screens. - Added more views that are to be centered. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* exports: added missing translated stringMiquel Sabaté Solà2024-03-141-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Improved the layout on empty searches/thingsMiquel Sabaté Solà2024-03-141-2/+11
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Initial commitMiquel Sabaté Solà2024-03-1329-0/+504
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>