aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Some basic function rewriting for matching different file typeslukeflo2025-06-29
|
* remove unneeded structlukeflo2025-06-28
|
* add shortcuts for opening files/links and yanking citekeylukeflo2025-06-28
| | | | | + `o-o`|`o-l` -> shortcut for opening first file/link of current entry + `y-y` -> shortcut for yanking citekey of current entry
* Fix: fix expansion of tilde (`~`) into home dirlukeflo2025-06-09
|
* Fix: change option name from `pdf-dir` to `pdf-path` to match config namelukeflo2025-06-08
|
* Fix: light terminal flag, rm obsolete color.rs filelukeflo2025-06-08
|
* impl check for valid filepath, update READMElukeflo2025-06-02
|
* some fixes and test for `file_prefix` with new boollukeflo2025-06-01
|
* typo in --help functionlukeflo2025-05-30
|
* better UI for popups, some testingslukeflo2025-05-30
|
* impl open_popup function for all popup caseslukeflo2025-05-30
|
* first steps in rewriting popupslukeflo2025-05-26
|
* some more doc stringslukeflo2025-05-26
|
* remove unneeded functionlukeflo2025-05-25
|
* enhancement from PR \#28 discussionlukeflo2025-05-25
| | | | | | | + 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)
* remove already assigned filepaths from pdf_files veclukeflo2025-05-24
|
* impl loop over pdf files in dir, break if matchlukeflo2025-05-24
|
* implemented a workflow, but citekey matching still buggylukeflo2025-05-24
|
* first tests for pdf folderlukeflo2025-05-24
|
* trim surrounding whitespace of DOI, URL and FILE field: \#20lukeflo2025-05-11
|
* yank multiple fieldslukeflo2025-03-30
| | | | | | + open a selection menu when pressing `y` + select a field: citekey, weblink, filepath + copy value of selected field to clipboard
* Fix: create conf dir if it does not existKlimperfix2025-03-26
|
* freebsd opener -> xdg-openlukeflo2025-03-21
|
* add default command for file opening for OS:lukeflo2025-03-20
| | | | - freebsd, openbsd, netbsd, solaris, redox -> \'open\'
* implement test if config file exists, otherwise creation of default file ↵lukeflo2025-03-02
| | | | will be offered
* add `file_prefix` option to config and opening functionlukeflo2025-02-27
|
* new gif, update version to 0.11.0lukeflo2025-02-24
|
* test module for config cratelukeflo2025-02-23
|
* replace Config crate with Figment -> better merging of default and config valueslukeflo2025-02-22
|
* implement working config file construct, error handling should be improvedlukeflo2025-02-21
|
* parse config filelukeflo2025-02-21
| | | | | | | + 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>`
* remove some comments, update READMElukeflo2025-02-19
|
* resource opener in configlukeflo2025-02-19
| | | | | | + 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
* Update READMElukeflo2025-02-17
|
* improve file handlinglukeflo2025-02-17
| | | | | | + 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
* implement basic config struct and example filelukeflo2025-02-17
|
* Simplify codebaselukeflo2025-01-29
| | | | | | | + Remove EntryTableItem struct + Simply use the initial generated BibiData struct + One simple `.clone()`, thus, replaces multiple iterations + Keep all other actions
* remove EntryTableItem struct, simply use BibiDatalukeflo2025-01-29
|
* try with borrowed valueslukeflo2025-01-29
|
* bug fix for test modullukeflo2025-01-03
|
* Minor Feature: Sort entries by position in/of filelukeflo2024-12-25
| | | | | + 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
* Bugfix: Handle citekey duplicateslukeflo2024-12-25
| | | | | | + 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
* remove unused importlukeflo2024-12-23
|
* replace doi2bib with ureq cratelukeflo2024-12-23
|
* collect code for adding entries and opening files in methodlukeflo2024-12-23
|
* better error messages for doi-addlukeflo2024-12-23
|
* rewrite add-entry via DOI workflowlukeflo2024-12-23
| | | | | | | + 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
* use input struct, place cursor at poslukeflo2024-12-23
|
* use specific search command for entering search input modelukeflo2024-12-23
|
* feat: handle better arXiv's "citation key" imported from DOITrim Bresilla2024-12-23
| | | | | | | | - 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