aboutsummaryrefslogtreecommitdiff
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* search: Discard comments when filtering via 'kind'Miquel Sabaté Solà2025-09-101-7/+11
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* search: Only show the 'Save' link upon changeMiquel Sabaté Solà2025-09-101-1/+10
| | | | | | | | 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-4/+22
| | | | | | | 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>
* 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>
* Upgrade rubocop to the real target ruby/railsMiquel Sabaté Solà2025-07-013-5/+5
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add subtitles to pagesMiquel Sabaté Solà2025-07-017-1/+25
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* searches: Add rich text descriptionMiquel Sabaté Solà2025-07-016-31/+53
| | | | | | | 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-012-3/+4
| | | | | | | | | | 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-012-0/+7
| | | | | | | 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-273-2/+16
| | | | | | | 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-114-8/+23
| | | | | | | 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>
* Don't break-all for summariesMiquel Sabaté Solà2024-11-071-0/+5
| | | | | | | Instead of break-all, it should be break-word for the kind of summary that it's being displayed on the saved searches. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Update Rails and RubyMiquel Sabaté Solà2024-10-171-3/+4
| | | | | | | Patch level releases which fixes some minor issues on both Ruby and Ruby and Rails. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Do not allow to show non-shared searchesMiquel Sabaté Solà2024-07-221-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add IT as another source kindMiquel Sabaté Solà2024-07-222-1/+5
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Fix the trix toolbar for smaller screensMiquel Sabaté Solà2024-06-101-0/+56
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* things: use replaceAll when trimming authorsMiquel Sabaté Solà2024-03-211-2/+2
| | | | | | | We were using just `#replace`, which gives us some bad results which were easily fixed via `#replaceAll`. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* tags: attempt to modify searches on tag renameMiquel Sabaté Solà2024-03-201-1/+21
| | | | | | | | | | | 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-205-3/+23
| | | | | | | 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-5/+21
| | | | | | | 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>
* things: added missing color for "paper"Miquel Sabaté Solà2024-03-201-0/+4
| | | | 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-192-23/+88
| | | | | | | | | | | | 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>
* thing: removed unique index on titleMiquel Sabaté Solà2024-03-181-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* thing: added 'bio' kindMiquel Sabaté Solà2024-03-182-1/+5
| | | | 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: added 'chronicle' kindMiquel Sabaté Solà2024-03-162-1/+6
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Ensure that the last search is honoredMiquel Sabaté Solà2024-03-152-1/+12
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* things: added the 'phd' kindMiquel Sabaté Solà2024-03-152-1/+5
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* search: fixed a bit more the ordering of thingsMiquel Sabaté Solà2024-03-151-2/+4
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* thing: added the 'letters' kindMiquel Sabaté Solà2024-03-152-1/+5
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* things: provide a simple way to follow linksMiquel Sabaté Solà2024-03-153-3/+70
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* tags: wrap the checkboxes on small screensMiquel Sabaté Solà2024-03-151-0/+1
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Fixed search for tags with spacesMiquel Sabaté Solà2024-03-152-2/+27
| | | | | | | | | | 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>
* search: further refine the order of thingsMiquel Sabaté Solà2024-03-151-2/+2
| | | | Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
* Dropped redundant 'location' columnMiquel Sabaté Solà2024-03-143-8/+2
| | | | | | | 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-144-4/+4
| | | | | | | 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-147-29/+45
| | | | | | | | - 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>
* Improved style on mobile for centered formsMiquel Sabaté Solà2024-03-141-0/+6
| | | | 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-1366-0/+1568
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>