| Commit message (Collapse) | Author | Age |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
+ Collect basenames and filepaths from pdf dir into HashMap
+ Identical basenames in different subdirs are possible
+ Collected into Vector
+ TODO: implement selection for multiple files (yank and open)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
+ open a selection menu when pressing `y`
+ select a field: citekey, weblink, filepath
+ copy value of selected field to clipboard
|
| | |
|
| | |
|
| |
|
|
| |
- freebsd, openbsd, netbsd, solaris, redox -> \'open\'
|
| |
|
|
| |
will be offered
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
+ set default values for config fields
+ merge fields named in the config file with default values
+ values from file take precedence over default values
+ to accomplish this, all config values are wrapped in `Option<T>`
|
| | |
|
| |
|
|
|
|
| |
+ implement config field `pdf_opener` for setting app to open PDFs/Epubs
+ implement config field `url_opener` for setting app to open URLs/DOIs
+ function to select fallback if no field is provided in config
|
| | |
|
| |
|
|
|
|
| |
+ If config file **and** CLI args have different files/dirs, concat them and open all
+ Adapt UI to show which files are choosen
+ TODO: Flag for ignoring config file
|
| | |
|
| |
|
|
|
|
|
| |
+ Remove EntryTableItem struct
+ Simply use the initial generated BibiData struct
+ One simple `.clone()`, thus, replaces multiple iterations
+ Keep all other actions
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
+ Hitting now sorts the entries by position in file or position of files
+ Can be helpful to detect entries newly added via DOI which are appended to EOF
|
| |
|
|
|
|
| |
+ When adding an entry via DOI check if created citekey is already used
+ If so, loop over alphabetic chars and append it to citekey
+ When a unique combination is found, break loop and replace original citekey
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
+ split some functions to fit with different popups
+ select if append to file (and to which) or create new file
+ error handling if resolving doi ist not possible
+ error handling for wront doi patterns
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
- Add a new dependency `rand` version `0.8` to the project
- Modify the `format_bibtex_entry` function for better readability and citation key cleaning
- Introduce logic to clean the citation key by retaining only alphanumerical characters and underscores
- Limit the citation key to the last 14 characters if it exceeds that length
- Add a new `file` field to the BibTeX entry using the provided file path
|
| |
|
|
|
|
| |
- Remove unnecessary aliasing of Result to AOk
- Simplify the import statement for Result from color_eyre
- Update error handling for the new entry resolution process
|
| |
|
|
|
|
|
| |
- Improve error handling for failed file appends by formatting content before appending.
- Modify the `format_bibtex_entry` function to accept a file path argument.
- Add a new `file` field to the formatted BibTeX entry.
- Ensure the formatted content is written to the file correctly.
|
| |
|
|
|
|
|
| |
- Remove the documentation comment for the `append_to_file` function.
- Format the content before writing it to the file in the `append_to_file` function.
- Add a new function `format_bibtex_entry` to enhance the readability of raw BibTeX entries.
- Implement logic to properly parse and format BibTeX entries in the `format_bibtex_entry` function.
|